@trioforge/brigadier 0.1.0 → 0.1.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,19 @@
1
+ # @trioforge/brigadier
2
+
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#6](https://github.com/Trio-Forge-Studio/packages/pull/6) [`dac820b`](https://github.com/Trio-Forge-Studio/packages/commit/dac820b44abb72c663f694c6125de44e1a1a8fcd) Thanks [@Hezaerd](https://github.com/Hezaerd)! - The source moved to [Trio-Forge-Studio/packages](https://github.com/Trio-Forge-Studio/packages), so the package's repository and issue links point there. The package now ships its `CHANGELOG.md`. The code is the same as the previous version.
8
+
9
+ ## 0.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Publish from the release workflow, with provenance. The code is the same as 0.1.0. ([Trio-Forge-Studio/brigadier#4](https://github.com/Trio-Forge-Studio/brigadier/pull/4))
14
+
15
+ ## 0.1.0
16
+
17
+ ### Minor Changes
18
+
19
+ - First release. A class-for-class port of Mojang's Brigadier 1.3 to roblox-ts that passes Brigadier's unit tests. `ArgumentBuilder.then` is `with` in Luau, where `then` is a keyword, and `docs/porting.md` lists every other difference from the Java. ([Trio-Forge-Studio/brigadier#1](https://github.com/Trio-Forge-Studio/brigadier/pull/1), [Trio-Forge-Studio/brigadier#2](https://github.com/Trio-Forge-Studio/brigadier/pull/2))
package/README.md CHANGED
@@ -67,7 +67,7 @@ pnpm run check # oxfmt, rbxtsc, StyLua, the tests and the README example
67
67
  pnpm run test # build, then run the tests
68
68
  ```
69
69
 
70
- The tests in `test/` are Brigadier's JUnit tests, ported to Luau one to one. `test/lib/runtime.luau` loads the compiled package from `out/` through roblox-ts's runtime, as a place does, and Lune runs them. [AGENTS.md](AGENTS.md) has the rules for changing the port.
70
+ The tests in `test/` are Brigadier's JUnit tests, ported to Luau one to one. The shared `tooling/lune/runtime.luau` loads the compiled package from `out/` through roblox-ts's runtime, as a place does, and Lune runs them. [AGENTS.md](AGENTS.md) has the rules for changing the port.
71
71
 
72
72
  ## License
73
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trioforge/brigadier",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "A faithful roblox-ts port of Mojang's Brigadier command parser and dispatcher",
5
5
  "keywords": [
6
6
  "roblox",
@@ -10,10 +10,11 @@
10
10
  "parser"
11
11
  ],
12
12
  "homepage": "https://website.trio-forge.workers.dev/brigadier/",
13
- "bugs": "https://github.com/Trio-Forge-Studio/brigadier/issues",
13
+ "bugs": "https://github.com/Trio-Forge-Studio/packages/issues",
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "git+https://github.com/Trio-Forge-Studio/brigadier.git"
16
+ "url": "git+https://github.com/Trio-Forge-Studio/packages.git",
17
+ "directory": "packages/brigadier"
17
18
  },
18
19
  "license": "MIT",
19
20
  "main": "out/init.luau",
@@ -22,6 +23,7 @@
22
23
  "out",
23
24
  "!**/*.tsbuildinfo",
24
25
  "README.md",
26
+ "CHANGELOG.md",
25
27
  "LICENSE"
26
28
  ],
27
29
  "publishConfig": {
@@ -30,14 +32,14 @@
30
32
  "devDependencies": {
31
33
  "@rbxts/compiler-types": "3.0.0-types.0",
32
34
  "@rbxts/types": "^1.0.958",
33
- "oxfmt": "^0.74.0",
35
+ "@trioforge/tooling": "0.0.0",
34
36
  "roblox-ts": "^3.0.0",
35
37
  "typescript": "5.5.3"
36
38
  },
37
39
  "scripts": {
38
40
  "build": "rbxtsc --type package",
39
41
  "test": "rbxtsc --type package && lune run test",
40
- "fmt": "oxfmt src scripts",
41
- "check": "oxfmt --check src scripts && rbxtsc --type package && stylua --check test .lune && lune run test && node scripts/check-snippets.mjs README.md"
42
+ "check": "stylua --check test .lune && rbxtsc --type package && lune run test && pnpm run examples README.md",
43
+ "examples": "check-examples --run --types .lune/example.d.ts"
42
44
  }
43
45
  }