@naturalcycles/dev-lib 13.44.11 → 13.45.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
@@ -57,8 +57,8 @@
57
57
  // Other
58
58
  "pretty": true,
59
59
  "newLine": "lf",
60
- "experimentalDecorators": true
61
- }
60
+ "experimentalDecorators": true,
61
+ },
62
62
  // Need to be specified in the project tsconfig
63
63
  // "include": ["src"],
64
64
  // "exclude": ["**/__exclude"]
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const tslib_1 = require("tslib");
5
+ const node_fs_1 = tslib_1.__importDefault(require("node:fs"));
6
+ const nodejs_lib_1 = require("@naturalcycles/nodejs-lib");
7
+ (0, nodejs_lib_1.runScript)(async () => {
8
+ (0, nodejs_lib_1.execVoidCommandSync)('yarn', ['upgrade', '--pattern', `@naturalcycles`]);
9
+ if (node_fs_1.default.existsSync(`node_modules/patch-package`)) {
10
+ (0, nodejs_lib_1.execVoidCommandSync)('patch-package');
11
+ }
12
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
- "version": "13.44.11",
3
+ "version": "13.45.0",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "tsn-debug": "tsn testScript.ts",
@@ -25,6 +25,7 @@
25
25
  "lint-all": "tsn ./src/bin/lint-all.ts",
26
26
  "eslint-all": "tsn ./src/bin/eslint-all.ts",
27
27
  "up": "tsn ./src/bin/up.ts",
28
+ "upnc": "tsn ./src/bin/upnc.ts",
28
29
  "eslint-print-config": "eslint --print-config src/index.ts > tmp/eslint.config.json",
29
30
  "update-from-dev-lib": "tsn ./src/bin/update-from-dev-lib.ts"
30
31
  },
@@ -95,6 +96,7 @@
95
96
  "tsc-prod": "dist/bin/tsc-prod.js",
96
97
  "tsc-scripts": "dist/bin/tsc-scripts.js",
97
98
  "up": "dist/bin/up.js",
99
+ "upnc": "dist/bin/upnc.js",
98
100
  "update-from-dev-lib": "dist/bin/update-from-dev-lib.js"
99
101
  },
100
102
  "engines": {
@@ -5,7 +5,7 @@
5
5
  "extends": "../cfg/tsconfig.json",
6
6
  "compilerOptions": {
7
7
  "baseUrl": "./",
8
- "outDir": "../dist"
8
+ "outDir": "../dist",
9
9
  },
10
- "exclude": ["**/__exclude"]
10
+ "exclude": ["**/__exclude"],
11
11
  }