@trioforge/brigadier 0.1.1 → 0.1.3
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 +25 -0
- package/README.md +2 -2
- package/package.json +47 -33
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# @trioforge/brigadier
|
|
2
|
+
|
|
3
|
+
## 0.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`81d09f1`](https://github.com/Trio-Forge-Studio/brigadier/commit/81d09f13ca6471153051ff921629c9e55c00c470) Thanks [@Hezaerd](https://github.com/Hezaerd)! - The source moved to its own repository, [Trio-Forge-Studio/brigadier](https://github.com/Trio-Forge-Studio/brigadier), so the package's repository and issue links point there. Its homepage is now its docs page at <https://website.trio-forge.workers.dev/docs/brigadier/>. The code is the same as the previous version.
|
|
8
|
+
|
|
9
|
+
## 0.1.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#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.
|
|
14
|
+
|
|
15
|
+
## 0.1.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 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))
|
|
20
|
+
|
|
21
|
+
## 0.1.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- 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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A roblox-ts port of [Mojang's Brigadier](https://github.com/Mojang/brigadier), the command parser and dispatcher behind Minecraft's commands. It is a class-for-class port of Brigadier 1.3, and it passes all of Brigadier's unit tests.
|
|
4
4
|
|
|
5
|
-
Read the documentation at <https://website.trio-forge.workers.dev/brigadier/>.
|
|
5
|
+
Read the documentation at <https://website.trio-forge.workers.dev/docs/brigadier/>.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -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. `
|
|
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,34 +1,48 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
2
|
+
"name": "@trioforge/brigadier",
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "A faithful roblox-ts port of Mojang's Brigadier command parser and dispatcher",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"roblox",
|
|
7
|
+
"roblox-ts",
|
|
8
|
+
"brigadier",
|
|
9
|
+
"commands",
|
|
10
|
+
"parser"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://website.trio-forge.workers.dev/docs/brigadier/",
|
|
13
|
+
"bugs": "https://github.com/Trio-Forge-Studio/brigadier/issues",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/Trio-Forge-Studio/brigadier.git"
|
|
17
|
+
},
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"main": "out/init.luau",
|
|
20
|
+
"types": "out/index.d.ts",
|
|
21
|
+
"files": [
|
|
22
|
+
"out",
|
|
23
|
+
"!**/*.tsbuildinfo",
|
|
24
|
+
"README.md",
|
|
25
|
+
"CHANGELOG.md",
|
|
26
|
+
"LICENSE"
|
|
27
|
+
],
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@changesets/changelog-github": "1.0.1",
|
|
33
|
+
"@changesets/cli": "3.0.3",
|
|
34
|
+
"@rbxts/compiler-types": "3.0.0-types.0",
|
|
35
|
+
"@rbxts/types": "1.0.959",
|
|
36
|
+
"roblox-ts": "3.0.0",
|
|
37
|
+
"typescript": "5.5.3",
|
|
38
|
+
"vite-plus": "1.3.0"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "rbxtsc --type package",
|
|
42
|
+
"test": "rbxtsc --type package && lune run test",
|
|
43
|
+
"check": "vp check && stylua --check test .lune && rbxtsc --type package && lune run test && pnpm run examples README.md",
|
|
44
|
+
"examples": "node tooling/check-examples.mjs --run --types .lune/example.d.ts",
|
|
45
|
+
"fmt": "vp fmt",
|
|
46
|
+
"changeset": "changeset"
|
|
47
|
+
}
|
|
48
|
+
}
|