Add project files for the server
This commit is contained in:
parent
52552e8fc2
commit
fb8d516e96
6 changed files with 45 additions and 0 deletions
13
packages/server/.eslintrc.cjs
Normal file
13
packages/server/.eslintrc.cjs
Normal file
|
@ -0,0 +1,13 @@
|
|||
const { join } = require("node:path");
|
||||
|
||||
module.exports = {
|
||||
env: {
|
||||
browser: true
|
||||
},
|
||||
parserOptions: {
|
||||
project: [
|
||||
join(__dirname, "app.jsconfig.json"),
|
||||
join(__dirname, "eslint.jsconfig.json")
|
||||
]
|
||||
}
|
||||
};
|
11
packages/server/app.jsconfig.json
Normal file
11
packages/server/app.jsconfig.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"extends": "./tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
"composite": true
|
||||
},
|
||||
"include": [
|
||||
"./src/**/*"
|
||||
]
|
||||
}
|
6
packages/server/eslint.jsconfig.json
Normal file
6
packages/server/eslint.jsconfig.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"extends": "./tsconfig.base.json",
|
||||
"include": [
|
||||
"./.eslintrc.cjs"
|
||||
]
|
||||
}
|
0
packages/server/src/main.js
Normal file
0
packages/server/src/main.js
Normal file
3
packages/server/tsconfig.base.json
Normal file
3
packages/server/tsconfig.base.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json"
|
||||
}
|
12
packages/server/tsconfig.json
Normal file
12
packages/server/tsconfig.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"extends": "./tsconfig.base.json",
|
||||
"references": [
|
||||
{
|
||||
"path": "./app.jsconfig.json"
|
||||
},
|
||||
{
|
||||
"path": "./eslint.jsconfig.json"
|
||||
}
|
||||
],
|
||||
"include": []
|
||||
}
|
Loading…
Reference in a new issue