@blockquote/create-wc 1.22.2 → 1.23.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/README.md CHANGED
@@ -96,6 +96,7 @@ export default ({
96
96
  coverageTableReporter()
97
97
  ],
98
98
 
99
+ coverage: true,
99
100
  coverageConfig: {
100
101
  report: true,
101
102
  reportDir: `${outDir}/test/coverage`,
@@ -196,30 +197,6 @@ Example:
196
197
  <hr>
197
198
  <br>
198
199
 
199
- ## Different major versions:
200
-
201
- ```json
202
- "devDependencies": {
203
- "eslint": "^8.0.0",
204
- "@open-wc/eslint-config": "^7.0.0",
205
- ...
206
- }
207
-
208
- ```
209
-
210
- open-wc scaffold
211
-
212
- ```json
213
- "devDependencies": {
214
- "eslint": "^7.32.0",
215
- "@open-wc/eslint-config": "^4.3.0",
216
- ...
217
- }
218
-
219
- ```
220
-
221
- <hr>
222
-
223
200
  ## File structure JS & TS
224
201
 
225
202
  ```css
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockquote/create-wc",
3
- "version": "1.22.2",
3
+ "version": "1.23.0",
4
4
  "description": "Web component with Lit scaffolding - Extending Open Web Component",
5
5
  "keywords": [
6
6
  "LitElement",
@@ -39,17 +39,17 @@
39
39
  "trailingComma": "all"
40
40
  },
41
41
  "dependencies": {
42
- "@open-wc/create": "^0.38.69",
42
+ "@open-wc/create": "^0.38.70",
43
43
  "chalk": "^5.2.0",
44
44
  "command-line-args": "^5.2.1",
45
45
  "prompts": "^2.4.2",
46
46
  "semver": "^7.3.8"
47
47
  },
48
48
  "devDependencies": {
49
- "@open-wc/eslint-config": "^9.2.2",
50
- "eslint": "^8.35.0",
51
- "eslint-config-prettier": "^8.6.0",
52
- "prettier": "^2.8.4"
49
+ "@open-wc/eslint-config": "^10.0.0",
50
+ "eslint": "^8.37.0",
51
+ "eslint-config-prettier": "^8.8.0",
52
+ "prettier": "^2.8.7"
53
53
  },
54
54
  "engines": {
55
55
  "node": ">=14.15.0"
@@ -92,14 +92,14 @@
92
92
  }
93
93
  },
94
94
  "devDependencies": {
95
- "@open-wc/eslint-config": "^9.2.2",
96
- "eslint": "^8.34.0",
97
- "eslint-config-prettier": "^8.6.0",
95
+ "@open-wc/eslint-config": "^10.0.0",
96
+ "eslint": "^8.37.0",
97
+ "eslint-config-prettier": "^8.8.0",
98
98
  "eslint-plugin-log-filenames": "^1.0.6",
99
99
  "husky": "^4.3.8",
100
- "lint-staged": "^13.1.2",
101
- "prettier": "^2.8.4",
102
- "stylelint": "^15.2.0",
100
+ "lint-staged": "^13.2.0",
101
+ "prettier": "^2.8.7",
102
+ "stylelint": "^15.4.0",
103
103
  "stylelint-config-standard-scss": "^7.0.1"
104
104
  }
105
105
  }
@@ -27,16 +27,16 @@
27
27
  "@blockquote/rollup-plugin-total-bundlesize": "^1.0.0",
28
28
  "@blockquote/sass-style-template": "^3.0.1",
29
29
  "@blockquote/coverage-table-reporter": "^1.0.0",
30
- "@custom-elements-manifest/analyzer": "^0.6.8",
30
+ "@custom-elements-manifest/analyzer": "^0.8.0",
31
31
  "@ungap/global-this": "^0.4.4",
32
- "@web/dev-server": "^0.1.35",
32
+ "@web/dev-server": "^0.1.37",
33
33
  "@web/rollup-plugin-html": "^1.11.0",
34
- "@webcomponents/shadycss": "^1.11.1",
35
- "@webcomponents/webcomponentsjs": "^2.7.0",
36
- "concurrently": "^7.6.0",
34
+ "@webcomponents/shadycss": "^1.11.2",
35
+ "@webcomponents/webcomponentsjs": "^2.8.0",
36
+ "concurrently": "^8.0.1",
37
37
  "rollup-plugin-copy": "^3.4.0",
38
38
  "tiny-array-flat-polyfill": "^0.2.1",
39
- "vite": "^4.1.4",
39
+ "vite": "^4.2.1",
40
40
  "sort-package-json": "^2.4.1"
41
41
  },
42
42
  "publishConfig": {
@@ -28,12 +28,12 @@ export default /** @type {import("@web/test-runner").TestRunnerConfig} */ ({
28
28
  /** Amount of test files per browser to test concurrently */
29
29
  concurrency: 1,
30
30
 
31
- reporters: [defaultReporter(), summaryReporter(), coverageTableReporter()],
31
+ reporters: [summaryReporter(), defaultReporter(), coverageTableReporter()],
32
32
 
33
+ coverage: true,
33
34
  coverageConfig: {
34
- report: true,
35
35
  reportDir: `${outDir}/test/coverage`,
36
- reporters: ['html', 'lcovonly', 'json'],
36
+ reporters: ['lcov', 'lcovonly', 'json'],
37
37
  threshold: {
38
38
  statements: 80,
39
39
  branches: 80,
@@ -47,7 +47,7 @@ export default /** @type {import("@web/test-runner").TestRunnerConfig} */ ({
47
47
  config: {
48
48
  ui: 'tdd',
49
49
  timeout: 4000,
50
- reporter: 'html'
50
+ reporter: 'html',
51
51
  },
52
52
  },
53
53
 
@@ -22,7 +22,7 @@
22
22
  }
23
23
  },
24
24
  "devDependencies": {
25
- "@typescript-eslint/eslint-plugin": "^5.53.0",
26
- "@typescript-eslint/parser": "^5.53.0"
25
+ "@typescript-eslint/eslint-plugin": "^5.57.1",
26
+ "@typescript-eslint/parser": "^5.57.1"
27
27
  }
28
28
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "devDependencies": {
3
3
  "@open-wc/testing": "^3.1.7",
4
- "@web/test-runner": "^0.15.0",
4
+ "@web/test-runner": "^0.15.2",
5
5
  "@web/test-runner-playwright": "^0.9.0"
6
6
  }
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "devDependencies": {
3
3
  "@open-wc/testing": "^3.1.7",
4
- "@web/test-runner": "^0.15.0",
4
+ "@web/test-runner": "^0.15.2",
5
5
  "@web/test-runner-playwright": "^0.9.0"
6
6
  }
7
7
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "scripts": {
3
- "test": "wtr --coverage",
3
+ "test": "wtr",
4
4
  "test:watch": "wtr --watch"
5
5
  }
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "scripts": {
3
- "test": "tsc && OUTDIR=dist wtr --coverage",
3
+ "test": "tsc && OUTDIR=dist wtr",
4
4
  "test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"OUTDIR=dist wtr --watch\""
5
5
  }
6
6
  }
@@ -33,6 +33,6 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "tslib": "^2.5.0",
36
- "typescript": "^4.9.5"
36
+ "typescript": "^5.0.3"
37
37
  }
38
38
  }
@@ -1,29 +1,29 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "target": "es2019",
4
- "module": "es2020",
5
4
  "lib": ["es2020", "DOM", "DOM.Iterable"],
5
+ "experimentalDecorators": true,
6
+ "useDefineForClassFields": false,
7
+ "module": "es2020",
8
+ "moduleResolution": "bundler",
9
+ "rootDirs": ["./src", "./define", ".test/"],
6
10
  "declaration": true,
7
11
  "declarationMap": true,
8
12
  "sourceMap": true,
13
+ "outDir": "./dist",
9
14
  "inlineSources": true,
15
+ "allowSyntheticDefaultImports": true,
10
16
  "esModuleInterop": true,
11
- "outDir": "./dist",
12
- "rootDirs": ["./src", "./define", ".test/"],
17
+ "forceConsistentCasingInFileNames": true,
13
18
  "strict": true,
19
+ "noImplicitAny": true,
20
+ "noImplicitThis": true,
14
21
  "noUnusedLocals": true,
15
22
  "noUnusedParameters": true,
16
23
  "noImplicitReturns": true,
17
24
  "noFallthroughCasesInSwitch": true,
18
- "noImplicitAny": true,
19
- "noImplicitThis": true,
20
- "moduleResolution": "node",
21
- "allowSyntheticDefaultImports": true,
22
- "useDefineForClassFields": false,
23
- "experimentalDecorators": true,
24
- "forceConsistentCasingInFileNames": true,
25
- "noImplicitOverride": true
25
+ "noImplicitOverride": true,
26
+ "skipLibCheck": true
26
27
  },
27
- "include": ["src/**/*.ts", "define/**/*.ts", "test/**/*.ts", "./index.ts", "types/**/*.d.ts"],
28
- "exclude": ["node_modules/**"]
28
+ "include": ["src/**/*.ts", "define/**/*.ts", "test/**/*.ts", "./index.ts", "types/**/*.d.ts"]
29
29
  }