@naturalcycles/dev-lib 12.21.2 → 13.0.0

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.
package/cfg/tsconfig.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "noFallthroughCasesInSwitch": true,
25
25
  "forceConsistentCasingInFileNames": true,
26
26
  "resolveJsonModule": true,
27
- "suppressImplicitAnyIndexErrors": true,
27
+ "suppressImplicitAnyIndexErrors": false,
28
28
  "noImplicitOverride": true,
29
29
  "noUncheckedIndexedAccess": true,
30
30
  "noPropertyAccessFromIndexSignature": true,
@@ -41,7 +41,8 @@ async function runJest(opt = {}) {
41
41
  console.log((0, colors_1.dimGrey)(`node_modules/${(0, colors_1.white)('jest')} not found, skipping tests`));
42
42
  return;
43
43
  }
44
- const { CI, TZ = 'UTC', APP_ENV, JEST_NO_ALPHABETIC, JEST_SHARDS, NODE_OPTIONS } = process.env;
44
+ const { CI, TZ = 'UTC', APP_ENV, JEST_NO_ALPHABETIC, JEST_SHARDS, NODE_OPTIONS = 'not defined', } = process.env;
45
+ const { node } = process.versions;
45
46
  const { integration, manual, leaks } = opt;
46
47
  const processArgs = process.argv.slice(2);
47
48
  let jestConfig;
@@ -100,12 +101,7 @@ async function runJest(opt = {}) {
100
101
  if (!JEST_NO_ALPHABETIC) {
101
102
  args.push(`--testSequencer=${paths_cnst_1.cfgDir}/jest.alphabetic.sequencer.js`);
102
103
  }
103
- if (NODE_OPTIONS) {
104
- console.log(`${(0, colors_1.dimGrey)('NODE_OPTIONS: ' + NODE_OPTIONS)}`);
105
- }
106
- else {
107
- console.log(`${(0, colors_1.dimGrey)('NODE_OPTIONS are not defined')}`);
108
- }
104
+ console.log(`${(0, colors_1.dimGrey)(`node ${node}, NODE_OPTIONS: ${NODE_OPTIONS}`)}`);
109
105
  if (JEST_SHARDS) {
110
106
  const totalShards = Number(JEST_SHARDS);
111
107
  const shards = (0, js_lib_1._range)(1, totalShards + 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
- "version": "12.21.2",
3
+ "version": "13.0.0",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "tsn-debug": "tsn testScript.ts",
@@ -36,7 +36,7 @@
36
36
  "@naturalcycles/js-lib": "^14.0.0",
37
37
  "@naturalcycles/nodejs-lib": "^12.0.0",
38
38
  "@types/fs-extra": "^9.0.0",
39
- "@types/jest": "^27.0.0",
39
+ "@types/jest": "^28.1.0",
40
40
  "@types/node": "^17.0.0",
41
41
  "@types/yargs": "^16.0.0",
42
42
  "@typescript-eslint/eslint-plugin": "^5.0.0",