@yahoo/uds-create-cli 5.108.2 → 5.108.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +12 -12
- package/subprocess/transform-runner.mjs +28 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yahoo/uds-create-cli",
|
|
3
|
-
"version": "5.108.
|
|
3
|
+
"version": "5.108.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
33
33
|
"@orpc/client": "^1.13.9",
|
|
34
34
|
"@orpc/contract": "^1.13.9",
|
|
35
|
-
"@yahoo/uds-create-config": "5.108.
|
|
36
|
-
"@yahoo/uds-create-loader": "5.108.
|
|
37
|
-
"@yahoo/uds-create-types": "5.108.
|
|
38
|
-
"@yahoo/uds-create-utils": "5.108.
|
|
35
|
+
"@yahoo/uds-create-config": "5.108.3",
|
|
36
|
+
"@yahoo/uds-create-loader": "5.108.3",
|
|
37
|
+
"@yahoo/uds-create-types": "5.108.3",
|
|
38
|
+
"@yahoo/uds-create-utils": "5.108.3",
|
|
39
39
|
"esbuild": "^0.27.4",
|
|
40
40
|
"ts-morph": "^27.0.2",
|
|
41
41
|
"get-tsconfig": "^4.10.0",
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
"lodash": "^4.17.23",
|
|
53
53
|
"prettier": "^3.8.1"
|
|
54
54
|
},
|
|
55
|
-
"udsSchemaVersion":
|
|
55
|
+
"udsSchemaVersion": 20261118171253,
|
|
56
56
|
"optionalDependencies": {
|
|
57
|
-
"@yahoo/uds-create-cli-darwin-arm64": "5.108.
|
|
58
|
-
"@yahoo/uds-create-cli-darwin-x64": "5.108.
|
|
59
|
-
"@yahoo/uds-create-cli-linux-arm64": "5.108.
|
|
60
|
-
"@yahoo/uds-create-cli-linux-x64": "5.108.
|
|
61
|
-
"@yahoo/uds-create-cli-linux-arm64-musl": "5.108.
|
|
62
|
-
"@yahoo/uds-create-cli-linux-x64-musl": "5.108.
|
|
57
|
+
"@yahoo/uds-create-cli-darwin-arm64": "5.108.3",
|
|
58
|
+
"@yahoo/uds-create-cli-darwin-x64": "5.108.3",
|
|
59
|
+
"@yahoo/uds-create-cli-linux-arm64": "5.108.3",
|
|
60
|
+
"@yahoo/uds-create-cli-linux-x64": "5.108.3",
|
|
61
|
+
"@yahoo/uds-create-cli-linux-arm64-musl": "5.108.3",
|
|
62
|
+
"@yahoo/uds-create-cli-linux-x64-musl": "5.108.3"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -78824,6 +78824,19 @@ var lintFields = external_exports.strictObject({
|
|
|
78824
78824
|
})).meta({
|
|
78825
78825
|
title: "Ignored findings",
|
|
78826
78826
|
description: "Findings kept on purpose, each with its reason: a rule on a component, narrowed to a layer, a style key and the rule it is written in when those are given, or on a token. `uds lint` and Create both leave them out."
|
|
78827
|
+
}).optional(),
|
|
78828
|
+
/** This system's own words for a rule or a group, by its name, in place of the lint's. */
|
|
78829
|
+
names: external_exports.record(external_exports.string(), external_exports.strictObject({
|
|
78830
|
+
label: external_exports.string().min(1).optional(),
|
|
78831
|
+
description: external_exports.string().min(1).optional()
|
|
78832
|
+
})).meta({
|
|
78833
|
+
title: "Names",
|
|
78834
|
+
description: "This system's own label and description for a rule or a group, keyed by the rule's or group's name: `{ 'near-token': { label: 'Off the scale' } }`. Create's Lint page shows them in place of the lint's own."
|
|
78835
|
+
}).optional(),
|
|
78836
|
+
/** Built-in rules the system has taken out: they don't run and aren't listed. */
|
|
78837
|
+
removed: external_exports.array(external_exports.string()).meta({
|
|
78838
|
+
title: "Removed rules",
|
|
78839
|
+
description: "Built-in rules this system has taken out, by name. They don't run in Create or `uds lint` and aren't listed; taking a name out of the list puts the rule back."
|
|
78827
78840
|
}).optional()
|
|
78828
78841
|
});
|
|
78829
78842
|
var LintSection = defineSubEntity({
|
|
@@ -93078,7 +93091,7 @@ var Entity = class {
|
|
|
93078
93091
|
};
|
|
93079
93092
|
|
|
93080
93093
|
// ../config/dist/framework/schema-version.js
|
|
93081
|
-
var CURRENT_SCHEMA_VERSION =
|
|
93094
|
+
var CURRENT_SCHEMA_VERSION = 20261118171253;
|
|
93082
93095
|
var SETTINGS_AS_KIND_VERSION = 20260908171448;
|
|
93083
93096
|
var SchemaVersionTooNew = class extends ConfigFormatError {
|
|
93084
93097
|
found;
|
|
@@ -93098,7 +93111,7 @@ function registerSchemaMigrations(...migrations) {
|
|
|
93098
93111
|
for (const migration of migrations) {
|
|
93099
93112
|
if (migration.version !== 1 && !isMintTimestamp(migration.version)) throw new Error(`Schema migration version ${migration.version} is not a mint timestamp \u2014 mint one with \`date +%Y%m%d%H%M%S\`, like a supabase migration.`);
|
|
93100
93113
|
if (REGISTERED.has(migration.version)) throw new Error(`A schema migration at version ${migration.version} is already registered.`);
|
|
93101
|
-
if (migration.version >
|
|
93114
|
+
if (migration.version > 20261118171253) throw new Error(`Schema migration ${migration.version} is newer than CURRENT_SCHEMA_VERSION (${CURRENT_SCHEMA_VERSION}) \u2014 a stale branch merged, or the mint forgot to bump the constant. Re-mint: set CURRENT_SCHEMA_VERSION to the newest migration version.`);
|
|
93102
93115
|
REGISTERED.set(migration.version, migration);
|
|
93103
93116
|
}
|
|
93104
93117
|
}
|
|
@@ -93129,7 +93142,7 @@ function pendingFor(version2, target2, options) {
|
|
|
93129
93142
|
return [...(options?.migrations ?? REGISTERED).values()].filter((m) => m.version > version2 && m.version <= target2).sort((a, b) => a.version - b.version);
|
|
93130
93143
|
}
|
|
93131
93144
|
function upgradeSerializedConfig(json2, options) {
|
|
93132
|
-
const target2 = options?.target ??
|
|
93145
|
+
const target2 = options?.target ?? 20261118171253;
|
|
93133
93146
|
const version2 = detectedWireVersion(json2);
|
|
93134
93147
|
if (version2 > target2) throw new SchemaVersionTooNew(version2, target2);
|
|
93135
93148
|
const raw = json2;
|
|
@@ -100421,7 +100434,7 @@ var Config = class Config2 {
|
|
|
100421
100434
|
* links from the provided sources. A declared `linkedKind` with no provided source throws. */
|
|
100422
100435
|
hydrateFrom(stored, options) {
|
|
100423
100436
|
const claimed = schemaVersionOf(stored);
|
|
100424
|
-
if (claimed >
|
|
100437
|
+
if (claimed > 20261118171253) throw new SchemaVersionTooNew(claimed);
|
|
100425
100438
|
const wire = upgradeSerializedConfig(stored);
|
|
100426
100439
|
if (!Array.isArray(wire.ownedKinds) || typeof wire.items !== "object" || wire.items === null) throw new ConfigFormatError(`Config "${stored.name ?? "system-config"}" cannot be hydrated: this is not a serialized config-v2 config (no "ownedKinds"/"items"). A pre-cutover build artifact converts through the registered cutover migration \u2014 import the config type's module (e.g. \`configs/system\`) before hydrating.`);
|
|
100427
100440
|
const leftover = wire.options;
|
|
@@ -104370,6 +104383,15 @@ var styleSetOwnRuleOnlyMigration = {
|
|
|
104370
104383
|
}
|
|
104371
104384
|
};
|
|
104372
104385
|
|
|
104386
|
+
// ../config/dist/migrations/20261118171253_lint_names_removed.js
|
|
104387
|
+
var LINT_NAMES_REMOVED_VERSION = 20261118171253;
|
|
104388
|
+
var lintNamesRemovedMigration = {
|
|
104389
|
+
version: LINT_NAMES_REMOVED_VERSION,
|
|
104390
|
+
up(json2) {
|
|
104391
|
+
return json2;
|
|
104392
|
+
}
|
|
104393
|
+
};
|
|
104394
|
+
|
|
104373
104395
|
// ../../node_modules/css-tree/lib/generator/sourceMap.js
|
|
104374
104396
|
var import_source_map_generator = __toESM(require_source_map_generator(), 1);
|
|
104375
104397
|
var trackNodes = /* @__PURE__ */ new Set(["Atrule", "Selector", "Declaration"]);
|
|
@@ -107138,6 +107160,7 @@ if (!registeredSchemaMigrations().has(20261112154943)) registerSchemaMigrations(
|
|
|
107138
107160
|
if (!registeredSchemaMigrations().has(20261112163439)) registerSchemaMigrations(vendorLinkTypeMigration);
|
|
107139
107161
|
if (!registeredSchemaMigrations().has(20261113131930)) registerSchemaMigrations(styleSetOwnRuleOnlyMigration);
|
|
107140
107162
|
if (!registeredSchemaMigrations().has(20261117234103)) registerSchemaMigrations(uds6038McpInputsMigration);
|
|
107163
|
+
if (!registeredSchemaMigrations().has(20261118171253)) registerSchemaMigrations(lintNamesRemovedMigration);
|
|
107141
107164
|
|
|
107142
107165
|
// ../config/dist/capture/node-ops.js
|
|
107143
107166
|
var DEFAULT_WIDTH = 1600;
|
|
@@ -108584,6 +108607,7 @@ if (!registeredSchemaMigrations().has(20261015221052)) registerSchemaMigrations(
|
|
|
108584
108607
|
if (!registeredSchemaMigrations().has(20261016135620)) registerSchemaMigrations(motionTypeOnlyMigration);
|
|
108585
108608
|
if (!registeredSchemaMigrations().has(20261015202345)) registerSchemaMigrations(componentElementSwapMigration);
|
|
108586
108609
|
if (!registeredSchemaMigrations().has(20261113131930)) registerSchemaMigrations(styleSetOwnRuleOnlyMigration);
|
|
108610
|
+
if (!registeredSchemaMigrations().has(20261118171253)) registerSchemaMigrations(lintNamesRemovedMigration);
|
|
108587
108611
|
|
|
108588
108612
|
// ../config/dist/entities/system/defineComponent.js
|
|
108589
108613
|
function build(body) {
|