mine-auto-cli 2.0.2 → 2.0.3

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.
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import '../index.js'
2
+ import '../dist/index.js'
@@ -4,19 +4,18 @@ import { program as i } from "commander";
4
4
  import y from "ora";
5
5
  import { execSync as v } from "child_process";
6
6
  import m from "log-symbols";
7
- const l = "mine-auto-cli", d = "2.0.2", $ = "./index.js", w = "./index.js", j = "module", k = {
7
+ const l = "mine-auto-cli", d = "2.0.3", $ = "./dist/index.js", w = "./dist/index.js", j = "module", x = {
8
8
  auto: "bin/mine-auto-cli.js"
9
- }, x = {
9
+ }, k = {
10
10
  name: "biaov",
11
11
  email: "biaov@qq.com",
12
12
  url: "https://biaov.cn"
13
13
  }, C = "一个将多个命令简化成一个命令的项目 😆", S = {
14
14
  start: "npm run dev",
15
- dev: "vite build --watch && node scripts/build",
16
- build: "vite build && node scripts/build",
15
+ dev: "npm run build -- --watch",
16
+ build: "node scripts/build && vite build",
17
17
  prettier: "prettier --write '**/*.{js,ts,md,json}'",
18
- ncu: "ncu --configFileName .ncurc.json && npm i",
19
- "pre-publish": "start cmd /k cd ./dist"
18
+ ncu: "ncu --configFileName .ncurc.json && npm i"
20
19
  }, V = {
21
20
  registry: "https://registry.npmjs.org/"
22
21
  }, q = {
@@ -55,8 +54,8 @@ const l = "mine-auto-cli", d = "2.0.2", $ = "./index.js", w = "./index.js", j =
55
54
  exports: $,
56
55
  main: w,
57
56
  type: j,
58
- bin: k,
59
- author: x,
57
+ bin: x,
58
+ author: k,
60
59
  description: C,
61
60
  scripts: S,
62
61
  publishConfig: V,
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "mine-auto-cli",
3
3
  "private": false,
4
- "version": "2.0.2",
5
- "exports": "./index.js",
6
- "main": "./index.js",
4
+ "version": "2.0.3",
5
+ "exports": "./dist/index.js",
6
+ "main": "./dist/index.js",
7
7
  "type": "module",
8
8
  "bin": {
9
9
  "auto": "bin/mine-auto-cli.js"