-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
55 additions
and
29 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: CI workflows | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
name: Check TypeScript | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: oven-sh/setup-bun@v1 | ||
|
||
- name: Install dependencies | ||
run: bun install | ||
|
||
- name: Run TypeScript Compiler | ||
run: bun run typecheck |
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,18 +1,21 @@ | ||
{ | ||
"name": "guilded-shields", | ||
"version": "1.0.0", | ||
"description": "SVG shields for providing metadata about Guilded Servers.", | ||
"scripts": { | ||
"format": "prettier --write **/*.{ts,json}" | ||
}, | ||
"author": "Zaid \"Nico\"", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"prettier": "^3.1.1" | ||
}, | ||
"dependencies": { | ||
"badge-maker": "^3.3.1", | ||
"elysia": "^0.7.30", | ||
"elysia-rate-limit": "^2.0.1" | ||
} | ||
"name": "guilded-shields", | ||
"version": "1.0.0", | ||
"description": "SVG shields for providing metadata about Guilded Servers.", | ||
"scripts": { | ||
"typecheck": "tsc", | ||
"format": "prettier --write **/*.{ts,json}" | ||
}, | ||
"author": "Zaid \"Nico\"", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"bun-types": "^1.0.16", | ||
"prettier": "^3.1.1", | ||
"typescript": "^5.3.3" | ||
}, | ||
"dependencies": { | ||
"badge-maker": "^3.3.1", | ||
"elysia": "^0.7.30", | ||
"elysia-rate-limit": "^2.0.1" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"compilerOptions": { | ||
"allowSyntheticDefaultImports": true, | ||
"alwaysStrict": true, | ||
"esModuleInterop": true, | ||
"skipLibCheck": true, | ||
"noEmit": true, | ||
"lib": ["esnext"], | ||
"types": ["bun-types"], | ||
"module": "CommonJS", | ||
"moduleResolution": "Node", | ||
"strict": true, | ||
"target": "ES2020" | ||
}, | ||
"include": ["src/**/*.ts"] | ||
} |