@napi-rs/cli 3.0.0-alpha.21 → 3.0.0-alpha.22
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/dist/def/pre-publish.js
CHANGED
|
@@ -15,10 +15,10 @@ export class BasePrePublishCommand extends Command {
|
|
|
15
15
|
packageJsonPath = Option.String('--package-json-path', 'package.json', {
|
|
16
16
|
description: 'Path to `package.json`',
|
|
17
17
|
});
|
|
18
|
-
npmDir = Option.String('--npm-dir', 'npm', {
|
|
18
|
+
npmDir = Option.String('--npm-dir,-p', 'npm', {
|
|
19
19
|
description: 'Path to the folder where the npm packages put',
|
|
20
20
|
});
|
|
21
|
-
tagStyle = Option.String('--tag-style,-t', 'lerna', {
|
|
21
|
+
tagStyle = Option.String('--tag-style,--tagstyle,-t', 'lerna', {
|
|
22
22
|
description: 'git tag style, `npm` or `lerna`',
|
|
23
23
|
});
|
|
24
24
|
ghRelease = Option.Boolean('--gh-release', true, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pre-publish.js","sourceRoot":"","sources":["../../src/def/pre-publish.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,iCAAiC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAE3C,MAAM,OAAgB,qBAAsB,SAAQ,OAAO;IACzD,MAAM,CAAC,KAAK,GAAG,CAAC,CAAC,aAAa,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAA;IAEhD,MAAM,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAC3B,WAAW,EACT,gEAAgE;KACnE,CAAC,CAAA;IAEF,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,EAAE,EAAE;QAC1C,WAAW,EACT,oHAAoH;KACvH,CAAC,CAAA;IAEF,UAAU,GAAY,MAAM,CAAC,MAAM,CAAC,kBAAkB,EAAE;QACtD,W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,EAAE;QAC/C,WAAW,EAAE,+BAA+B;KAC7C,CAAC,CAAA;IAEF,aAAa,GAAY,MAAM,CAAC,MAAM,CAAC,mBAAmB,EAAE;QAC1D,WAAW,EAAE,qBAAqB;KACnC,CAAC,CAAA;IAEF,WAAW,GAAY,MAAM,CAAC,MAAM,CAAC,iBAAiB,EAAE;QACtD,WAAW,EAAE,4BAA4B;KAC1C,CAAC,CAAA;IAEF,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,EAAE;QAC1C,WAAW,EAAE,sCAAsC;KACpD,CAAC,CAAA;IAEF,UAAU;QACR,OAAO;YACL,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAA;IACH,CAAC;;AAyDH,MAAM,UAAU,6BAA6B,CAAC,OAA0B;IACtE,OAAO;QACL,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE;QAClB,eAAe,EAAE,cAAc;QAC/B,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,OAAO;QACjB,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,KAAK;QACb,GAAG,OAAO;KACX,CAAA;AACH,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -15581,10 +15581,10 @@ var BasePrePublishCommand = class extends import_clipanion4.Command {
|
|
|
15581
15581
|
packageJsonPath = import_clipanion4.Option.String("--package-json-path", "package.json", {
|
|
15582
15582
|
description: "Path to `package.json`"
|
|
15583
15583
|
});
|
|
15584
|
-
npmDir = import_clipanion4.Option.String("--npm-dir", "npm", {
|
|
15584
|
+
npmDir = import_clipanion4.Option.String("--npm-dir,-p", "npm", {
|
|
15585
15585
|
description: "Path to the folder where the npm packages put"
|
|
15586
15586
|
});
|
|
15587
|
-
tagStyle = import_clipanion4.Option.String("--tag-style,-t", "lerna", {
|
|
15587
|
+
tagStyle = import_clipanion4.Option.String("--tag-style,--tagstyle,-t", "lerna", {
|
|
15588
15588
|
description: "git tag style, `npm` or `lerna`"
|
|
15589
15589
|
});
|
|
15590
15590
|
ghRelease = import_clipanion4.Option.Boolean("--gh-release", true, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@napi-rs/cli",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.22",
|
|
4
4
|
"description": "Cli tools for napi-rs",
|
|
5
5
|
"author": "LongYinan <lynweklm@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/napi-rs/napi-rs",
|
|
@@ -129,5 +129,5 @@
|
|
|
129
129
|
"**/__tests__/**/*.spec.ts"
|
|
130
130
|
]
|
|
131
131
|
},
|
|
132
|
-
"gitHead": "
|
|
132
|
+
"gitHead": "5f7e17069795f07a0c0ad7fde4c70fea6f4b07c1"
|
|
133
133
|
}
|
package/src/def/pre-publish.ts
CHANGED
|
@@ -23,11 +23,11 @@ export abstract class BasePrePublishCommand extends Command {
|
|
|
23
23
|
description: 'Path to `package.json`',
|
|
24
24
|
})
|
|
25
25
|
|
|
26
|
-
npmDir = Option.String('--npm-dir', 'npm', {
|
|
26
|
+
npmDir = Option.String('--npm-dir,-p', 'npm', {
|
|
27
27
|
description: 'Path to the folder where the npm packages put',
|
|
28
28
|
})
|
|
29
29
|
|
|
30
|
-
tagStyle = Option.String('--tag-style,-t', 'lerna', {
|
|
30
|
+
tagStyle = Option.String('--tag-style,--tagstyle,-t', 'lerna', {
|
|
31
31
|
description: 'git tag style, `npm` or `lerna`',
|
|
32
32
|
})
|
|
33
33
|
|