goatchain-cli 0.0.9-beta.26 → 0.0.9-beta.28
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/goatchain.mjs +4 -0
- package/dist/ink.mjs +47 -46
- package/package.json +6 -6
package/bin/goatchain.mjs
CHANGED
|
@@ -59,6 +59,9 @@ async function runInk() {
|
|
|
59
59
|
// npm wrapper package rather than upstream `dimcode`.
|
|
60
60
|
process.env.DIMCODE_NPM_PACKAGE = 'goatchain-cli'
|
|
61
61
|
process.env.DIMCODE_NPM_PACKAGE_MANAGER = wrapperPm
|
|
62
|
+
// goatchain-cli is a beta-only channel: ignore any stable releases on the
|
|
63
|
+
// registry when deciding whether to upgrade.
|
|
64
|
+
process.env.DIMCODE_NPM_PACKAGE_BETA_ONLY = '1'
|
|
62
65
|
if (wrapperVersion)
|
|
63
66
|
process.env.DIMCODE_NPM_PACKAGE_VERSION = wrapperVersion
|
|
64
67
|
try {
|
|
@@ -144,6 +147,7 @@ function spawnBinary(target, forwardedArgs) {
|
|
|
144
147
|
...process.env,
|
|
145
148
|
DIMCODE_NPM_PACKAGE: 'goatchain-cli',
|
|
146
149
|
DIMCODE_NPM_PACKAGE_MANAGER: wrapperPm,
|
|
150
|
+
DIMCODE_NPM_PACKAGE_BETA_ONLY: '1',
|
|
147
151
|
}
|
|
148
152
|
if (wrapperVersion)
|
|
149
153
|
env.DIMCODE_NPM_PACKAGE_VERSION = wrapperVersion
|