@newtype-os/cli 0.0.4 → 0.0.5
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/bin/{newtype → nt} +2 -2
- package/package.json +3 -3
package/bin/{newtype → nt}
RENAMED
|
@@ -45,7 +45,7 @@ if (!arch) {
|
|
|
45
45
|
arch = os.arch()
|
|
46
46
|
}
|
|
47
47
|
const base = "@newtype-os/cli-" + platform + "-" + arch
|
|
48
|
-
const binary = platform === "windows" ? "
|
|
48
|
+
const binary = platform === "windows" ? "nt.exe" : "nt"
|
|
49
49
|
|
|
50
50
|
function supportsAvx2() {
|
|
51
51
|
if (arch !== "x64") return false
|
|
@@ -163,7 +163,7 @@ function findBinary(startDir) {
|
|
|
163
163
|
const resolved = findBinary(scriptDir)
|
|
164
164
|
if (!resolved) {
|
|
165
165
|
console.error(
|
|
166
|
-
"It seems that your package manager failed to install the right version of the
|
|
166
|
+
"It seems that your package manager failed to install the right version of the Newtype CLI for your platform. You can try manually installing " +
|
|
167
167
|
names.map((n) => `\"${n}\"`).join(" or ") +
|
|
168
168
|
" package",
|
|
169
169
|
)
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newtype-os/cli",
|
|
3
3
|
"bin": {
|
|
4
|
-
"
|
|
4
|
+
"nt": "./bin/nt"
|
|
5
5
|
},
|
|
6
6
|
"scripts": {
|
|
7
7
|
"postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.5",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"optionalDependencies": {
|
|
12
|
-
"@newtype-os/cli-darwin-arm64": "0.0.
|
|
12
|
+
"@newtype-os/cli-darwin-arm64": "0.0.5"
|
|
13
13
|
}
|
|
14
14
|
}
|