@blockquote/create-wc 2.4.2 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockquote/create-wc",
3
- "version": "2.4.2",
3
+ "version": "2.5.1",
4
4
  "description": "Web component with Lit scaffolding - Extending Open Web Component",
5
5
  "keywords": [
6
6
  "Lit",
@@ -47,17 +47,17 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@open-wc/create": "^0.38.151",
50
- "chalk": "^5.4.1",
50
+ "chalk": "^5.6.2",
51
51
  "command-line-args": "^6.0.1",
52
52
  "prompts": "^2.4.2",
53
- "semver": "^7.7.2"
53
+ "semver": "^7.7.3"
54
54
  },
55
55
  "devDependencies": {
56
- "@eslint/compat": "^1.3.1",
56
+ "@eslint/compat": "^1.4.0",
57
57
  "eslint-plugin-html": "^8.1.3",
58
58
  "@open-wc/eslint-config": "^13.0.0",
59
- "eslint": "^9.30.1",
60
- "eslint-config-prettier": "^10.1.5",
59
+ "eslint": "^9.38.0",
60
+ "eslint-config-prettier": "^10.1.8",
61
61
  "prettier": "^3.6.2"
62
62
  },
63
63
  "engines": {
@@ -68,22 +68,22 @@
68
68
  ]
69
69
  },
70
70
  "devDependencies": {
71
- "@html-eslint/eslint-plugin": "^0.42.0",
72
- "@html-eslint/parser": "^0.42.0",
73
- "eslint": "^9.30.1",
74
- "eslint-config-prettier": "^10.1.5",
71
+ "@html-eslint/eslint-plugin": "^0.47.0",
72
+ "@html-eslint/parser": "^0.47.0",
73
+ "eslint": "^9.38.0",
74
+ "eslint-config-prettier": "^10.1.8",
75
75
  "eslint-plugin-html": "^8.1.3",
76
76
  "eslint-plugin-import": "^2.32.0",
77
77
  "eslint-plugin-lit": "^2.1.1",
78
- "eslint-plugin-lit-a11y": "^5.1.0",
79
- "eslint-plugin-wc": "^3.0.1",
80
- "@typescript-eslint/parser": "^8.36.0",
81
- "typescript-eslint": "^8.36.0",
82
- "globals": "^16.3.0",
78
+ "eslint-plugin-lit-a11y": "^5.1.1",
79
+ "eslint-plugin-wc": "^3.0.2",
80
+ "@typescript-eslint/parser": "^8.46.2",
81
+ "typescript-eslint": "^8.46.2",
82
+ "globals": "^16.4.0",
83
83
  "husky": "^9.1.7",
84
- "lint-staged": "^16.1.2",
84
+ "lint-staged": "^16.2.5",
85
85
  "prettier": "^3.6.2",
86
- "stylelint": "^16.21.1",
87
- "stylelint-config-standard-scss": "^15.0.1"
86
+ "stylelint": "^16.25.0",
87
+ "stylelint-config-standard-scss": "^16.0.0"
88
88
  }
89
89
  }
@@ -28,27 +28,27 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "@blockquote/cem-to-markdown-readme": "^1.0.0",
31
- "@blockquote/rollup-plugin-externalize-source-dependencies": "^1.0.0",
32
31
  "@blockquote/rollup-plugin-total-bundlesize": "^2.2.0",
33
32
  "@blockquote/sass-style-template": "^5.0.2",
34
- "@custom-elements-manifest/analyzer": "^0.10.4",
33
+ "@custom-elements-manifest/analyzer": "^0.10.10",
35
34
  "@open-wc/semantic-dom-diff": "^0.20.1",
36
- "@open-wc/testing": "^4.0.0",
37
- "playwright": "^1.54.0",
38
- "postcss-html": "1.8.0",
39
- "postcss-lit": "^1.2.0",
35
+ "@open-wc/testing-helpers": "^3.0.1",
36
+ "playwright": "^1.56.1",
37
+ "postcss-html": "^1.8.0",
38
+ "postcss-lit": "^1.3.1",
40
39
  "@types/mocha": "^10.0.10",
41
40
  "rollup-plugin-copy": "^3.5.0",
42
- "rollup-plugin-node-externals": "^8.0.1",
43
- "tinyglobby": "^0.2.14",
44
- "concurrently": "^9.2.0",
41
+ "rollup-plugin-node-externals": "^8.1.1",
42
+ "tinyglobby": "^0.2.15",
43
+ "chai-a11y-axe": "^1.5.0",
44
+ "concurrently": "^9.2.1",
45
45
  "sort-package-json": "^3.4.0",
46
46
  "@vitest/browser": "^3.2.4",
47
47
  "@vitest/coverage-istanbul": "^3.2.4",
48
48
  "@vitest/coverage-v8": "^3.2.4",
49
49
  "@vitest/ui": "^3.2.4",
50
50
  "vitest": "^3.2.4",
51
- "vite": "^7.0.4"
51
+ "vite": "^7.1.11"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
@@ -2,7 +2,6 @@ import {defineConfig} from 'vite';
2
2
  import {globSync} from 'tinyglobby';
3
3
  import copy from 'rollup-plugin-copy';
4
4
  import totalBundlesize from '@blockquote/rollup-plugin-total-bundlesize';
5
- import externalizeSourceDependencies from '@blockquote/rollup-plugin-externalize-source-dependencies';
6
5
 
7
6
  const OUT_DIR = 'dev';
8
7
  const ENTRIES_DIR = 'demo';
@@ -74,11 +73,7 @@ export default defineConfig({
74
73
  exclude: ['**/src/**/index.*', '**/src/styles/'],
75
74
  },
76
75
  },
77
- plugins: [
78
- externalizeSourceDependencies(['/__web-dev-server__web-socket.js']),
79
- copy(copyConfig),
80
- totalBundlesize(),
81
- ],
76
+ plugins: [copy(copyConfig), totalBundlesize()],
82
77
  optimizeDeps: {
83
78
  exclude: ['lit', 'lit-html'],
84
79
  },
@@ -1,10 +1,24 @@
1
- import {beforeAll, afterAll, beforeEach, afterEach, suite, assert, expect, vi, test} from 'vitest';
1
+ import {
2
+ suite,
3
+ test,
4
+ assert,
5
+ expect,
6
+ beforeAll,
7
+ afterAll,
8
+ beforeEach,
9
+ afterEach,
10
+ vi,
11
+ chai,
12
+ } from 'vitest';
2
13
  import {getElementLocatorSelectors} from '@vitest/browser/utils';
3
14
  import {html} from 'lit';
4
- import {getDiffableHTML} from '@open-wc/semantic-dom-diff';
5
- import {assert as a11y, fixture, fixtureCleanup} from '@open-wc/testing';
15
+ import {chaiA11yAxe} from 'chai-a11y-axe';
16
+ import {fixture, fixtureCleanup} from '@open-wc/testing-helpers';
17
+ import {getDiffableHTML} from '@open-wc/semantic-dom-diff/get-diffable-html.js';
6
18
  import '../src/define/<%= tagName %>.js';
7
19
 
20
+ chai.use(chaiA11yAxe);
21
+
8
22
  suite('<%= className %>', () => {
9
23
  /**
10
24
  * @type {import('../src/index').<%= className %>}
@@ -40,7 +54,7 @@ suite('<%= className %>', () => {
40
54
  });
41
55
 
42
56
  test('a11y', async () => {
43
- await a11y.isAccessible(el);
57
+ await assert.isAccessible(el);
44
58
  });
45
59
  });
46
60
 
@@ -1,12 +1,26 @@
1
- import {beforeAll, afterAll, beforeEach, afterEach, suite, assert, expect, vi, test} from 'vitest';
1
+ import {
2
+ suite,
3
+ test,
4
+ assert,
5
+ expect,
6
+ beforeAll,
7
+ afterAll,
8
+ beforeEach,
9
+ afterEach,
10
+ vi,
11
+ chai,
12
+ } from 'vitest';
2
13
  import {type LocatorSelectors} from '@vitest/browser/context';
3
14
  import {getElementLocatorSelectors} from '@vitest/browser/utils';
4
15
  import {html} from 'lit';
5
- import {getDiffableHTML} from '@open-wc/semantic-dom-diff';
6
- import {assert as a11y, fixture, fixtureCleanup} from '@open-wc/testing';
16
+ import {chaiA11yAxe} from 'chai-a11y-axe';
17
+ import {fixture, fixtureCleanup} from '@open-wc/testing-helpers';
18
+ import {getDiffableHTML} from '@open-wc/semantic-dom-diff/get-diffable-html.js';
7
19
  import {<%= className %>} from '../src/<%= className %>.js';
8
20
  import '../src/define/<%= tagName %>.js';
9
21
 
22
+ chai.use(chaiA11yAxe);
23
+
10
24
  suite('<%= className %>', () => {
11
25
  let el: <%= className %>;
12
26
  let elShadowRoot: string;
@@ -39,7 +53,7 @@ suite('<%= className %>', () => {
39
53
  });
40
54
 
41
55
  test('a11y', async () => {
42
- await a11y.isAccessible(el);
56
+ await assert.isAccessible(el);
43
57
  });
44
58
  });
45
59
 
@@ -33,6 +33,6 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "tslib": "^2.8.1",
36
- "typescript": "^5.8.3"
36
+ "typescript": "^5.9.3"
37
37
  }
38
38
  }