-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: move back to pnpm workspaces, fix macOS sync issue
Moves back to pnpm workspaces, dependencies are installed similarly to yarn with node-linker set to node-modules. Created a default.project.json file in the root directory with a different structure, as Rojo is currently not able to detect changes at relative paths on macOS.
- Loading branch information
1 parent
a5133dc
commit df95da2
Showing
21 changed files
with
6,343 additions
and
9,294 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
node-linker=hoisted | ||
node-linker=node-modules | ||
provenance=true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Folder-specific settings | ||
// | ||
// For a full list of overridable settings, and general information on folder-specific settings, | ||
// see the documentation: https://zed.dev/docs/configuring-zed#settings-files | ||
{ | ||
"formatter": { | ||
"language_server": { | ||
"name": "biome" | ||
} | ||
}, | ||
"hard_tabs": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"name": "centurion", | ||
"globIgnorePaths": [ | ||
"**/package.json", | ||
"**/tsconfig.json", | ||
"**/*/@rbxts/centurion" | ||
], | ||
"tree": { | ||
"$className": "DataModel", | ||
"ReplicatedStorage": { | ||
"$className": "ReplicatedStorage", | ||
"rbxts_include": { | ||
"$path": "test/include", | ||
"node_modules": { | ||
"$className": "Folder", | ||
"@rbxts": { | ||
"$path": "packages/core/node_modules/@rbxts", | ||
"centurion": { | ||
"$className": "Folder", | ||
"out": { | ||
"$path": "packages/core/out" | ||
} | ||
}, | ||
"centurion-ui": { | ||
"$className": "Folder", | ||
"out": { | ||
"$path": "packages/ui/out" | ||
}, | ||
"node_modules": { | ||
"$className": "Folder", | ||
"@rbxts": { | ||
"$path": "packages/ui/node_modules/@rbxts" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"TS": { | ||
"$path": "test/out/shared" | ||
} | ||
}, | ||
"ServerScriptService": { | ||
"$className": "ServerScriptService", | ||
"TS": { | ||
"$path": "test/out/server" | ||
} | ||
}, | ||
"StarterPlayer": { | ||
"$className": "StarterPlayer", | ||
"StarterPlayerScripts": { | ||
"$className": "StarterPlayerScripts", | ||
"TS": { | ||
"$path": "test/out/client" | ||
} | ||
} | ||
}, | ||
"TestService": { | ||
"$className": "TestService", | ||
"$properties": { | ||
"ExecuteWithStudioRun": true | ||
}, | ||
"$path": "test/out/test" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[pre-commit.commands.lint] | ||
run = "yarn biome check --write --unsafe" | ||
run = "pnpm biome check --write --unsafe" | ||
glob = "*.{ts,tsx,toml,json}" | ||
stage_fixed = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
{ | ||
"name": "centurion", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"workspaces": [ | ||
"packages/*", | ||
"docs", | ||
"test" | ||
], | ||
"scripts": { | ||
"packages:build": "yarn workspaces foreach -R --from \"{@rbxts/centurion,@rbxts/centurion-ui}\" run build", | ||
"core:build": "yarn workspace @rbxts/centurion build", | ||
"core:dev": "yarn workspace @rbxts/centurion dev", | ||
"ui:build": "yarn workspace @rbxts/centurion-ui build", | ||
"ui:dev": "yarn workspace @rbxts/centurion-ui dev", | ||
"test:build": "yarn workspace test build", | ||
"test:dev": "yarn workspace test dev", | ||
"test:serve": "yarn workspace test serve" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.9.0", | ||
"lefthook": "^1.8.4" | ||
} | ||
"name": "centurion", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"workspaces": [ | ||
"packages/*", | ||
"docs", | ||
"test" | ||
], | ||
"scripts": { | ||
"packages:build": "pnpm --filter \"./packages/**\" build", | ||
"core:build": "pnpm --filter @rbxts/centurion build", | ||
"core:dev": "pnpm --filter @rbxts/centurion dev", | ||
"ui:build": "pnpm --filter @rbxts/centurion-ui build", | ||
"ui:dev": "pnpm --filter @rbxts/centurion-ui dev", | ||
"test:build": "pnpm --filter test build", | ||
"test:dev": "pnpm --filter test dev", | ||
"serve": "rojo serve" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.9.0", | ||
"lefthook": "^1.10.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.