@decaf-ts/utils 0.3.13 → 0.4.1
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/README.md +20 -2
- package/dist/utils.cjs +298 -141
- package/dist/utils.esm.cjs +225 -80
- package/lib/cli/commands/build-scripts.cjs +227 -77
- package/lib/cli/commands/build-scripts.d.ts +18 -4
- package/lib/esm/cli/commands/build-scripts.d.ts +18 -4
- package/lib/esm/cli/commands/build-scripts.js +225 -78
- package/lib/esm/index.d.ts +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +1 -1
- package/package.json +10 -9
package/lib/esm/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export * from "./writers";
|
|
|
26
26
|
* @const VERSION
|
|
27
27
|
* @memberOf module:utils
|
|
28
28
|
*/
|
|
29
|
-
export declare const VERSION = "0.
|
|
29
|
+
export declare const VERSION = "0.4.1";
|
|
30
30
|
/**
|
|
31
31
|
* @description Represents the current version of the module.
|
|
32
32
|
* @summary Stores the version for the @decaf-ts/utils package. The build replaces
|
package/lib/esm/index.js
CHANGED
|
@@ -26,7 +26,7 @@ export * from "./writers/index.js";
|
|
|
26
26
|
* @const VERSION
|
|
27
27
|
* @memberOf module:utils
|
|
28
28
|
*/
|
|
29
|
-
export const VERSION = "0.
|
|
29
|
+
export const VERSION = "0.4.1";
|
|
30
30
|
/**
|
|
31
31
|
* @description Represents the current version of the module.
|
|
32
32
|
* @summary Stores the version for the @decaf-ts/utils package. The build replaces
|
package/lib/index.cjs
CHANGED
|
@@ -43,7 +43,7 @@ __exportStar(require("./writers/index.cjs"), exports);
|
|
|
43
43
|
* @const VERSION
|
|
44
44
|
* @memberOf module:utils
|
|
45
45
|
*/
|
|
46
|
-
exports.VERSION = "0.
|
|
46
|
+
exports.VERSION = "0.4.1";
|
|
47
47
|
/**
|
|
48
48
|
* @description Represents the current version of the module.
|
|
49
49
|
* @summary Stores the version for the @decaf-ts/utils package. The build replaces
|
package/lib/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export * from "./writers";
|
|
|
26
26
|
* @const VERSION
|
|
27
27
|
* @memberOf module:utils
|
|
28
28
|
*/
|
|
29
|
-
export declare const VERSION = "0.
|
|
29
|
+
export declare const VERSION = "0.4.1";
|
|
30
30
|
/**
|
|
31
31
|
* @description Represents the current version of the module.
|
|
32
32
|
* @summary Stores the version for the @decaf-ts/utils package. The build replaces
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decaf-ts/utils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "module management utils for decaf-ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -22,9 +22,8 @@
|
|
|
22
22
|
"flash-forward": "npx npm-check-updates -u && npm run do-install",
|
|
23
23
|
"reset": "rm -rf * && git checkout . && git pull && npm run do-install",
|
|
24
24
|
"add:shebang": "sed -i -e '1i#!/usr/bin/env node\\' ./lib/bin/*.cjs",
|
|
25
|
-
"build": "
|
|
26
|
-
"build:prod": "
|
|
27
|
-
"build:commands": "node ./bin/build-scripts.cjs --commands",
|
|
25
|
+
"build": "tsx ./src/bin/build-scripts.ts --dev && npm run add:shebang",
|
|
26
|
+
"build:prod": "tsx ./src/bin/build-scripts.ts --prod && npm run add:shebang",
|
|
28
27
|
"test": "jest --runInBand --detectOpenHandles",
|
|
29
28
|
"test:unit": "jest --testPathPattern=\"/tests/unit\" --passWithNoTests --detectOpenHandles",
|
|
30
29
|
"test:integration": "jest --testPathPattern=\"/tests/(integration)\" --passWithNoTests --detectOpenHandles",
|
|
@@ -91,10 +90,6 @@
|
|
|
91
90
|
"homepage": "https://github.com/decaf-ts/utils#readme",
|
|
92
91
|
"devDependencies": {
|
|
93
92
|
"@eslint/js": "^9.25.1",
|
|
94
|
-
"@rollup/plugin-commonjs": "^28.0.3",
|
|
95
|
-
"@rollup/plugin-json": "^6.1.0",
|
|
96
|
-
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
97
|
-
"@rollup/plugin-typescript": "^12.1.2",
|
|
98
93
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
99
94
|
"@types/jest": "^29.5.14",
|
|
100
95
|
"@types/prompts": "^2.4.9",
|
|
@@ -115,16 +110,22 @@
|
|
|
115
110
|
"npm-check-updates": "^18.0.0",
|
|
116
111
|
"prettier": "3.5.3",
|
|
117
112
|
"rimraf": "^6.0.1",
|
|
118
|
-
"rollup": "^4.40.0",
|
|
119
113
|
"ts-jest": "^29.3.2",
|
|
120
114
|
"ts-loader": "^9.5.2",
|
|
121
115
|
"ts-node": "^10.9.2",
|
|
116
|
+
"tsx": "^4.20.6",
|
|
122
117
|
"typescript": "^5.8.3",
|
|
123
118
|
"typescript-eslint": "^8.31.0"
|
|
124
119
|
},
|
|
125
120
|
"dependencies": {
|
|
126
121
|
"@decaf-ts/logging": "latest",
|
|
122
|
+
"@rollup/plugin-commonjs": "^28.0.9",
|
|
123
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
124
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
125
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
127
126
|
"prompts": "^2.4.2",
|
|
127
|
+
"rollup": "^2.79.2",
|
|
128
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
128
129
|
"styled-string-builder": "^1.4.6",
|
|
129
130
|
"typed-object-accumulator": "^0.1.4"
|
|
130
131
|
}
|