@applift/cli 0.1.3 → 0.1.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/dist/bin.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { n as program } from "./src-CoYlWjDO.mjs";
2
+ import { n as program } from "./src-9TREeM7q.mjs";
3
3
  //#region src/bin.ts
4
4
  program.parseAsync().catch((e) => {
5
5
  process.stderr.write(`✗ ${e.message}\n`);
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- export { t as makeContext, n as program } from "./src-CoYlWjDO.mjs";
1
+ export { t as makeContext, n as program } from "./src-9TREeM7q.mjs";
@@ -535,7 +535,8 @@ function detectFrameworkWith(cwd, extra) {
535
535
  return detectFramework(cwd, extra);
536
536
  }
537
537
  const program = new Command("applift");
538
- program.name("applift").description("三端 App 发版工具(内测 / 多商店提审 / 插件扩展)").version("0.2.0");
538
+ const pkg = JSON.parse(fs.readFileSync(new URL("../package.json", import.meta.url), "utf8"));
539
+ program.name("applift").description("三端 App 发版工具(内测 / 多商店提审 / 插件扩展)").version(pkg.version);
539
540
  function makeContext(channel, creds, target, artifactPath, note, extra = {}) {
540
541
  const label = pc.bold(channel.label);
541
542
  const emit = (event) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applift/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/hcg1023/applift.git",