Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
- name: Install Aftman
uses: ok-nick/setup-aftman@v0

- name: Install Just
uses: extractions/setup-just@v1

- name: Authenticate Wally
run: |
cd packages/react
Expand All @@ -34,6 +37,9 @@ jobs:
- name: Publish changed packages
run: bash ./scripts/publish.sh ${{ steps.latest-release.outputs.tag_name }}

- name: Install dependencies for build
run: just install-packages

- name: Build project
run: rojo build --output ReactLua.rbxm

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
deps/

.DS_Store

sourcemap.json
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

18 changes: 18 additions & 0 deletions .justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
analyze: install-packages
rojo sourcemap default.project.json --output sourcemap.json
curl -O https://raw.githubusercontent.com/JohnnyMorganz/luau-lsp/main/scripts/globalTypes.d.lua
luau-lsp analyze --definitions=globalTypes.d.lua --base-luaurc=.luaurc --sourcemap=sourcemap.json packages/

# Installs packages and proxies their type information with `wally-package-types` tool
# In addition, the packages/ directory is temporarily renamed so that it isn't removed by Wally
install-packages:
rm -rf deps/
mv packages/ temp/

wally install

mv Packages deps/
mv temp/ packages/

rojo sourcemap default.project.json --output sourcemap.json
wally-package-types --sourcemap sourcemap.json deps/
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Fixed React build not including correct dependencies (#8)

## [17.0.1-rc.19] - 2023-04-07

### Added
Expand Down
3 changes: 2 additions & 1 deletion aftman.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[tools]
rojo = "rojo-rbx/rojo@7.2.1"
wally = "grilme99/wally@0.4.0"
wally = "UpliftGames/wally@0.3.2"
stylua = "johnnymorganz/stylua@0.17.1"
selene = "Kampfkarren/selene@0.25.0"
luau-lsp = "johnnymorganz/luau-lsp@1.18.1"
wally-package-types = "johnnymorganz/wally-package-types@1.2.1"
37 changes: 7 additions & 30 deletions default.project.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,44 +23,21 @@
"RoactCompat": {
"$path": "packages/roact-compat/default.project.json"
},
"scheduler": {
"Scheduler": {
"$path": "packages/scheduler/default.project.json"
},
"Shared": {
"$path": "packages/shared/default.project.json"
},
"Boolean": {
"$path": "vendor/luau-polyfill/packages/boolean/default.project.json"
},
"Collections": {
"$path": "vendor/luau-polyfill/packages/collections/default.project.json"
},
"Console": {
"$path": "vendor/luau-polyfill/packages/console/default.project.json"
},
"ES7Types": {
"$path": "vendor/luau-polyfill/packages/es7-types/default.project.json"
},
"InstanceOf": {
"$path": "vendor/luau-polyfill/packages/instance-of/default.project.json"

"_Index": {
"$path": "deps/_Index"
},
"LuauPolyfill": {
"$path": "vendor/luau-polyfill/packages/luau-polyfill/default.project.json"
},
"Math": {
"$path": "vendor/luau-polyfill/packages/math/default.project.json"
},
"Number": {
"$path": "vendor/luau-polyfill/packages/number/default.project.json"
},
"String": {
"$path": "vendor/luau-polyfill/packages/string/default.project.json"
},
"Symbol": {
"$path": "vendor/luau-polyfill/packages/symbol/default.project.json"
"$path": "deps/LuauPolyfill.lua"
},
"Timers": {
"$path": "vendor/luau-polyfill/packages/timers/default.project.json"
"Promise": {
"$path": "deps/Promise.lua"
}
}
}
1 change: 0 additions & 1 deletion vendor/luau-polyfill
Submodule luau-polyfill deleted from ed7334
68 changes: 68 additions & 0 deletions wally.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# This file is automatically @generated by Wally.
# It is not intended for manual editing.
registry = "test"

[[package]]
name = "evaera/promise"
version = "4.0.0"
dependencies = []

[[package]]
name = "jsdotlua/boolean"
version = "1.2.3"
dependencies = [["Number", "jsdotlua/number@1.2.3"]]

[[package]]
name = "jsdotlua/collections"
version = "1.2.3"
dependencies = [["ES7Types", "jsdotlua/es7-types@1.2.3"], ["InstanceOf", "jsdotlua/instance-of@1.2.3"]]

[[package]]
name = "jsdotlua/console"
version = "1.2.3"
dependencies = [["Collections", "jsdotlua/collections@1.2.3"]]

[[package]]
name = "jsdotlua/es7-types"
version = "1.2.3"
dependencies = []

[[package]]
name = "jsdotlua/instance-of"
version = "1.2.3"
dependencies = []

[[package]]
name = "jsdotlua/luau-polyfill"
version = "1.2.3"
dependencies = [["Boolean", "jsdotlua/boolean@1.2.3"], ["Collections", "jsdotlua/collections@1.2.3"], ["Console", "jsdotlua/console@1.2.3"], ["ES7Types", "jsdotlua/es7-types@1.2.3"], ["InstanceOf", "jsdotlua/instance-of@1.2.3"], ["Math", "jsdotlua/math@1.2.3"], ["Number", "jsdotlua/number@1.2.3"], ["String", "jsdotlua/string@1.2.3"], ["Symbol", "jsdotlua/symbol@1.0.0"], ["Timers", "jsdotlua/timers@1.2.3"]]

[[package]]
name = "jsdotlua/math"
version = "1.2.3"
dependencies = []

[[package]]
name = "jsdotlua/no-op"
version = "0.1.0"
dependencies = [["LuauPolyfill", "jsdotlua/luau-polyfill@1.2.3"], ["Promise", "evaera/promise@4.0.0"]]

[[package]]
name = "jsdotlua/number"
version = "1.2.3"
dependencies = []

[[package]]
name = "jsdotlua/string"
version = "1.2.3"
dependencies = [["ES7Types", "jsdotlua/es7-types@1.2.3"], ["Number", "jsdotlua/number@1.2.3"]]

[[package]]
name = "jsdotlua/symbol"
version = "1.0.0"
dependencies = []

[[package]]
name = "jsdotlua/timers"
version = "1.2.3"
dependencies = [["Collections", "jsdotlua/collections@1.2.3"]]
12 changes: 12 additions & 0 deletions wally.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This config exists so we can import the dependencies of all packages for analysis and release.
# THIS PACKAGE IS NOT DIRECTLY PUBLISHED!

[package]
name = "jsdotlua/no-op"
version = "0.1.0"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"

[dependencies]
LuauPolyfill = "jsdotlua/luau-polyfill@1.2.3"
Promise = "evaera/promise@4.0.0"