build: remove project json files

Including Rojo project files in packages interferes with certain Wally packages that depend on roblox-ts packages
This commit is contained in:
littensy 2025-03-09 15:02:17 -07:00
parent e7fe400fa8
commit aff5f768bf
42 changed files with 68 additions and 88 deletions

View file

@ -1,6 +0,0 @@
{
"name": "ReactCharm",
"tree": {
"$path": "src"
}
}

View file

@ -1,7 +1,7 @@
local Charm = require(script.Parent.Charm)
local React = if script.Parent:FindFirstChild("react")
then require(script.Parent.react) :: never
else require(script.Parent.React)
local Charm = require(script.Parent.charm)
local React = if script.Parent:FindFirstChild("React")
then require(script.Parent.React)
else require((script.Parent :: any).react) :: never
--[=[
A hook that subscribes to changes in the given atom or selector. The

View file

@ -3,7 +3,8 @@ name = "littensy/react-charm"
version = "0.2.0"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
exclude = ["package.json"]
[dependencies]
Charm = "littensy/charm@^0.9"
charm = "littensy/charm@^0.9"
React = "jsdotlua/react@^17"