@adobe/spectrum-tokens 12.19.0 → 12.19.1
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/CHANGELOG.md +6 -0
- package/manifest.json +1 -0
- package/moon.yml +6 -8
- package/package.json +1 -1
- package/tasks/addIds.js +12 -0
- package/test/checkManifest.test.js +21 -0
package/CHANGELOG.md
CHANGED
package/manifest.json
CHANGED
package/moon.yml
CHANGED
|
@@ -15,6 +15,10 @@ fileGroups:
|
|
|
15
15
|
- "test/**/*"
|
|
16
16
|
tasks:
|
|
17
17
|
build:
|
|
18
|
+
deps:
|
|
19
|
+
- ~:buildTokens
|
|
20
|
+
- ~:buildManifest
|
|
21
|
+
buildTokens:
|
|
18
22
|
command:
|
|
19
23
|
- node
|
|
20
24
|
- tasks/buildSpectrumTokens.js
|
|
@@ -41,18 +45,12 @@ tasks:
|
|
|
41
45
|
- dist
|
|
42
46
|
local: true
|
|
43
47
|
platform: system
|
|
44
|
-
convert-excel:
|
|
45
|
-
command:
|
|
46
|
-
- node
|
|
47
|
-
- tasks/excel.js
|
|
48
|
-
local: true
|
|
49
|
-
platform: node
|
|
50
48
|
generateDiffResult:
|
|
51
49
|
command:
|
|
52
50
|
- node
|
|
53
51
|
- tasks/diff.js
|
|
54
52
|
deps:
|
|
55
|
-
- ~:
|
|
53
|
+
- ~:buildTokens
|
|
56
54
|
platform: node
|
|
57
55
|
test:
|
|
58
56
|
command:
|
|
@@ -64,7 +62,7 @@ tasks:
|
|
|
64
62
|
- "@globs(tests)"
|
|
65
63
|
- "@globs(sources)"
|
|
66
64
|
deps:
|
|
67
|
-
- ~:
|
|
65
|
+
- ~:buildTokens
|
|
68
66
|
platform: node
|
|
69
67
|
test-watch:
|
|
70
68
|
command:
|
package/package.json
CHANGED
package/tasks/addIds.js
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2023 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
1
13
|
import { glob } from "glob";
|
|
2
14
|
import crypto from "crypto"; // (not the fake money)
|
|
3
15
|
import { writeFile, readFile } from "fs/promises";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2023 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import test from "ava";
|
|
14
|
+
import { glob } from "glob";
|
|
15
|
+
import { readFile } from "fs/promises";
|
|
16
|
+
|
|
17
|
+
test("check for uuids", async (t) => {
|
|
18
|
+
const manifest = JSON.parse(await readFile("manifest.json", "utf8"));
|
|
19
|
+
const fileNames = await glob("src/**/*.json");
|
|
20
|
+
t.deepEqual(manifest, fileNames);
|
|
21
|
+
});
|