0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-10 22:22:45 -05:00

Initial commit

This commit is contained in:
Gao Sun 2021-06-22 19:49:19 +08:00
parent d54699a091
commit b775168a7b
9 changed files with 4012 additions and 0 deletions

21
packages/schemas/.gitignore vendored Normal file
View file

@ -0,0 +1,21 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
/lib
# misc
.DS_Store
*.env
npm-debug.log*
yarn-debug.log*
yarn-error.log*

View file

@ -0,0 +1,5 @@
{
"printWidth": 100,
"trailingComma": "es5",
"bracketSpacing": true
}

View file

@ -0,0 +1,6 @@
{
"recommendations": [
"samverschueren.linter-xo",
"mikestead.dotenv"
]
}

View file

@ -0,0 +1,4 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.defaultFormatter": "samverschueren.linter-xo"
}

View file

@ -0,0 +1,4 @@
{
"space": true,
"prettier": true
}

View file

@ -0,0 +1,20 @@
{
"name": "@logto/schemas",
"version": "1.0.0",
"main": "lib/index.js",
"repository": "https://github.com/logto-io/schemas",
"author": "Logto",
"license": "UNLICENSED",
"scripts": {
"build": "tsc",
"lint": "xo src/"
},
"engines": {
"node": "14",
"yarn": "1"
},
"devDependencies": {
"typescript": "^4.3.4",
"xo": "0.39.1"
}
}

View file

@ -0,0 +1,3 @@
export type A = {
foo: string;
};

View file

@ -0,0 +1,17 @@
{
"compilerOptions": {
"target": "es2021",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "commonjs",
"moduleResolution": "node",
"declaration": true,
"outDir": "lib"
},
"include": [
"src"
]
}

3932
packages/schemas/yarn.lock Normal file

File diff suppressed because it is too large Load diff