diff --git a/stack--current/1-stdlib/deferred/README.md b/stack--current/1-stdlib/deferred/README.md index 9dc9f27e..c35c2ac1 100644 --- a/stack--current/1-stdlib/deferred/README.md +++ b/stack--current/1-stdlib/deferred/README.md @@ -37,6 +37,7 @@ This is seldom used but useful sometimes. TODO: switch to ES2024 `Promise.withResolvers` https://levelup.gitconnected.com/new-async-api-promise-withresolvers-simplifies-your-code-1355784fb435 +(need support in FF) **Be sure to review your options** before using the deferred pattern over a simple promise. diff --git a/stack--current/2-foundation/uuid/package.json b/stack--current/2-foundation/uuid/package.json index ebbb1ff7..5eefe816 100644 --- a/stack--current/2-foundation/uuid/package.json +++ b/stack--current/2-foundation/uuid/package.json @@ -40,7 +40,7 @@ "ensure-size": "size-limit", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod", "cheatsheet": "node doc/cheatsheet.js" diff --git a/stack--current/3-advanced/marketing/package.json b/stack--current/3-advanced/marketing/package.json index db7bfbec..223603e2 100644 --- a/stack--current/3-advanced/marketing/package.json +++ b/stack--current/3-advanced/marketing/package.json @@ -30,7 +30,7 @@ "_build:prod": "monorepo-script--build-typescript-package", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/4-tools/storypad/tsconfig.json b/stack--current/4-tools/storypad/tsconfig.json index 3a2ce050..45cd82f2 100755 --- a/stack--current/4-tools/storypad/tsconfig.json +++ b/stack--current/4-tools/storypad/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "../../0-meta/tsconfig.json", "compilerOptions": { - "lib": [ "ES2023", "DOM" ], + "lib": [ "DOM", "ES2023" ], "allowImportingTsExtensions": true, "noEmit": true }, diff --git a/stack--current/5-incubator/active/credits/package.json b/stack--current/5-incubator/active/credits/package.json index 0299f59c..1b204267 100644 --- a/stack--current/5-incubator/active/credits/package.json +++ b/stack--current/5-incubator/active/credits/package.json @@ -25,7 +25,7 @@ "demo1": "npx tsx doc/demo--personal-blog/index.mts", "dev": "run-s clean _build:dev:watch", - "xxtest": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "xxtest": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/5-incubator/active/data-structures/package.json b/stack--current/5-incubator/active/data-structures/package.json index 49aab4c0..01c747fb 100644 --- a/stack--current/5-incubator/active/data-structures/package.json +++ b/stack--current/5-incubator/active/data-structures/package.json @@ -33,7 +33,7 @@ "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/5-incubator/active/generator--svg/package.json b/stack--current/5-incubator/active/generator--svg/package.json index b4d8bce9..53036930 100644 --- a/stack--current/5-incubator/active/generator--svg/package.json +++ b/stack--current/5-incubator/active/generator--svg/package.json @@ -29,7 +29,7 @@ "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/5-incubator/active/generator--website-entry-points/package.json b/stack--current/5-incubator/active/generator--website-entry-points/package.json index 1de675b4..e225bbdc 100644 --- a/stack--current/5-incubator/active/generator--website-entry-points/package.json +++ b/stack--current/5-incubator/active/generator--website-entry-points/package.json @@ -37,7 +37,7 @@ "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "demo1a": "npx tsx doc/demo--personal-blog/index.mts", "demo1b": "parcel serve doc/demo--personal-blog/src/*.html --port 8080 --lazy --no-autoinstall", diff --git a/stack--current/5-incubator/active/view--chat/package.json b/stack--current/5-incubator/active/view--chat/package.json index 1a7866ee..eec044b8 100644 --- a/stack--current/5-incubator/active/view--chat/package.json +++ b/stack--current/5-incubator/active/view--chat/package.json @@ -39,13 +39,16 @@ "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "xxtest": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod", "demo": "node ./dist/src.es2023.esm/loop/demo.js" }, "devDependencies": { + "@offirmo-private/monorepo-scripts": "*", "@offirmo/deferred": "*", + "@offirmo/unit-test-toolbox": "^9", + "@size-limit/preset-small-lib": "^11", "npm-run-all": "^4", "tslib": "^2" } diff --git a/stack--current/5-incubator/inactive/interview--plf/tsconfig.json b/stack--current/5-incubator/inactive/interview--plf/tsconfig.json index 3be07986..721e66b5 100755 --- a/stack--current/5-incubator/inactive/interview--plf/tsconfig.json +++ b/stack--current/5-incubator/inactive/interview--plf/tsconfig.json @@ -4,7 +4,7 @@ "compilerOptions": { "noEmit": true, - "lib": [ "ES2023", "DOM" ], + "lib": [ "DOM", "ES2024" ], "allowJs": true, "checkJs": true, diff --git a/stack--current/9-rpg/state--codes/package.json b/stack--current/9-rpg/state--codes/package.json index 2a418836..5985b365 100644 --- a/stack--current/9-rpg/state--codes/package.json +++ b/stack--current/9-rpg/state--codes/package.json @@ -36,7 +36,7 @@ "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/9-rpg/state--engagement/package.json b/stack--current/9-rpg/state--engagement/package.json index cf4e58dd..a0620091 100644 --- a/stack--current/9-rpg/state--engagement/package.json +++ b/stack--current/9-rpg/state--engagement/package.json @@ -35,7 +35,7 @@ "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/9-rpg/state--meta/package.json b/stack--current/9-rpg/state--meta/package.json index 64e71eb9..3110adb2 100644 --- a/stack--current/9-rpg/state--meta/package.json +++ b/stack--current/9-rpg/state--meta/package.json @@ -35,7 +35,7 @@ "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/9-rpg/state--prng/package.json b/stack--current/9-rpg/state--prng/package.json index 50d885da..7313f390 100644 --- a/stack--current/9-rpg/state--prng/package.json +++ b/stack--current/9-rpg/state--prng/package.json @@ -37,7 +37,7 @@ "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/A-apps--core/the-boring-rpg/l1-definitions/package.json b/stack--current/A-apps--core/the-boring-rpg/l1-definitions/package.json index fb200ac4..9f906305 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l1-definitions/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l1-definitions/package.json @@ -37,7 +37,7 @@ "_build:prod": "monorepo-script--build-typescript-package", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod", "cheatsheet": "node doc/cheatsheet.js" }, diff --git a/stack--current/A-apps--core/the-boring-rpg/l1-logic--adventure--resolved/package.json b/stack--current/A-apps--core/the-boring-rpg/l1-logic--adventure--resolved/package.json index b76c1e37..cb4d4c41 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l1-logic--adventure--resolved/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l1-logic--adventure--resolved/package.json @@ -43,7 +43,7 @@ "_build:prod": "monorepo-script--build-typescript-package", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod", "cheatsheet": "node doc/cheatsheet.js" }, diff --git a/stack--current/A-apps--core/the-boring-rpg/l1-logic--adventures/package.json b/stack--current/A-apps--core/the-boring-rpg/l1-logic--adventures/package.json index 2d6d18da..428e90e7 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l1-logic--adventures/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l1-logic--adventures/package.json @@ -34,7 +34,7 @@ "_build:prod": "monorepo-script--build-typescript-package", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod", "cheatsheet": "node doc/cheatsheet.js" }, diff --git a/stack--current/A-apps--core/the-boring-rpg/l1-logic--armors/package.json b/stack--current/A-apps--core/the-boring-rpg/l1-logic--armors/package.json index 8e3f864b..c0bc41c0 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l1-logic--armors/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l1-logic--armors/package.json @@ -35,7 +35,7 @@ "_build:prod": "monorepo-script--build-typescript-package", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/A-apps--core/the-boring-rpg/l1-logic--monsters/package.json b/stack--current/A-apps--core/the-boring-rpg/l1-logic--monsters/package.json index 25560caa..61b67579 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l1-logic--monsters/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l1-logic--monsters/package.json @@ -36,7 +36,7 @@ "_build:prod": "monorepo-script--build-typescript-package", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/A-apps--core/the-boring-rpg/l1-logic--shop/package.json b/stack--current/A-apps--core/the-boring-rpg/l1-logic--shop/package.json index 1c0dafa0..af9a4a29 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l1-logic--shop/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l1-logic--shop/package.json @@ -38,7 +38,7 @@ "_build:prod": "monorepo-script--build-typescript-package", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/A-apps--core/the-boring-rpg/l1-logic--weapons/package.json b/stack--current/A-apps--core/the-boring-rpg/l1-logic--weapons/package.json index 05961609..ccd8e3bd 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l1-logic--weapons/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l1-logic--weapons/package.json @@ -36,7 +36,7 @@ "_build:prod": "monorepo-script--build-typescript-package", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/A-apps--core/the-boring-rpg/l1-state--achievements/package.json b/stack--current/A-apps--core/the-boring-rpg/l1-state--achievements/package.json index c3a17b41..9659a765 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l1-state--achievements/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l1-state--achievements/package.json @@ -37,7 +37,7 @@ "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/A-apps--core/the-boring-rpg/l1-state--character/package.json b/stack--current/A-apps--core/the-boring-rpg/l1-state--character/package.json index 92f95917..64d1c692 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l1-state--character/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l1-state--character/package.json @@ -35,7 +35,7 @@ "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/A-apps--core/the-boring-rpg/l1-state--energy/package.json b/stack--current/A-apps--core/the-boring-rpg/l1-state--energy/package.json index 46f2df77..7f1b541b 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l1-state--energy/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l1-state--energy/package.json @@ -38,7 +38,7 @@ "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/A-apps--core/the-boring-rpg/l1-state--inventory/package.json b/stack--current/A-apps--core/the-boring-rpg/l1-state--inventory/package.json index 16ae099d..d25ceb7a 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l1-state--inventory/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l1-state--inventory/package.json @@ -36,7 +36,7 @@ "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/A-apps--core/the-boring-rpg/l1-state--wallet/package.json b/stack--current/A-apps--core/the-boring-rpg/l1-state--wallet/package.json index 9905ce9e..c7f3a143 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l1-state--wallet/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l1-state--wallet/package.json @@ -35,7 +35,7 @@ "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/A-apps--core/the-boring-rpg/l2-state/package.json b/stack--current/A-apps--core/the-boring-rpg/l2-state/package.json index b0da1380..dec490c7 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l2-state/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l2-state/package.json @@ -55,8 +55,7 @@ "_build:dev:watch": "monorepo-script--build-typescript-package --watch --module=esm", "_build:prod": "monorepo-script--build-typescript-package --module=esm", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", - + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "npm version patch && run-s refresh-build-variables _build:prod" }, diff --git a/stack--current/A-apps--core/the-boring-rpg/l3-ui--rich-text/package.json b/stack--current/A-apps--core/the-boring-rpg/l3-ui--rich-text/package.json index 7bb0326f..2efa31c1 100644 --- a/stack--current/A-apps--core/the-boring-rpg/l3-ui--rich-text/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/l3-ui--rich-text/package.json @@ -46,7 +46,7 @@ "_build:prod": "monorepo-script--build-typescript-package", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod" }, "devDependencies": { diff --git a/stack--current/A-apps--core/the-boring-rpg/x-sandbox/src/logic--power/package.json b/stack--current/A-apps--core/the-boring-rpg/x-sandbox/src/logic--power/package.json index 0d7d448d..d7da4f66 100644 --- a/stack--current/A-apps--core/the-boring-rpg/x-sandbox/src/logic--power/package.json +++ b/stack--current/A-apps--core/the-boring-rpg/x-sandbox/src/logic--power/package.json @@ -37,7 +37,7 @@ "_build:prod": "monorepo-script--build-typescript-package", "dev": "run-s clean _build:dev:watch", - "test": "./node_modules/.bin/mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", + "test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.mjs 'dist/src.es2023.esm/**/*spec.js'", "build": "run-s clean _build:prod", "cheatsheet": "node doc/cheatsheet.js" },