Skip to content

Commit cdb57b1

Browse files
committed
chore: token version alignment (#2289)
1 parent 224106c commit cdb57b1

File tree

195 files changed

+1794
-806
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+1794
-806
lines changed

.storybook/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = {
3333
"@whitespace/storybook-addon-html",
3434
// https://storybook.js.org/addons/@etchteam/storybook-addon-status
3535
"@etchteam/storybook-addon-status",
36-
"storybook-addon-pseudo-states",
36+
"storybook-addon-pseudo-states",
3737
// https://github.com/storybookjs/storybook/tree/next/code/addons/interactions
3838
"@storybook/addon-interactions"
3939
],
@@ -44,8 +44,8 @@ module.exports = {
4444
MIGRATED_PACKAGES: componentPkgs.filter((dir) => {
4545
const pkg = require(resolve(componentsPath, dir, "package.json"));
4646
if (
47-
pkg.devDependencies &&
48-
pkg.devDependencies["@spectrum-css/component-builder-simple"]
47+
pkg.peerDependencies &&
48+
pkg.peerDependencies["@spectrum-css/tokens"]
4949
) {
5050
return true;
5151
}

.storybook/package.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,18 @@
8989
"inputs": [
9090
"{workspaceRoot}/storybook-static"
9191
]
92+
},
93+
"start": {
94+
"dependsOn": [
95+
"^build"
96+
],
97+
"inputs": [
98+
"{workspaceRoot}/assets",
99+
"{workspaceRoot}/decorators",
100+
"{workspaceRoot}/*.js",
101+
"{workspaceRoot}/*.html",
102+
"{projectRoot}/components/*/dist"
103+
]
92104
}
93105
},
94106
"implicitDependencies": [
@@ -100,6 +112,7 @@
100112
"test",
101113
"test:scope",
102114
"storybook",
115+
"start",
103116
"build"
104117
]
105118
}

components/accordion/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,14 @@
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
1616
"main": "dist/index-vars.css",
17-
"scripts": {
18-
"build": "gulp"
19-
},
2017
"peerDependencies": {
2118
"@spectrum-css/icon": ">=4",
2219
"@spectrum-css/tokens": ">=13"
2320
},
2421
"devDependencies": {
2522
"@spectrum-css/component-builder-simple": "^2.0.17",
2623
"@spectrum-css/icon": "^4.0.3",
27-
"@spectrum-css/tokens": "^13.0.0",
28-
"gulp": "^4.0.0"
24+
"@spectrum-css/tokens": "^13.0.0"
2925
},
3026
"publishConfig": {
3127
"access": "public"

components/accordion/project.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"name": "accordion",
4+
"tags": ["component"],
5+
"targets": {
6+
"build": {},
7+
"build:clean": {},
8+
"clean": {},
9+
"compare": {},
10+
"format": {},
11+
"lint": {},
12+
"profile": {},
13+
"test": {
14+
"defaultConfiguration": "scoped"
15+
}
16+
}
17+
}

components/actionbar/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
1616
"main": "dist/index-vars.css",
17-
"scripts": {
18-
"build": "gulp"
19-
},
2017
"peerDependencies": {
2118
"@spectrum-css/actionbutton": ">=5",
2219
"@spectrum-css/actiongroup": ">=3",
@@ -34,8 +31,7 @@
3431
"@spectrum-css/icon": "^4.0.3",
3532
"@spectrum-css/popover": "^6.0.80",
3633
"@spectrum-css/table": "^5.0.7",
37-
"@spectrum-css/tokens": "^13.0.0",
38-
"gulp": "^4.0.0"
34+
"@spectrum-css/tokens": "^13.0.0"
3935
},
4036
"publishConfig": {
4137
"access": "public"

components/actionbar/project.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"name": "actionbar",
4+
"tags": ["component"],
5+
"targets": {
6+
"build": {},
7+
"build:clean": {},
8+
"clean": {},
9+
"compare": {},
10+
"format": {},
11+
"lint": {},
12+
"profile": {},
13+
"test": {
14+
"defaultConfiguration": "scoped"
15+
}
16+
}
17+
}

components/actionbutton/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,14 @@
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
1616
"main": "dist/index-vars.css",
17-
"scripts": {
18-
"build": "gulp"
19-
},
2017
"peerDependencies": {
2118
"@spectrum-css/icon": ">=4",
2219
"@spectrum-css/tokens": ">=13"
2320
},
2421
"devDependencies": {
2522
"@spectrum-css/component-builder-simple": "^2.0.17",
2623
"@spectrum-css/icon": "^4.0.3",
27-
"@spectrum-css/tokens": "^13.0.0",
28-
"gulp": "^4.0.0"
24+
"@spectrum-css/tokens": "^13.0.0"
2925
},
3026
"publishConfig": {
3127
"access": "public"

components/actionbutton/project.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"name": "actionbutton",
4+
"tags": ["component"],
5+
"targets": {
6+
"build": {},
7+
"build:clean": {},
8+
"clean": {},
9+
"compare": {},
10+
"format": {},
11+
"lint": {},
12+
"profile": {},
13+
"test": {
14+
"defaultConfiguration": "scoped"
15+
}
16+
}
17+
}

components/actiongroup/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
1616
"main": "dist/index-vars.css",
17-
"scripts": {
18-
"build": "gulp"
19-
},
2017
"peerDependencies": {
2118
"@spectrum-css/actionbutton": ">=5",
2219
"@spectrum-css/tokens": ">=13"
@@ -25,8 +22,7 @@
2522
"@spectrum-css/actionbutton": "^5.0.13",
2623
"@spectrum-css/component-builder-simple": "^2.0.17",
2724
"@spectrum-css/icon": "^4.0.3",
28-
"@spectrum-css/tokens": "^13.0.0",
29-
"gulp": "^4.0.0"
25+
"@spectrum-css/tokens": "^13.0.0"
3026
},
3127
"publishConfig": {
3228
"access": "public"

components/actiongroup/project.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"name": "actiongroup",
4+
"tags": ["component"],
5+
"targets": {
6+
"build": {},
7+
"build:clean": {},
8+
"clean": {},
9+
"compare": {},
10+
"format": {},
11+
"lint": {},
12+
"profile": {},
13+
"test": {
14+
"defaultConfiguration": "scoped"
15+
}
16+
}
17+
}

components/actionmenu/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
1616
"main": "dist/index-vars.css",
17-
"scripts": {
18-
"build": "gulp"
19-
},
2017
"peerDependencies": {
2118
"@spectrum-css/actionbutton": ">=5",
2219
"@spectrum-css/icon": ">=4",
@@ -30,8 +27,7 @@
3027
"@spectrum-css/icon": "^4.0.3",
3128
"@spectrum-css/menu": "^5.1.3",
3229
"@spectrum-css/popover": "^6.0.80",
33-
"@spectrum-css/tokens": "^13.0.0",
34-
"gulp": "^4.0.0"
30+
"@spectrum-css/tokens": "^13.0.0"
3531
},
3632
"publishConfig": {
3733
"access": "public"

components/actionmenu/project.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"name": "actionmenu",
4+
"tags": ["component"],
5+
"targets": {
6+
"build": {
7+
"options": {
8+
"commands": []
9+
}
10+
},
11+
"build:clean": {},
12+
"clean": {},
13+
"format": {},
14+
"lint": {},
15+
"profile": {},
16+
"test": {}
17+
}
18+
}

components/alertbanner/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
1616
"main": "dist/index-vars.css",
17-
"scripts": {
18-
"build": "gulp"
19-
},
2017
"peerDependencies": {
2118
"@spectrum-css/closebutton": ">=3",
2219
"@spectrum-css/divider": ">=2.0.25",
@@ -28,8 +25,7 @@
2825
"@spectrum-css/component-builder-simple": "^2.0.17",
2926
"@spectrum-css/divider": "^2.1.31",
3027
"@spectrum-css/icon": "^4.0.3",
31-
"@spectrum-css/tokens": "^13.0.0",
32-
"gulp": "^4.0.0"
28+
"@spectrum-css/tokens": "^13.0.0"
3329
},
3430
"publishConfig": {
3531
"access": "public"

components/alertbanner/project.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"name": "alertbanner",
4+
"tags": ["component"],
5+
"targets": {
6+
"build": {},
7+
"build:clean": {},
8+
"clean": {},
9+
"compare": {},
10+
"format": {},
11+
"lint": {},
12+
"profile": {},
13+
"test": {
14+
"defaultConfiguration": "scoped"
15+
}
16+
}
17+
}

components/alertdialog/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
1616
"main": "dist/index-vars.css",
17-
"scripts": {
18-
"build": "gulp"
19-
},
2017
"peerDependencies": {
2118
"@spectrum-css/button": ">=11",
2219
"@spectrum-css/buttongroup": ">=6",
@@ -34,8 +31,7 @@
3431
"@spectrum-css/icon": "^4.0.3",
3532
"@spectrum-css/modal": "^4.0.1",
3633
"@spectrum-css/tokens": "^13.0.0",
37-
"@spectrum-css/underlay": "^3.0.9",
38-
"gulp": "^4.0.0"
34+
"@spectrum-css/underlay": "^3.0.9"
3935
},
4036
"publishConfig": {
4137
"access": "public"

components/alertdialog/project.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"name": "alertdialog",
4+
"tags": ["component"],
5+
"targets": {
6+
"build": {},
7+
"build:clean": {},
8+
"clean": {},
9+
"compare": {},
10+
"format": {},
11+
"lint": {},
12+
"profile": {},
13+
"test": {
14+
"defaultConfiguration": "scoped"
15+
}
16+
}
17+
}

components/asset/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
1616
"main": "dist/index-vars.css",
17-
"scripts": {
18-
"build": "gulp"
19-
},
2017
"peerDependencies": {
2118
"@spectrum-css/vars": ">=9"
2219
},
2320
"devDependencies": {
2421
"@spectrum-css/component-builder": "^4.0.14",
2522
"@spectrum-css/vars": "^9.0.8",
26-
"gulp": "^4.0.0"
23+
"@spectrum-css/tokens": "^12.0.0"
2724
},
2825
"publishConfig": {
2926
"access": "public"

components/asset/project.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"name": "asset",
4+
"tags": ["component", "legacy"],
5+
"targets": {
6+
"build": {},
7+
"build:clean": {},
8+
"clean": {},
9+
"compare": {},
10+
"format": {},
11+
"lint": {},
12+
"profile": {},
13+
"test": {
14+
"defaultConfiguration": "scoped"
15+
}
16+
}
17+
}

components/assetcard/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
1616
"main": "dist/index-vars.css",
17-
"scripts": {
18-
"build": "gulp"
19-
},
2017
"peerDependencies": {
2118
"@spectrum-css/checkbox": ">=7",
2219
"@spectrum-css/icon": ">=4",
@@ -26,8 +23,7 @@
2623
"@spectrum-css/checkbox": "^8.0.0",
2724
"@spectrum-css/component-builder-simple": "^2.0.17",
2825
"@spectrum-css/icon": "^4.0.3",
29-
"@spectrum-css/tokens": "^13.0.0",
30-
"gulp": "^4.0.0"
26+
"@spectrum-css/tokens": "^13.0.0"
3127
},
3228
"publishConfig": {
3329
"access": "public"

components/assetcard/project.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"name": "assetcard",
4+
"tags": ["component"],
5+
"targets": {
6+
"build": {},
7+
"build:clean": {},
8+
"clean": {},
9+
"compare": {},
10+
"format": {},
11+
"lint": {},
12+
"profile": {},
13+
"test": {
14+
"defaultConfiguration": "scoped"
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)