vite-plugin-fvtt 0.2.8 → 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,13 @@
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
+
3
11
  ## [0.2.8] - 2025-11-15
4
12
 
5
13
  ### Changed
@@ -136,7 +144,8 @@
136
144
 
137
145
  - Initial Release
138
146
 
139
- [unreleased]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.8...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
140
149
  [0.2.8]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.7...v0.2.8
141
150
  [0.2.7]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.6...v0.2.7
142
151
  [0.2.6]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.5...v0.2.6
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.8",
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",