@o3r/design 10.3.0-prerelease.3 → 10.3.0-prerelease.30
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
const node_path_1 = require("node:path");
|
|
5
5
|
const node_fs_1 = require("node:fs");
|
|
6
|
-
const
|
|
6
|
+
const public_api_1 = require("../src/public_api");
|
|
7
7
|
const minimist = require("minimist");
|
|
8
8
|
const args = minimist(process.argv.splice(2));
|
|
9
9
|
void (async () => {
|
|
@@ -21,13 +21,13 @@ void (async () => {
|
|
|
21
21
|
}
|
|
22
22
|
return res;
|
|
23
23
|
})
|
|
24
|
-
.map(async (file) => ({ file, parsed: await (0,
|
|
24
|
+
.map(async (file) => ({ file, parsed: await (0, public_api_1.parseDesignTokenFile)(file) })))).reduce((acc, { file, parsed }) => {
|
|
25
25
|
parsed.forEach((variable, key) => {
|
|
26
26
|
acc.set(key, variable);
|
|
27
27
|
console.warn(`A duplication of the variable ${key} is found in ${file}`);
|
|
28
28
|
});
|
|
29
29
|
return acc;
|
|
30
30
|
}, new Map());
|
|
31
|
-
await (0,
|
|
31
|
+
await (0, public_api_1.renderDesignTokens)(tokens, renderDesignTokenOptions);
|
|
32
32
|
})();
|
|
33
33
|
//# sourceMappingURL=generate-css-from-design-token.cli.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-css-from-design-token.cli.cjs","sourceRoot":"","sources":["../../cli/generate-css-from-design-token.cli.cts"],"names":[],"mappings":";;;AAEA,yCAA2D;AAC3D,qCAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"generate-css-from-design-token.cli.cjs","sourceRoot":"","sources":["../../cli/generate-css-from-design-token.cli.cts"],"names":[],"mappings":";;;AAEA,yCAA2D;AAC3D,qCAAqC;AACrC,kDAA6E;AAE7E,qCAAqC;AAErC,MAAM,IAAI,GAA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EAAE;YAC/B,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;YACvB,OAAO,CAAC,IAAI,CAAC,iCAAiC,GAAG,gBAAgB,IAAI,EAAE,CAAC,CAAC;QAC3E,CAAC,CAAC,CAAC;QACH,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC;IAEd,MAAM,IAAA,+BAAkB,EAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;AAC7D,CAAC,CAAC,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/design",
|
|
3
|
-
"version": "10.3.0-prerelease.
|
|
3
|
+
"version": "10.3.0-prerelease.30",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"nx": "nx",
|
|
16
16
|
"ng": "yarn nx",
|
|
17
|
-
"test": "yarn nx test
|
|
17
|
+
"test": "yarn nx test design",
|
|
18
18
|
"copy:templates": "yarn cpy 'schematics/**/templates/**/*' dist/schematics",
|
|
19
19
|
"copy:schemas": "yarn cpy 'schemas/**/*' dist/schemas",
|
|
20
20
|
"prepare:build:builders": "yarn cpy 'builders/**/*.json' dist/builders && yarn cpy '{builders,collection,migration}.json' dist && yarn cpy 'schematics/**/*.json' dist/schematics && yarn copy:templates",
|
|
21
21
|
"prepare:publish": "prepare-publish ./dist",
|
|
22
22
|
"build:source": "tsc -b tsconfig.build.json && yarn cpy package.json dist/",
|
|
23
23
|
"build:builders": "tsc -b tsconfig.builders.json --pretty && yarn copy:templates && generate-cjs-manifest",
|
|
24
|
-
"build": "yarn nx build
|
|
24
|
+
"build": "yarn nx build design",
|
|
25
25
|
"postbuild": "yarn copy:schemas && patch-package-json-main"
|
|
26
26
|
},
|
|
27
27
|
"exports": {
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"tslib": "^2.6.2"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@o3r/core": "^10.3.0-prerelease.
|
|
56
|
-
"@o3r/schematics": "^10.3.0-prerelease.
|
|
57
|
-
"@o3r/styling": "^10.3.0-prerelease.
|
|
55
|
+
"@o3r/core": "^10.3.0-prerelease.30",
|
|
56
|
+
"@o3r/schematics": "^10.3.0-prerelease.30",
|
|
57
|
+
"@o3r/styling": "^10.3.0-prerelease.30",
|
|
58
58
|
"chokidar": "^3.5.2",
|
|
59
59
|
"globby": "^11.1.0",
|
|
60
|
-
"sass": "~1.
|
|
60
|
+
"sass": "~1.75.0"
|
|
61
61
|
},
|
|
62
62
|
"peerDependenciesMeta": {
|
|
63
63
|
"@o3r/core": {
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
"@nx/eslint-plugin": "~18.2.0",
|
|
101
101
|
"@nx/jest": "~18.2.0",
|
|
102
102
|
"@nx/js": "~18.2.0",
|
|
103
|
-
"@o3r/build-helpers": "^10.3.0-prerelease.
|
|
104
|
-
"@o3r/core": "^10.3.0-prerelease.
|
|
105
|
-
"@o3r/eslint-plugin": "^10.3.0-prerelease.
|
|
106
|
-
"@o3r/schematics": "^10.3.0-prerelease.
|
|
107
|
-
"@o3r/styling": "^10.3.0-prerelease.
|
|
108
|
-
"@o3r/test-helpers": "^10.3.0-prerelease.
|
|
103
|
+
"@o3r/build-helpers": "^10.3.0-prerelease.30",
|
|
104
|
+
"@o3r/core": "^10.3.0-prerelease.30",
|
|
105
|
+
"@o3r/eslint-plugin": "^10.3.0-prerelease.30",
|
|
106
|
+
"@o3r/schematics": "^10.3.0-prerelease.30",
|
|
107
|
+
"@o3r/styling": "^10.3.0-prerelease.30",
|
|
108
|
+
"@o3r/test-helpers": "^10.3.0-prerelease.30",
|
|
109
109
|
"@schematics/angular": "~17.3.0",
|
|
110
110
|
"@stylistic/eslint-plugin-ts": "^1.5.4",
|
|
111
111
|
"@types/jest": "~29.5.2",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"jsonschema": "~1.4.1",
|
|
130
130
|
"nx": "~18.2.0",
|
|
131
131
|
"rxjs": "^7.8.1",
|
|
132
|
-
"sass": "~1.
|
|
132
|
+
"sass": "~1.75.0",
|
|
133
133
|
"ts-jest": "~29.1.2",
|
|
134
134
|
"ts-node": "~10.9.2",
|
|
135
135
|
"type-fest": "^4.10.2",
|