@trioforge/random 0.1.0 → 0.1.1
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 +13 -0
- package/package.json +46 -51
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# @trioforge/random
|
|
2
|
+
|
|
3
|
+
## 0.1.1
|
|
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.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- First release. `Rng` is a seeded xoshiro128\*\* generator in plain Luau, so every client and server draws the same sequence from the same seed. It draws integers, floats, chances and normal values, and it picks by weight, shuffles and samples. A state can be saved, restored, cloned and forked. ([Trio-Forge-Studio/random#1](https://github.com/Trio-Forge-Studio/random/pull/1))
|
package/package.json
CHANGED
|
@@ -1,52 +1,47 @@
|
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"roblox-ts": "^3.0.0",
|
|
49
|
-
"typescript": "5.5.3",
|
|
50
|
-
"vitest": "^5.0.5"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
2
|
+
"name": "@trioforge/random",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Seeded, deterministic random numbers for roblox-ts that every client and server draws the same",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"roblox",
|
|
7
|
+
"roblox-ts",
|
|
8
|
+
"random",
|
|
9
|
+
"rng",
|
|
10
|
+
"prng",
|
|
11
|
+
"seed",
|
|
12
|
+
"xoshiro"
|
|
13
|
+
],
|
|
14
|
+
"bugs": "https://github.com/Trio-Forge-Studio/packages/issues",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/Trio-Forge-Studio/packages.git",
|
|
18
|
+
"directory": "packages/random"
|
|
19
|
+
},
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"type": "module",
|
|
22
|
+
"main": "out/init.luau",
|
|
23
|
+
"types": "out/index.d.ts",
|
|
24
|
+
"files": [
|
|
25
|
+
"out",
|
|
26
|
+
"!**/*.tsbuildinfo",
|
|
27
|
+
"README.md",
|
|
28
|
+
"CHANGELOG.md",
|
|
29
|
+
"LICENSE"
|
|
30
|
+
],
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@rbxts/compiler-types": "3.0.0-types.0",
|
|
36
|
+
"@rbxts/types": "^1.0.958",
|
|
37
|
+
"@types/node": "^24.19.2",
|
|
38
|
+
"roblox-ts": "^3.0.0",
|
|
39
|
+
"typescript": "5.5.3",
|
|
40
|
+
"vite-plus": "1.3.0"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "rbxtsc --type package",
|
|
44
|
+
"test": "vp test",
|
|
45
|
+
"check": "tsc -p test && vp test"
|
|
46
|
+
}
|
|
47
|
+
}
|