@blockquote/create-wc 1.109.0 → 1.109.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
CHANGED
|
@@ -45,21 +45,21 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@html-eslint/eslint-plugin": "^0.
|
|
49
|
-
"@html-eslint/parser": "^0.
|
|
50
|
-
"eslint": "^9.
|
|
48
|
+
"@html-eslint/eslint-plugin": "^0.30.0",
|
|
49
|
+
"@html-eslint/parser": "^0.30.0",
|
|
50
|
+
"eslint": "^9.16.0",
|
|
51
51
|
"eslint-config-prettier": "^9.1.0",
|
|
52
52
|
"eslint-plugin-import": "^2.31.0",
|
|
53
53
|
"eslint-plugin-lit": "^1.15.0",
|
|
54
54
|
"eslint-plugin-lit-a11y": "^4.1.4",
|
|
55
55
|
"eslint-plugin-wc": "^2.2.0",
|
|
56
|
-
"@typescript-eslint/parser": "^8.
|
|
57
|
-
"typescript-eslint": "^8.
|
|
58
|
-
"globals": "^15.
|
|
56
|
+
"@typescript-eslint/parser": "^8.17.0",
|
|
57
|
+
"typescript-eslint": "^8.17.0",
|
|
58
|
+
"globals": "^15.13.0",
|
|
59
59
|
"husky": "^9.1.7",
|
|
60
60
|
"lint-staged": "^15.2.10",
|
|
61
|
-
"prettier": "^3.4.
|
|
62
|
-
"stylelint": "^16.
|
|
63
|
-
"stylelint-config-standard-scss": "^
|
|
61
|
+
"prettier": "^3.4.2",
|
|
62
|
+
"stylelint": "^16.11.0",
|
|
63
|
+
"stylelint-config-standard-scss": "^14.0.0"
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
import path from 'node:path';
|
|
3
2
|
import {fileURLToPath} from 'node:url';
|
|
4
|
-
import
|
|
3
|
+
import js from '@eslint/js';
|
|
4
|
+
import {FlatCompat} from '@eslint/eslintrc';
|
|
5
5
|
import {configs as wc} from 'eslint-plugin-wc';
|
|
6
6
|
import {configs as lit} from 'eslint-plugin-lit';
|
|
7
|
+
import * as importPlugin from 'eslint-plugin-import';
|
|
7
8
|
import tseslint from 'typescript-eslint';
|
|
8
9
|
import tsParser from '@typescript-eslint/parser';
|
|
9
10
|
import html from '@html-eslint/eslint-plugin';
|
|
11
|
+
import htmlParser from '@html-eslint/parser';
|
|
10
12
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
|
11
|
-
import js from '@eslint/js';
|
|
12
|
-
import {FlatCompat} from '@eslint/eslintrc';
|
|
13
13
|
import globals from 'globals';
|
|
14
14
|
|
|
15
15
|
const __filename = fileURLToPath(import.meta.url);
|
|
@@ -24,8 +24,8 @@ const compat = new FlatCompat({
|
|
|
24
24
|
|
|
25
25
|
// eslint-plugin-import
|
|
26
26
|
const importFilesConfig = [
|
|
27
|
-
importPlugin.flatConfigs
|
|
28
|
-
importPlugin.flatConfigs
|
|
27
|
+
importPlugin.flatConfigs?.recommended,
|
|
28
|
+
importPlugin.flatConfigs?.typescript,
|
|
29
29
|
].map((conf) => ({
|
|
30
30
|
...conf,
|
|
31
31
|
files: [`**/*.${fileTypes}`],
|
|
@@ -111,16 +111,21 @@ const tsFilesRules = {
|
|
|
111
111
|
const htmlFilesConfig = [html.configs['flat/recommended']].map((conf) => ({
|
|
112
112
|
...conf,
|
|
113
113
|
files: ['**/*.html'],
|
|
114
|
+
plugins: {
|
|
115
|
+
'@html-eslint': html,
|
|
116
|
+
},
|
|
117
|
+
languageOptions: {
|
|
118
|
+
parser: htmlParser,
|
|
119
|
+
},
|
|
114
120
|
}));
|
|
115
121
|
|
|
116
122
|
const htmlFilesRules = {
|
|
117
123
|
files: ['**/*.html'],
|
|
118
124
|
rules: {
|
|
119
|
-
'@html-eslint/require-closing-tags': 'off',
|
|
120
|
-
'@html-eslint/attrs-newline': 'off',
|
|
121
|
-
'@html-eslint/element-newline': 'off',
|
|
122
125
|
'@html-eslint/indent': ['error', 2],
|
|
126
|
+
'@html-eslint/require-closing-tags': 'off',
|
|
123
127
|
'@html-eslint/no-extra-spacing-attrs': 'off',
|
|
128
|
+
'@html-eslint/attrs-newline': 'off',
|
|
124
129
|
},
|
|
125
130
|
};
|
|
126
131
|
|
|
@@ -144,8 +149,7 @@ export default [
|
|
|
144
149
|
'**/*.config.*',
|
|
145
150
|
'**/*.d.ts',
|
|
146
151
|
'**/*.min.js',
|
|
147
|
-
'**/*-styles
|
|
148
|
-
'**/*-styles.ts',
|
|
152
|
+
'**/*-styles.*',
|
|
149
153
|
'**/*.workspace.*',
|
|
150
154
|
],
|
|
151
155
|
},
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@blockquote/coverage-table-reporter": "^1.2.0",
|
|
30
30
|
"@blockquote/rollup-plugin-externalize-source-dependencies": "^1.0.0",
|
|
31
31
|
"@blockquote/rollup-plugin-total-bundlesize": "^2.1.2",
|
|
32
|
-
"@blockquote/sass-style-template": "^4.0
|
|
32
|
+
"@blockquote/sass-style-template": "^4.1.0",
|
|
33
33
|
"@custom-elements-manifest/analyzer": "^0.10.3",
|
|
34
34
|
"@open-wc/testing": "^4.0.0",
|
|
35
35
|
"@types/mocha": "^10.0.10",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@web/rollup-plugin-html": "^2.3.0",
|
|
39
39
|
"concurrently": "^9.1.0",
|
|
40
40
|
"sort-package-json": "^2.12.0",
|
|
41
|
-
"vite": "^6.0.
|
|
41
|
+
"vite": "^6.0.3"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
@@ -12,14 +12,13 @@ import externalizeSourceDependencies from '@blockquote/rollup-plugin-externalize
|
|
|
12
12
|
export default defineConfig({
|
|
13
13
|
plugins: [
|
|
14
14
|
externalizeSourceDependencies(['/__web-dev-server__web-socket.js']),
|
|
15
|
-
pluginHtml(),
|
|
15
|
+
pluginHtml({input: 'demo/*.html'}),
|
|
16
16
|
totalBundlesize(),
|
|
17
17
|
],
|
|
18
18
|
build: {
|
|
19
19
|
target: ['chrome71'],
|
|
20
20
|
outDir: 'dev',
|
|
21
21
|
rollupOptions: {
|
|
22
|
-
input: 'demo/*.html',
|
|
23
22
|
output: {
|
|
24
23
|
dir: 'dev/',
|
|
25
24
|
format: 'es',
|