-
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
1 parent
8200c7c
commit a64cb6c
Showing
8 changed files
with
93 additions
and
0 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 |
---|---|---|
|
@@ -5,8 +5,10 @@ | |
|
||
## Monorepo subpackages | ||
!/client | ||
!/common | ||
!/server | ||
/client/* | ||
/common/* | ||
/server/* | ||
|
||
## Editorconfig | ||
|
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,4 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.9.0/schema.json", | ||
"extends": ["../biome.json"] | ||
} |
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,27 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/package", | ||
"name": "@durhack/guilds-common", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup", | ||
"dev": "tsup --watch src --watch tsconfig.json" | ||
}, | ||
"files": ["dist/**/*"], | ||
"exports": { | ||
"./*": { | ||
"types": "./dist/*.d.ts", | ||
"default": "./dist/*.js" | ||
} | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.9.2", | ||
"@types/node": "^22.7.4", | ||
"tsup": "^8.2.3", | ||
"typescript": "^5.6.2", | ||
"zod": "^3.23.8" | ||
}, | ||
"peerDependencies": { | ||
"zod": "^3.23.8" | ||
} | ||
} |
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 @@ | ||
// this file must not be deleted: https://github.com/egoist/tsup/issues/728#issuecomment-2379932126 |
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,25 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"compilerOptions": { | ||
"target": "esnext", | ||
"module": "esnext", | ||
"moduleResolution": "bundler", | ||
"allowSyntheticDefaultImports": true, | ||
"rootDir": "./src", | ||
"baseUrl": "./", | ||
"declaration": true, | ||
"sourceMap": true, | ||
"outDir": "./dist", | ||
"noImplicitAny": true, | ||
"esModuleInterop": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"strict": true, | ||
"skipLibCheck": true, | ||
"newLine": "lf", | ||
"paths": { | ||
"@/*": ["./src/*"] | ||
} | ||
}, | ||
"exclude": ["./dist", "./node_modules"], | ||
"include": ["src"] | ||
} |
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,15 @@ | ||
import { defineConfig } from "tsup" | ||
|
||
export default defineConfig([ | ||
{ | ||
entry: ["./src/**/*"], | ||
target: "esnext", | ||
format: "esm", | ||
dts: true, | ||
splitting: true, | ||
sourcemap: true, | ||
clean: true, | ||
minify: false, | ||
outDir: "dist", | ||
}, | ||
]) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,3 +1,4 @@ | ||
packages: | ||
- 'client' | ||
- 'server' | ||
- 'common' |