From 1ab73618e3edf9e55a21064126742dea0db815f5 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Mon, 13 Sep 2021 18:03:59 +0700 Subject: [PATCH] Add lerna mono-repo --- lerna.json | 6 ++++++ package.json | 31 ++++++++++++++++--------------- 2 files changed, 22 insertions(+), 15 deletions(-) create mode 100644 lerna.json diff --git a/lerna.json b/lerna.json new file mode 100644 index 0000000..d6707ca --- /dev/null +++ b/lerna.json @@ -0,0 +1,6 @@ +{ + "packages": [ + "packages/*" + ], + "version": "0.0.0" +} diff --git a/package.json b/package.json index edf20e0..7e0b00f 100644 --- a/package.json +++ b/package.json @@ -20,24 +20,25 @@ "author": "Sambo Chea ", "license": "ISC", "devDependencies": { - "@types/express": "^4.17.13", - "@typescript-eslint/eslint-plugin": "^4.30.0", - "@typescript-eslint/parser": "^4.30.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", - "eslint-plugin-jsdoc": "^36.0.8", - "eslint-plugin-prefer-arrow": "^1.2.3", - "husky": "^7.0.2", - "lint-staged": "^11.1.2", - "prettier": "2.3.2", - "ts-node-dev": "^1.1.8", - "typescript": "^4.4.2", - "dotenv": "^10.0.0" + "@types/express": "^4.17.13", + "@typescript-eslint/eslint-plugin": "^4.30.0", + "@typescript-eslint/parser": "^4.30.0", + "dotenv": "^10.0.0", + "eslint": "^7.32.0", + "eslint-config-prettier": "^8.3.0", + "eslint-plugin-jsdoc": "^36.0.8", + "eslint-plugin-prefer-arrow": "^1.2.3", + "husky": "^7.0.2", + "lerna": "^4.0.0", + "lint-staged": "^11.1.2", + "prettier": "2.3.2", + "ts-node-dev": "^1.1.8", + "typescript": "^4.4.2" }, "dependencies": { - "express": "^4.17.1" + "express": "^4.17.1" }, "lint-staged": { - "**/*": "prettier --write --ignore-unknown" + "**/*": "prettier --write --ignore-unknown" } }