Skip to content

Commit

Permalink
meta: setup monorepo (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatiusmb committed Apr 24, 2024
1 parent 7135de9 commit 42569b0
Show file tree
Hide file tree
Showing 70 changed files with 693 additions and 161 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
cache: pnpm

- run: pnpm install
- run: pnpm build
- run: cd build && zip -r svelte-devtools *
- run: cd workspace/extension && pnpm build
- run: cd workspace/extension/build && zip -r svelte-devtools *

- uses: actions/upload-artifact@v3
with:
name: extension-${{ github.sha }}
path: build/svelte-devtools.zip
path: workspace/extension/build/svelte-devtools.zip

# publish:
# runs-on: ubuntu-latest
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
node_modules
/build

.DS_Store
.cache
.env

# generated files
static/courier.js
25 changes: 8 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,20 @@
"private": true,
"type": "module",
"scripts": {
"dev": "pnpm run --parallel \"/dev:*/\"",
"dev:app": "vite build -wd --minify=false --sourcemap=inline",
"dev:scripts": "rollup -cw",
"build": "rollup -c && vite build",
"bundle:zip": "cd build && zip -r svelte-devtools.zip *",
"bundle:tar": "cd build && tar -czf svelte-devtools.tar.gz *",
"format": "prettier -w .",
"check": "pnpm run --parallel \"/check:*/\"",
"check:style": "prettier -c .",
"check:svelte": "svelte-check --tsconfig ./tsconfig.json"
"clean": "git add * && git clean -dfx -e node_modules",
"check": "pnpm --filter \"./workspace/*\" check",
"format": "pnpm --filter \"./workspace/*\" format"
},
"packageManager": "pnpm@8.15.6",
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@types/chrome": "^0.0.263",
"@types/node": "^20.12.2",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@types/node": "^20.12.7",
"prettier": "^3.2.5",
"prettier-plugin-sort-package-json": "^0.2.0",
"prettier-plugin-svelte": "^3.2.2",
"rollup": "^4.13.2",
"prettier-plugin-svelte": "^3.2.3",
"svelte": "5.0.0-next.90",
"svelte-check": "^3.6.9",
"typescript": "^5.4.3",
"vite": "^5.2.7"
"typescript": "^5.4.5",
"vite": "^5.2.9"
}
}
Loading

0 comments on commit 42569b0

Please sign in to comment.