persona-community-5/.pnpm-store/v3/files/0a/6e5e58f66a6831ce5f89d1e2c0d8c19369ab725d55e72f78cd539a88b254ab0f89e00c63fdef27156400fec7b4eafbf19fce26bc82175ed477ee2384727cd5
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

22 lines
927 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RespectSupportedVersions = void 0;
const arazzo_1 = require("../../typings/arazzo");
const utils_1 = require("../../utils");
const RespectSupportedVersions = () => {
const supportedVersions = arazzo_1.ARAZZO_VERSIONS_SUPPORTED_BY_RESPECT.join(', ');
return {
Root: {
enter(root, { report, location }) {
if (!arazzo_1.ARAZZO_VERSIONS_SUPPORTED_BY_RESPECT.includes(root.arazzo)) {
report({
message: `Only ${supportedVersions} Arazzo ${(0, utils_1.pluralize)('version is', arazzo_1.ARAZZO_VERSIONS_SUPPORTED_BY_RESPECT.length)} fully supported by Respect.`,
location: location.child('arazzo'),
});
}
},
},
};
};
exports.RespectSupportedVersions = RespectSupportedVersions;