@intent-codes/intent-ruoyi-vue-ts 0.0.4 → 0.0.6

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
@@ -16,5 +16,8 @@ https://registry.npmjs.com/
16
16
  # 切换
17
17
  npm config set registry=https://registry.npmjs.com/
18
18
 
19
+ # 先执行
20
+ npm run build
21
+ # 再执行
19
22
  npm publish --access public
20
23
  ```
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ #! /usr/bin/env node
1
2
  import { parseSync } from "oxc-parser";
2
3
  import { Command } from 'commander';
3
4
  const program = new Command();
@@ -10,6 +11,7 @@ program.command("ts-api-create")
10
11
  .argument("<path>", "表结构定义文件的路径")
11
12
  .action((str, option) => {
12
13
  let code = `import request from "@utils/request";
14
+ // 中文注释
13
15
  export async function fetchSth() {
14
16
  return request.get();
15
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intent-codes/intent-ruoyi-vue-ts",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "intent-ruoyi-vue-ts": "dist/index.js"