Skip to content

Commit

Permalink
Merge branch 'next' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
adltalab authored Jan 3, 2024
2 parents 4eec9af + bc7c7ee commit 8d23567
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/async-queue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"w": "yarn run watch",
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && DEBUG=1 yarn node",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion packages/deep-clone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"w": "yarn run watch",
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && DEBUG=1 yarn node",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion packages/exit-hook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"w": "yarn run watch",
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && DEBUG=1 yarn node",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion packages/flat-string/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"w": "yarn run watch",
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && DEBUG=1 yarn node",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion packages/flatomise/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"w": "yarn run watch",
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && DEBUG=1 yarn node",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion packages/global-scope/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"w": "yarn run watch",
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && DEBUG=1 yarn node",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"w": "yarn run watch",
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && DEBUG=1 yarn node",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {platformInfo} from '@alwatr/platform-info';

import type {AlwatrLogger} from './type.js';

export const debugMode = platformInfo.isCli
export const debugMode = platformInfo.development || platformInfo.isCli
? process.env.DEBUG !== undefined && process.env.DEBUG !== ''
: typeof localStorage !== 'undefined' && localStorage.getItem('debug') === '1';

Expand Down
2 changes: 1 addition & 1 deletion packages/platform-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"w": "yarn run watch",
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && DEBUG=1 yarn node",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion packages/type-helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"w": "yarn run watch",
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && DEBUG=1 yarn node",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts",
"build:es": "echo skip build:es",
"build:ts": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion packages/wait/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"w": "yarn run watch",
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && DEBUG=1 yarn node",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
Expand Down

0 comments on commit 8d23567

Please sign in to comment.