@decaf-ts/utils 0.3.10 → 0.3.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decaf-ts/utils",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
4
4
  "description": "module management utils for decaf-ts",
5
5
  "type": "module",
6
6
  "exports": {
@@ -9,9 +9,9 @@
9
9
  },
10
10
  "types": "lib/index.d.ts",
11
11
  "bin": {
12
- "tag-release": "bin/tag-release.cjs",
13
- "update-scripts": "bin/update-scripts.cjs",
14
- "build-scripts": "bin/build-scripts.cjs"
12
+ "tag-release": "lib/bin/tag-release.cjs",
13
+ "update-scripts": "lib/bin/update-scripts.cjs",
14
+ "build-scripts": "lib/bin/build-scripts.cjs"
15
15
  },
16
16
  "scripts": {
17
17
  "do-install": "NPM_TOKEN=$(cat .npmtoken) npm install",
@@ -21,8 +21,9 @@
21
21
  "set-git-auth": "git config url.\"https://api:$(cat .token)@github.com/\".insteadOf \"https://github.com/\" && git config url.\"https://ssh:$(cat .token)@github.com/\".insteadOf \"ssh://git@github.com/\" && git config url.\"https://git:$(cat .token)@github.com/\".insteadOf \"git@github.com:\"",
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
- "build": "node ./bin/build-scripts.cjs --dev && npm run build:commands",
25
- "build:prod": "node ./bin/build-scripts.cjs --prod && npm run build:commands",
24
+ "add:shebang": "sed -i -e '1i#!/usr/bin/env node\\' ./lib/bin/*.cjs",
25
+ "build": "node ./bin/build-scripts.cjs --dev && npm run build:commands && npm run add:shebang",
26
+ "build:prod": "node ./bin/build-scripts.cjs --prod && npm run build:commands && npm run add:shebang",
26
27
  "build:commands": "node ./bin/build-scripts.cjs --commands",
27
28
  "test": "jest --runInBand --detectOpenHandles",
28
29
  "test:unit": "jest --testPathPattern=\"/tests/unit\" --passWithNoTests --detectOpenHandles",