@_linked/cli 1.19.1 → 1.19.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.19.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#107](https://github.com/linked-fw/cli/pull/107) [`b031903`](https://github.com/linked-fw/cli/commit/b031903536ed0cdcee4fe46c485a78673e40f526) Thanks [@flyon](https://github.com/flyon)! - `build` now sets the executable bit on its bin output.
8
+
9
+ `package.json` declares `"bin": {"linked": "lib/esm/launch.js"}`. A package
10
+ manager sets that file's executable bit at install time; an in-place rebuild does
11
+ not, and `lib/` is gitignored so git preserves no mode either. So after a local
12
+ rebuild, anything spawning `linked` fails with `EACCES` on a file that plainly
13
+ exists — a confusing failure, and one that has bitten the integration harness.
14
+
15
+ `npm run build` now ends with `chmod +x lib/esm/launch.js`.
16
+
3
17
  ## 1.19.1
4
18
 
5
19
  ### Patch Changes
package/lib/esm/launch.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_linked/cli",
3
- "version": "1.19.1",
3
+ "version": "1.19.2",
4
4
  "packageManager": "npm@11.19.1",
5
5
  "description": "Command line tools for the @_linked/* packages and apps",
6
6
  "main": "lib/esm/index.js",
@@ -29,7 +29,8 @@
29
29
  }
30
30
  },
31
31
  "scripts": {
32
- "build": "rimraf ./lib && npm run build-esm && npm run copy-to-lib",
32
+ "build": "rimraf ./lib && npm run build-esm && npm run copy-to-lib && npm run chmod-bin",
33
+ "chmod-bin": "chmod +x lib/esm/launch.js",
33
34
  "build-esm": "echo \"compiling ESM\" && rimraf ./lib/esm && tsc -p tsconfig-esm.json",
34
35
  "copy-to-lib": "echo '💫 Copying CSS assets to lib folder' && copyfiles -u 1 'src/**/*.css' lib/esm",
35
36
  "dev": "tsc -p tsconfig-esm.json -w",
@@ -77,7 +78,7 @@
77
78
  "LICENSE"
78
79
  ],
79
80
  "dependencies": {
80
- "@_linked/core": "^2.20.1",
81
+ "@_linked/core": "^2.21.0",
81
82
  "@babel/cli": "^7.23.9",
82
83
  "@babel/core": "^7.24.0",
83
84
  "@babel/plugin-proposal-decorators": "^7.24.0",