zcb 0.0.20 → 0.0.22
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/dist/cjs/cli.cjs +184 -0
- package/dist/cjs/cli.cjs.map +1 -0
- package/dist/cjs/index.cjs +330 -0
- package/dist/{main/index.mjs.map → cjs/index.cjs.map} +1 -1
- package/dist/{main → esm}/index.mjs +0 -2
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/templates/config.ts.hbs +4 -0
- package/package.json +36 -28
- /package/dist/{main → cjs}/templates/config.ts.hbs +0 -0
- /package/dist/{main → esm}/cli.mjs +0 -0
- /package/dist/{main → esm}/cli.mjs.map +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zcb",
|
|
3
3
|
"description": "Build configs with type safety from zod schema.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.22",
|
|
5
5
|
"author": "Dylan Aubrey",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/badbatch/zod-config-builder",
|
|
@@ -11,8 +11,11 @@
|
|
|
11
11
|
"bin": {
|
|
12
12
|
"zcb": "./bin/zcb.mjs"
|
|
13
13
|
},
|
|
14
|
-
"
|
|
15
|
-
|
|
14
|
+
"exports": {
|
|
15
|
+
"types": "./dist/types/index.d.ts",
|
|
16
|
+
"import": "./dist/esm/index.mjs",
|
|
17
|
+
"require": "./dist/cjs/index.mjs"
|
|
18
|
+
},
|
|
16
19
|
"publishConfig": {
|
|
17
20
|
"access": "public"
|
|
18
21
|
},
|
|
@@ -20,8 +23,8 @@
|
|
|
20
23
|
"fs-extra": "^11.1.1",
|
|
21
24
|
"handlebars": "^4.7.7",
|
|
22
25
|
"json-schema": "^0.4.0",
|
|
23
|
-
"shelljs": "^0.8.
|
|
24
|
-
"yargs": "^15.1
|
|
26
|
+
"shelljs": "^0.8.5",
|
|
27
|
+
"yargs": "^15.4.1",
|
|
25
28
|
"zod": "^3.21.4",
|
|
26
29
|
"zod-to-json-schema": "^3.21.0"
|
|
27
30
|
},
|
|
@@ -35,10 +38,12 @@
|
|
|
35
38
|
"@babel/cli": "^7.21.5",
|
|
36
39
|
"@babel/core": "^7.21.8",
|
|
37
40
|
"@babel/eslint-parser": "^7.21.8",
|
|
38
|
-
"@babel/plugin-proposal-
|
|
39
|
-
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
|
|
41
|
+
"@babel/plugin-proposal-decorators": "^7.23.3",
|
|
40
42
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
41
43
|
"@babel/plugin-syntax-import-assertions": "^7.20.0",
|
|
44
|
+
"@babel/plugin-transform-class-properties": "^7.23.3",
|
|
45
|
+
"@babel/plugin-transform-export-namespace-from": "^7.23.4",
|
|
46
|
+
"@babel/plugin-transform-modules-commonjs": "^7.23.3",
|
|
42
47
|
"@babel/plugin-transform-runtime": "^7.21.4",
|
|
43
48
|
"@babel/preset-env": "^7.21.5",
|
|
44
49
|
"@babel/preset-react": "^7.18.6",
|
|
@@ -48,44 +53,44 @@
|
|
|
48
53
|
"@commitlint/config-conventional": "^17.6.3",
|
|
49
54
|
"@commitlint/prompt-cli": "^17.6.3",
|
|
50
55
|
"@jest/globals": "^29.5.0",
|
|
51
|
-
"@repodog/babel-config": "^1.1.
|
|
52
|
-
"@repodog/cli": "^1.
|
|
53
|
-
"@repodog/commitlint-config": "^1.1.
|
|
54
|
-
"@repodog/eslint-config": "^1.1.
|
|
55
|
-
"@repodog/
|
|
56
|
-
"@repodog/
|
|
57
|
-
"@repodog/
|
|
58
|
-
"@repodog/
|
|
59
|
-
"@repodog/
|
|
60
|
-
"@repodog/
|
|
56
|
+
"@repodog/babel-config": "^1.1.11",
|
|
57
|
+
"@repodog/cli": "^1.2.2",
|
|
58
|
+
"@repodog/commitlint-config": "^1.1.6",
|
|
59
|
+
"@repodog/eslint-config": "^1.1.17",
|
|
60
|
+
"@repodog/eslint-config-jest": "^1.1.10",
|
|
61
|
+
"@repodog/jest-config": "^1.1.11",
|
|
62
|
+
"@repodog/markdownlint-config": "^1.1.5",
|
|
63
|
+
"@repodog/prettier-config": "^1.1.5",
|
|
64
|
+
"@repodog/rollup-config": "^1.1.8",
|
|
65
|
+
"@repodog/syncpack-config": "^1.2.1",
|
|
66
|
+
"@repodog/ts-config": "^1.1.6",
|
|
61
67
|
"@rollup/plugin-babel": "^6.0.3",
|
|
68
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
62
69
|
"@rollup/plugin-image": "^3.0.2",
|
|
63
70
|
"@rollup/plugin-json": "^6.0.0",
|
|
64
71
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
65
72
|
"@rollup/plugin-terser": "^0.4.1",
|
|
66
73
|
"@types/fs-extra": "^11.0.1",
|
|
67
|
-
"@types/jest": "^25.
|
|
74
|
+
"@types/jest": "^25.2.3",
|
|
68
75
|
"@types/json-schema": "^7.0.11",
|
|
69
76
|
"@types/lodash-es": "^4.17.9",
|
|
70
|
-
"@types/node": "^18.
|
|
71
|
-
"@types/shelljs": "^0.8.
|
|
72
|
-
"@types/yargs": "^15.0.
|
|
77
|
+
"@types/node": "^18.16.7",
|
|
78
|
+
"@types/shelljs": "^0.8.12",
|
|
79
|
+
"@types/yargs": "^15.0.15",
|
|
73
80
|
"@typescript-eslint/eslint-plugin": "^5.59.5",
|
|
74
81
|
"@typescript-eslint/parser": "^5.59.5",
|
|
75
82
|
"babel-jest": "^29.5.0",
|
|
76
83
|
"babel-plugin-codegen": "^4.1.5",
|
|
77
84
|
"babel-plugin-macros": "^3.1.0",
|
|
78
|
-
"core-js": "^3.
|
|
79
|
-
"del-cli": "^3.0.
|
|
85
|
+
"core-js": "^3.30.2",
|
|
86
|
+
"del-cli": "^3.0.1",
|
|
80
87
|
"eslint": "^8.40.0",
|
|
81
88
|
"eslint-config-prettier": "^8.8.0",
|
|
82
89
|
"eslint-import-resolver-typescript": "^3.5.5",
|
|
83
90
|
"eslint-plugin-import": "^2.27.5",
|
|
84
91
|
"eslint-plugin-jest": "^27.2.1",
|
|
85
|
-
"eslint-plugin-
|
|
92
|
+
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
86
93
|
"eslint-plugin-prettier": "^4.2.1",
|
|
87
|
-
"eslint-plugin-react": "^7.32.2",
|
|
88
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
89
94
|
"eslint-plugin-sort-class-members": "^1.18.0",
|
|
90
95
|
"eslint-plugin-sort-destructure-keys": "^1.5.0",
|
|
91
96
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
@@ -95,6 +100,8 @@
|
|
|
95
100
|
"husky": "^8.0.3",
|
|
96
101
|
"identity-obj-proxy": "^3.0.0",
|
|
97
102
|
"jest": "^29.5.0",
|
|
103
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
104
|
+
"jest-environment-node": "^29.7.0",
|
|
98
105
|
"lodash-es": "^4.17.21",
|
|
99
106
|
"markdownlint-cli": "^0.34.0",
|
|
100
107
|
"prettier": "^2.8.8",
|
|
@@ -107,7 +114,7 @@
|
|
|
107
114
|
"ts-node": "^10.9.1",
|
|
108
115
|
"ts-toolbelt": "^9.6.0",
|
|
109
116
|
"type-fest": "^3.10.0",
|
|
110
|
-
"typescript": "^5.0.
|
|
117
|
+
"typescript": "^5.0.4"
|
|
111
118
|
},
|
|
112
119
|
"keywords": [
|
|
113
120
|
"config",
|
|
@@ -120,7 +127,8 @@
|
|
|
120
127
|
"clean:dist": "del-cli ./dist",
|
|
121
128
|
"commit": "commit",
|
|
122
129
|
"compile": "pnpm run /^compile:.*/",
|
|
123
|
-
"compile:
|
|
130
|
+
"compile:cjs": "MODULE_SYSTEM=cjs rollup -c ./rollup.config.cjs",
|
|
131
|
+
"compile:esm": "rollup -c ./rollup.config.cjs",
|
|
124
132
|
"compile:types": "tsc --project ./tsconfig.build.json",
|
|
125
133
|
"cut:changelog": "changelog",
|
|
126
134
|
"cut:post-version": "pnpm run build",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|