@innoways/utils 3.0.0
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/CHANGELOG.md +184 -0
- package/README.md +11 -0
- package/__tests__/combine.ts +102 -0
- package/__tests__/common.ts +155 -0
- package/__tests__/flowHandle.ts +16 -0
- package/__tests__/parse.ts +109 -0
- package/__testsdata__/array.schema.ts +97 -0
- package/__testsdata__/controlFlow.ts +166 -0
- package/__testsdata__/datePicker.schema.ts +92 -0
- package/__testsdata__/errMsg.schema.ts +138 -0
- package/__testsdata__/errMsg2.schema.ts +74 -0
- package/__testsdata__/errMsg3.schema.ts +79 -0
- package/__testsdata__/errMsg4.schema.ts +152 -0
- package/__testsdata__/multinest.schema.ts +265 -0
- package/__testsdata__/nest.schema.ts +307 -0
- package/__testsdata__/nestObject.schema.ts +360 -0
- package/__testsdata__/repeatField.schema.ts +88 -0
- package/__testsdata__/root.schema.ts +35 -0
- package/__testsdata__/test$fieldKey.schema.ts +1158 -0
- package/__testsdata__/test.schema.ts +1158 -0
- package/build-info/index.stats.html +2648 -0
- package/dist/cjs/index.js +3949 -0
- package/dist/esm/index.js +3907 -0
- package/package.json +44 -0
- package/rollup.config.js +13 -0
- package/tsconfig.dist.json +7 -0
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@innoways/utils",
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "drip-form通用方法",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"utils",
|
|
7
|
+
"drip-form"
|
|
8
|
+
],
|
|
9
|
+
"author": "JDFED",
|
|
10
|
+
"homepage": "https://github.com/JDFED/drip-form/",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"main": "dist/cjs/index.js",
|
|
13
|
+
"typings": "dist/esm/index.d.ts",
|
|
14
|
+
"module": "dist/esm/index.js",
|
|
15
|
+
"scripts": {
|
|
16
|
+
"link": "yarn link",
|
|
17
|
+
"build": "rollup --config --sourcemap",
|
|
18
|
+
"watch": "rollup --config --watch",
|
|
19
|
+
"build:test": "rollup --config --sourcemap --environment NODE_ENV:production:ts"
|
|
20
|
+
},
|
|
21
|
+
"distExports": {
|
|
22
|
+
"dist": "./dist",
|
|
23
|
+
"build-info": "./build-info",
|
|
24
|
+
"exports": "named",
|
|
25
|
+
"format": [
|
|
26
|
+
"esm",
|
|
27
|
+
"cjs"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"registry": "https://registry.npmjs.org/",
|
|
32
|
+
"access": "public"
|
|
33
|
+
},
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "github",
|
|
36
|
+
"url": "https://github.com/JDFED/drip-form/"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@babel/runtime": "^7.10.2",
|
|
40
|
+
"js-stringify": "^1.0.2",
|
|
41
|
+
"lodash": "^4.17.21"
|
|
42
|
+
},
|
|
43
|
+
"gitHead": "1416735284b5c9f0d76c7271117fb8723a2300ec"
|
|
44
|
+
}
|
package/rollup.config.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import pkg from './package.json'
|
|
2
|
+
import { getOutput, getExternal, getPlugins } from '../../rollup.base.config'
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
input: 'src/index.ts',
|
|
6
|
+
output: getOutput(pkg),
|
|
7
|
+
external: getExternal(pkg),
|
|
8
|
+
onwarn(warning, warn) {
|
|
9
|
+
if (warning.code === 'THIS_IS_UNDEFINED') return
|
|
10
|
+
warn(warning) // this requires Rollup 0.46
|
|
11
|
+
},
|
|
12
|
+
plugins: getPlugins(pkg, process.argv),
|
|
13
|
+
}
|