@alessiofrittoli/type-utils 1.7.0 → 1.9.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/dist/index.js CHANGED
@@ -1,2 +1 @@
1
- 'use strict';//# sourceMappingURL=index.js.map
2
- //# sourceMappingURL=index.js.map
1
+ "use strict";var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var a=(o,e,l,p)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of x(e))!y.call(o,t)&&t!==l&&r(o,t,{get:()=>e[t],enumerable:!(p=s(e,t))||p.enumerable});return o};var b=o=>a(r({},"__esModule",{value:!0}),o);var f={};module.exports=b(f);
package/dist/index.mjs CHANGED
@@ -1,2 +0,0 @@
1
- //# sourceMappingURL=index.mjs.map
2
- //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alessiofrittoli/type-utils",
3
- "version": "1.7.0",
3
+ "version": "1.9.0",
4
4
  "description": "Lightweight TypeScript types utilities",
5
5
  "author": {
6
6
  "name": "Alessio Frittoli",
@@ -35,28 +35,31 @@
35
35
  "scripts/postinstall"
36
36
  ],
37
37
  "scripts": {
38
- "build": "pnpm lint && tsup",
39
- "build:watch": "tsup --watch",
38
+ "//1a": "*********************************************************************",
39
+ "//1b": "******************** DEV - BUILD - LINT - RELEASE *******************",
40
+ "//1c": "*********************************************************************",
41
+ "dev": "cross-env NODE_ENV=development tsup --watch",
42
+ "build:prod": "cross-env NODE_ENV=production tsup",
43
+ "build": "pnpm lint && pnpm build:prod",
40
44
  "lint": "eslint",
41
- "release": "node scripts/publish.js --verbose --npm",
45
+ "release": "node scripts/release.js --verbose --npm",
46
+ "//2a": "*********************************************************************",
47
+ "//2b": "******************************* OTHER *******************************",
48
+ "//2c": "*********************************************************************",
42
49
  "postinstall": "node scripts/postinstall/index.js"
43
50
  },
44
51
  "devDependencies": {
45
- "@eslint/js": "^9.22.0",
46
- "@types/node": "^22.13.11",
47
- "eslint": "^9.22.0",
48
- "globals": "^16.0.0",
49
- "tsup": "^8.4.0",
50
- "typescript": "^5.8.2",
51
- "typescript-eslint": "^8.27.0"
52
+ "@eslint/js": "^9.39.1",
53
+ "@types/node": "^24.10.1",
54
+ "cross-env": "^10.1.0",
55
+ "eslint": "^9.39.1",
56
+ "globals": "^16.5.0",
57
+ "tsup": "^8.5.1",
58
+ "typescript": "^5.9.3",
59
+ "typescript-eslint": "^8.48.1"
52
60
  },
53
61
  "dependencies": {
54
- "@alessiofrittoli/chain-functions": "^2.2.0",
55
- "@alessiofrittoli/node-scripts": "2.4.0"
56
- },
57
- "pnpm": {
58
- "onlyBuiltDependencies": [
59
- "esbuild"
60
- ]
62
+ "@alessiofrittoli/chain-functions": "^2.5.0",
63
+ "@alessiofrittoli/node-scripts": "3.2.0"
61
64
  }
62
65
  }
@@ -7,7 +7,7 @@ const lastChainLink = () => () => {
7
7
  console.log( {
8
8
  package: project.name,
9
9
  message: 'Post-Install done'
10
- } )
10
+ } )
11
11
  }
12
12
 
13
13
  /** @type {import( '@alessiofrittoli/chain-functions/types' ).ChainFactory<() => void | Promise<void>>} */
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}