mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +00:00
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:
parent
e7fe400fa8
commit
e9d8dffb02
49 changed files with 95 additions and 100 deletions
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"name": "CharmSync",
|
||||
"tree": {
|
||||
"$path": "src"
|
||||
}
|
||||
}
|
||||
5
packages/charm-sync/init.luau
Normal file
5
packages/charm-sync/init.luau
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
local src = require(script.src)
|
||||
|
||||
export type SyncPayload = src.SyncPayload
|
||||
|
||||
return src
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
--[=[
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue