-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README and github workflow for Bun
Signed-off-by: Brian Evans <[email protected]>
- Loading branch information
1 parent
242b28c
commit d108083
Showing
4 changed files
with
40 additions
and
48 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -11,18 +11,10 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "19" | ||
cache: pnpm | ||
cache-dependency-path: 'server/pnpm-lock.yaml' | ||
- uses: oven-sh/setup-bun@v1 | ||
- name: Install dependencies | ||
run: pnpm install | ||
run: bun install --frozen-lockfile | ||
working-directory: server | ||
- name: Build server typescript | ||
run: pnpm run build | ||
run: bun run build | ||
working-directory: server |
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 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,26 +1,26 @@ | ||
{ | ||
"compileOnSave": true, | ||
"compilerOptions": { | ||
"skipLibCheck": true, | ||
"outDir": "dist", | ||
"target": "ES2022", | ||
"moduleResolution": "node", | ||
"strictNullChecks": true, | ||
"module": "ES2022", | ||
"allowSyntheticDefaultImports": true, | ||
"lib": [ | ||
"ESNext" | ||
], | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"types": [ | ||
"bun-types" | ||
] | ||
}, | ||
"include": [ | ||
"src" | ||
], | ||
"exclude": [ | ||
"../node_modules" | ||
] | ||
], | ||
"lib": [ | ||
"esnext" | ||
], | ||
"module": "esnext", | ||
"target": "esnext", | ||
"moduleResolution": "bundler", | ||
"noEmit": true, | ||
"allowImportingTsExtensions": true, | ||
"moduleDetection": "force", | ||
"allowJs": true, | ||
"esModuleInterop": true, | ||
// best practices | ||
"strict": false, | ||
// TODO: put to true, fix errors | ||
"forceConsistentCasingInFileNames": true, | ||
"skipLibCheck": true, | ||
"composite": true, | ||
"downlevelIteration": true, | ||
"allowSyntheticDefaultImports": true | ||
} | ||
} |