npm run dev:metamigo now builds+watches all metamigo things!!

This commit is contained in:
Abel Luck 2023-06-07 08:14:29 +00:00
parent bdad5f551c
commit 754131fbe1
25 changed files with 195 additions and 103 deletions

View file

@ -8,12 +8,13 @@
"license": "AGPL-3.0-or-later",
"private": false,
"devDependencies": {
"@types/jest": "^29.5.1",
"@hapi/basic": "^7.0.1",
"tsconfig-link": "*",
"@types/jest": "^29.5.1",
"babel-preset-link": "*",
"eslint-config-link": "*",
"jest-config-link": "*",
"babel-preset-link": "*"
"tsc-watch": "^6.0.4",
"tsconfig-link": "*"
},
"dependencies": {
"@hapi/hapi": "^21.3.2",
@ -29,6 +30,6 @@
"lint": "eslint src --ext .ts",
"lint-fmt": "prettier \"src/**/*.ts\" --list-different",
"doc": "typedoc src/ --exclude '**/*.test.ts' --exclude '**/*.spec.ts' --name $npm_package_name --readme README.md --target es2019 --mode file --out build/docs",
"watch:build": "tsc -p tsconfig.json -w"
"dev": "tsc-watch --build --noClear"
}
}

View file

@ -1,6 +1,7 @@
{
"extends": "tsconfig-link",
"compilerOptions": {
"composite": true,
"incremental": true,
"outDir": "build/main",
"rootDir": "src",

View file

@ -8,6 +8,7 @@
"license": "AGPL-3.0-or-later",
"private": false,
"devDependencies": {
"tsc-watch": "^6.0.4"
},
"dependencies": {
"@hapi/hapi": "^21.3.2",
@ -21,6 +22,6 @@
"test": "jest --coverage --forceExit --detectOpenHandles --reporters=default --reporters=jest-junit",
"lint": "eslint src --ext .ts && prettier \"src/**/*.ts\" --list-different",
"doc": "typedoc src/ --exclude '**/*.test.ts' --exclude '**/*.spec.ts' --name $npm_package_name --readme README.md --target es2019 --mode file --out build/docs",
"watch:build": "tsc -p tsconfig.json -w"
"dev": "tsc-watch --build --noClear"
}
}

View file

@ -1,6 +1,7 @@
{
"extends": "tsconfig-link",
"compilerOptions": {
"composite": true,
"incremental": true,
"outDir": "build/main",
"rootDir": "src",

View file

@ -14,7 +14,7 @@
"fmt": "prettier \"src/**/*.ts\" --write",
"lint": "eslint src --ext .ts && prettier \"src/**/*.ts\" --list-different",
"doc": "typedoc src/ --exclude '**/*.test.ts' --exclude '**/*.spec.ts' --name $npm_package_name --readme README.md --target es2019 --mode file --out build/docs",
"watch:build": "tsc -p tsconfig.json -w"
"dev": "tsc-watch --build --noClear "
},
"devDependencies": {
"@types/figlet": "^1.5.6",
@ -23,6 +23,7 @@
"@types/uuid": "^9.0.1",
"camelcase-keys": "^8.0.2",
"pg-monitor": "^2.0.0",
"tsc-watch": "^6.0.4",
"typedoc": "^0.24.7",
"typescript": "^5.0.4"
},

View file

@ -7,7 +7,8 @@
"baseUrl": "./",
"skipLibCheck": true,
"types": ["jest", "node"],
"esModuleInterop": true
"esModuleInterop": true,
"composite": true,
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules/**"]

View file

@ -6,8 +6,8 @@
"author": "Abel Luck <abel@guardianproject.info>",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@digiresilience/montar": "*",
"@digiresilience/metamigo-common": "*"
"@digiresilience/metamigo-common": "*",
"@digiresilience/montar": "*"
},
"devDependencies": {
"@babel/core": "7.21.8",
@ -17,6 +17,7 @@
"pino-pretty": "^10.0.0",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"tsc-watch": "^6.0.4",
"typedoc": "^0.24.7",
"typescript": "^5.0.4"
},
@ -31,6 +32,6 @@
"fmt": "prettier \"src/**/*.ts\" --write",
"lint": "eslint src --ext .ts && prettier \"src/**/*.ts\" --list-different",
"test": "echo no tests",
"watch:build": "tsc -p tsconfig.json -w"
"dev": "tsc-watch --build --noClear"
}
}

View file

@ -1,6 +1,7 @@
{
"extends": "tsconfig-link",
"compilerOptions": {
"composite": true,
"incremental": true,
"outDir": "build/main",
"rootDir": "src",

View file

@ -25,6 +25,7 @@
"pino-pretty": "^10.0.0",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"tsc-watch": "^6.0.4",
"typedoc": "^0.24.7",
"typescript": "^5.0.4"
},
@ -34,7 +35,7 @@
"fix:lint": "eslint src --ext .ts --fix",
"fmt": "prettier \"src/**/*.ts\" --write",
"lint": "eslint src --ext .ts && prettier \"src/**/*.ts\" --list-different",
"watch:build": "tsc -p tsconfig.json -w",
"worker": "NODE_ENV=development yarn cli worker"
"worker": "NODE_ENV=development yarn cli worker",
"dev": "tsc-watch --build --noClear "
}
}

View file

@ -1,6 +1,7 @@
{
"extends": "tsconfig-link",
"compilerOptions": {
"composite": true,
"incremental": true,
"outDir": "build/main",
"rootDir": "src",

View file

@ -17,16 +17,17 @@
"lint": "eslint src --ext .ts",
"lint-fmt": "prettier \"src/**/*.ts\" --list-different",
"doc": "typedoc src/ --exclude '**/*.test.ts' --exclude '**/*.spec.ts' --name $npm_package_name --readme README.md --target es2019 --mode file --out build/docs",
"watch:build": "tsc -p tsconfig.json -w"
"dev": "tsc-watch --build --noClear"
},
"engines": {
"node": ">=14"
},
"devDependencies": {
"tsconfig-link": "*",
"babel-preset-link": "*",
"eslint-config-link": "*",
"jest-config-link": "*",
"babel-preset-link": "*"
"tsc-watch": "^6.0.4",
"tsconfig-link": "*"
},
"dependencies": {
"debug": "^4.3.4"

View file

@ -1,6 +1,7 @@
{
"extends": "tsconfig-link",
"compilerOptions": {
"composite": true,
"incremental": true,
"outDir": "build/main",
"rootDir": "src",

View file

@ -16,7 +16,7 @@
},
"scripts": {
"build": "tsc --build --verbose",
"watch": "tsc --build --verbose --watch",
"dev": "tsc-watch --build --noClear",
"generate": "node util/generate.js && prettier src/generated.ts -w --loglevel error && npm run build",
"doc": "typedoc src/ --exclude '**/*.test.ts' --exclude '**/*.spec.ts' --name $npm_package_name --readme README.md --out dist/docs",
"fix": "echo n/a",
@ -27,12 +27,13 @@
},
"devDependencies": {
"@types/backoff": "^2.5.2",
"babel-preset-link": "*",
"camelcase": "^7.0.1",
"typedoc": "^0.24.7",
"tsconfig-link": "*",
"eslint-config-link": "*",
"jest-config-link": "*",
"babel-preset-link": "*"
"tsc-watch": "^6.0.4",
"tsconfig-link": "*",
"typedoc": "^0.24.7"
},
"dependencies": {
"backoff": "^2.5.0",

View file

@ -1,6 +1,7 @@
{
"extends": "tsconfig-link",
"compilerOptions": {
"composite": true,
"incremental": true,
"outDir": "build/main",
"rootDir": "src",