revert: build: remove project json files (#46)

This commit is contained in:
littensy 2025-03-09 18:03:54 -07:00
parent 990d71cd5b
commit d7a1f62c3c
49 changed files with 97 additions and 92 deletions

View file

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

View file

@ -1 +0,0 @@
return require(script.src)

View file

@ -4,8 +4,8 @@
"description": "React bindings for Charm",
"repository": "littensy/charm",
"license": "MIT",
"main": "init.luau",
"types": "index.d.ts",
"main": "src/init.luau",
"types": "src/index.d.ts",
"scripts": {
"prepare": "cp ../../LICENSE.md . && cp ../../README.md .",
"publish:wally": "wally publish"

View file

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

View file

@ -3,8 +3,6 @@ name = "littensy/react-charm"
version = "0.3.0"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
exclude = ["package.json", "node_modules"]
include = ["LICENSE.md"]
[dependencies]
charm = "littensy/charm@^0.10"