Skip to content

Commit d6e4d41

Browse files
authored
build: integrate yarn constraints (#3472)
1 parent 3d08cea commit d6e4d41

File tree

110 files changed

+2348
-1474
lines changed

Some content is hidden

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

110 files changed

+2348
-1474
lines changed

.github/actions/file-diff/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,22 @@
55
"description": "A GitHub Action to compare asset sizes and generate a diff if changes are found.",
66
"license": "Apache-2.0",
77
"author": "Adobe",
8+
"homepage": "https://opensource.adobe.com/spectrum-css",
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/adobe/spectrum-css.git",
12+
"directory": ".github/actions/file-diff"
13+
},
14+
"bugs": {
15+
"url": "https://github.com/adobe/spectrum-css/issues"
16+
},
817
"main": "index.js",
18+
"files": [
19+
"*.md",
20+
"*.js",
21+
"*.yml",
22+
"package.json"
23+
],
924
"dependencies": {
1025
"@actions/artifact": "^2.2.1",
1126
"@actions/core": "^1.11.1",

.github/actions/file-diff/utilities.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ exports.fetchFilesAndSizes = async function (rootPath, patterns = [], { core })
165165
return new Map();
166166
}
167167

168-
core.info(`Found ${files.length} files matching the glob pattern ${patterns.join(", ")}.`);
168+
core.info(`From ${rootPath}, found ${files.length} files matching the glob pattern ${patterns.join(", ")}.`);
169169

170170
// Fetch the files and their sizes, creates an array of arrays to be used in the table
171171
return new Map(

.github/workflows/compare-results.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,14 @@ jobs:
9090
with:
9191
name: ubuntu-latest-node20-compiled-assets-${{ steps.derive-key.outputs.head-path }}
9292
path: ${{ github.workspace }}/${{ steps.derive-key.outputs.head-path }}
93+
merge-multiple: true
9394

9495
- name: Download build artifacts for base
9596
uses: actions/download-artifact@v4
9697
with:
9798
name: ubuntu-latest-node20-compiled-assets-${{ steps.derive-key.outputs.base-path }}
9899
path: ${{ github.workspace }}/${{ steps.derive-key.outputs.base-path }}
100+
merge-multiple: true
99101

100102
- name: Compare compiled output file size
101103
id: compare

.github/workflows/publish-site.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ jobs:
6666
shell: bash
6767
run: yarn install --immutable
6868

69-
- name: Generate metadata assets
70-
shell: bash
71-
run: yarn report
72-
7369
## --- BUILD --- ##
7470
- name: Build storybook
7571
shell: bash

.storybook/package.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,23 @@
55
"license": "Apache-2.0",
66
"author": "Adobe",
77
"homepage": "https://opensource.adobe.com/spectrum-css/",
8+
"repository": {
9+
"type": "git",
10+
"url": "https://github.com/adobe/spectrum-css.git",
11+
"directory": ".storybook"
12+
},
13+
"bugs": {
14+
"url": "https://github.com/adobe/spectrum-css/issues"
15+
},
816
"type": "module",
917
"exports": {
1018
".": "./preview.js",
1119
"./blocks": "./blocks/index.js",
20+
"./blocks/*": "./blocks/*",
1221
"./decorators": "./decorators/index.js",
1322
"./decorators/*": "./decorators/*",
1423
"./deprecated/*": "./deprecated/*",
24+
"./guides/*": "./guides/*",
1525
"./loaders": "./loaders/index.js",
1626
"./loaders/*": "./loaders/*",
1727
"./main": "./main.js",
@@ -20,6 +30,7 @@
2030
"./modes/*": "./modes/*",
2131
"./package.json": "./package.json",
2232
"./preview": "./preview.js",
33+
"./templates/*": "./templates/*",
2334
"./types": "./types/index.js",
2435
"./types/*": "./types/*"
2536
},
@@ -68,5 +79,12 @@
6879
"rollup-plugin-postcss-lit": "^2.1.0",
6980
"storybook": "^8.4.7",
7081
"vite": "^5.4.11"
71-
}
82+
},
83+
"keywords": [
84+
"design-system",
85+
"spectrum",
86+
"spectrum-css",
87+
"adobe",
88+
"adobe-spectrum"
89+
]
7290
}

README.md

Lines changed: 20 additions & 19 deletions
Large diffs are not rendered by default.

components/accordion/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "The Spectrum CSS accordion component",
55
"license": "Apache-2.0",
66
"author": "Adobe",
7-
"homepage": "https://opensource.adobe.com/spectrum-css/accordion",
7+
"homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-accordion--docs",
88
"repository": {
99
"type": "git",
1010
"url": "https://github.com/adobe/spectrum-css.git",
@@ -24,26 +24,26 @@
2424
"./stories/*": "./stories/*"
2525
},
2626
"main": "dist/index.css",
27-
"files": [
28-
"dist/*",
29-
"*.md",
30-
"package.json",
31-
"stories/*",
32-
"metadata/*"
33-
],
3427
"peerDependencies": {
3528
"@spectrum-css/icon": ">=7",
3629
"@spectrum-css/tokens": ">=14 || >=15"
3730
},
3831
"devDependencies": {
39-
"@spectrum-css/icon": "workspace:^",
40-
"@spectrum-css/tokens": "workspace:^"
32+
"@spectrum-css/icon": "8.0.1",
33+
"@spectrum-css/tokens": "15.2.0",
34+
"eslint": "^8.57.0",
35+
"npm-run-all2": "^7.0.2",
36+
"prettier": "^3.4.2",
37+
"stylelint": "^16.9.0"
4138
},
4239
"keywords": [
40+
"design-system",
4341
"spectrum",
44-
"css",
45-
"design system",
46-
"adobe"
42+
"spectrum-css",
43+
"adobe",
44+
"adobe-spectrum",
45+
"component",
46+
"css"
4747
],
4848
"publishConfig": {
4949
"access": "public"

components/actionbar/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "The Spectrum CSS actionbar component",
55
"license": "Apache-2.0",
66
"author": "Adobe",
7-
"homepage": "https://opensource.adobe.com/spectrum-css/actionbar",
7+
"homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-action-bar--docs",
88
"repository": {
99
"type": "git",
1010
"url": "https://github.com/adobe/spectrum-css.git",
@@ -24,13 +24,6 @@
2424
"./stories/*": "./stories/*"
2525
},
2626
"main": "dist/index.css",
27-
"files": [
28-
"dist/*",
29-
"*.md",
30-
"package.json",
31-
"stories/*",
32-
"metadata/*"
33-
],
3427
"peerDependencies": {
3528
"@spectrum-css/actiongroup": ">=5",
3629
"@spectrum-css/closebutton": ">=5",
@@ -39,17 +32,24 @@
3932
"@spectrum-css/tokens": ">=14 || >=15"
4033
},
4134
"devDependencies": {
42-
"@spectrum-css/actiongroup": "workspace:^",
43-
"@spectrum-css/closebutton": "workspace:^",
44-
"@spectrum-css/fieldlabel": "workspace:^",
45-
"@spectrum-css/popover": "workspace:^",
46-
"@spectrum-css/tokens": "workspace:^"
35+
"@spectrum-css/actiongroup": "5.3.1",
36+
"@spectrum-css/closebutton": "5.4.1",
37+
"@spectrum-css/fieldlabel": "9.0.1",
38+
"@spectrum-css/popover": "7.3.1",
39+
"@spectrum-css/tokens": "15.2.0",
40+
"eslint": "^8.57.0",
41+
"npm-run-all2": "^7.0.2",
42+
"prettier": "^3.4.2",
43+
"stylelint": "^16.9.0"
4744
},
4845
"keywords": [
46+
"design-system",
4947
"spectrum",
50-
"css",
51-
"design system",
52-
"adobe"
48+
"spectrum-css",
49+
"adobe",
50+
"adobe-spectrum",
51+
"component",
52+
"css"
5353
],
5454
"publishConfig": {
5555
"access": "public"

components/actionbutton/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "The Spectrum CSS action button component",
55
"license": "Apache-2.0",
66
"author": "Adobe",
7-
"homepage": "https://opensource.adobe.com/spectrum-css/actionbutton",
7+
"homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-action-button--docs",
88
"repository": {
99
"type": "git",
1010
"url": "https://github.com/adobe/spectrum-css.git",
@@ -24,13 +24,6 @@
2424
"./stories/*": "./stories/*"
2525
},
2626
"main": "dist/index.css",
27-
"files": [
28-
"dist/*",
29-
"*.md",
30-
"package.json",
31-
"stories/*",
32-
"metadata/*"
33-
],
3427
"peerDependencies": {
3528
"@spectrum-css/icon": ">=7",
3629
"@spectrum-css/tokens": ">=14 || >=15"
@@ -42,14 +35,21 @@
4235
},
4336
"devDependencies": {
4437
"@spectrum-css/commons": "workspace:^",
45-
"@spectrum-css/icon": "workspace:^",
46-
"@spectrum-css/tokens": "workspace:^"
38+
"@spectrum-css/icon": "8.0.1",
39+
"@spectrum-css/tokens": "15.2.0",
40+
"eslint": "^8.57.0",
41+
"npm-run-all2": "^7.0.2",
42+
"prettier": "^3.4.2",
43+
"stylelint": "^16.9.0"
4744
},
4845
"keywords": [
46+
"design-system",
4947
"spectrum",
50-
"css",
51-
"design system",
52-
"adobe"
48+
"spectrum-css",
49+
"adobe",
50+
"adobe-spectrum",
51+
"component",
52+
"css"
5353
],
5454
"publishConfig": {
5555
"access": "public"

components/actiongroup/package.json

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "The Spectrum CSS actiongroup component",
55
"license": "Apache-2.0",
66
"author": "Adobe",
7-
"homepage": "https://opensource.adobe.com/spectrum-css/actiongroup",
7+
"homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-action-group--docs",
88
"repository": {
99
"type": "git",
1010
"url": "https://github.com/adobe/spectrum-css.git",
@@ -24,13 +24,6 @@
2424
"./stories/*": "./stories/*"
2525
},
2626
"main": "dist/index.css",
27-
"files": [
28-
"dist/*",
29-
"*.md",
30-
"package.json",
31-
"stories/*",
32-
"metadata/*"
33-
],
3427
"peerDependencies": {
3528
"@spectrum-css/actionbutton": ">=6",
3629
"@spectrum-css/tokens": ">=14 || >=15"
@@ -40,11 +33,22 @@
4033
"optional": true
4134
}
4235
},
36+
"devDependencies": {
37+
"@spectrum-css/actionbutton": "6.3.1",
38+
"@spectrum-css/tokens": "15.2.0",
39+
"eslint": "^8.57.0",
40+
"npm-run-all2": "^7.0.2",
41+
"prettier": "^3.4.2",
42+
"stylelint": "^16.9.0"
43+
},
4344
"keywords": [
45+
"design-system",
4446
"spectrum",
45-
"css",
46-
"design system",
47-
"adobe"
47+
"spectrum-css",
48+
"adobe",
49+
"adobe-spectrum",
50+
"component",
51+
"css"
4852
],
4953
"publishConfig": {
5054
"access": "public"

0 commit comments

Comments
 (0)