vite-plugin-fvtt 0.2.7 → 0.2.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.9]
4
+
5
+ ### Fixed
6
+
7
+ - i18n validator should only, ever, run during build commands.
8
+ - fixed `package.json` pointing to the wrong files. Thank you
9
+ [Daedalus11069](https://github.com/Daedalus11069).
10
+
11
+ ## [0.2.8] - 2025-11-15
12
+
13
+ ### Changed
14
+
15
+ - Bump @foundryvtt/foundryvtt-cli to version 3.0.2
16
+
3
17
  ## [0.2.7] - 2025-11-07
4
18
 
5
19
  ### Changed
@@ -130,7 +144,9 @@
130
144
 
131
145
  - Initial Release
132
146
 
133
- [unreleased]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.7...HEAD
147
+ [unreleased]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.9...HEAD
148
+ [0.2.8]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.8...v0.2.9
149
+ [0.2.8]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.7...v0.2.8
134
150
  [0.2.7]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.6...v0.2.7
135
151
  [0.2.6]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.5...v0.2.6
136
152
  [0.2.5]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.4...v0.2.5
package/dist/index.mjs CHANGED
@@ -699,7 +699,7 @@ async function foundryVTTPlugin({ buildPacks = true } = {}) {
699
699
  if (buildPacks) await compileManifestPacks();
700
700
  },
701
701
  closeBundle() {
702
- if ((context.manifest?.languages ?? []).length > 0) validator();
702
+ if ((context.manifest?.languages ?? []).length > 0 && context.config?.command === "build") validator();
703
703
  },
704
704
  load(id) {
705
705
  const config = context.config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-fvtt",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "A Vite plugin for module and system development for Foundry VTT",
5
5
  "keywords": [
6
6
  "vite",
@@ -18,8 +18,8 @@
18
18
  "license": "MIT",
19
19
  "author": "MatyeusM (https://github.com/MatyeusM)",
20
20
  "type": "module",
21
- "main": "dist/index.js",
22
- "types": "dist/index.d.ts",
21
+ "main": "dist/index.mjs",
22
+ "types": "dist/index.d.mts",
23
23
  "files": [
24
24
  "dist",
25
25
  "CHANGELOG.md",
@@ -35,20 +35,20 @@
35
35
  "test": "vitest"
36
36
  },
37
37
  "devDependencies": {
38
- "@eslint/js": "^9.34.0",
39
- "@types/node": "^24.3.0",
40
- "eslint": "^9.34.0",
38
+ "@eslint/js": "^9.39.1",
39
+ "@types/node": "^24.10.1",
40
+ "eslint": "^9.39.1",
41
41
  "eslint-plugin-sonarjs": "^3.0.5",
42
42
  "eslint-plugin-unicorn": "^62.0.0",
43
43
  "prettier": "^3.6.2",
44
- "tsdown": "^0.16.0",
45
- "typescript": "^5.9.2",
46
- "typescript-eslint": "^8.41.0",
47
- "vite": "*",
48
- "vitest": "^4.0.3"
44
+ "tsdown": "^0.16.4",
45
+ "typescript": "^5.9.3",
46
+ "typescript-eslint": "^8.46.4",
47
+ "vite": "^7.2.2",
48
+ "vitest": "^4.0.9"
49
49
  },
50
50
  "dependencies": {
51
- "@foundryvtt/foundryvtt-cli": "^3.0.0",
51
+ "@foundryvtt/foundryvtt-cli": "^3.0.2",
52
52
  "socket.io": "^4.8.1",
53
53
  "socket.io-client": "^4.8.1",
54
54
  "tinyglobby": "^0.2.15"
@@ -56,5 +56,5 @@
56
56
  "peerDependencies": {
57
57
  "vite": "^7.0.0"
58
58
  },
59
- "packageManager": "pnpm@10.17.1"
59
+ "packageManager": "pnpm@10.22.0"
60
60
  }