chore: first commit 🎉

This commit is contained in:
Joakim Carlstein 2023-11-08 11:41:05 +01:00
commit 9c5f9ebf23
28 changed files with 6264 additions and 0 deletions

View 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"
}

View file

@ -0,0 +1,4 @@
#!/usr/bin/env node
import { emigrate } from '.';
emigrate();

View file

@ -0,0 +1,3 @@
export const emigrate = () => {
console.log('Done!');
};

View file

@ -0,0 +1,8 @@
{
"extends": "@emigrate/tsconfig/build.json",
"compilerOptions": {
"outDir": "dist"
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}

View 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"]
}
}

View file

@ -0,0 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Build",
"extends": "./base.json",
"compilerOptions": {
"noEmit": false
}
}

View file

@ -0,0 +1,11 @@
{
"name": "@emigrate/tsconfig",
"version": "0.0.0",
"publishConfig": {
"access": "public"
},
"files": [
"base.json",
"build.json"
]
}