fuigo 1.0.3 → 1.0.4
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/fuigo-bootstrap.js +14 -11
- package/bin/postinstall.js +14 -11
- package/package.json +7 -7
package/bin/fuigo-bootstrap.js
CHANGED
|
@@ -31,17 +31,20 @@ function readLocalVersion() {
|
|
|
31
31
|
try { return require('../package.json').version; } catch { return undefined; }
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
//
|
|
35
|
-
//
|
|
36
|
-
//
|
|
37
|
-
//
|
|
38
|
-
//
|
|
39
|
-
//
|
|
40
|
-
//
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
34
|
+
// The platform packages are scoped under the `fuigo` npm org: @fuigo/<platform>-<arch>.
|
|
35
|
+
// The meta package stays unscoped -- it is the name users install, and this is
|
|
36
|
+
// the same split @next, @anthropic-ai and @vscode use for native sidecars.
|
|
37
|
+
//
|
|
38
|
+
// Scoping is not cosmetic. npm's spam filter refuses to CREATE an unscoped
|
|
39
|
+
// package name containing the token `win32-arm64` (403 "Package name triggered
|
|
40
|
+
// spam detection"), which is why fuigo-win32-arm64 never existed at any version
|
|
41
|
+
// and Windows ARM shipped without a binary until 1.0.3. Measured: the refused
|
|
42
|
+
// name fails even when published ALONE ten minutes after a successful sibling,
|
|
43
|
+
// while the same binary under a different name publishes fine. A scope removes
|
|
44
|
+
// that entire class of failure for every platform, not just the one that hit it.
|
|
45
|
+
//
|
|
46
|
+
// The DIRECTORY is still fuigo-<platform>-<arch>; only the npm name is scoped.
|
|
47
|
+
const platformPackageName = (k) => `@fuigo/${k}`;
|
|
45
48
|
|
|
46
49
|
// Returns null when npm skipped the matching optional dependency
|
|
47
50
|
// (unsupported platform, or --no-optional).
|
package/bin/postinstall.js
CHANGED
|
@@ -40,17 +40,20 @@ if (!SUPPORTED.has(key)) {
|
|
|
40
40
|
process.exit(0);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
//
|
|
44
|
-
//
|
|
45
|
-
//
|
|
46
|
-
//
|
|
47
|
-
//
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
43
|
+
// The platform packages are scoped under the `fuigo` npm org: @fuigo/<platform>-<arch>.
|
|
44
|
+
// The meta package stays unscoped -- it is the name users install, and this is
|
|
45
|
+
// the same split @next, @anthropic-ai and @vscode use for native sidecars.
|
|
46
|
+
//
|
|
47
|
+
// Scoping is not cosmetic. npm's spam filter refuses to CREATE an unscoped
|
|
48
|
+
// package name containing the token `win32-arm64` (403 "Package name triggered
|
|
49
|
+
// spam detection"), which is why fuigo-win32-arm64 never existed at any version
|
|
50
|
+
// and Windows ARM shipped without a binary until 1.0.3. Measured: the refused
|
|
51
|
+
// name fails even when published ALONE ten minutes after a successful sibling,
|
|
52
|
+
// while the same binary under a different name publishes fine. A scope removes
|
|
53
|
+
// that entire class of failure for every platform, not just the one that hit it.
|
|
54
|
+
//
|
|
55
|
+
// The DIRECTORY is still fuigo-<platform>-<arch>; only the npm name is scoped.
|
|
56
|
+
const platformPackageName = (k) => `@fuigo/${k}`;
|
|
54
57
|
|
|
55
58
|
// Resolve the per-platform sibling package's directory. The matching
|
|
56
59
|
// optionalDependency is installed by npm based on `os`/`cpu` filters; the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fuigo",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Bring Fuigo into your terminal",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"bin": {
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"@iarna/toml": "^3.0.0"
|
|
36
36
|
},
|
|
37
37
|
"optionalDependencies": {
|
|
38
|
-
"fuigo
|
|
39
|
-
"fuigo
|
|
40
|
-
"fuigo
|
|
41
|
-
"fuigo
|
|
42
|
-
"fuigo-
|
|
43
|
-
"fuigo
|
|
38
|
+
"@fuigo/darwin-arm64": "1.0.4",
|
|
39
|
+
"@fuigo/darwin-x64": "1.0.4",
|
|
40
|
+
"@fuigo/linux-arm64": "1.0.4",
|
|
41
|
+
"@fuigo/linux-x64": "1.0.4",
|
|
42
|
+
"@fuigo/win32-arm64": "1.0.4",
|
|
43
|
+
"@fuigo/win32-x64": "1.0.4"
|
|
44
44
|
}
|
|
45
45
|
}
|