Initial commit
This commit is contained in:
14
scripts/package.json
Normal file
14
scripts/package.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "@workspace/scripts",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"hello": "tsx ./src/hello.ts",
|
||||
"typecheck": "tsc -p tsconfig.json --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "catalog:",
|
||||
"tsx": "catalog:"
|
||||
}
|
||||
}
|
||||
4
scripts/post-merge.sh
Normal file
4
scripts/post-merge.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm --filter db push
|
||||
1
scripts/src/hello.ts
Normal file
1
scripts/src/hello.ts
Normal file
@@ -0,0 +1 @@
|
||||
console.log("Hello from @workspace/scripts");
|
||||
9
scripts/tsconfig.json
Normal file
9
scripts/tsconfig.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"types": ["node"]
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
Reference in New Issue
Block a user