@blockquote/create-wc 1.60.0 → 1.70.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 +1 -1
- package/src/common-linting/templates/package.json +1 -1
- package/src/common-repo/templates/eslintignore +1 -0
- package/src/common-repo/templates/package.json +3 -3
- package/src/common-testing-wtr/templates/static/{web-test-runner.config.mjs → web-test-runner.config.js} +1 -3
- package/src/linting-eslint-ts/templates/package.json +2 -2
- package/src/testing/templates/package.json +1 -1
- package/src/testing-ts/templates/package.json +1 -1
- package/src/wc-lit-element/templates/MyEl.js +2 -2
- package/src/wc-lit-element/templates/tsconfig.json +4 -5
- package/src/wc-lit-element-ts/templates/MyEl.ts +2 -0
package/package.json
CHANGED
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@blockquote/cem-to-markdown-readme": "^1.0.0",
|
|
29
|
-
"@blockquote/coverage-table-reporter": "^1.
|
|
30
|
-
"@blockquote/rollup-plugin-total-bundlesize": "^2.
|
|
29
|
+
"@blockquote/coverage-table-reporter": "^1.2.0",
|
|
30
|
+
"@blockquote/rollup-plugin-total-bundlesize": "^2.1.1",
|
|
31
31
|
"@blockquote/sass-style-template": "^3.0.2",
|
|
32
32
|
"@custom-elements-manifest/analyzer": "^0.8.4",
|
|
33
33
|
"@ungap/global-this": "^0.4.4",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"rollup-plugin-copy": "^3.5.0",
|
|
37
37
|
"sort-package-json": "^2.6.0",
|
|
38
38
|
"ts-lit-plugin": "^2.0.0-pre.1",
|
|
39
|
-
"vite": "^4.4.
|
|
39
|
+
"vite": "^4.4.11"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
@@ -12,9 +12,7 @@ export default /** @type {import("@web/test-runner").TestRunnerConfig} */ ({
|
|
|
12
12
|
files: [`${outDir}/test/**/*.test.js`],
|
|
13
13
|
|
|
14
14
|
/** Resolve bare module imports */
|
|
15
|
-
nodeResolve:
|
|
16
|
-
exportConditions: ['browser', 'development'],
|
|
17
|
-
},
|
|
15
|
+
nodeResolve: true,
|
|
18
16
|
|
|
19
17
|
/** Browsers to run tests on */
|
|
20
18
|
browsers: [
|
|
@@ -7,8 +7,8 @@ import { styles } from './styles/<%= tagName %>-styles.css.js';
|
|
|
7
7
|
* ## `<<%= tagName %>>`
|
|
8
8
|
* An example element.
|
|
9
9
|
*
|
|
10
|
-
* @
|
|
11
|
-
* @
|
|
10
|
+
* @attribute heading
|
|
11
|
+
* @attribute counter
|
|
12
12
|
* @fires counterchange - Indicates when the count changes
|
|
13
13
|
* @slot - This element has a slot
|
|
14
14
|
*/
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
+
// https://humanwhocodes.com/snippets/2020/10/create-typescript-declarations-from-javascript-jsdoc/
|
|
3
4
|
"target": "es2021",
|
|
4
5
|
"lib": ["es2021", "DOM", "DOM.Iterable"],
|
|
5
6
|
"module": "es2020",
|
|
6
7
|
"moduleResolution": "node",
|
|
7
8
|
"allowJs": true,
|
|
8
9
|
"declaration": true,
|
|
9
|
-
"emitDeclarationOnly":
|
|
10
|
-
"noEmit":
|
|
10
|
+
"emitDeclarationOnly": true,
|
|
11
|
+
"noEmit": false,
|
|
11
12
|
"checkJs": true,
|
|
12
13
|
"strict": false,
|
|
13
14
|
"noImplicitThis": true,
|
|
14
|
-
"noImplicitOverride": true,
|
|
15
15
|
"alwaysStrict": true,
|
|
16
16
|
"allowSyntheticDefaultImports": true,
|
|
17
|
-
|
|
18
17
|
"plugins": [
|
|
19
18
|
{
|
|
20
19
|
"name": "ts-lit-plugin",
|
|
@@ -27,5 +26,5 @@
|
|
|
27
26
|
}
|
|
28
27
|
]
|
|
29
28
|
},
|
|
30
|
-
"include": ["src/**/*.js"
|
|
29
|
+
"include": ["src/**/*.js"]
|
|
31
30
|
}
|
|
@@ -8,6 +8,8 @@ import { styles } from './styles/<%= tagName %>-styles.css.js';
|
|
|
8
8
|
* ## `<<%= tagName %>>`
|
|
9
9
|
* An example element.
|
|
10
10
|
*
|
|
11
|
+
* @attribute heading
|
|
12
|
+
* @attribute counter
|
|
11
13
|
* @fires counterchange - Indicates when the count changes
|
|
12
14
|
* @slot - This element has a slot
|
|
13
15
|
*/
|