mirror of
https://github.com/logto-io/logto.git
synced 2025-02-17 22:04:19 -05:00
Update config
This commit is contained in:
parent
39b2fa80bd
commit
fb25411d6f
4 changed files with 21 additions and 8 deletions
12
packages/core/.gitignore
vendored
12
packages/core/.gitignore
vendored
|
@ -12,10 +12,14 @@
|
||||||
/build
|
/build
|
||||||
/lib
|
/lib
|
||||||
|
|
||||||
# misc
|
# logs
|
||||||
.DS_Store
|
logs
|
||||||
*.env
|
*.log
|
||||||
|
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
|
|
||||||
|
# misc
|
||||||
|
cache
|
||||||
|
.DS_Store
|
||||||
|
*.env
|
||||||
|
|
13
packages/core/.vscode/settings.json
vendored
13
packages/core/.vscode/settings.json
vendored
|
@ -1,4 +1,13 @@
|
||||||
{
|
{
|
||||||
"typescript.tsdk": "node_modules/typescript/lib",
|
"typescript.tsdk": "node_modules/typescript/lib",
|
||||||
"editor.defaultFormatter": "samverschueren.linter-xo"
|
"editor.defaultFormatter": "samverschueren.linter-xo",
|
||||||
}
|
"xo.enable": true,
|
||||||
|
"xo.format.enable": true,
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"[typescriptreact]": {
|
||||||
|
"editor.defaultFormatter": "samverschueren.linter-xo"
|
||||||
|
},
|
||||||
|
"[javascript]": {
|
||||||
|
"editor.defaultFormatter": "samverschueren.linter-xo"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ import initApp from './init';
|
||||||
import { getEnv } from './utils';
|
import { getEnv } from './utils';
|
||||||
|
|
||||||
const app = new Koa();
|
const app = new Koa();
|
||||||
const port = Number(getEnv('PORT', '3000'));
|
const port = Number(getEnv('PORT', '3001'));
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
module.exports = require("@logto/essentials/.xo-config.json");
|
module.exports = require('@logto/essentials/.xo-config.json');
|
||||||
|
|
Loading…
Add table
Reference in a new issue