chore: first commit 🎉
This commit is contained in:
commit
9c5f9ebf23
28 changed files with 6264 additions and 0 deletions
40
packages/emigrate/package.json
Normal file
40
packages/emigrate/package.json
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"name": "emigrate",
|
||||
"version": "0.0.0",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"bin": {
|
||||
"emigrate": "dist/cli.js"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "xo",
|
||||
"build": "tsc --pretty",
|
||||
"build:watch": "tsc --pretty --watch"
|
||||
},
|
||||
"keywords": [
|
||||
"migrate",
|
||||
"migrations",
|
||||
"database",
|
||||
"emigrate",
|
||||
"immigration"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@emigrate/tsconfig": "workspace:*"
|
||||
},
|
||||
"author": {
|
||||
"name": "Aboviq AB",
|
||||
"email": "dev@aboviq.com",
|
||||
"url": "https://www.aboviq.com"
|
||||
},
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Joakim Carlstein",
|
||||
"email": "joakim@aboviq.com"
|
||||
}
|
||||
],
|
||||
"license": "MIT"
|
||||
}
|
||||
4
packages/emigrate/src/cli.ts
Normal file
4
packages/emigrate/src/cli.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env node
|
||||
import { emigrate } from '.';
|
||||
|
||||
emigrate();
|
||||
3
packages/emigrate/src/index.ts
Normal file
3
packages/emigrate/src/index.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export const emigrate = () => {
|
||||
console.log('Done!');
|
||||
};
|
||||
8
packages/emigrate/tsconfig.json
Normal file
8
packages/emigrate/tsconfig.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"extends": "@emigrate/tsconfig/build.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
26
packages/tsconfig/base.json
Normal file
26
packages/tsconfig/base.json
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"display": "Default",
|
||||
"compilerOptions": {
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"inlineSources": false,
|
||||
"isolatedModules": true,
|
||||
"incremental": true,
|
||||
"module": "NodeNext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"noEmit": true,
|
||||
"noImplicitOverride": true,
|
||||
"noImplicitReturns": true,
|
||||
"preserveWatchOutput": true,
|
||||
"resolveJsonModule": false,
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"target": "ES2022",
|
||||
"lib": ["ESNext", "DOM", "DOM.Iterable"]
|
||||
}
|
||||
}
|
||||
8
packages/tsconfig/build.json
Normal file
8
packages/tsconfig/build.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"display": "Build",
|
||||
"extends": "./base.json",
|
||||
"compilerOptions": {
|
||||
"noEmit": false
|
||||
}
|
||||
}
|
||||
11
packages/tsconfig/package.json
Normal file
11
packages/tsconfig/package.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"name": "@emigrate/tsconfig",
|
||||
"version": "0.0.0",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"files": [
|
||||
"base.json",
|
||||
"build.json"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue