@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @adobe/spectrum-tokens
2
2
 
3
+ ## 12.19.1
4
+
5
+ ### Patch Changes
6
+
7
+ - d9a6b7b: Updated manifest.json file
8
+
3
9
  ## 12.19.0
4
10
 
5
11
  ### Minor Changes
package/manifest.json CHANGED
@@ -3,6 +3,7 @@
3
3
  "src/semantic-color-palette.json",
4
4
  "src/layout.json",
5
5
  "src/layout-component.json",
6
+ "src/icons.json",
6
7
  "src/color-palette.json",
7
8
  "src/color-component.json",
8
9
  "src/color-aliases.json"
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
- - ~:build
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
- - ~:build
65
+ - ~:buildTokens
68
66
  platform: node
69
67
  test-watch:
70
68
  command:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "12.19.0",
3
+ "version": "12.19.1",
4
4
  "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "tasks/buildSpectrumTokens.js",
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
+ });