@ywfe/fe-tools 1.0.2-beta.11 → 1.0.2-beta.12

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@ywfe/fe-tools",
4
- "version": "1.0.2-beta.11",
4
+ "version": "1.0.2-beta.12",
5
5
  "description": "工具函数库",
6
6
  "main": "./lib/ywfe-tools.esm.js",
7
7
  "module": "./lib/ywfe-tools.esm.js",
@@ -9,7 +9,7 @@
9
9
  "scripts": {
10
10
  "build": "rollup -c",
11
11
  "build:type": "tsc -p ./tsconfig.type.json",
12
- "prepublishOnly": "npm run build",
12
+ "prepublishOnly": "npm run build && npm run build:type",
13
13
  "test": "jest --coverage"
14
14
  },
15
15
  "repository": "ywfe",
@@ -5,6 +5,7 @@ interface userInput {
5
5
  }
6
6
  async function userInputToJson({input}:{input:userInput}){
7
7
  const {userInput, rules} = input
8
+ //@ts-ignore
8
9
  const res = await feTools.request({
9
10
  input:{
10
11
  url:"https://fc-typechat.ywwl.com/userInputToJson",