@blockquote/create-wc 2.2.1 → 2.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockquote/create-wc",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "Web component with Lit scaffolding - Extending Open Web Component",
5
5
  "keywords": [
6
6
  "Lit",
@@ -53,8 +53,8 @@
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.18.2",
57
- "typescript-eslint": "^8.18.2",
56
+ "@typescript-eslint/parser": "^8.19.0",
57
+ "typescript-eslint": "^8.19.0",
58
58
  "globals": "^15.14.0",
59
59
  "husky": "^9.1.7",
60
60
  "lint-staged": "^15.3.0",
@@ -39,7 +39,7 @@
39
39
  "rollup-plugin-copy": "^3.5.0",
40
40
  "rollup-plugin-node-externals": "^8.0.0",
41
41
  "tinyglobby": "^0.2.10",
42
- "concurrently": "^9.1.1",
42
+ "concurrently": "^9.1.2",
43
43
  "sort-package-json": "^2.12.0",
44
44
  "@vitest/browser": "^3.0.0-beta.3",
45
45
  "@vitest/coverage-istanbul": "^3.0.0-beta.3",
@@ -13,11 +13,13 @@ const copyConfig = {
13
13
  hook: 'writeBundle',
14
14
  };
15
15
 
16
- const demoDir = 'demo';
17
- const demoGlob = [`${demoDir}/entry.js`];
16
+ const entriesDir = 'demo';
17
+ const entriesGlob = [`${entriesDir}/entry.js`];
18
+
19
+ // https://github.com/vitejs/vite/discussions/1736#discussioncomment-5126923
18
20
  const entries = Object.fromEntries(
19
- demoGlob.map((file) => {
20
- const [key] = file.match(new RegExp(`(?<=${demoDir}\/).*`)) || [];
21
+ entriesGlob.map((file) => {
22
+ const [key] = file.match(new RegExp(`(?<=${entriesDir}\/).*`)) || [];
21
23
  return [key?.replace(/\.[^.]*$/, ''), file];
22
24
  })
23
25
  );
@@ -2,13 +2,13 @@ import {defineConfig} from 'vite';
2
2
  import {nodeExternals} from 'rollup-plugin-node-externals';
3
3
  import {globSync} from 'tinyglobby';
4
4
 
5
- const srcDir = 'src';
6
- const srcGlob = `${srcDir}/**/*.ts`;
5
+ const entriesDir = 'src';
6
+ const entriesGlob = `${entriesDir}/**/*.ts`;
7
7
 
8
8
  // https://github.com/vitejs/vite/discussions/1736#discussioncomment-5126923
9
9
  const entries = Object.fromEntries(
10
- globSync(srcGlob).map((file) => {
11
- const [key] = file.match(new RegExp(`(?<=${srcDir}\/).*`)) || [];
10
+ globSync(entriesGlob).map((file) => {
11
+ const [key] = file.match(new RegExp(`(?<=${entriesDir}\/).*`)) || [];
12
12
  return [key?.replace(/\.[^.]*$/, ''), file];
13
13
  })
14
14
  );