Skip to content

Commit 467b6ac

Browse files
authored
fix: globals name (#449)
* fix globals name * fix Co-authored-by: Kirill Kurenov <[email protected]>
1 parent 99703e6 commit 467b6ac

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,18 +114,18 @@
114114
"scripts": {
115115
"prepare": "run-s build:src build && check-export-map && husky install",
116116
"build": "npm-run-all --parallel build:*",
117-
"build:src": "microbundle build",
118-
"build:zod": "microbundle --cwd zod --globals '@hookform/resolvers=hookformResolvers'",
119-
"build:yup": "microbundle --cwd yup --globals '@hookform/resolvers=hookformResolvers'",
120-
"build:joi": "microbundle --cwd joi --globals '@hookform/resolvers=hookformResolvers'",
121-
"build:superstruct": "microbundle --cwd superstruct --globals '@hookform/resolvers=hookformResolvers'",
122-
"build:io-ts": "microbundle --cwd io-ts --globals '@hookform/resolvers=hookformResolvers'",
123-
"build:vest": "microbundle --cwd vest --globals '@hookform/resolvers=hookformResolvers'",
124-
"build:class-validator": "microbundle --cwd class-validator --globals '@hookform/resolvers=hookformResolvers'",
125-
"build:nope": "microbundle --cwd nope --globals '@hookform/resolvers=hookformResolvers'",
126-
"build:computed-types": "microbundle --cwd computed-types --globals '@hookform/resolvers=hookformResolvers'",
127-
"build:typanion": "microbundle --cwd typanion --globals '@hookform/resolvers=hookformResolvers'",
128-
"build:ajv": "microbundle --cwd ajv --globals '@hookform/resolvers=hookformResolvers'",
117+
"build:src": "microbundle build --globals react-hook-form=ReactHookForm",
118+
"build:zod": "microbundle --cwd zod --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm",
119+
"build:yup": "microbundle --cwd yup --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm",
120+
"build:joi": "microbundle --cwd joi --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm",
121+
"build:superstruct": "microbundle --cwd superstruct --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm",
122+
"build:io-ts": "microbundle --cwd io-ts --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm",
123+
"build:vest": "microbundle --cwd vest --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm",
124+
"build:class-validator": "microbundle --cwd class-validator --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm",
125+
"build:nope": "microbundle --cwd nope --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm",
126+
"build:computed-types": "microbundle --cwd computed-types --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm",
127+
"build:typanion": "microbundle --cwd typanion --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm",
128+
"build:ajv": "microbundle --cwd ajv --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm",
129129
"postbuild": "node ./config/node-13-exports.js",
130130
"lint": "eslint . --ext .ts,.js --ignore-path .gitignore",
131131
"lint:types": "tsc",
@@ -214,4 +214,4 @@
214214
"prettier --write"
215215
]
216216
}
217-
}
217+
}

0 commit comments

Comments
 (0)