iter-fest 0.3.2-main.202512220254.a124995 → 0.3.2-main.202512310509.cbf8ba2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +10 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iter-fest",
3
- "version": "0.3.2-main.202512220254.a124995",
3
+ "version": "0.3.2-main.202512310509.cbf8ba2",
4
4
  "description": "A collection of utilities for iterations.",
5
5
  "files": [
6
6
  "./*.js",
@@ -535,6 +535,8 @@
535
535
  "bump": "npm run bump:prod && npm run bump:dev",
536
536
  "bump:dev": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localPeerDependencies // {}) as $L | (.devDependencies // {}) | to_entries | map(select(.key as $K | $L | has($K) | not)) | map(.key + \"@\" + ($P[.key] // [\"latest\"])[0]) | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install $PACKAGES_TO_BUMP || true",
537
537
  "bump:prod": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localPeerDependencies // {}) as $L | (.dependencies // {}) | to_entries | map(select(.key as $K | $L | has($K) | not)) | map(.key + \"@\" + ($P[.key] // [\"latest\"])[0]) | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install $PACKAGES_TO_BUMP || true",
538
+ "init": "npm run init:dev --if-present && npm run init:prod --if-present",
539
+ "init:dev": "npm install --save--dev @compulim/test-harness@0.0.0-0 @tsconfig/recommended @tsconfig/strictest @types/node escape-string-regexp expect publint tsup typescript",
538
540
  "precommit": "npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test",
539
541
  "precommit:eslint": "ESLINT_USE_FLAT_CONFIG=false eslint ./src/",
540
542
  "precommit:publint": "publint",
@@ -543,7 +545,9 @@
543
545
  "prepack": "cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .",
544
546
  "start": "npm run build -- --onSuccess \"touch ../pages/package.json\" --watch",
545
547
  "switch": "cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json",
546
- "test": "node --test ${CI:---watch} **/*.{spec,test}.{[jt]s,[jt]sx,c[jt]s,m[jt]s}"
548
+ "test": "npm run test:unit && npm run test:types",
549
+ "test:types": "node --experimental-strip-types --import @compulim/test-harness/test-types.import --test **/*.test-types.ts",
550
+ "test:unit": "node --experimental-strip-types --experimental-test-coverage --experimental-test-isolation=none --test"
547
551
  },
548
552
  "repository": {
549
553
  "type": "git",
@@ -560,6 +564,9 @@
560
564
  "url": "https://github.com/compulim/iter-fest/issues"
561
565
  },
562
566
  "homepage": "https://github.com/compulim/iter-fest#readme",
567
+ "localPeerDependencies": {
568
+ "@compulim/test-harness": "0.0.0-0"
569
+ },
563
570
  "peerDependencies": {
564
571
  "core-js-pure": "^3.37.1"
565
572
  },
@@ -577,6 +584,6 @@
577
584
  "typescript": "^5.9.3"
578
585
  },
579
586
  "dependencies": {
580
- "iter-fest": "^0.3.2-main.202512220254.a124995"
587
+ "iter-fest": "^0.3.2-main.202512310509.cbf8ba2"
581
588
  }
582
589
  }