packaging(pesde), tooling(rokit), deps: Fix pesde support, bump tools, bump jecs
This commit is contained in:
parent
3e7bb3c7ff
commit
0818b498a6
10 changed files with 31 additions and 24 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -44,7 +44,9 @@ dist/
|
|||
# Wally files
|
||||
DevPackages
|
||||
Packages
|
||||
luau_packages
|
||||
wally.lock
|
||||
pesde.lock
|
||||
WallyPatches
|
||||
|
||||
# Typescript
|
||||
|
@ -55,7 +57,6 @@ WallyPatches
|
|||
roblox.toml
|
||||
sourcemap.json
|
||||
globalTypes.d.luau
|
||||
# Used for testing, unfortunately we can't just install it with wally and expect it to work in vanilla luau
|
||||
jecs.luau
|
||||
jecs_src.luau
|
||||
# Stores Github PAT
|
||||
.env
|
||||
|
|
5
.luaurc
5
.luaurc
|
@ -1,8 +1,7 @@
|
|||
{
|
||||
"languageMode": "strict",
|
||||
"aliases": {
|
||||
"jecs_utils": "lib",
|
||||
"testkit": "test/testkit",
|
||||
"jecs": "jecs"
|
||||
"lib": "lib",
|
||||
"pkg": "luau_packages"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,4 +64,6 @@ end
|
|||
|
||||
local gh_api_tag: gh_api_tag = serde.decode("json", response.body)
|
||||
|
||||
spawn.start(`curl https://raw.githubusercontent.com/ukendio/jecs/{gh_api_tag.object.sha}/src/init.luau -o jecs.luau`)
|
||||
spawn.start(
|
||||
`curl https://raw.githubusercontent.com/ukendio/jecs/{gh_api_tag.object.sha}/src/init.luau -o jecs_src.luau`
|
||||
)
|
||||
|
|
|
@ -18,15 +18,7 @@
|
|||
"rojoProjectFile": "dev.project.json"
|
||||
},
|
||||
"require": {
|
||||
"mode": "relativeToFile",
|
||||
"fileAliases": {
|
||||
"@jecs_utils": "lib",
|
||||
"@testkit": "test/testkit",
|
||||
"@jecs": "Packages/jecs"
|
||||
},
|
||||
"directoryAliases": {
|
||||
"@lune": ".lune/.lune-defs/"
|
||||
}
|
||||
"mode": "relativeToFile"
|
||||
}
|
||||
},
|
||||
"ext": {
|
||||
|
|
13
jecs.luau
Normal file
13
jecs.luau
Normal file
|
@ -0,0 +1,13 @@
|
|||
--!strict
|
||||
--!native
|
||||
--!optimize 2
|
||||
-- pesde adds dependencies by including a folder with them in the package
|
||||
-- wally just adds a file for each dependency
|
||||
-- this is here to mitigate that
|
||||
local jecs = require("luau_packages/jecs")
|
||||
export type Archetype = jecs.Archetype
|
||||
export type Id<T = nil> = jecs.Id<T>
|
||||
export type Pair<First, Second> = jecs.Pair<First, Second>
|
||||
export type Entity<T = nil> = jecs.Entity<T>
|
||||
export type World = jecs.World
|
||||
return jecs
|
|
@ -2,7 +2,7 @@
|
|||
--!optimize 2
|
||||
local jecs = require("../jecs")
|
||||
type entity<T = nil> = jecs.Entity<T>
|
||||
type id<T = nil> = entity<T> | jecs.Pair
|
||||
type id<T = nil> = jecs.Id<T>
|
||||
|
||||
local world = require("./world").get
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
name = "mark_marks/jecs_utils"
|
||||
version = "0.1.6"
|
||||
version = "0.1.7-rc.0"
|
||||
description = "A set of utilities for jecs"
|
||||
authors = ["marked/Mark-Marks"]
|
||||
repository = "https://github.com/mark-marks/jecs-utils"
|
||||
license = "MIT"
|
||||
includes = ["lib", "LICENSE", "pesde.toml", "README.md"]
|
||||
includes = ["lib", "LICENSE", "pesde.toml", "README.md", "jecs.luau"]
|
||||
|
||||
[target]
|
||||
environment = "luau"
|
||||
|
|
|
@ -8,7 +8,7 @@ wally = "upliftgames/wally@0.3.2"
|
|||
rojo = "rojo-rbx/rojo@7.4.4"
|
||||
lune = "lune-org/lune@0.8.9"
|
||||
selene = "kampfkarren/selene@0.27.1"
|
||||
luau-lsp = "johnnymorganz/luau-lsp@1.32.4"
|
||||
luau-lsp = "johnnymorganz/luau-lsp@1.36.0"
|
||||
stylua = "johnnymorganz/stylua@0.20.0"
|
||||
wally-package-types = "johnnymorganz/wally-package-types@1.3.2"
|
||||
darklua = "seaofvoices/darklua@0.13.1"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
--!strict
|
||||
-- stylua: ignore start
|
||||
local jecs = require("@jecs")
|
||||
local jecs_utils = require("@jecs_utils")
|
||||
local testkit = require("@testkit")
|
||||
local jecs = require("@pkg/jecs")
|
||||
local jecs_utils = require("@lib/init")
|
||||
local testkit = require("./testkit")
|
||||
|
||||
type entity<T = nil> = jecs.Entity<T>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "mark-marks/jecs-utils"
|
||||
version = "0.1.6"
|
||||
version = "0.1.7-rc.0"
|
||||
registry = "https://github.com/UpliftGames/wally-index"
|
||||
realm = "shared"
|
||||
license = "MIT"
|
||||
|
@ -15,4 +15,4 @@ include = [
|
|||
]
|
||||
|
||||
[dependencies]
|
||||
jecs = "ukendio/jecs@0.3.2"
|
||||
jecs = "ukendio/jecs@0.4.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue