Skip to content

Commit 33af8d2

Browse files
committed
chore: minor fixes after merge
1 parent 858ec01 commit 33af8d2

File tree

10 files changed

+31
-18
lines changed

10 files changed

+31
-18
lines changed

2nd-gen/eslint.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,9 @@ export default [
164164
'notice/notice': [
165165
'error',
166166
{
167-
mustMatch: 'Copyright [0-9]{4}',
168-
templateFile: '../HEADER',
167+
mustMatch:
168+
'Copyright [0-9]{0,4} Adobe. All rights reserved.',
169+
templateFile: 'HEADER',
169170
nonMatchingTolerance: 0.9,
170171
onNonMatchingHeader: 'prepend',
171172
},

2nd-gen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"scripts": {
1919
"build": "yarn workspaces foreach --from '{@spectrum-web-components/core,@adobe/swc}' --recursive run build",
2020
"clean": "yarn workspaces foreach --from '{@spectrum-web-components/core,@adobe/swc}' --recursive run clean",
21-
"lint": "eslint . --ext .ts,.js,.json",
21+
"lint": "eslint .",
2222
"start": "yarn workspace @spectrum-web-components/core dev & yarn workspace @adobe/swc analyze:watch & yarn workspace @adobe/swc storybook",
2323
"storybook:build": "yarn workspace @adobe/swc storybook:build",
2424
"test": "yarn workspace @adobe/swc test"

2nd-gen/packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"author": "Adobe",
77
"homepage": "https://opensource.adobe.com/spectrum-web-components/",
88
"repository": {
9+
"directory": "2nd-gen/packages/core",
910
"type": "git",
10-
"url": "https://github.com/adobe/spectrum-web-components.git",
11-
"directory": "2nd-gen/packages/core"
11+
"url": "https://github.com/adobe/spectrum-web-components.git"
1212
},
1313
"bugs": {
1414
"url": "https://github.com/adobe/spectrum-web-components/issues"

2nd-gen/packages/core/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"noEmit": false,
66
"outDir": "./dist",
77
"paths": {
8-
"@spectrum-web-components/core/shared/*": ["./shared/*"],
9-
"@spectrum-web-components/core/*": ["./*"]
8+
"@spectrum-web-components/core/*": ["./*"],
9+
"@spectrum-web-components/core/shared/*": ["./shared/*"]
1010
},
1111
"rootDir": "./"
1212
},

2nd-gen/packages/swc/components/badge/stories/badge.stories.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ import type { Meta, StoryObj as Story } from '@storybook/web-components';
1616
import { html } from 'lit';
1717
import { styleMap } from 'lit/directives/style-map.js';
1818

19-
import { getStorybookHelpers } from '@wc-toolkit/storybook-helpers';
20-
2119
import { Badge } from '@adobe/swc/badge';
20+
import { getStorybookHelpers } from '@wc-toolkit/storybook-helpers';
2221

2322
// ────────────────
2423
// METADATA

2nd-gen/packages/swc/components/badge/test/badge.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
*/
1212

1313
import type { Badge } from '@adobe/swc/badge';
14+
1415
import { html } from 'lit';
16+
1517
import { beforeEach, describe, expect, test } from 'vitest';
1618

1719
import '@adobe/swc/badge';

2nd-gen/packages/swc/components/divider/stories/divider.stories.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
* governing permissions and limitations under the License.
1111
*/
1212

13-
import { Divider } from '@adobe/swc/divider';
1413
import type { Meta, StoryObj as Story } from '@storybook/web-components';
15-
import { getStorybookHelpers } from '@wc-toolkit/storybook-helpers';
14+
1615
import { html } from 'lit';
1716

17+
import { Divider } from '@adobe/swc/divider';
18+
import { getStorybookHelpers } from '@wc-toolkit/storybook-helpers';
19+
1820
// ────────────────
1921
// METADATA
2022
// ────────────────

2nd-gen/packages/swc/components/progress-circle/stories/progress-circle.stories.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
* governing permissions and limitations under the License.
1111
*/
1212

13-
import { ProgressCircle } from '@adobe/swc/progress-circle';
1413
import type { Meta, StoryObj as Story } from '@storybook/web-components';
15-
import { getStorybookHelpers } from '@wc-toolkit/storybook-helpers';
14+
1615
import { html } from 'lit';
1716

17+
import { ProgressCircle } from '@adobe/swc/progress-circle';
18+
import { getStorybookHelpers } from '@wc-toolkit/storybook-helpers';
19+
1820
// ────────────────
1921
// METADATA
2022
// ────────────────

2nd-gen/packages/swc/components/status-light/stories/status-light.stories.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@
1010
* governing permissions and limitations under the License.
1111
*/
1212

13-
import '@adobe/swc/status-light';
14-
import { StatusLight } from '@adobe/swc/status-light';
15-
import type { Meta, StoryObj as Story } from '@storybook/web-components';
16-
import { getStorybookHelpers } from '@wc-toolkit/storybook-helpers';
1713
import type { TemplateResult } from 'lit';
14+
import type { Meta, StoryObj as Story } from '@storybook/web-components';
15+
1816
import { html } from 'lit';
1917
import { styleMap } from 'lit/directives/style-map.js';
2018

19+
import { StatusLight } from '@adobe/swc/status-light';
20+
import { getStorybookHelpers } from '@wc-toolkit/storybook-helpers';
21+
22+
import '@adobe/swc/status-light';
23+
2124
// ────────────────
2225
// METADATA
2326
// ────────────────

2nd-gen/packages/swc/components/status-light/test/status-light.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@
1010
* governing permissions and limitations under the License.
1111
*/
1212

13-
import '@adobe/swc/status-light';
1413
import type { StatusLight } from '@adobe/swc/status-light';
14+
1515
import { html } from 'lit';
16+
1617
import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
18+
19+
import '@adobe/swc/status-light';
20+
1721
import { fixture } from '../../../utils/test-utils.js';
1822

1923
describe('swc-status-light', () => {

0 commit comments

Comments
 (0)