Skip to content

Commit b8588c4

Browse files
committed
chore: rename workspace and package names
1 parent 502ffc8 commit b8588c4

Some content is hidden

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

61 files changed

+1386
-1057
lines changed

.changeset/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Changesets are a way to manage versions and changelogs for monorepos. Each chang
2929

3030
The command will create a new markdown file in the `.changeset` directory with your changes.
3131

32-
## Important: @swc/core and component updates
32+
## Important: @spectrum-web-components/core and component updates
3333

34-
When making changes to `@swc/core`, you **must** also include the corresponding `@spectrum-web-components` component in the same changeset to ensure the changes appear in the component's changelog. This is because `@swc/core` changes are internal and don't automatically propagate to the component changelogs.
34+
When making changes to `@spectrum-web-components/core`, you **must** also include the corresponding `@spectrum-web-components` component in the same changeset to ensure the changes appear in the component's changelog. This is because `@spectrum-web-components/core` changes are internal and don't automatically propagate to the component changelogs.
3535

3636
**Best practice**: Create a single changeset that includes both packages when updating core functionality that affects a specific component.
3737

@@ -41,7 +41,7 @@ A typical changeset file looks like this:
4141

4242
```markdown
4343
---
44-
'@swc/core': patch
44+
'@spectrum-web-components/core': patch
4545
'@spectrum-web-components/button': minor
4646
'@spectrum-web-components/theme': patch
4747
---

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"commit": false,
1010
"fixed": [["@spectrum-web-components/*"]],
11-
"linked": [["@swc/components", "@swc/core"]],
11+
"linked": [["@adobe/swc/components", "@spectrum-web-components/core"]],
1212
"access": "public",
1313
"baseBranch": "main",
1414
"updateInternalDependencies": "patch",

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ commands:
6565
- run:
6666
name: Build the project
6767
command: |
68-
yarn workspace @swc/core build
68+
yarn workspace @spectrum-web-components/core build
6969
yarn workspace @adobe/spectrum-web-components build
7070
7171
- save_cache:

.github/workflows/preview-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ jobs:
6666
- name: Build first-gen
6767
run: yarn workspace @adobe/spectrum-web-components build
6868

69-
- name: Build second-gen core
70-
run: yarn workspace @swc/core build
69+
- name: Build second-gen core
70+
run: yarn workspace @spectrum-web-components/core build
7171

7272
- name: Build second-gen swc
73-
run: yarn workspace @swc/components build
73+
run: yarn workspace @adobe/swc/components build
7474

7575
- name: Generate Custom Elements Manifest
7676
run: yarn workspace @adobe/spectrum-web-components docs:analyze

first-gen/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@adobe/spectrum-web-components",
2+
"name": "@spectrum-web-components/1st-gen",
33
"version": "0.0.9",
44
"private": true,
55
"description": "Spectrum Web Components are a set of reusable, accessible, and customizable web components following the design language of Adobe Spectrum.",
@@ -63,7 +63,7 @@
6363
"process-icons": "wireit",
6464
"publish:react": "yarn changeset publish --no-git-tag --tag latest --no-push",
6565
"push-to-remote": "git add . && git commit -m \"chore: release new versions #publish\" && git push",
66-
"dev:core": "yarn workspace @swc/core dev",
66+
"dev:core": "yarn workspace @spectrum-web-components/core dev",
6767
"start": "run-p dev:core storybook",
6868
"storybook": "wireit",
6969
"storybook:build": "NODE_ENV=production storybook build -o projects/documentation/dist/storybook -c storybook",
@@ -229,7 +229,7 @@
229229
]
230230
},
231231
"prebuild": {
232-
"command": "yarn workspace @swc/core build",
232+
"command": "yarn workspace @spectrum-web-components/core build",
233233
"files": [
234234
"../second-gen/packages/core/components/**/*",
235235
"../second-gen/packages/core/shared/**/*",

first-gen/packages/alert-banner/src/AlertBanner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import styles from './alert-banner.css.js';
2121
import {
2222
AlertBannerBase,
2323
AlertBannerVariants,
24-
} from '@swc/core/components/alert-banner';
24+
} from '@spectrum-web-components/core/components/alert-banner';
2525

2626
export type { AlertBannerVariants };
2727

first-gen/packages/asset/src/Asset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
TemplateResult,
1717
} from '@spectrum-web-components/base';
1818

19-
import { AssetBase } from '@swc/core/components/asset';
19+
import { AssetBase } from '@spectrum-web-components/core/components/asset';
2020
import styles from './asset.css.js';
2121

2222
const file = (label: string): TemplateResult => html`

first-gen/packages/badge/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
],
6666
"dependencies": {
6767
"@spectrum-web-components/base": "1.9.0",
68-
"@spectrum-web-components/shared": "1.9.0",
69-
"@swc/core": "workspace:*"
68+
"@spectrum-web-components/core": "workspace:*",
69+
"@spectrum-web-components/shared": "1.9.0"
7070
},
7171
"types": "./src/index.d.ts",
7272
"customElements": "custom-elements.json",

first-gen/packages/badge/src/Badge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
type BadgeVariantS1,
2727
FIXED_VALUES as FIXED_VALUES_BASE,
2828
type FixedValues as FixedValuesBase,
29-
} from '@swc/core/components/badge';
29+
} from '@spectrum-web-components/core/components/badge';
3030

3131
import styles from './badge.css.js';
3232

first-gen/packages/divider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"types": "./src/index.d.ts",
6060
"dependencies": {
6161
"@spectrum-web-components/base": "1.9.0",
62-
"@swc/core": "workspace:*"
62+
"@spectrum-web-components/core": "workspace:*"
6363
},
6464
"keywords": [
6565
"design-system",

0 commit comments

Comments
 (0)