@blockquote/create-wc 1.108.1 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockquote/create-wc",
3
- "version": "1.108.1",
3
+ "version": "1.109.1",
4
4
  "description": "Web component with Lit scaffolding - Extending Open Web Component",
5
5
  "keywords": [
6
6
  "LitElement",
@@ -60,7 +60,7 @@
60
60
  "@open-wc/eslint-config": "^12.0.3",
61
61
  "eslint": "^8.57.1",
62
62
  "eslint-config-prettier": "^9.1.0",
63
- "prettier": "^3.3.3"
63
+ "prettier": "^3.4.1"
64
64
  },
65
65
  "engines": {
66
66
  "node": ">=14.15.0"
@@ -45,21 +45,21 @@
45
45
  }
46
46
  },
47
47
  "devDependencies": {
48
- "@html-eslint/eslint-plugin": "^0.27.0",
49
- "@html-eslint/parser": "^0.27.0",
50
- "eslint": "^9.15.0",
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.15.0",
57
- "typescript-eslint": "^8.15.0",
58
- "globals": "^15.12.0",
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.3.3",
62
- "stylelint": "^16.10.0",
63
- "stylelint-config-standard-scss": "^13.1.0"
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 importPlugin from 'eslint-plugin-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.recommended,
28
- importPlugin.flatConfigs.typescript,
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.js',
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.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",
@@ -37,8 +37,8 @@
37
37
  "@web/test-runner-playwright": "^0.11.0",
38
38
  "@web/rollup-plugin-html": "^2.3.0",
39
39
  "concurrently": "^9.1.0",
40
- "sort-package-json": "^2.11.0",
41
- "vite": "^5.4.11"
40
+ "sort-package-json": "^2.12.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',
@@ -32,6 +32,6 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "tslib": "^2.8.1",
35
- "typescript": "^5.6.3"
35
+ "typescript": "^5.7.2"
36
36
  }
37
37
  }