From 26e764280e0a2827904762ed3de21a9966ddfc63 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Mon, 2 Sep 2024 14:55:06 +0330 Subject: [PATCH] refactor: Remove unused "ALWATR_DEBUG" environment variable from build script --- packages/reference/package.json | 2 +- packages/{engine => store}/.gitignore | 0 packages/store/package.json | 5 +++-- packages/types/package.json | 2 +- yarn.lock | 3 ++- 5 files changed, 7 insertions(+), 5 deletions(-) rename packages/{engine => store}/.gitignore (100%) diff --git a/packages/reference/package.json b/packages/reference/package.json index d13fa9de..4eea01f3 100644 --- a/packages/reference/package.json +++ b/packages/reference/package.json @@ -50,7 +50,7 @@ "w": "yarn run watch", "c": "yarn run clean", "cb": "yarn run clean && yarn run build", - "d": "yarn run build:es && ALWATR_DEBUG=1 yarn node", + "d": "yarn run build:es && yarn node", "build": "yarn run build:ts & yarn run build:es", "build:es": "nano-build --preset=module", "build:ts": "tsc --build", diff --git a/packages/engine/.gitignore b/packages/store/.gitignore similarity index 100% rename from packages/engine/.gitignore rename to packages/store/.gitignore diff --git a/packages/store/package.json b/packages/store/package.json index f06e4a64..bfb2bf6e 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -50,7 +50,7 @@ "w": "yarn run watch", "c": "yarn run clean", "cb": "yarn run clean && yarn run build", - "d": "yarn run build:es && ALWATR_DEBUG=1 yarn node", + "d": "yarn run build:es && yarn node", "build": "yarn run build:ts & yarn run build:es", "build:es": "nano-build --preset=module", "build:ts": "tsc --build", @@ -65,10 +65,11 @@ "@alwatr/store-types": "workspace:^" }, "devDependencies": { + "@alwatr/logger": "^3.2.12", "@alwatr/nano-build": "^1.3.8", "@alwatr/prettier-config": "^1.0.4", "@alwatr/tsconfig-base": "^1.2.0", - "@alwatr/type-helper": "^1.2.5", + "@alwatr/wait": "^1.1.14", "@types/node": "^22.5.1", "typescript": "^5.5.4" } diff --git a/packages/types/package.json b/packages/types/package.json index 9ee24057..5bcd1c0f 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -50,7 +50,7 @@ "w": "yarn run watch", "c": "yarn run clean", "cb": "yarn run clean && yarn run build", - "d": "yarn run build:es && ALWATR_DEBUG=1 yarn node", + "d": "yarn run build:es && yarn node", "build": "yarn run build:ts & yarn run build:es", "build:es": "nano-build --preset=module", "build:ts": "tsc --build", diff --git a/yarn.lock b/yarn.lock index 1e6c0dc0..88f80028 100644 --- a/yarn.lock +++ b/yarn.lock @@ -174,13 +174,14 @@ __metadata: version: 0.0.0-use.local resolution: "@alwatr/store@workspace:packages/store" dependencies: + "@alwatr/logger": "npm:^3.2.12" "@alwatr/nano-build": "npm:^1.3.8" "@alwatr/prettier-config": "npm:^1.0.4" "@alwatr/store-engine": "workspace:^" "@alwatr/store-reference": "workspace:^" "@alwatr/store-types": "workspace:^" "@alwatr/tsconfig-base": "npm:^1.2.0" - "@alwatr/type-helper": "npm:^1.2.5" + "@alwatr/wait": "npm:^1.1.14" "@types/node": "npm:^22.5.1" typescript: "npm:^5.5.4" languageName: unknown