Publish initial version
Publish / publish (push) Successful in 15s
Lint / lint (push) Successful in 12s

This commit is contained in:
Julien Valverdé
2026-09-14 15:33:40 +02:00
parent c3ad4dec21
commit 8bffd29ee7
9 changed files with 130 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
name: Lint
run-name: Lint
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: "1.4"
- name: Checkout
uses: actions/checkout@v6
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Lint TypeScript
run: bun lint:tsc
# - name: Lint Biome
# run: bun lint:biome
# - name: Test
# run: bun run test
+36
View File
@@ -0,0 +1,36 @@
name: Publish
run-name: Publish
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: "1.4"
- name: Checkout
uses: actions/checkout@v6
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Lint TypeScript
run: bun lint:tsc
# - name: Lint Biome
# run: bun lint:biome
# - name: Test
# run: bun run test
- name: Build
run: bun run build
- name: Publish effect-godot
uses: JS-DevTools/npm-publish@v4
with:
package: packages/effect-godot
access: public
token: ${{ secrets.NPM_TOKEN }}
registry: https://registry.npmjs.org
+33
View File
@@ -0,0 +1,33 @@
name: Test build
run-name: Test build
on:
pull_request:
jobs:
test-build:
runs-on: ubuntu-latest
steps:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: "1.4"
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: "24"
- name: Checkout
uses: actions/checkout@v6
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Lint TypeScript
run: bun lint:tsc
# - name: Lint Biome
# run: bun lint:biome
# - name: Test
# run: bun run test
- name: Build
run: bun run build
- name: Pack
run: bun pack
+2
View File
@@ -3,3 +3,5 @@ node_modules/
*.log
.DS_Store
dist/
.turbo/
*.tsbuildinfo
+15
View File
@@ -5,6 +5,7 @@
"": {
"name": "@effect-godot/monorepo",
"devDependencies": {
"turbo": "^2.10.12",
"typescript": "^7.0.2",
},
},
@@ -190,6 +191,18 @@
"@rolldown/pluginutils": ["@rolldown/pluginutils@1.0.1", "", {}, "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw=="],
"@turbo/darwin-64": ["@turbo/darwin-64@2.10.12", "", { "os": "darwin", "cpu": "x64" }, "sha512-9nKgKoF6ZOUsM+or0OtNf+TTJSfGvDNP7ZFv/ZGWVwOSCkumyctQiTeHwB4UNljHTnC41AqylgbunLDHoccNrA=="],
"@turbo/darwin-arm64": ["@turbo/darwin-arm64@2.10.12", "", { "os": "darwin", "cpu": "arm64" }, "sha512-H4Elb1jqTZVeIC9bbcNwjSzemZ6RegoTOVHeuV5Osirt2Z8UguTyisMEkvZjPVZgMeN9J4ERZBFad40tFnkb7w=="],
"@turbo/linux-64": ["@turbo/linux-64@2.10.12", "", { "os": [ "linux", "android", ], "cpu": "x64" }, "sha512-lr7KIotukvjZwEXiFSYAeOH3BWzjFVBbSzTbv0fuGFsNukYyH0+g1hB5ecqnJkgkYU+KHEMG1edOhnjiKON1wQ=="],
"@turbo/linux-arm64": ["@turbo/linux-arm64@2.10.12", "", { "os": [ "linux", "android", ], "cpu": "arm64" }, "sha512-f0pZDTtvzB5SuNwuXBaKbZHUCMCukgc8nMlHEuvLmj91Fzec+MEbr3cAvGNor5htEDqZnO6Lxt9N/GPI/77oGA=="],
"@turbo/windows-64": ["@turbo/windows-64@2.10.12", "", { "os": "win32", "cpu": "x64" }, "sha512-SDOueJRjS/QcykWf2KCRtTLmIl5YMKsLbXkXQGhDwcTXvKXZiS5ih5lBl/gkwZIpYFjqA/rAlfMzlAFcVHNe0g=="],
"@turbo/windows-arm64": ["@turbo/windows-arm64@2.10.12", "", { "os": "win32", "cpu": "arm64" }, "sha512-0i0mVUa4kKk+/B3RwEwPMf9CB+T7ul56hn5FFHNA4VUNTOoLBEd6aNf3FaKfCatDNZ6cicCEf6if9QUTVyzzcA=="],
"@types/node": ["@types/node@26.5.0", "", { "dependencies": { "undici-types": "~8.9.0" } }, "sha512-dVSGpriSoCgz8WnDNTuSSuSv1PC/ALXihO4ulRZt7Md8k9mlbdin3lGOcDE8SnWOgf513ByWlXd7BK4azmyg/A=="],
"@types/text-encoding": ["@types/text-encoding@0.0.40", "", {}, "sha512-dHzoIdwBfY7jcSTTt6XBkaeiuFQAQD7r/7aJySKDdHkYBCDOvs9jPVt4NYXuwBMn89PP6gSd29WubIS19wTiXg=="],
@@ -270,6 +283,8 @@
"tr46": ["tr46@6.0.0", "", { "dependencies": { "punycode": "^2.3.1" } }, "sha512-bLVMLPtstlZ4iMQHpFHTR7GAGj2jxi8Dg0s2h2MafAE4uSWF98FC/3MomU51iQAMf8/qDUbKWf5GxuvvVcXEhw=="],
"turbo": ["turbo@2.10.12", "", { "optionalDependencies": { "@turbo/darwin-64": "2.10.12", "@turbo/darwin-arm64": "2.10.12", "@turbo/linux-64": "2.10.12", "@turbo/linux-arm64": "2.10.12", "@turbo/windows-64": "2.10.12", "@turbo/windows-arm64": "2.10.12" }, "bin": { "turbo": "bin/turbo" } }, "sha512-AswgMPnpOoaVZHrrSBejETzEbuIA69OVGwfkHwfrY0A23VjWXBANzgq9+OymWOHAIArB7D1+1z498WY8fGg1Jw=="],
"typescript": ["typescript@7.0.2", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="],
"undici-types": ["undici-types@8.9.0", "", {}, "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg=="],
+5 -1
View File
@@ -1,12 +1,16 @@
{
"name": "@effect-godot/monorepo",
"private": true,
"packageManager": "bun@1.4.0",
"workspaces": ["packages/*"],
"scripts": {
"edit": "bun run --cwd packages/game edit",
"run": "bun run --cwd packages/game run"
"run": "bun run --cwd packages/game run",
"lint:tsc": "turbo run lint:tsc",
"build": "turbo run build"
},
"devDependencies": {
"turbo": "^2.10.12",
"typescript": "^7.0.2"
}
}
+1
View File
@@ -4,6 +4,7 @@
"type": "module",
"private": true,
"scripts": {
"lint:tsc": "tsc --noEmit -p tsconfig.json",
"build": "rolldown -c meta/rolldown.config.ts",
"dev": "bun run meta/dev-watch.ts",
"godot:fetch": "godot-bin --project . fetch",
+3
View File
@@ -6,6 +6,9 @@
"bin": {
"godot-bin": "./src/cli.ts"
},
"scripts": {
"lint:tsc": "tsc --noEmit -p tsconfig.json"
},
"dependencies": {
"@effect/platform-bun": "^4.0.0-rc.112",
"effect": "^4.0.0-rc.112"
+13
View File
@@ -0,0 +1,13 @@
{
"$schema": "https://turborepo.com/schema.json",
"tasks": {
"lint:tsc": {
"dependsOn": ["^build"],
"outputs": []
},
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".godot/GodotJS/**"]
}
}
}