mine-auto-cli 2.0.1 → 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.
package/README.md CHANGED
@@ -63,7 +63,6 @@ git push
63
63
  - `update-notifier`: 检查更新
64
64
  - `@types/node`: `node` 类型
65
65
  - `@types/update-notifier`: `update-notifier` 类型
66
- - `chokidar`: 监听文件更改
67
66
  - `prettier`: 格式化工具
68
67
  - `typescript`: 编程语言
69
68
  - `vite`: 项目构建工具
@@ -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.1", $ = "./index.js", w = "./index.js", k = "module", j = {
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: "node scripts/dev",
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 = {
@@ -45,7 +44,6 @@ const l = "mine-auto-cli", d = "2.0.1", $ = "./index.js", w = "./index.js", k =
45
44
  }, F = {
46
45
  "@types/node": "^20.8.4",
47
46
  "@types/update-notifier": "^6.0.5",
48
- chokidar: "^3.5.3",
49
47
  prettier: "^3.0.3",
50
48
  typescript: "^5.2.2",
51
49
  vite: "^4.4.11"
@@ -55,9 +53,9 @@ const l = "mine-auto-cli", d = "2.0.1", $ = "./index.js", w = "./index.js", k =
55
53
  version: d,
56
54
  exports: $,
57
55
  main: w,
58
- type: k,
59
- bin: j,
60
- author: x,
56
+ type: j,
57
+ bin: x,
58
+ author: k,
61
59
  description: C,
62
60
  scripts: S,
63
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.1",
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"