@tilua-types/roblox 5.0.0 → 6.0.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/README.md CHANGED
@@ -4,10 +4,9 @@ Luau and the whole Roblox API as tilua types: every class (921 of them), enum
4
4
  (633), data type, service and global, plus what Luau adds to Lua —
5
5
  `buffer`, `bit32`, `utf8`, `table.create`, `string.split`, `math.clamp`, ...
6
6
 
7
- Luau is Roblox's language, so the two ship together. Underneath is
8
- [`@tilua-types/lua`](../lua), the Lua 5.1 standard library, which this depends
9
- on and is loaded along with it — so this is the only package a Roblox project
10
- installs.
7
+ Luau is Roblox's language, so the two ship together. Underneath is the Lua
8
+ 5.1 standard library, which is built into tilua — so this is the only package
9
+ a Roblox project installs.
11
10
 
12
11
  ```bash
13
12
  npm i -D @tilua-types/roblox
package/index.d.tilua CHANGED
@@ -19,14 +19,14 @@
19
19
  --
20
20
  -- The file opens with what Luau adds to Lua 5.1 (`buffer`, `bit32`,
21
21
  -- ...), copied from scripts/luau.d.tilua — Luau is Roblox's, so they ship
22
- -- together. The Lua 5.1 standard library underneath is `@tilua-types/lua`.
22
+ -- together. The Lua 5.1 standard library underneath is built into tilua.
23
23
 
24
24
  -- What Luau adds to Lua 5.1.
25
25
  --
26
26
  -- This file is hand-written and is copied verbatim into the head of
27
27
  -- packages/roblox/index.d.tilua by generate-roblox.mjs: Luau is Roblox's, so
28
- -- the two ship as one library rather than two. `@tilua-types/lua` underneath has the
29
- -- standard library this builds on, and a name declared in both keeps what Lua
28
+ -- the two ship as one library rather than two. The standard library this
29
+ -- builds on is built into tilua, and a name declared in both keeps what Lua
30
30
  -- gave it — declarations merge, overloads accumulate — so `table` here is
31
31
  -- Lua's `table` plus these members.
32
32
  --
package/lowering.mjs CHANGED
@@ -20,8 +20,8 @@
20
20
  * Luau globals that answer several (`string.unpack`, `utf8.codepoint`,
21
21
  * `coroutine.close`).
22
22
  *
23
- * `print`, `error` and the console come from `@tilua-types/lua`, which this
24
- * package depends on.
23
+ * `print`, `error` and the console are the compiler's own: Lua's standard
24
+ * library is built into tilua.
25
25
  */
26
26
  import { readFileSync } from "node:fs"
27
27
  import { dirname, join } from "node:path"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tilua-types/roblox",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "description": "Luau and the whole Roblox API as tilua types: every class, enum, data type, service and global",
5
5
  "license": "ISC",
6
6
  "files": [
@@ -15,10 +15,7 @@
15
15
  "lowering": "lowering.mjs"
16
16
  },
17
17
  "peerDependencies": {
18
- "@tilua/parser": "^3.1.0"
19
- },
20
- "dependencies": {
21
- "@tilua-types/lua": "^5.0.0"
18
+ "@tilua/parser": "^5.0.0"
22
19
  },
23
20
  "keywords": [
24
21
  "tilua",