@trioforge/spline 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.
Files changed (3) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +1 -1
  3. package/package.json +45 -45
package/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # @trioforge/spline
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. `catmullRom`, `cubicBezier` and `uniformBSpline` build curves through `Vector2` or `Vector3` points. A curve gives its point, tangent and rotation-minimizing frame at a parameter, converts between parameter and distance along its length, and finds the closest point to a position. Curves can be open or closed. ([Trio-Forge-Studio/spline#2](https://github.com/Trio-Forge-Studio/spline/pull/2))
package/README.md CHANGED
@@ -181,7 +181,7 @@ Install Node dependencies with `pnpm install`. Install Lune and StyLua with `rok
181
181
  ```sh
182
182
  pnpm run check
183
183
  pnpm run test
184
- node scripts/check-snippets.mjs README.md
184
+ pnpm run examples README.md
185
185
  npm pack --dry-run
186
186
  ```
187
187
 
package/package.json CHANGED
@@ -1,46 +1,46 @@
1
1
  {
2
- "name": "@trioforge/spline",
3
- "version": "0.1.0",
4
- "description": "Catmull-Rom, cubic Bezier, and uniform B-spline curves for roblox-ts",
5
- "keywords": [
6
- "roblox",
7
- "roblox-ts",
8
- "spline",
9
- "catmull-rom",
10
- "bezier",
11
- "b-spline"
12
- ],
13
- "homepage": "https://website.trio-forge.workers.dev/spline/",
14
- "bugs": "https://github.com/Trio-Forge-Studio/spline/issues",
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/Trio-Forge-Studio/spline.git"
18
- },
19
- "license": "MIT",
20
- "main": "out/init.luau",
21
- "types": "out/index.d.ts",
22
- "files": [
23
- "out",
24
- "!**/*.tsbuildinfo",
25
- "README.md",
26
- "LICENSE"
27
- ],
28
- "packageManager": "pnpm@12.15.0",
29
- "publishConfig": {
30
- "access": "public"
31
- },
32
- "scripts": {
33
- "build": "rbxtsc --type package",
34
- "test": "rbxtsc --type package && lune run test",
35
- "fmt": "oxfmt src scripts",
36
- "check": "oxfmt --check src scripts && rbxtsc --type package && stylua --check test .lune && lune run test && node scripts/check-snippets.mjs README.md",
37
- "prepack": "rbxtsc --type package"
38
- },
39
- "devDependencies": {
40
- "@rbxts/compiler-types": "3.0.0-types.0",
41
- "@rbxts/types": "^1.0.958",
42
- "oxfmt": "^0.74.0",
43
- "roblox-ts": "^3.0.0",
44
- "typescript": "5.5.3"
45
- }
46
- }
2
+ "name": "@trioforge/spline",
3
+ "version": "0.1.1",
4
+ "description": "Catmull-Rom, cubic Bezier, and uniform B-spline curves for roblox-ts",
5
+ "keywords": [
6
+ "roblox",
7
+ "roblox-ts",
8
+ "spline",
9
+ "catmull-rom",
10
+ "bezier",
11
+ "b-spline"
12
+ ],
13
+ "homepage": "https://website.trio-forge.workers.dev/spline/",
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/spline"
19
+ },
20
+ "license": "MIT",
21
+ "main": "out/init.luau",
22
+ "types": "out/index.d.ts",
23
+ "files": [
24
+ "out",
25
+ "!**/*.tsbuildinfo",
26
+ "README.md",
27
+ "CHANGELOG.md",
28
+ "LICENSE"
29
+ ],
30
+ "publishConfig": {
31
+ "access": "public"
32
+ },
33
+ "devDependencies": {
34
+ "@rbxts/compiler-types": "3.0.0-types.0",
35
+ "@rbxts/types": "^1.0.958",
36
+ "@trioforge/tooling": "0.0.0",
37
+ "roblox-ts": "^3.0.0",
38
+ "typescript": "5.5.3"
39
+ },
40
+ "scripts": {
41
+ "build": "rbxtsc --type package",
42
+ "test": "rbxtsc --type package && lune run test",
43
+ "check": "stylua --check test .lune && rbxtsc --type package && lune run test && pnpm run examples README.md",
44
+ "examples": "check-examples --run"
45
+ }
46
+ }