Skip to content

Commit 18a5ffb

Browse files
chore: initialize monorepo with pnpm workspace configuration
- Add root package.json with pnpm workspace scripts - Add pnpm-workspace.yaml defining packages/* workspace - Add tsconfig.base.json with shared TypeScript compiler options - Add .gitignore for node_modules and build artifacts
0 parents  commit 18a5ffb

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules/
2+
package-lock.json
3+
*.tsbuildinfo
4+
.DS_Store
5+
Thumbs.db

package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "rawscript-monorepo",
3+
"private": true,
4+
"version": "0.1.0",
5+
"packageManager": "pnpm@9.0.0",
6+
"scripts": {
7+
"dev": "pnpm --filter runtime build --watch",
8+
"build": "pnpm --filter runtime build",
9+
"typecheck": "pnpm -r typecheck"
10+
}
11+
}

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
packages:
2+
- 'packages/*'

tsconfig.base.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2022",
4+
"module": "ESNext",
5+
"moduleResolution": "bundler",
6+
"strict": true,
7+
"skipLibCheck": true,
8+
"isolatedModules": true,
9+
"noUnusedLocals": false,
10+
"noUnusedParameters": false
11+
}
12+
}

0 commit comments

Comments
 (0)