build: remove project json files (#46)

* build: remove project json files

Including Rojo project files in packages interferes with certain Wally packages that depend on roblox-ts packages

* build: create project files for release
This commit is contained in:
richard 2025-03-09 15:33:04 -07:00 • committed by GitHub
parent e7fe400fa8
commit e9d8dffb02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
49 changed files with 95 additions and 100 deletions

View file

@ -1,9 +0,0 @@
import { Selector } from "@rbxts/charm";
/**
* Subscribes to the state of an atom and returns a Vide source.
*
* @param callback The atom or selector to subscribe to.
* @returns The reactive source.
*/
export function useAtom<T>(callback: Selector<T>): () => T;

View file

@ -1,7 +1,7 @@
local Charm = require(script.Parent.Charm)
local Vide = if script.Parent:FindFirstChild("vide")
then require(script.Parent.vide.src) :: never
else require(script.Parent.Vide)
local Charm = require(script.Parent.Parent.charm)
local Vide = if script.Parent.Parent:FindFirstChild("Vide")
then require(script.Parent.Parent.Vide)
else require((script.Parent.Parent :: any).vide.src) :: never
--[=[
Subscribes to the state of an atom and returns a Vide source.