@blockquote/create-wc 1.14.0 → 1.17.0

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": "1.14.0",
3
+ "version": "1.17.0",
4
4
  "description": "Web component with Lit scaffolding - Extending Open Web Component",
5
5
  "keywords": [
6
6
  "LitElement",
@@ -40,16 +40,16 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@open-wc/create": "^0.38.63",
43
- "chalk": "^5.0.0",
44
- "command-line-args": "^5.1.1",
45
- "prompts": "^2.4.1",
46
- "semver": "^7.3.5"
43
+ "chalk": "^5.0.1",
44
+ "command-line-args": "^5.2.1",
45
+ "prompts": "^2.4.2",
46
+ "semver": "^7.3.7"
47
47
  },
48
48
  "devDependencies": {
49
- "@open-wc/eslint-config": "^4.2.0",
50
- "eslint": "^7.24.0",
51
- "eslint-config-prettier": "^8.2.0",
52
- "prettier": "^2.2.1"
49
+ "@open-wc/eslint-config": "^8.0.2",
50
+ "eslint": "^8.23.0",
51
+ "eslint-config-prettier": "^8.5.0",
52
+ "prettier": "^2.7.1"
53
53
  },
54
54
  "engines": {
55
55
  "node": ">=14.15.0"
@@ -93,14 +93,14 @@
93
93
  }
94
94
  },
95
95
  "devDependencies": {
96
- "@open-wc/eslint-config": "^7.0.0",
97
- "eslint": "^8.0.0",
98
- "eslint-config-prettier": "^8.3.0",
99
- "eslint-plugin-log-filenames": "^1.0.4",
100
- "husky": "^4.3.8",
101
- "lint-staged": "^13.0.1",
102
- "prettier": "^2.4.1",
103
- "stylelint": "^14.0.0",
96
+ "@open-wc/eslint-config": "^8.0.2",
97
+ "eslint": "^8.23.0",
98
+ "eslint-config-prettier": "^8.5.0",
99
+ "eslint-plugin-log-filenames": "^1.0.6",
100
+ "husky": "^4.3.0",
101
+ "lint-staged": "^13.0.3",
102
+ "prettier": "^2.7.1",
103
+ "stylelint": "^14.11.0",
104
104
  "stylelint-config-standard-scss": "^5.0.0"
105
105
  }
106
106
  }
@@ -20,24 +20,23 @@
20
20
  "postinstall": "npm run sort:package"
21
21
  },
22
22
  "dependencies": {
23
- "lit": "^2.0.2"
23
+ "lit": "^2.3.1"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@blockquote/rollup-plugin-total-bundlesize": "^1.0.0",
27
- "@blockquote/sass-style-template": "^2.0.0",
28
- "@blockquote/test-runner-mocha-style-reporter": "^1.0.0",
29
- "@custom-elements-manifest/analyzer": "^0.6.3",
27
+ "@blockquote/sass-style-template": "^2.1.2",
28
+ "@blockquote/test-runner-mocha-style-reporter": "^1.4.0",
29
+ "@custom-elements-manifest/analyzer": "^0.6.4",
30
30
  "@ungap/global-this": "^0.4.4",
31
- "@web/dev-server": "^0.1.25",
32
- "@web/rollup-plugin-html": "^1.10.1",
31
+ "@web/dev-server": "^0.1.34",
32
+ "@web/rollup-plugin-html": "^1.11.0",
33
33
  "@webcomponents/shadycss": "^1.11.0",
34
34
  "@webcomponents/webcomponentsjs": "^2.6.0",
35
- "concurrently": "^7.0.0",
35
+ "concurrently": "^7.4.0",
36
36
  "rollup-plugin-copy": "^3.4.0",
37
- "rollup-plugin-minify-html-literals": "^1.2.6",
38
37
  "tiny-array-flat-polyfill": "^0.2.1",
39
- "vite": "^3.0.0",
40
- "sort-package-json": "^1.52.0"
38
+ "vite": "^3.1.0",
39
+ "sort-package-json": "^1.57.0"
41
40
  },
42
41
  "publishConfig": {
43
42
  "access": "public"
@@ -2,17 +2,8 @@
2
2
  import { defineConfig } from 'vite';
3
3
  import pluginHtml from '@web/rollup-plugin-html';
4
4
  import copy from 'rollup-plugin-copy';
5
- import minifyHTML from 'rollup-plugin-minify-html-literals';
6
5
  import totalBundlesize from '@blockquote/rollup-plugin-total-bundlesize';
7
6
 
8
- const minifyHTMLLiteralsConfig = {
9
- options: {
10
- minifyOptions: {
11
- removeAttributeQuotes: false,
12
- },
13
- },
14
- };
15
-
16
7
  const copyConfig = {
17
8
  targets: [
18
9
  {
@@ -81,7 +72,6 @@ export default defineConfig({
81
72
  ),
82
73
  ],
83
74
  }),
84
- minifyHTML(minifyHTMLLiteralsConfig),
85
75
  copy(copyConfig),
86
76
  totalBundlesize(),
87
77
  ],
@@ -40,6 +40,7 @@ export default /** @type {import("@web/test-runner").TestRunnerConfig} */ ({
40
40
  functions: 80,
41
41
  lines: 80,
42
42
  },
43
+ exclude: ['**/node_modules/**/*', '**/web_modules/**/*', '**/__wds-outside-root__/**/*'],
43
44
  },
44
45
 
45
46
  testFramework: {
@@ -22,7 +22,7 @@
22
22
  }
23
23
  },
24
24
  "devDependencies": {
25
- "@typescript-eslint/eslint-plugin": "^5.0.0",
26
- "@typescript-eslint/parser": "^5.0.0"
25
+ "@typescript-eslint/eslint-plugin": "^5.36.2",
26
+ "@typescript-eslint/parser": "^5.36.2"
27
27
  }
28
28
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@open-wc/testing": "^3.0.3",
4
- "@web/test-runner": "^0.13.23",
5
- "@web/test-runner-playwright": "^0.8.8"
3
+ "@open-wc/testing": "^3.1.6",
4
+ "@web/test-runner": "^0.14.0",
5
+ "@web/test-runner-playwright": "^0.8.10"
6
6
  }
7
7
  }
@@ -50,8 +50,7 @@ suite('<%= className %>', () => {
50
50
  suite('Override ', () => {
51
51
  setup(async () => {
52
52
  el = (await fixture(
53
- html` <<%= tagName %> heading="attribute heading"></<%= tagName %>> `,
54
- )) as <%= className %>;
53
+ html` <<%= tagName %> heading="attribute heading"></<%= tagName %>> `)) as <%= className %>;
55
54
  await el.updateComplete;
56
55
  });
57
56
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@open-wc/testing": "^3.0.3",
4
- "@web/test-runner": "^0.13.23",
5
- "@web/test-runner-playwright": "^0.8.8"
3
+ "@open-wc/testing": "^3.1.6",
4
+ "@web/test-runner": "^0.14.0",
5
+ "@web/test-runner-playwright": "^0.8.10"
6
6
  }
7
7
  }
@@ -20,8 +20,7 @@
20
20
  const heading = 'World!';
21
21
  render(
22
22
  html`<<%= tagName %>
23
- @counter-changed="${ev => console.log('==>', ev.detail)}"
24
- .heading=${heading}
23
+ @counter-changed="${ev => console.log('==>', ev.detail)}" .heading=${heading}
25
24
  >some light-dom</<%= tagName %>
26
25
  >`,
27
26
  document.querySelector('#demo'),
@@ -15,5 +15,4 @@ export default css`:host {
15
15
  *::before,
16
16
  *::after {
17
17
  box-sizing: inherit;
18
- white-space: nowrap;
19
18
  }`;
@@ -18,7 +18,7 @@
18
18
  "wds": "web-dev-server"
19
19
  },
20
20
  "devDependencies": {
21
- "tslib": "^2.3.1",
22
- "typescript": "^4.4.4"
21
+ "tslib": "^2.4.0",
22
+ "typescript": "^4.8.3"
23
23
  }
24
24
  }
@@ -20,8 +20,7 @@
20
20
  const heading = 'World!';
21
21
  render(
22
22
  html`<<%= tagName %>
23
- @counter-changed="${ev => console.log('==>', ev.detail)}"
24
- .heading=${heading}
23
+ @counter-changed="${ev => console.log('==>', ev.detail)}" .heading=${heading}
25
24
  >some light-dom</<%= tagName %>
26
25
  >`,
27
26
  document.querySelector('#demo'),
@@ -15,5 +15,4 @@ export default css`:host {
15
15
  *::before,
16
16
  *::after {
17
17
  box-sizing: inherit;
18
- white-space: nowrap;
19
18
  }`;