@vttforge/testing 0.0.0 → 0.1.0

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 ADDED
@@ -0,0 +1,32 @@
1
+ # @vttforge/testing
2
+
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 9462144: Require Node 26.
8
+
9
+ The floor moves from `>=22.14.0` to `>=26.0.0` across every package and the
10
+ four scaffolding templates, and the bundler target for the Node-side
11
+ packages moves from `node22` to `node26`.
12
+
13
+ Node 22 entered maintenance in October 2025 and receives security fixes
14
+ only. Node 26 becomes the active LTS line on 2026-10-28.
15
+
16
+ This is breaking for anyone on Node 22 or 24. It is marked `minor` rather
17
+ than `major` on purpose: these packages are still on 0.x, where a minor
18
+ signals the break, and a major would push every package to 1.0.0 — a claim
19
+ of API stability that has not been audited, on packages two of which are
20
+ still stubs.
21
+
22
+ The templates move to the versions this release publishes. On 0.x a caret
23
+ pins the minor, so their old ranges would not have matched.
24
+
25
+ CI now pins Node through `actions/setup-node` instead of inheriting whatever
26
+ the runner image ships, so the version the packages declare is the version
27
+ they are tested on. It was not before: the workflow took the image's Node,
28
+ and nothing enforced the declared floor because `engine-strict` is not set.
29
+
30
+ ## 0.0.1
31
+
32
+ Initial placeholder release — package name reserved on npm. Implementation lands in v1.0.0.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Fabricio Cavalcante de Souza and contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # @vttforge/testing
2
2
 
3
- Quench-based testing helpers for FoundryVTT systems and modules.
3
+ Test helpers and Foundry mocks for VTTForge consumers. Wraps Vitest (unit tests) and Quench (in-Foundry browser tests).
4
4
 
5
- > 🚧 **Placeholder release.** This is a reserved name on the npm registry. The first usable version is coming soon.
5
+ > **Status:** v0.0.1 placeholder. Implementation lands in v1.0.0.
6
6
 
7
- Track progress and contribute at **https://github.com/vttforge/vttforge**.
7
+ ## Planned scope (v1.0.0)
8
8
 
9
- ---
10
-
11
- VTTForge is an independent, community-developed project. It is not affiliated with, endorsed by, or sponsored by Foundry Gaming LLC. "Foundry Virtual Tabletop", "Foundry VTT", and "FVTT" are trademarks of Foundry Gaming LLC.
9
+ - Pre-built Foundry global mocks (`game`, `Hooks`, `CONFIG`, `Roll`, `ui.notifications`).
10
+ - Quench test harness with VTTForge sheet helpers.
11
+ - Snapshot helpers for `system.json` / `template.json` regression tests.
@@ -0,0 +1,8 @@
1
+ //#region src/index.d.ts
2
+ /**
3
+ * @vttforge/testing — placeholder. Implementation lands in v1.0.0.
4
+ */
5
+ declare const VTTFORGE_TESTING_VERSION = "0.0.1";
6
+ //#endregion
7
+ export { VTTFORGE_TESTING_VERSION };
8
+ //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/index.ts
2
+ /**
3
+ * @vttforge/testing — placeholder. Implementation lands in v1.0.0.
4
+ */
5
+ const VTTFORGE_TESTING_VERSION = "0.0.1";
6
+ //#endregion
7
+ export { VTTFORGE_TESTING_VERSION };
8
+
9
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/**\n * @vttforge/testing — placeholder. Implementation lands in v1.0.0.\n */\nexport const VTTFORGE_TESTING_VERSION = '0.0.1';\n"],"mappings":";;;;AAGA,MAAa,2BAA2B"}
package/package.json CHANGED
@@ -1,16 +1,58 @@
1
1
  {
2
2
  "name": "@vttforge/testing",
3
- "version": "0.0.0",
4
- "description": "Quench-based testing helpers for FoundryVTT systems and modules. Placeholder — real release coming soon.",
5
- "keywords": ["foundryvtt", "fvtt", "vtt", "sdk", "tabletop", "ttrpg"],
3
+ "version": "0.1.0",
4
+ "description": "Quench-compatible test helpers and Foundry mocks for VTTForge systems and modules.",
5
+ "type": "module",
6
6
  "license": "MIT",
7
- "author": "Fabricio Cavalcante de Souza <fabricio.unix@gmail.com> (https://github.com/fcsouza)",
8
- "homepage": "https://github.com/vttforge/vttforge",
7
+ "homepage": "https://github.com/vttforge/vttforge#readme",
9
8
  "repository": {
10
9
  "type": "git",
11
- "url": "git+https://github.com/vttforge/vttforge.git"
10
+ "url": "git+https://github.com/vttforge/vttforge.git",
11
+ "directory": "packages/testing"
12
12
  },
13
- "bugs": {
14
- "url": "https://github.com/vttforge/vttforge/issues"
13
+ "bugs": "https://github.com/vttforge/vttforge/issues",
14
+ "keywords": [
15
+ "foundryvtt",
16
+ "testing",
17
+ "quench",
18
+ "vitest"
19
+ ],
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.mts",
23
+ "import": "./dist/index.mjs"
24
+ },
25
+ "./package.json": "./package.json"
26
+ },
27
+ "main": "./dist/index.mjs",
28
+ "module": "./dist/index.mjs",
29
+ "types": "./dist/index.d.mts",
30
+ "files": [
31
+ "dist",
32
+ "README.md",
33
+ "CHANGELOG.md"
34
+ ],
35
+ "sideEffects": false,
36
+ "devDependencies": {
37
+ "@arethetypeswrong/cli": "^0.18.5",
38
+ "publint": "^0.3.24",
39
+ "tsdown": "^0.22.14",
40
+ "typescript": "^7.0.2",
41
+ "unrun": "^0.3.1",
42
+ "vitest": "^4.1.11"
43
+ },
44
+ "engines": {
45
+ "node": ">=26.0.0"
46
+ },
47
+ "publishConfig": {
48
+ "access": "public",
49
+ "provenance": false
50
+ },
51
+ "scripts": {
52
+ "build": "tsdown",
53
+ "typecheck": "tsc --noEmit",
54
+ "test": "vitest run --passWithNoTests",
55
+ "publint": "publint",
56
+ "attw": "attw --pack . --profile esm-only"
15
57
  }
16
- }
58
+ }