@blockquote/create-wc 2.6.0 → 2.6.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 +5 -5
- package/src/app/index.js +0 -2
- package/src/common-linting/templates/package.json +1 -0
- package/src/common-repo/templates/eslint.config.js +1 -1
- package/src/create.js +0 -2
- package/src/testing/index.js +0 -1
- package/src/testing-ts/index.js +0 -1
- package/src/wc-lit-element/index.js +0 -2
- package/src/wc-lit-element-ts/index.js +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockquote/create-wc",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "Web component with Lit scaffolding - Extending Open Web Component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit",
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
"semver": "^7.7.3"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@eslint/
|
|
57
|
-
"eslint-plugin-html": "^8.1.3",
|
|
56
|
+
"@eslint/js": "^9.38.0",
|
|
58
57
|
"@open-wc/eslint-config": "^13.0.0",
|
|
59
58
|
"eslint": "^9.38.0",
|
|
60
59
|
"eslint-config-prettier": "^10.1.8",
|
|
61
|
-
"prettier": "^3.6.2"
|
|
60
|
+
"prettier": "^3.6.2",
|
|
61
|
+
"globals": "^16.4.0"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
|
-
"node": ">=
|
|
64
|
+
"node": ">=18.20.3"
|
|
65
65
|
},
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
package/src/app/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable no-console */
|
|
2
1
|
import prompts from 'prompts';
|
|
3
2
|
// import commandLineArgs from 'command-line-args';
|
|
4
3
|
import {executeMixinGenerator} from '@open-wc/create/dist/core.js';
|
|
@@ -8,7 +7,6 @@ import {gatherMixins} from './gatherMixins.js';
|
|
|
8
7
|
import Generator from '../Generator.js';
|
|
9
8
|
|
|
10
9
|
export const AppMixin = (subclass) =>
|
|
11
|
-
// eslint-disable-next-line no-shadow
|
|
12
10
|
class AppMixin extends subclass {
|
|
13
11
|
constructor() {
|
|
14
12
|
super();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import js from '@eslint/js';
|
|
2
2
|
import {configs as wc} from 'eslint-plugin-wc';
|
|
3
3
|
import {configs as lit} from 'eslint-plugin-lit';
|
|
4
|
-
import litA11y from 'eslint-plugin-lit-a11y';
|
|
4
|
+
import {default as litA11y} from 'eslint-plugin-lit-a11y';
|
|
5
5
|
import {flatConfigs as importPlugin} from 'eslint-plugin-import';
|
|
6
6
|
import tseslint from 'typescript-eslint';
|
|
7
7
|
import tsParser from '@typescript-eslint/parser';
|
package/src/create.js
CHANGED
package/src/testing/index.js
CHANGED
package/src/testing-ts/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable max-classes-per-file */
|
|
2
1
|
import {fileURLToPath} from 'url';
|
|
3
2
|
import {join, dirname} from 'path';
|
|
4
3
|
import {processTemplate, readFileFromPath} from '@open-wc/create/dist/core.js';
|
|
@@ -28,7 +27,6 @@ function featureReadme(acc, feature, i, a) {
|
|
|
28
27
|
|
|
29
28
|
const safeFeatureReadme = safeReduce(featureReadme, '');
|
|
30
29
|
|
|
31
|
-
/* eslint-disable no-console */
|
|
32
30
|
export const WcLitElementMixin = (subclass) =>
|
|
33
31
|
class extends subclass {
|
|
34
32
|
async execute() {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable max-classes-per-file */
|
|
2
1
|
import {fileURLToPath} from 'url';
|
|
3
2
|
import {join, dirname} from 'path';
|
|
4
3
|
import {processTemplate, readFileFromPath} from '@open-wc/create/dist/core.js';
|
|
@@ -28,7 +27,6 @@ function featureReadme(acc, feature, i, a) {
|
|
|
28
27
|
|
|
29
28
|
const safeFeatureReadme = safeReduce(featureReadme, '');
|
|
30
29
|
|
|
31
|
-
/* eslint-disable no-console */
|
|
32
30
|
export const TsWcLitElementMixin = (subclass) =>
|
|
33
31
|
class extends subclass {
|
|
34
32
|
async execute() {
|