zcb 0.0.19 → 0.0.21

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.
@@ -1 +1 @@
1
- {"version":3,"file":"transformConfig.d.ts","sourceRoot":"","sources":["../../../src/utils/transformConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,sBAAsB,EAE3B,KAAK,0BAA0B,EAChC,MAAM,aAAa,CAAC;AAoBrB,eAAO,MAAM,eAAe,uDAEjB,sBAAsB,GAAG,sBAAsB,EAAE,oBAkC3D,CAAC;AAmBF,eAAO,MAAM,mBAAmB,uDAErB,0BAA0B,GAAG,0BAA0B,EAAE,WAkCnE,CAAC"}
1
+ {"version":3,"file":"transformConfig.d.ts","sourceRoot":"","sources":["../../../src/utils/transformConfig.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,sBAAsB,EAE3B,KAAK,0BAA0B,EAChC,MAAM,aAAa,CAAC;AAoBrB,eAAO,MAAM,eAAe,uDAEjB,sBAAsB,GAAG,sBAAsB,EAAE,oBAkC3D,CAAC;AAmBF,eAAO,MAAM,mBAAmB,uDAErB,0BAA0B,GAAG,0BAA0B,EAAE,WAkCnE,CAAC"}
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.19",
4
+ "version": "0.0.21",
5
5
  "author": "Dylan Aubrey",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/badbatch/zod-config-builder",
@@ -28,7 +28,7 @@
28
28
  "peerDependencies": {
29
29
  "@babel/runtime": "<8",
30
30
  "core-js": "<4",
31
- "lodash": "<5",
31
+ "lodash-es": "<5",
32
32
  "ts-node": "<11"
33
33
  },
34
34
  "devDependencies": {
@@ -48,16 +48,17 @@
48
48
  "@commitlint/config-conventional": "^17.6.3",
49
49
  "@commitlint/prompt-cli": "^17.6.3",
50
50
  "@jest/globals": "^29.5.0",
51
- "@repodog/babel-config": "^1.1.4",
52
- "@repodog/cli": "^1.1.5",
53
- "@repodog/commitlint-config": "^1.1.4",
54
- "@repodog/eslint-config": "^1.1.4",
55
- "@repodog/jest-config": "^1.1.4",
56
- "@repodog/markdownlint-config": "^1.1.4",
57
- "@repodog/prettier-config": "^1.1.4",
58
- "@repodog/rollup-config": "^1.1.4",
59
- "@repodog/syncpack-config": "^1.1.4",
60
- "@repodog/ts-config": "^1.1.4",
51
+ "@repodog/babel-config": "^1.1.7",
52
+ "@repodog/cli": "^1.1.8",
53
+ "@repodog/commitlint-config": "^1.1.5",
54
+ "@repodog/eslint-config": "^1.1.9",
55
+ "@repodog/eslint-config-jest": "^1.1.9",
56
+ "@repodog/jest-config": "^1.1.7",
57
+ "@repodog/markdownlint-config": "^1.1.5",
58
+ "@repodog/prettier-config": "^1.1.5",
59
+ "@repodog/rollup-config": "^1.1.6",
60
+ "@repodog/syncpack-config": "^1.1.5",
61
+ "@repodog/ts-config": "^1.1.5",
61
62
  "@rollup/plugin-babel": "^6.0.3",
62
63
  "@rollup/plugin-image": "^3.0.2",
63
64
  "@rollup/plugin-json": "^6.0.0",
@@ -66,7 +67,7 @@
66
67
  "@types/fs-extra": "^11.0.1",
67
68
  "@types/jest": "^25.1.3",
68
69
  "@types/json-schema": "^7.0.11",
69
- "@types/lodash": "^4.14.191",
70
+ "@types/lodash-es": "^4.17.9",
70
71
  "@types/node": "^18.11.18",
71
72
  "@types/shelljs": "^0.8.11",
72
73
  "@types/yargs": "^15.0.4",
@@ -82,10 +83,7 @@
82
83
  "eslint-import-resolver-typescript": "^3.5.5",
83
84
  "eslint-plugin-import": "^2.27.5",
84
85
  "eslint-plugin-jest": "^27.2.1",
85
- "eslint-plugin-jsx-a11y": "^6.7.1",
86
86
  "eslint-plugin-prettier": "^4.2.1",
87
- "eslint-plugin-react": "^7.32.2",
88
- "eslint-plugin-react-hooks": "^4.6.0",
89
87
  "eslint-plugin-sort-class-members": "^1.18.0",
90
88
  "eslint-plugin-sort-destructure-keys": "^1.5.0",
91
89
  "eslint-plugin-sort-keys-fix": "^1.1.2",
@@ -95,7 +93,9 @@
95
93
  "husky": "^8.0.3",
96
94
  "identity-obj-proxy": "^3.0.0",
97
95
  "jest": "^29.5.0",
98
- "lodash": "^4.17.21",
96
+ "jest-environment-jsdom": "^29.7.0",
97
+ "jest-environment-node": "^29.7.0",
98
+ "lodash-es": "^4.17.21",
99
99
  "markdownlint-cli": "^0.34.0",
100
100
  "prettier": "^2.8.8",
101
101
  "rollup": "^3.21.6",
@@ -1,4 +1,4 @@
1
- import kebabCase from 'lodash/kebabCase.js';
1
+ import { kebabCase } from 'lodash-es';
2
2
  import { createConfigBuilder } from '../createConfigBuilder.ts';
3
3
  import {
4
4
  type ConfigType,
@@ -1,4 +1,4 @@
1
- import kebabCase from 'lodash/kebabCase.js';
1
+ import { kebabCase } from 'lodash-es';
2
2
  import { z } from 'zod';
3
3
  import {
4
4
  type ConfigType,
@@ -1,4 +1,4 @@
1
- import get from 'lodash/get.js';
1
+ import { get } from 'lodash-es';
2
2
  import type { Get } from 'type-fest';
3
3
  import type { Path, Scope } from './types.ts';
4
4
 
@@ -1,4 +1,4 @@
1
- import isPlainObject from 'lodash/isPlainObject.js';
1
+ import { isPlainObject } from 'lodash-es';
2
2
 
3
3
  export const isValidValue = (value: unknown, depth = 0): boolean => {
4
4
  if (isPlainObject(value)) {
@@ -1,5 +1,4 @@
1
- import castArray from 'lodash/castArray.js';
2
- import isPlainObject from 'lodash/isPlainObject.js';
1
+ import { castArray, isPlainObject } from 'lodash-es';
3
2
  import {
4
3
  type AnyRecord,
5
4
  type TransformConfigHandler,