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,6 +0,0 @@
{
"name": "CharmSync",
"tree": {
"$path": "src"
}
}

View file

@ -0,0 +1,5 @@
local src = require(script.src)
export type SyncPayload = src.SyncPayload
return src

View file

@ -4,8 +4,8 @@
"description": "Sync server state with clients using Charm",
"repository": "littensy/charm",
"license": "MIT",
"main": "src/init.luau",
"types": "src/index.d.ts",
"main": "init.luau",
"types": "index.d.ts",
"scripts": {
"prepare": "cp ../../LICENSE.md . && cp ../../README.md .",
"publish:wally": "wally publish"

View file

@ -1,4 +1,4 @@
local Charm = require(script.Parent.Parent.Charm)
local Charm = require(script.Parent.Parent.Parent.charm)
local patch = require(script.Parent.patch)
local types = require(script.Parent.types)
type AtomMap = types.AtomMap

View file

@ -1,6 +1,6 @@
local Players = game:GetService("Players")
local Charm = require(script.Parent.Parent.Charm)
local Charm = require(script.Parent.Parent.Parent.charm)
local interval = require(script.Parent.interval)
local patch = require(script.Parent.patch)
local types = require(script.Parent.types)

View file

@ -1,4 +1,4 @@
local Charm = require(script.Parent.Parent.Charm)
local Charm = require(script.Parent.Parent.Parent.charm)
type Atom<T> = Charm.Atom<T>
--[=[

View file

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