Skip to content
Draft
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
11 changes: 10 additions & 1 deletion default.project.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"ReactDebugTools": {
"$path": "packages/react-debug-tools/default.project.json"
},
"ReactDevtools": {
"$path": "packages/react-devtools/default.project.json"
},
"ReactDevtoolsCore": {
"$path": "packages/react-devtools-core/default.project.json"
},
"ReactDevtoolsShared": {
"$path": "packages/react-devtools-shared/default.project.json"
},
Expand All @@ -29,7 +35,10 @@
"Shared": {
"$path": "packages/shared/default.project.json"
},

"MorePolyfill": {
"$path": "packages/more-polyfill/default.project.json"
},

"_Index": {
"$path": "deps/_Index"
},
Expand Down
3 changes: 3 additions & 0 deletions packages/more-polyfill/.luaurc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"languageMode": "strict"
}
3 changes: 3 additions & 0 deletions packages/more-polyfill/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `more-polyfill`

This package is meant as an extension to [LuauPolyfill](https://github.com/jsdotlua/luau-polyfill). Content should be moved to LuauPolyfill when possible.
6 changes: 6 additions & 0 deletions packages/more-polyfill/default.project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "MorePolyfill",
"tree": {
"$path": "src/"
}
}
5 changes: 5 additions & 0 deletions packages/more-polyfill/src/init.luau
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
local JSON = require(script.json)

return {
JSON = JSON,
}
12 changes: 12 additions & 0 deletions packages/more-polyfill/src/json.luau
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
local HttpService = game:GetService("HttpService")
local JSON = {}

function JSON.parse(value: string): any
return HttpService:JSONDecode(value)
end

function JSON.stringify(value: unknown, replacer: nil, space: nil): string
return HttpService:JSONEncode(value)
end

return JSON
10 changes: 10 additions & 0 deletions packages/more-polyfill/wally.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[package]
name = 'jsdotlua/more-polyfill'
description = 'https://github.com/grilme99/CorePackages'
version = '0.1.0'
license = 'MIT'
authors = ['jeparlefrancais <[email protected]>']
registry = 'https://github.com/UpliftGames/wally-index'
realm = 'shared'

[dependencies]
2 changes: 1 addition & 1 deletion packages/react-debug-tools/wally.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = 'jsdotlua/react-debug-tools'
description = 'https://github.com/grilme99/CorePackages'
version = '17.0.2'
license = 'MIT'
authors = ['Roblox Corporation']
authors = ['Facebook, Inc']
registry = 'https://github.com/UpliftGames/wally-index'
realm = 'shared'

Expand Down
6 changes: 6 additions & 0 deletions packages/react-devtools-core/default.project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "react-devtools-core",
"tree": {
"$path": "src/"
}
}
Loading