@aurodesignsystem-dev/auro-cli 0.0.0-pr289.2 → 0.0.0-pr294.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.
@@ -1,2 +1,2 @@
1
- import{Logger as r}from"@aurodesignsystem/auro-library/scripts/utils/logger.mjs";import s from"node:fs";var a=()=>{try{let e="^20 || ^22",n="package.json",o=JSON.parse(s.readFileSync(n,"utf8"));o.engines.node=e,s.writeFileSync(n,`${JSON.stringify(o,null,2)}
2
- `,"utf8")}catch(e){r.error(`Failed to update node engine version in package.json: ${e}`)}r.success("Node engine version updated to version in package.json")};a();
1
+ import r from"node:fs";import{Logger as s}from"@aurodesignsystem/auro-library/scripts/utils/logger.mjs";var a=()=>{try{let e="^20 || ^22",n="package.json",o=JSON.parse(r.readFileSync(n,"utf8"));o.engines.node=e,r.writeFileSync(n,`${JSON.stringify(o,null,2)}
2
+ `,"utf8")}catch(e){s.error(`Failed to update node engine version in package.json: ${e}`)}s.success("Node engine version updated to version in package.json")};a();
@@ -1,2 +1,2 @@
1
- import{Logger as t}from"@aurodesignsystem/auro-library/scripts/utils/logger.mjs";import p from"node:fs";function r(){try{let i="wca analyze 'scripts/wca/*' --outFiles docs/api.md",a="package.json",c=JSON.parse(p.readFileSync(a,"utf8"));c.scripts["build:api"]=i,p.writeFileSync(a,`${JSON.stringify(c,null,2)}
2
- `,"utf8"),t.success("build:api script updated in package.json")}catch(i){t.error(`Failed to update build:api script in package.json: ${i}`)}}r();
1
+ import t from"node:fs";import{Logger as p}from"@aurodesignsystem/auro-library/scripts/utils/logger.mjs";function r(){try{let i="wca analyze 'scripts/wca/*' --outFiles docs/api.md",a="package.json",c=JSON.parse(t.readFileSync(a,"utf8"));c.scripts["build:api"]=i,t.writeFileSync(a,`${JSON.stringify(c,null,2)}
2
+ `,"utf8"),p.success("build:api script updated in package.json")}catch(i){p.error(`Failed to update build:api script in package.json: ${i}`)}}r();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem-dev/auro-cli",
3
- "version": "0.0.0-pr289.2",
3
+ "version": "0.0.0-pr294.0",
4
4
  "description": "A cli tool to support the Auro Design System",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,8 +8,11 @@
8
8
  },
9
9
  "scripts": {
10
10
  "lint": "biome check --fix --no-errors-on-unmatched",
11
+ "check-tokens": "node scripts/check-tokens.js",
12
+ "demo": "node demo/server.mjs",
11
13
  "prepare": "husky",
12
- "test": "echo \"Notice: no tests available\" && exit 0",
14
+ "test": "vitest run",
15
+ "test:watch": "vitest",
13
16
  "dev": "tsc && npm run copy-files && npm run bundle -- --watch --dev",
14
17
  "build": "tsc && npm run copy-files && npm run bundle",
15
18
  "build:dev": "tsc && npm run copy-files && npm run bundle -- --dev",
@@ -54,7 +57,7 @@
54
57
  ],
55
58
  "dependencies": {
56
59
  "@actions/github": "^9.1.1",
57
- "@aurodesignsystem/auro-library": "^5.5.4",
60
+ "@aurodesignsystem/auro-library": "^5.12.3",
58
61
  "@babel/preset-env": "^7.28.3",
59
62
  "@custom-elements-manifest/analyzer": "^0.11.0",
60
63
  "@npmcli/package-json": "^7.0.1",
@@ -74,6 +77,7 @@
74
77
  "azure-devops-node-api": "^15.1.1",
75
78
  "chalk": "^5.6.2",
76
79
  "commander": "^13.1.0",
80
+ "dotenv": "^17.4.2",
77
81
  "figlet": "^1.9.3",
78
82
  "glob": "^11.0.3",
79
83
  "gradient-string": "^3.0.0",
@@ -86,7 +90,11 @@
86
90
  "typescript": "^5.9.2"
87
91
  },
88
92
  "devDependencies": {
93
+ "@aurodesignsystem/auro-alert": "^5.0.2",
94
+ "@aurodesignsystem/auro-button": "^12.3.2",
89
95
  "@aurodesignsystem/auro-config": "^1.3.1",
96
+ "@aurodesignsystem/design-tokens": "^8.18.0",
97
+ "@aurodesignsystem/webcorestylesheets": "^11.1.1",
90
98
  "@types/node": "^22.15.3",
91
99
  "copyfiles": "^2.4.1",
92
100
  "custom-elements-manifest": "^2.1.0",
@@ -94,7 +102,8 @@
94
102
  "husky": "^9.1.7",
95
103
  "open": "^10.2.0",
96
104
  "plop": "^4.0.3",
97
- "tsc-alias": "^1.8.16"
105
+ "tsc-alias": "^1.8.16",
106
+ "vitest": "^4.1.6"
98
107
  },
99
108
  "optionalDependencies": {
100
109
  "@rollup/rollup-linux-x64-gnu": "*"