@adobe/spectrum-tokens 12.13.0 → 12.13.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 +7 -3
- package/moon.yml +1 -1
- package/package.json +3 -9
- package/schemas/component.json +8 -2
- package/schemas/components/alert-dialog.json +5 -1
- package/schemas/components/badge.json +10 -2
- package/schemas/components/combo-box.json +6 -2
- package/schemas/components/contextual-help.json +22 -4
- package/schemas/components/in-line-alert.json +6 -1
- package/schemas/components/picker.json +4 -1
- package/schemas/components/popover.json +22 -4
- package/schemas/components/status-light.json +12 -2
- package/schemas/components/text-area.json +4 -1
- package/schemas/components/text-field.json +4 -1
- package/schemas/types/workflow-icon.json +893 -182
- package/tasks/buildManifest.js +6 -1
- package/tasks/diff.js +1 -1
package/tasks/buildManifest.js
CHANGED
|
@@ -12,9 +12,14 @@ governing permissions and limitations under the License.
|
|
|
12
12
|
|
|
13
13
|
import glob from "glob-promise";
|
|
14
14
|
import { writeFile } from "fs/promises";
|
|
15
|
+
import { format } from "prettier";
|
|
15
16
|
|
|
16
17
|
const manifestFileName = "manifest.json";
|
|
17
18
|
const files = await glob("src/**/*.json");
|
|
18
19
|
|
|
19
|
-
await writeFile(
|
|
20
|
+
await writeFile(
|
|
21
|
+
manifestFileName,
|
|
22
|
+
await format(JSON.stringify(files), { parser: "json-stringify" }),
|
|
23
|
+
);
|
|
24
|
+
//
|
|
20
25
|
console.log(`Wrote ${manifestFileName} with ${files.length} files.`);
|
package/tasks/diff.js
CHANGED
|
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import { access, readFile
|
|
13
|
+
import { access, readFile } from "fs/promises";
|
|
14
14
|
import { join, dirname } from "path";
|
|
15
15
|
import { fileURLToPath } from "url";
|
|
16
16
|
import { detailedDiff, diff } from "deep-object-diff";
|