eitri-cli 1.18.1 → 1.19.0-beta.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/bitbucket-pipelines.yml +1 -1
- package/eitri-cli-v2/eitri-cli-v2.darwin-arm64.node +0 -0
- package/eitri-cli-v2/eitri-cli-v2.darwin-x64.node +0 -0
- package/eitri-cli-v2/eitri-cli-v2.linux-x64-gnu.node +0 -0
- package/eitri-cli-v2/eitri-cli-v2.win32-x64-msvc.node +0 -0
- package/eitri-cli-v2/index.d.ts +7 -7
- package/eitri-cli-v2/index.js +25 -10
- package/eitri-cli-v2/package-lock.json +4 -4
- package/eitri-cli-v2/package.json +1 -1
- package/package.json +1 -1
package/bitbucket-pipelines.yml
CHANGED
|
@@ -92,7 +92,7 @@ pipelines:
|
|
|
92
92
|
name: 'Windows cross compile'
|
|
93
93
|
script:
|
|
94
94
|
- rustup target add x86_64-pc-windows-msvc
|
|
95
|
-
- cargo install cargo-xwin
|
|
95
|
+
- cargo install --locked cargo-xwin
|
|
96
96
|
- cd eitri-cli-v2
|
|
97
97
|
- npm install
|
|
98
98
|
- npm run build -- --target x86_64-pc-windows-msvc
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/eitri-cli-v2/index.d.ts
CHANGED
|
@@ -13,17 +13,17 @@ export interface EitriLibsArguments {
|
|
|
13
13
|
bifrost?: boolean
|
|
14
14
|
luminus?: boolean
|
|
15
15
|
}
|
|
16
|
-
export function publish(environment: string, message: string): Promise<void>
|
|
17
|
-
export function runTest(userJwt: string, userWorkspaceId: string, testPath: string): Promise<void>
|
|
18
|
-
export function eitriLibs(eitriLibsArgs: EitriLibsArguments): Promise<void>
|
|
19
|
-
export function doctor(): Promise<void>
|
|
20
|
-
export function start(args: StartArguments): Promise<void>
|
|
21
|
-
export namespace app {
|
|
16
|
+
export declare function publish(environment: string, message: string): Promise<void>
|
|
17
|
+
export declare function runTest(userJwt: string, userWorkspaceId: string, testPath: string): Promise<void>
|
|
18
|
+
export declare function eitriLibs(eitriLibsArgs: EitriLibsArguments): Promise<void>
|
|
19
|
+
export declare function doctor(): Promise<void>
|
|
20
|
+
export declare function start(args: StartArguments): Promise<void>
|
|
21
|
+
export declare namespace app {
|
|
22
22
|
export function start(args: StartArguments): Promise<void>
|
|
23
23
|
export function appLogs(): Promise<void>
|
|
24
24
|
export function clean(): Promise<void>
|
|
25
25
|
}
|
|
26
|
-
export namespace workspace {
|
|
26
|
+
export declare namespace workspace {
|
|
27
27
|
export function clean(): Promise<void>
|
|
28
28
|
export function current(): Promise<void>
|
|
29
29
|
}
|
package/eitri-cli-v2/index.js
CHANGED
|
@@ -224,17 +224,32 @@ switch (platform) {
|
|
|
224
224
|
}
|
|
225
225
|
break
|
|
226
226
|
case 'arm':
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
227
|
+
if (isMusl()) {
|
|
228
|
+
localFileExisted = existsSync(
|
|
229
|
+
join(__dirname, 'eitri-cli-v2.linux-arm-musleabihf.node')
|
|
230
|
+
)
|
|
231
|
+
try {
|
|
232
|
+
if (localFileExisted) {
|
|
233
|
+
nativeBinding = require('./eitri-cli-v2.linux-arm-musleabihf.node')
|
|
234
|
+
} else {
|
|
235
|
+
nativeBinding = require('eitri-cli-v2-linux-arm-musleabihf')
|
|
236
|
+
}
|
|
237
|
+
} catch (e) {
|
|
238
|
+
loadError = e
|
|
239
|
+
}
|
|
240
|
+
} else {
|
|
241
|
+
localFileExisted = existsSync(
|
|
242
|
+
join(__dirname, 'eitri-cli-v2.linux-arm-gnueabihf.node')
|
|
243
|
+
)
|
|
244
|
+
try {
|
|
245
|
+
if (localFileExisted) {
|
|
246
|
+
nativeBinding = require('./eitri-cli-v2.linux-arm-gnueabihf.node')
|
|
247
|
+
} else {
|
|
248
|
+
nativeBinding = require('eitri-cli-v2-linux-arm-gnueabihf')
|
|
249
|
+
}
|
|
250
|
+
} catch (e) {
|
|
251
|
+
loadError = e
|
|
235
252
|
}
|
|
236
|
-
} catch (e) {
|
|
237
|
-
loadError = e
|
|
238
253
|
}
|
|
239
254
|
break
|
|
240
255
|
case 'riscv64':
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"version": "0.0.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@napi-rs/cli": "^2.18.
|
|
12
|
+
"@napi-rs/cli": "^2.18.4",
|
|
13
13
|
"ava": "^6.0.1"
|
|
14
14
|
},
|
|
15
15
|
"engines": {
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"node_modules/@napi-rs/cli": {
|
|
40
|
-
"version": "2.18.
|
|
41
|
-
"resolved": "https://registry.npmjs.org/@napi-rs/cli/-/cli-2.18.
|
|
42
|
-
"integrity": "sha512-
|
|
40
|
+
"version": "2.18.4",
|
|
41
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/cli/-/cli-2.18.4.tgz",
|
|
42
|
+
"integrity": "sha512-SgJeA4df9DE2iAEpr3M2H0OKl/yjtg1BnRI5/JyowS71tUWhrfSu2LT0V3vlHET+g1hBVlrO60PmEXwUEKp8Mg==",
|
|
43
43
|
"dev": true,
|
|
44
44
|
"bin": {
|
|
45
45
|
"napi": "scripts/index.js"
|