@yahoo/uds-create-cli 5.66.1 → 5.67.0
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 +10 -10
- package/subprocess/transform-runner.mjs +19 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yahoo/uds-create-cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.67.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
32
32
|
"@orpc/client": "^1.13.9",
|
|
33
33
|
"@orpc/contract": "^1.13.9",
|
|
34
|
-
"@yahoo/uds-create-config": "5.
|
|
35
|
-
"@yahoo/uds-create-loader": "5.
|
|
36
|
-
"@yahoo/uds-create-types": "5.
|
|
37
|
-
"@yahoo/uds-create-utils": "5.
|
|
34
|
+
"@yahoo/uds-create-config": "5.67.0",
|
|
35
|
+
"@yahoo/uds-create-loader": "5.67.0",
|
|
36
|
+
"@yahoo/uds-create-types": "5.67.0",
|
|
37
|
+
"@yahoo/uds-create-utils": "5.67.0",
|
|
38
38
|
"esbuild": "^0.27.4",
|
|
39
39
|
"ts-morph": "^27.0.2",
|
|
40
40
|
"get-tsconfig": "^4.10.0",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"lodash": "^4.17.23",
|
|
52
52
|
"prettier": "^3.8.1"
|
|
53
53
|
},
|
|
54
|
-
"udsSchemaVersion":
|
|
54
|
+
"udsSchemaVersion": 20261030163028,
|
|
55
55
|
"optionalDependencies": {
|
|
56
|
-
"@yahoo/uds-create-cli-darwin-arm64": "5.
|
|
57
|
-
"@yahoo/uds-create-cli-darwin-x64": "5.
|
|
58
|
-
"@yahoo/uds-create-cli-linux-arm64": "5.
|
|
59
|
-
"@yahoo/uds-create-cli-linux-x64": "5.
|
|
56
|
+
"@yahoo/uds-create-cli-darwin-arm64": "5.67.0",
|
|
57
|
+
"@yahoo/uds-create-cli-darwin-x64": "5.67.0",
|
|
58
|
+
"@yahoo/uds-create-cli-linux-arm64": "5.67.0",
|
|
59
|
+
"@yahoo/uds-create-cli-linux-x64": "5.67.0"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -70711,6 +70711,7 @@ var prefix = external_exports.union([external_exports.string(), external_exports
|
|
|
70711
70711
|
})]);
|
|
70712
70712
|
var CSS_DEFAULTS = {
|
|
70713
70713
|
prefix: "uds",
|
|
70714
|
+
layerPrefix: "uds",
|
|
70714
70715
|
preflight: true,
|
|
70715
70716
|
fontFaces: true,
|
|
70716
70717
|
rem: "16px",
|
|
@@ -70723,6 +70724,12 @@ var cssFields = external_exports.strictObject({
|
|
|
70723
70724
|
description: `The prefix on every emitted class and CSS variable, as in \`uds-flex\` and \`--uds-color-brand\`. One string names both; \`{ classNames, variables }\` names them apart. Empty emits that namespace unprefixed. Two systems on one page need different prefixes. Unset, \`${CSS_DEFAULTS.prefix}\`.`,
|
|
70724
70725
|
default: CSS_DEFAULTS.prefix
|
|
70725
70726
|
}).optional(),
|
|
70727
|
+
/** The prefix on every cascade layer the stylesheet emits. */
|
|
70728
|
+
layerPrefix: external_exports.string().regex(/^(?:[a-zA-Z_][\w-]*)?$/, { error: "a layer prefix is empty or a CSS name that starts with a letter or `_`, as in `uds` or `acme-ui`." }).meta({
|
|
70729
|
+
title: "Layer prefix",
|
|
70730
|
+
description: `The prefix on every cascade layer the stylesheet emits, as in \`uds-base\` and \`uds-utilities\`. Empty emits Tailwind's names, as in \`base\` and \`utilities\`, which an app still on Tailwind 3 can't import, since Tailwind 3 claims \`base\`, \`components\` and \`utilities\` as its own directives. Layers are page-global, so systems on one page share one ordered stack only when they use the same layer prefix. Unset, \`${CSS_DEFAULTS.layerPrefix}\`.`,
|
|
70731
|
+
default: CSS_DEFAULTS.layerPrefix
|
|
70732
|
+
}).optional(),
|
|
70726
70733
|
/** A selector the shipped stylesheet is confined to, so its rules cannot reach the page around
|
|
70727
70734
|
* the element that carries it. Unset, the sheet applies to the page. */
|
|
70728
70735
|
scope: external_exports.string().min(1).meta({
|
|
@@ -89706,7 +89713,7 @@ var Entity = class {
|
|
|
89706
89713
|
};
|
|
89707
89714
|
|
|
89708
89715
|
// ../config/dist/framework/schema-version.js
|
|
89709
|
-
var CURRENT_SCHEMA_VERSION =
|
|
89716
|
+
var CURRENT_SCHEMA_VERSION = 20261030163028;
|
|
89710
89717
|
var SETTINGS_AS_KIND_VERSION = 20260908171448;
|
|
89711
89718
|
var SchemaVersionTooNew = class extends ConfigFormatError {
|
|
89712
89719
|
found;
|
|
@@ -89726,7 +89733,7 @@ function registerSchemaMigrations(...migrations) {
|
|
|
89726
89733
|
for (const migration of migrations) {
|
|
89727
89734
|
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.`);
|
|
89728
89735
|
if (REGISTERED.has(migration.version)) throw new Error(`A schema migration at version ${migration.version} is already registered.`);
|
|
89729
|
-
if (migration.version >
|
|
89736
|
+
if (migration.version > 20261030163028) 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.`);
|
|
89730
89737
|
REGISTERED.set(migration.version, migration);
|
|
89731
89738
|
}
|
|
89732
89739
|
}
|
|
@@ -89757,7 +89764,7 @@ function pendingFor(version2, target2, options) {
|
|
|
89757
89764
|
return [...(options?.migrations ?? REGISTERED).values()].filter((m) => m.version > version2 && m.version <= target2).sort((a, b) => a.version - b.version);
|
|
89758
89765
|
}
|
|
89759
89766
|
function upgradeSerializedConfig(json2, options) {
|
|
89760
|
-
const target2 = options?.target ??
|
|
89767
|
+
const target2 = options?.target ?? 20261030163028;
|
|
89761
89768
|
const version2 = detectedWireVersion(json2);
|
|
89762
89769
|
if (version2 > target2) throw new SchemaVersionTooNew(version2, target2);
|
|
89763
89770
|
const raw = json2;
|
|
@@ -96614,7 +96621,7 @@ var Config = class Config2 {
|
|
|
96614
96621
|
* links from the provided sources. A declared `linkedKind` with no provided source throws. */
|
|
96615
96622
|
hydrateFrom(stored, options) {
|
|
96616
96623
|
const claimed = schemaVersionOf(stored);
|
|
96617
|
-
if (claimed >
|
|
96624
|
+
if (claimed > 20261030163028) throw new SchemaVersionTooNew(claimed);
|
|
96618
96625
|
const wire = upgradeSerializedConfig(stored);
|
|
96619
96626
|
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.`);
|
|
96620
96627
|
const leftover = wire.options;
|
|
@@ -100007,6 +100014,13 @@ var componentMapPropsMigration = {
|
|
|
100007
100014
|
up: (json2) => json2
|
|
100008
100015
|
};
|
|
100009
100016
|
|
|
100017
|
+
// ../config/dist/migrations/20261030163028_layer_prefix.js
|
|
100018
|
+
var LAYER_PREFIX_VERSION = 20261030163028;
|
|
100019
|
+
var layerPrefixMigration = {
|
|
100020
|
+
version: LAYER_PREFIX_VERSION,
|
|
100021
|
+
up: (json2) => json2
|
|
100022
|
+
};
|
|
100023
|
+
|
|
100010
100024
|
// ../../node_modules/css-tree/lib/generator/sourceMap.js
|
|
100011
100025
|
var import_source_map_generator = __toESM(require_source_map_generator(), 1);
|
|
100012
100026
|
var trackNodes = /* @__PURE__ */ new Set(["Atrule", "Selector", "Declaration"]);
|
|
@@ -102742,6 +102756,7 @@ if (!registeredSchemaMigrations().has(20261026125912)) registerSchemaMigrations(
|
|
|
102742
102756
|
if (!registeredSchemaMigrations().has(20261027184442)) registerSchemaMigrations(variantValuesListWithBodiesMigration);
|
|
102743
102757
|
if (!registeredSchemaMigrations().has(20261027205147)) registerSchemaMigrations(lintIgnoreMigration);
|
|
102744
102758
|
if (!registeredSchemaMigrations().has(20261030134149)) registerSchemaMigrations(componentMapPropsMigration);
|
|
102759
|
+
if (!registeredSchemaMigrations().has(20261030163028)) registerSchemaMigrations(layerPrefixMigration);
|
|
102745
102760
|
|
|
102746
102761
|
// ../config/dist/capture/node-ops.js
|
|
102747
102762
|
var DEFAULT_WIDTH = 1600;
|