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:
parent
d54699a091
commit
b775168a7b
9 changed files with 4012 additions and 0 deletions
21
packages/schemas/.gitignore
vendored
Normal file
21
packages/schemas/.gitignore
vendored
Normal 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*
|
5
packages/schemas/.prettierrc
Normal file
5
packages/schemas/.prettierrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"printWidth": 100,
|
||||
"trailingComma": "es5",
|
||||
"bracketSpacing": true
|
||||
}
|
6
packages/schemas/.vscode/extensions.json
vendored
Normal file
6
packages/schemas/.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"samverschueren.linter-xo",
|
||||
"mikestead.dotenv"
|
||||
]
|
||||
}
|
4
packages/schemas/.vscode/settings.json
vendored
Normal file
4
packages/schemas/.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"typescript.tsdk": "node_modules/typescript/lib",
|
||||
"editor.defaultFormatter": "samverschueren.linter-xo"
|
||||
}
|
4
packages/schemas/.xo-config.json
Normal file
4
packages/schemas/.xo-config.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"space": true,
|
||||
"prettier": true
|
||||
}
|
20
packages/schemas/package.json
Normal file
20
packages/schemas/package.json
Normal 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"
|
||||
}
|
||||
}
|
3
packages/schemas/src/index.ts
Normal file
3
packages/schemas/src/index.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
export type A = {
|
||||
foo: string;
|
||||
};
|
17
packages/schemas/tsconfig.json
Normal file
17
packages/schemas/tsconfig.json
Normal 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
3932
packages/schemas/yarn.lock
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue