@blockquote/create-wc 1.22.1 → 1.22.2
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
|
@@ -55,6 +55,7 @@ npm run format
|
|
|
55
55
|
|
|
56
56
|
### - Testing with Web Test Runner
|
|
57
57
|
|
|
58
|
+
- playwright
|
|
58
59
|
- mocha-style reporter
|
|
59
60
|
- coverage config
|
|
60
61
|
- TDD option
|
|
@@ -64,8 +65,9 @@ npm run format
|
|
|
64
65
|
### web-test-runner.config
|
|
65
66
|
|
|
66
67
|
```js
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
68
|
+
import { playwrightLauncher } from '@web/test-runner-playwright';
|
|
69
|
+
import { defaultReporter, summaryReporter } from '@web/test-runner';
|
|
70
|
+
import { coverageTableReporter } from '@blockquote/coverage-table-reporter'
|
|
69
71
|
|
|
70
72
|
const outDir = process.env.OUTDIR || '.';
|
|
71
73
|
|
|
@@ -76,9 +78,22 @@ export default ({
|
|
|
76
78
|
exportConditions: ['browser', 'development'],
|
|
77
79
|
},
|
|
78
80
|
|
|
81
|
+
/** Browsers to run tests on */
|
|
82
|
+
browsers: [
|
|
83
|
+
playwrightLauncher({ product: 'chromium' }),
|
|
84
|
+
playwrightLauncher({ product: 'webkit' }),
|
|
85
|
+
],
|
|
86
|
+
|
|
87
|
+
/** Amount of browsers to run concurrently */
|
|
88
|
+
concurrentBrowsers: 2,
|
|
89
|
+
|
|
90
|
+
/** Amount of test files per browser to test concurrently */
|
|
91
|
+
concurrency: 1,
|
|
92
|
+
|
|
79
93
|
reporters: [
|
|
80
94
|
defaultReporter(),
|
|
81
|
-
|
|
95
|
+
summaryReporter(),
|
|
96
|
+
coverageTableReporter()
|
|
82
97
|
],
|
|
83
98
|
|
|
84
99
|
coverageConfig: {
|
|
@@ -95,6 +110,8 @@ export default ({
|
|
|
95
110
|
testFramework: {
|
|
96
111
|
config: {
|
|
97
112
|
ui: 'tdd',
|
|
113
|
+
timeout: 4000,
|
|
114
|
+
reporter: 'html'
|
|
98
115
|
},
|
|
99
116
|
},
|
|
100
117
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockquote/create-wc",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.2",
|
|
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.
|
|
42
|
+
"@open-wc/create": "^0.38.69",
|
|
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.
|
|
50
|
-
"eslint": "^8.
|
|
49
|
+
"@open-wc/eslint-config": "^9.2.2",
|
|
50
|
+
"eslint": "^8.35.0",
|
|
51
51
|
"eslint-config-prettier": "^8.6.0",
|
|
52
|
-
"prettier": "^2.8.
|
|
52
|
+
"prettier": "^2.8.4"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|
|
55
55
|
"node": ">=14.15.0"
|