vite-plugin-fvtt 0.2.5 → 0.2.7

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,17 +1,46 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.7] - 2025-11-07
4
+
5
+ ### Changed
6
+
7
+ - Use `pnpm` as the package manager.
8
+ - Bump @foundryvtt/foundryvtt-cli to version 3.0.1
9
+
10
+ ## [0.2.6] - 2025-10-01
11
+
12
+ ### Added
13
+
14
+ - CI now tests against Node.js Latest, 20 LTS, and 22 LTS, ensuring Foundry projects compile across
15
+ supported environments.
16
+ - Badges were added to the README because they look neat.
17
+ - Dependabot now tracks GitHub Actions, not just NPM dependencies.
18
+
19
+ ### Changed
20
+
21
+ - HMR logic updated to mirror Foundry V14's internal implementation, with a full fallback to V13
22
+ behavior for templates and JSON language files. _(If Foundry doesn't end up relying on the new
23
+ data shape in V14, this will have been an over-engineered no-op; but future-proofing beats
24
+ regret.)_
25
+ - ESLint configuration significantly tightened:
26
+ - Added sonarjs and unicorn plugins for deeper static analysis.
27
+ - Upgraded TypeScript ESLint rules from recommended to strict.
28
+ - Test suite refactored to reduce duplication and simplify onboarding for future test additions.
29
+
3
30
  ## [0.2.5] - 2025-09-24
4
31
 
5
32
  ### Fixed
6
33
 
7
- - `system.json` or `module.json` in root due to missing wait condition for the check not properly copying.
34
+ - `system.json` or `module.json` in root due to missing wait condition for the check not properly
35
+ copying.
8
36
 
9
37
  ## [0.2.4] - 2025-09-23
10
38
 
11
39
  ### Changed
12
40
 
13
41
  - Removed dependencies of `fs-extra` and `dotenv` to shrink the dependencies.
14
- - Async file loading should improve the performance for a large number of language files significantly.
42
+ - Async file loading should improve the performance for a large number of language files
43
+ significantly.
15
44
 
16
45
  ## [0.2.3] - 2025-09-20
17
46
 
@@ -101,7 +130,11 @@
101
130
 
102
131
  - Initial Release
103
132
 
104
- [unreleased]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.3...HEAD
133
+ [unreleased]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.7...HEAD
134
+ [0.2.7]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.6...v0.2.7
135
+ [0.2.6]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.5...v0.2.6
136
+ [0.2.5]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.4...v0.2.5
137
+ [0.2.4]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.3...v0.2.4
105
138
  [0.2.3]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.2...v0.2.3
106
139
  [0.2.2]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.1...v0.2.2
107
140
  [0.2.1]: https://github.com/MatyeusM/vite-plugin-fvtt/compare/v0.2.0...v0.2.1
package/README.md CHANGED
@@ -1,4 +1,14 @@
1
- # **vite-plugin-fvtt**
1
+ <h1 align="center">vite-plugin-fvtt</h1>
2
+
3
+ <div align="center">
4
+
5
+ ![NPM Version](https://img.shields.io/npm/v/vite-plugin-fvtt?style=for-the-badge&labelColor=1a1c23&color=a9cbae)
6
+ ![GitHub License](https://img.shields.io/github/license/MatyeusM/vite-plugin-fvtt?style=for-the-badge&labelColor=1a1c23&color=97cdcc)
7
+ ![GitHub last commit](https://img.shields.io/github/last-commit/MatyeusM/vite-plugin-fvtt?style=for-the-badge&labelColor=1a1c23&color=a1c6e1)
8
+ ![GitHub repo size](https://img.shields.io/github/repo-size/MatyeusM/vite-plugin-fvtt?style=for-the-badge&labelColor=1a1c23&color=bdbde4)
9
+ ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/MatyeusM/vite-plugin-fvtt/ci.yml?style=for-the-badge&labelColor=1a1c23&color=d6b5d2)
10
+
11
+ </div>
2
12
 
3
13
  A [Vite](https://vitejs.dev/) plugin to **streamline and automate** the development of Foundry VTT
4
14
  modules and systems.
@@ -45,7 +55,7 @@ export default defineConfig({
45
55
 
46
56
  ## **⚙️ Features**
47
57
 
48
- ### **1. Configuration**
58
+ ### **1. Configuration (Optional)**
49
59
 
50
60
  The plugin needs to know where your Foundry VTT instance is running to proxy and serve assets
51
61
  correctly. If you want to change anything from the defaults `http://localhost:30000`, create a
@@ -0,0 +1,10 @@
1
+ import { Plugin } from "vite";
2
+
3
+ //#region src/index.d.ts
4
+ declare function foundryVTTPlugin({
5
+ buildPacks
6
+ }?: {
7
+ buildPacks?: boolean | undefined;
8
+ }): Promise<Plugin>;
9
+ //#endregion
10
+ export { foundryVTTPlugin as default };