Skip to content

Commit 9769f07

Browse files
chore(appframe,appframesidenav): clean up package.json and project.json
1 parent 0f8c8d4 commit 9769f07

File tree

5 files changed

+55
-28
lines changed

5 files changed

+55
-28
lines changed

components/appframe/package.json

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,37 @@
1313
"bugs": {
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
16+
"exports": {
17+
".": "./dist/index.css",
18+
"./*.md": "./*.md",
19+
"./dist/*": "./dist/*",
20+
"./index-*.css": "./dist/index-*.css",
21+
"./index.css": "./dist/index.css",
22+
"./metadata.json": "./dist/metadata.json",
23+
"./package.json": "./package.json",
24+
"./stories/*": "./stories/*"
25+
},
1626
"main": "dist/index.css",
17-
"files": [
18-
"dist/*",
19-
"CHANGELOG.md",
20-
"package.json",
21-
"stories/template.js",
22-
"metadata/mods.md"
23-
],
2427
"peerDependencies": {
25-
"@spectrum-css/tokens": "^14.0.0-next.9",
26-
"@spectrum-css/typography": ">=6"
28+
"@spectrum-css/tokens": ">=16.1.0-next.0",
29+
"@spectrum-css/typography": ">=9.0.0-next.0"
2730
},
2831
"peerDependenciesMeta": {
32+
"@spectrum-css/tokens": {
33+
"optional": true
34+
},
2935
"@spectrum-css/typography": {
3036
"optional": true
3137
}
3238
},
3339
"keywords": [
40+
"design-system",
3441
"spectrum",
35-
"css",
36-
"design system",
37-
"adobe"
42+
"spectrum-css",
43+
"adobe",
44+
"adobe-spectrum",
45+
"component",
46+
"css"
3847
],
3948
"publishConfig": {
4049
"access": "public"

components/appframe/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"compare": {},
99
"format": {},
1010
"lint": {},
11+
"report": {},
1112
"test": {
1213
"defaultConfiguration": "scope"
1314
},

components/appframesidenav/package.json

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,37 @@
1313
"bugs": {
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
16+
"exports": {
17+
".": "./dist/index.css",
18+
"./*.md": "./*.md",
19+
"./dist/*": "./dist/*",
20+
"./index-*.css": "./dist/index-*.css",
21+
"./index.css": "./dist/index.css",
22+
"./metadata.json": "./dist/metadata.json",
23+
"./package.json": "./package.json",
24+
"./stories/*": "./stories/*"
25+
},
1626
"main": "dist/index.css",
17-
"files": [
18-
"dist/*",
19-
"CHANGELOG.md",
20-
"package.json",
21-
"stories/template.js",
22-
"metadata/mods.md"
23-
],
2427
"peerDependencies": {
25-
"@spectrum-css/icon": ">=7",
26-
"@spectrum-css/tokens": "^14.0.0-next.9"
28+
"@spectrum-css/icon": ">=10.0.0-next.0",
29+
"@spectrum-css/tokens": ">=16.1.0-next.0"
30+
},
31+
"peerDependenciesMeta": {
32+
"@spectrum-css/icon": {
33+
"optional": true
34+
},
35+
"@spectrum-css/tokens": {
36+
"optional": true
37+
}
2738
},
2839
"keywords": [
40+
"design-system",
2941
"spectrum",
30-
"css",
31-
"design system",
32-
"adobe"
42+
"spectrum-css",
43+
"adobe",
44+
"adobe-spectrum",
45+
"component",
46+
"css"
3347
],
3448
"publishConfig": {
3549
"access": "public"

components/appframesidenav/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"compare": {},
99
"format": {},
1010
"lint": {},
11+
"report": {},
1112
"test": {
1213
"defaultConfiguration": "scope"
1314
},

yarn.lock

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4180,9 +4180,11 @@ __metadata:
41804180
version: 0.0.0-use.local
41814181
resolution: "@spectrum-css/appframe@workspace:components/appframe"
41824182
peerDependencies:
4183-
"@spectrum-css/tokens": ^14.0.0-next.9
4184-
"@spectrum-css/typography": ">=6"
4183+
"@spectrum-css/tokens": ">=16.1.0-next.0"
4184+
"@spectrum-css/typography": ">=9.0.0-next.0"
41854185
peerDependenciesMeta:
4186+
"@spectrum-css/tokens":
4187+
optional: true
41864188
"@spectrum-css/typography":
41874189
optional: true
41884190
languageName: unknown
@@ -4192,8 +4194,8 @@ __metadata:
41924194
version: 0.0.0-use.local
41934195
resolution: "@spectrum-css/appframesidenav@workspace:components/appframesidenav"
41944196
peerDependencies:
4195-
"@spectrum-css/icon": ">=7"
4196-
"@spectrum-css/tokens": ^14.0.0-next.9
4197+
"@spectrum-css/icon": ">=10.0.0-next.0"
4198+
"@spectrum-css/tokens": ">=16.1.0-next.0"
41974199
peerDependenciesMeta:
41984200
"@spectrum-css/icon":
41994201
optional: true

0 commit comments

Comments
 (0)