Skip to content

Commit

Permalink
+++
Browse files Browse the repository at this point in the history
  • Loading branch information
Offirmo committed Nov 23, 2024
1 parent 35b8d16 commit a7030e8
Show file tree
Hide file tree
Showing 29 changed files with 32 additions and 29 deletions.
1 change: 1 addition & 0 deletions stack--current/1-stdlib/deferred/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion stack--current/2-foundation/uuid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion stack--current/3-advanced/marketing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion stack--current/4-tools/storypad/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../../0-meta/tsconfig.json",
"compilerOptions": {
"lib": [ "ES2023", "DOM" ],
"lib": [ "DOM", "ES2023" ],
"allowImportingTsExtensions": true,
"noEmit": true
},
Expand Down
2 changes: 1 addition & 1 deletion stack--current/5-incubator/active/credits/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 4 additions & 1 deletion stack--current/5-incubator/active/view--chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"compilerOptions": {
"noEmit": true,

"lib": [ "ES2023", "DOM" ],
"lib": [ "DOM", "ES2024" ],

"allowJs": true,
"checkJs": true,
Expand Down
2 changes: 1 addition & 1 deletion stack--current/9-rpg/state--codes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion stack--current/9-rpg/state--engagement/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion stack--current/9-rpg/state--meta/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion stack--current/9-rpg/state--prng/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit a7030e8

Please sign in to comment.