@pubinfo-pr/vite 0.203.1 → 0.203.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.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -5
  2. package/package.json +28 -28
package/dist/index.mjs CHANGED
@@ -72,7 +72,7 @@ function getServerProxy(env, isProxy) {
72
72
  else serverProxy[pk] = {
73
73
  target: url,
74
74
  changeOrigin: true,
75
- rewrite: (path$1) => path$1.replace(pk, ""),
75
+ rewrite: (path) => path.replace(pk, ""),
76
76
  secure: false
77
77
  };
78
78
  }
@@ -149,7 +149,7 @@ function createDTS(options = {}) {
149
149
  console.error("[pubinfo-pr:dts] Could not find tsconfig.json");
150
150
  return;
151
151
  }
152
- const configFile = ts.readConfigFile(configPath, (path$1) => readFileSync(path$1, "utf-8"));
152
+ const configFile = ts.readConfigFile(configPath, (path) => readFileSync(path, "utf-8"));
153
153
  if (configFile.error) {
154
154
  console.error("[pubinfo-pr:dts] Error reading tsconfig.json");
155
155
  return;
@@ -214,7 +214,7 @@ function createDTS(options = {}) {
214
214
  return true;
215
215
  });
216
216
  if (diagnostics.length > 0) console.warn("[pubinfo-pr:dts] Type diagnostics:\n", ts.formatDiagnosticsWithColorAndContext(diagnostics, {
217
- getCanonicalFileName: (path$1) => path$1,
217
+ getCanonicalFileName: (path) => path,
218
218
  getCurrentDirectory: () => root,
219
219
  getNewLine: () => "\n"
220
220
  }));
@@ -318,8 +318,8 @@ function getPatternBase(pattern) {
318
318
  }
319
319
  return baseParts.join("/");
320
320
  }
321
- function normalizePath$1(path$1) {
322
- return posix.normalize(path$1.replace(/\\/g, "/"));
321
+ function normalizePath$1(path) {
322
+ return posix.normalize(path.replace(/\\/g, "/"));
323
323
  }
324
324
  function libResolverPlugin(options) {
325
325
  const virtualModuleId = "virtual:pubinfo-resolver";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo-pr/vite",
3
3
  "type": "module",
4
- "version": "0.203.1",
4
+ "version": "0.203.2",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.mts",
@@ -19,53 +19,53 @@
19
19
  },
20
20
  "peerDependencies": {
21
21
  "pinia": "^3.0.4",
22
- "typescript": "^5.8.3",
23
- "vue": "^3.5.26",
24
- "vue-router": "^4.6.4",
25
- "vue-tsc": "^3.1.8"
22
+ "typescript": "^5.9.3",
23
+ "vue": "^3.5.28",
24
+ "vue-router": "^5.0.2",
25
+ "vue-tsc": "^3.2.4"
26
26
  },
27
27
  "dependencies": {
28
- "@pubinfo-pr/devtools": "0.203.1",
29
- "@pubinfo-pr/shared": "0.203.1",
28
+ "@pubinfo-pr/devtools": "0.203.2",
29
+ "@pubinfo-pr/shared": "0.203.2",
30
30
  "@pubinfo/unplugin-openapi": "^0.9.1",
31
31
  "@vitejs/plugin-legacy": "^7.2.1",
32
- "@vitejs/plugin-vue": "^6.0.3",
33
- "@vitejs/plugin-vue-jsx": "^5.1.2",
34
- "@volar/typescript": "^2.4.11",
35
- "@vue/language-core": "^3.1.8",
32
+ "@vitejs/plugin-vue": "^6.0.4",
33
+ "@vitejs/plugin-vue-jsx": "^5.1.4",
34
+ "@volar/typescript": "^2.4.28",
35
+ "@vue/language-core": "^3.2.4",
36
36
  "abort-controller": "^3.0.0",
37
37
  "boxen": "^8.0.1",
38
- "chalk": "^5.4.1",
38
+ "chalk": "^5.6.2",
39
39
  "dayjs": "^1.11.19",
40
40
  "fast-glob": "^3.3.3",
41
- "fs-extra": "^11.3.0",
41
+ "fs-extra": "^11.3.3",
42
42
  "jszip": "^3.10.1",
43
- "lodash-es": "^4.17.21",
44
- "magic-string": "^0.30.19",
43
+ "lodash-es": "^4.17.23",
44
+ "magic-string": "^0.30.21",
45
45
  "micromatch": "^4.0.8",
46
46
  "picomatch": "^4.0.3",
47
47
  "pkg-types": "^2.3.0",
48
- "terser": "^5.43.1",
49
- "unocss": "^66.4.2",
50
- "unplugin-auto-import": "^20.0.0",
51
- "unplugin-icons": "^22.2.0",
52
- "unplugin-vue-components": "^29.0.0",
53
- "vite": "^8.0.0-beta.3",
48
+ "terser": "^5.46.0",
49
+ "unocss": "^66.6.0",
50
+ "unplugin-auto-import": "^21.0.0",
51
+ "unplugin-icons": "^23.0.1",
52
+ "unplugin-vue-components": "^31.0.0",
53
+ "vite": "^8.0.0-beta.13",
54
54
  "vite-plugin-compression": "^0.5.1",
55
- "vite-plugin-env-runtime": "^0.3.6",
56
- "vite-plugin-fake-server": "^2.2.0",
55
+ "vite-plugin-env-runtime": "^0.3.7",
56
+ "vite-plugin-fake-server": "^2.2.2",
57
57
  "vite-plugin-lib-inject-css": "^2.2.2",
58
- "vite-plugin-vue-devtools": "^8.0.0"
58
+ "vite-plugin-vue-devtools": "^8.0.6"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/fs-extra": "^11.0.4",
62
62
  "@types/lodash-es": "^4.17.12",
63
- "@types/micromatch": "^4.0.9",
64
- "@types/node": "^24.0.10",
63
+ "@types/micromatch": "^4.0.10",
64
+ "@types/node": "^25.2.2",
65
65
  "@types/picomatch": "^4.0.2",
66
66
  "pinia": "^3.0.4",
67
- "vue": "^3.5.26",
68
- "vue-router": "^4.6.4"
67
+ "vue": "^3.5.28",
68
+ "vue-router": "^5.0.2"
69
69
  },
70
70
  "scripts": {
71
71
  "dev": "tsdown --watch",