1
0
mirror of synced 2026-02-05 15:00:09 -05:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Dillon Raphael
f4c2234c4d add index.cjs to blitz externals 2022-04-28 17:12:55 -04:00
2 changed files with 60 additions and 60 deletions

View File

@@ -2,7 +2,7 @@ import {BuildConfig} from "unbuild"
const config: BuildConfig = {
entries: ["./src/index-browser", "./src/index-server", "./src/cli/index"],
externals: ["index-browser.cjs", "index-browser.mjs", "zod"],
externals: ["index-browser.cjs", "index-browser.mjs", "index.cjs", "zod"],
declaration: true,
rollup: {
emitCJS: true,

118
pnpm-lock.yaml generated
View File

@@ -1,4 +1,4 @@
lockfileVersion: 5.3
lockfileVersion: 5.4
importers:
.:
@@ -50,7 +50,7 @@ importers:
"@types/node": 17.0.16
"@types/preview-email": 2.0.1
"@types/react": 17.0.43
blitz: "workspace: *"
blitz: workspace:2.0.0-alpha.6
eslint: 7.32.0
husky: 7.0.4
jest: 27.5.1
@@ -75,17 +75,17 @@ importers:
"@hookform/resolvers": 2.8.8_react-hook-form@7.29.0
"@prisma/client": 3.9.0_prisma@3.9.0
blitz: link:../../packages/blitz
next: 12.1.1_react-dom@18.0.0+react@18.0.0
next: 12.1.1_zpnidt7m3osuk7shl3s4oenomq
prisma: 3.9.0
react: 18.0.0
react-dom: 18.0.0_react@18.0.0
react-hook-form: 7.29.0_react@18.0.0
ts-node: 10.7.0_2dcdb8fdc9a6e6d9aaf2aac9443a7c28
ts-node: 10.7.0_fxg3r7oju3tntkxsvleuiot4fa
zod: 3.10.1
devDependencies:
"@next/bundle-analyzer": 12.0.8
"@testing-library/react": 13.0.0_react-dom@18.0.0+react@18.0.0
"@testing-library/react-hooks": 7.0.2_react-dom@18.0.0+react@18.0.0
"@testing-library/react": 13.0.0_zpnidt7m3osuk7shl3s4oenomq
"@testing-library/react-hooks": 7.0.2_zpnidt7m3osuk7shl3s4oenomq
"@types/jest": 27.4.1
"@types/node": 17.0.16
"@types/preview-email": 2.0.1
@@ -128,7 +128,7 @@ importers:
"@types/jest": 27.4.1
blitz: link:../../packages/blitz
jest: 27.5.1_ts-node@10.7.0
next: 12.1.1_react-dom@18.0.0+react@18.0.0
next: 12.1.1_zpnidt7m3osuk7shl3s4oenomq
prisma: 3.9.0
react: 18.0.0
react-dom: 18.0.0_react@18.0.0
@@ -169,7 +169,7 @@ importers:
"@prisma/client": 3.9.0_prisma@3.9.0
blitz: link:../../packages/blitz
lowdb: 3.0.0
next: 12.1.1_react-dom@18.0.0+react@18.0.0
next: 12.1.1_zpnidt7m3osuk7shl3s4oenomq
prisma: 3.9.0
react: 18.0.0
react-dom: 18.0.0_react@18.0.0
@@ -210,7 +210,7 @@ importers:
"@blitzjs/next": link:../../packages/blitz-next
"@blitzjs/rpc": link:../../packages/blitz-rpc
blitz: link:../../packages/blitz
next: 12.1.1_react-dom@18.0.0+react@18.0.0
next: 12.1.1_zpnidt7m3osuk7shl3s4oenomq
react: 18.0.0
react-dom: 18.0.0_react@18.0.0
devDependencies:
@@ -263,8 +263,8 @@ importers:
packages/blitz:
specifiers:
"@blitzjs/config": 2.0.0-alpha.5
"@blitzjs/generator": 2.0.0-alpha.5
"@blitzjs/config": "workspace: *"
"@blitzjs/generator": 2.0.0-alpha.6
"@types/cookie": 0.4.1
"@types/cross-spawn": 6.0.2
"@types/debug": 4.1.7
@@ -356,7 +356,7 @@ importers:
packages/blitz-auth:
specifiers:
"@blitzjs/config": 2.0.0-alpha.5
"@blitzjs/config": "workspace: *"
"@testing-library/react": 13.0.0
"@testing-library/react-hooks": 7.0.2
"@types/b64-lite": 1.3.0
@@ -368,7 +368,7 @@ importers:
"@types/secure-password": 3.1.1
b64-lite: 1.4.0
bad-behavior: 1.0.1
blitz: 2.0.0-alpha.5
blitz: 2.0.0-alpha.6
cookie: 0.4.1
debug: 4.3.3
http: 0.0.1-security
@@ -398,8 +398,8 @@ importers:
url: 0.11.0
devDependencies:
"@blitzjs/config": link:../config
"@testing-library/react": 13.0.0_react-dom@18.0.0+react@18.0.0
"@testing-library/react-hooks": 7.0.2_react-dom@18.0.0+react@18.0.0
"@testing-library/react": 13.0.0_zpnidt7m3osuk7shl3s4oenomq
"@testing-library/react-hooks": 7.0.2_zpnidt7m3osuk7shl3s4oenomq
"@types/cookie": 0.4.1
"@types/debug": 4.1.7
"@types/jsonwebtoken": 8.5.8
@@ -413,8 +413,8 @@ importers:
packages/blitz-next:
specifiers:
"@blitzjs/config": 2.0.0-alpha.5
"@blitzjs/rpc": 2.0.0-alpha.5
"@blitzjs/config": "workspace: *"
"@blitzjs/rpc": 2.0.0-alpha.6
"@testing-library/dom": 8.13.0
"@testing-library/jest-dom": 5.16.3
"@testing-library/react": 13.0.0
@@ -425,7 +425,7 @@ importers:
"@types/react": 17.0.43
"@types/react-dom": 17.0.14
"@types/testing-library__react-hooks": 4.0.0
blitz: 2.0.0-alpha.5
blitz: 2.0.0-alpha.6
cross-spawn: 7.0.3
debug: 4.3.3
find-up: 4.1.0
@@ -444,24 +444,24 @@ importers:
"@blitzjs/rpc": link:../blitz-rpc
debug: 4.3.3
fs-extra: 10.0.1
react-query: 3.21.1_react-dom@18.0.0+react@18.0.0
react-query: 3.21.1_zpnidt7m3osuk7shl3s4oenomq
devDependencies:
"@blitzjs/config": link:../config
"@testing-library/dom": 8.13.0
"@testing-library/jest-dom": 5.16.3
"@testing-library/react": 13.0.0_react-dom@18.0.0+react@18.0.0
"@testing-library/react-hooks": 7.0.2_react-dom@18.0.0+react@18.0.0
"@testing-library/user-event": 13.5.0_@testing-library+dom@8.13.0
"@testing-library/react": 13.0.0_zpnidt7m3osuk7shl3s4oenomq
"@testing-library/react-hooks": 7.0.2_zpnidt7m3osuk7shl3s4oenomq
"@testing-library/user-event": 13.5.0_tlwynutqiyp5mns3woioasuxnq
"@types/lodash.frompairs": 4.0.6
"@types/node": 17.0.16
"@types/react": 17.0.43
"@types/react-dom": 17.0.14
"@types/testing-library__react-hooks": 4.0.0_react-dom@18.0.0+react@18.0.0
"@types/testing-library__react-hooks": 4.0.0_zpnidt7m3osuk7shl3s4oenomq
blitz: link:../blitz
cross-spawn: 7.0.3
find-up: 4.1.0
lodash.frompairs: 4.0.1
next: 12.1.1_react-dom@18.0.0+react@18.0.0
next: 12.1.1_zpnidt7m3osuk7shl3s4oenomq
react: 18.0.0
react-dom: 18.0.0_react@18.0.0
resolve-from: 5.0.0
@@ -472,14 +472,14 @@ importers:
packages/blitz-rpc:
specifiers:
"@blitzjs/auth": 2.0.0-alpha.5
"@blitzjs/config": 2.0.0-alpha.5
"@blitzjs/auth": 2.0.0-alpha.6
"@blitzjs/config": "workspace: *"
"@types/debug": 4.1.7
"@types/react": 17.0.43
"@types/react-dom": 17.0.14
b64-lite: 1.4.0
bad-behavior: 1.0.1
blitz: 2.0.0-alpha.5
blitz: 2.0.0-alpha.6
chalk: ^4.1.0
debug: 4.3.3
next: 12.1.1
@@ -497,7 +497,7 @@ importers:
bad-behavior: 1.0.1
chalk: 4.1.2
debug: 4.3.3
react-query: 3.21.1_react-dom@18.0.0+react@18.0.0
react-query: 3.21.1_zpnidt7m3osuk7shl3s4oenomq
superjson: 1.8.0
zod: 3.10.1
devDependencies:
@@ -506,7 +506,7 @@ importers:
"@types/react": 17.0.43
"@types/react-dom": 17.0.14
blitz: link:../blitz
next: 12.1.1_react-dom@18.0.0+react@18.0.0
next: 12.1.1_zpnidt7m3osuk7shl3s4oenomq
react: 18.0.0
react-dom: 18.0.0_react@18.0.0
typescript: 4.6.3
@@ -521,7 +521,7 @@ importers:
eslint-config-prettier: 8.3.0
typescript: ^4.5.3
dependencies:
"@typescript-eslint/eslint-plugin": 5.9.1_ceaf00bd57d7914f6a37d6473774bd86
"@typescript-eslint/eslint-plugin": 5.9.1_z2xqbpkx26iu62rx2zdto5f5qy
"@typescript-eslint/parser": 5.9.1_typescript@4.6.3
eslint-config-next: 12.0.7_typescript@4.6.3
eslint-config-prettier: 8.3.0
@@ -534,7 +534,7 @@ importers:
"@babel/plugin-transform-typescript": 7.12.1
"@babel/preset-env": 7.12.10
"@babel/types": 7.12.10
"@blitzjs/config": 2.0.0-alpha.5
"@blitzjs/config": 2.0.0-alpha.6
"@juanm04/cpx": 2.0.1
"@mrleebo/prisma-ast": 0.2.6
"@types/babel__core": 7.1.19
@@ -613,8 +613,8 @@ importers:
"@types/react": 17.0.43
"@types/react-dom": 17.0.14
"@types/vinyl": 2.0.6
"@typescript-eslint/eslint-plugin": 5.9.1_8d4b52c6a654d64d1d8b695e9b6b2fe5
"@typescript-eslint/parser": 5.9.1_eslint@7.32.0+typescript@4.6.3
"@typescript-eslint/eslint-plugin": 5.9.1_rvfvfrvgktle2hmlnfpjw2zp4u
"@typescript-eslint/parser": 5.9.1_hrkuebk64jiu2ut2d2sm4oylnu
babylon: 6.18.0
debug: 4.3.3
eslint: 7.32.0
@@ -625,7 +625,7 @@ importers:
packages/pkg-template:
specifiers:
"@blitzjs/config": 2.0.0-alpha.5
"@blitzjs/config": 2.0.0-alpha.6
"@types/react": 17.0.43
"@types/react-dom": 17.0.14
"@typescript-eslint/eslint-plugin": 5.9.1
@@ -635,7 +635,7 @@ importers:
unbuild: 0.6.9
watch: 1.0.2
dependencies:
"@typescript-eslint/eslint-plugin": 5.9.1_ceaf00bd57d7914f6a37d6473774bd86
"@typescript-eslint/eslint-plugin": 5.9.1_z2xqbpkx26iu62rx2zdto5f5qy
"@typescript-eslint/parser": 5.9.1_typescript@4.6.3
devDependencies:
"@blitzjs/config": link:../config
@@ -3537,7 +3537,7 @@ packages:
redent: 3.0.0
dev: true
/@testing-library/react-hooks/7.0.2_react-dom@18.0.0+react@18.0.0:
/@testing-library/react-hooks/7.0.2_zpnidt7m3osuk7shl3s4oenomq:
resolution:
{
integrity: sha512-dYxpz8u9m4q1TuzfcUApqi8iFfR6R0FaMbr2hjZJy1uC8z+bO/K4v8Gs9eogGKYQop7QsrBTFkv/BCF7MzD2Cg==,
@@ -3562,7 +3562,7 @@ packages:
react-error-boundary: 3.1.4_react@18.0.0
dev: true
/@testing-library/react/13.0.0_react-dom@18.0.0+react@18.0.0:
/@testing-library/react/13.0.0_zpnidt7m3osuk7shl3s4oenomq:
resolution:
{
integrity: sha512-p0lYA1M7uoEmk2LnCbZLGmHJHyH59sAaZVXChTXlyhV/PRW9LoIh4mdf7tiXsO8BoNG+vN8UnFJff1hbZeXv+w==,
@@ -3579,7 +3579,7 @@ packages:
react-dom: 18.0.0_react@18.0.0
dev: true
/@testing-library/user-event/13.5.0_@testing-library+dom@8.13.0:
/@testing-library/user-event/13.5.0_tlwynutqiyp5mns3woioasuxnq:
resolution:
{
integrity: sha512-5Kwtbo3Y/NowpkbRuSepbyMFkZmHgD+vPzYB/RJ4oxt5Gj/avFFBYjhw27cqSVPVw/3a67NK1PbiIr9k4Gwmdg==,
@@ -4250,14 +4250,14 @@ packages:
"@types/jest": 27.4.1
dev: true
/@types/testing-library__react-hooks/4.0.0_react-dom@18.0.0+react@18.0.0:
/@types/testing-library__react-hooks/4.0.0_zpnidt7m3osuk7shl3s4oenomq:
resolution:
{
integrity: sha512-UzZUXthQtVjDruR2YA+hqg9ux5AfmZ8Kaw+QDungax+T7wb/5NC4x7YOpIqRx7oY3KksGQ69bzNE/xwzb5NslQ==,
}
deprecated: This is a stub types definition. @testing-library/react-hooks provides its own type definitions, so you do not need this installed.
dependencies:
"@testing-library/react-hooks": 7.0.2_react-dom@18.0.0+react@18.0.0
"@testing-library/react-hooks": 7.0.2_zpnidt7m3osuk7shl3s4oenomq
transitivePeerDependencies:
- react
- react-dom
@@ -4299,7 +4299,7 @@ packages:
dev: true
optional: true
/@typescript-eslint/eslint-plugin/5.9.1_8d4b52c6a654d64d1d8b695e9b6b2fe5:
/@typescript-eslint/eslint-plugin/5.9.1_rvfvfrvgktle2hmlnfpjw2zp4u:
resolution:
{
integrity: sha512-Xv9tkFlyD4MQGpJgTo6wqDqGvHIRmRgah/2Sjz1PUnJTawjHWIwBivUE9x0QtU2WVii9baYgavo/bHjrZJkqTw==,
@@ -4313,10 +4313,10 @@ packages:
typescript:
optional: true
dependencies:
"@typescript-eslint/experimental-utils": 5.9.1_eslint@7.32.0+typescript@4.6.3
"@typescript-eslint/parser": 5.9.1_eslint@7.32.0+typescript@4.6.3
"@typescript-eslint/experimental-utils": 5.9.1_hrkuebk64jiu2ut2d2sm4oylnu
"@typescript-eslint/parser": 5.9.1_hrkuebk64jiu2ut2d2sm4oylnu
"@typescript-eslint/scope-manager": 5.9.1
"@typescript-eslint/type-utils": 5.9.1_eslint@7.32.0+typescript@4.6.3
"@typescript-eslint/type-utils": 5.9.1_hrkuebk64jiu2ut2d2sm4oylnu
debug: 4.3.4
eslint: 7.32.0
functional-red-black-tree: 1.0.1
@@ -4329,7 +4329,7 @@ packages:
- supports-color
dev: true
/@typescript-eslint/eslint-plugin/5.9.1_ceaf00bd57d7914f6a37d6473774bd86:
/@typescript-eslint/eslint-plugin/5.9.1_z2xqbpkx26iu62rx2zdto5f5qy:
resolution:
{
integrity: sha512-Xv9tkFlyD4MQGpJgTo6wqDqGvHIRmRgah/2Sjz1PUnJTawjHWIwBivUE9x0QtU2WVii9baYgavo/bHjrZJkqTw==,
@@ -4358,7 +4358,7 @@ packages:
- supports-color
dev: false
/@typescript-eslint/experimental-utils/5.9.1_eslint@7.32.0+typescript@4.6.3:
/@typescript-eslint/experimental-utils/5.9.1_hrkuebk64jiu2ut2d2sm4oylnu:
resolution:
{
integrity: sha512-cb1Njyss0mLL9kLXgS/eEY53SZQ9sT519wpX3i+U457l2UXRDuo87hgKfgRazmu9/tQb0x2sr3Y0yrU+Zz0y+w==,
@@ -4399,7 +4399,7 @@ packages:
- typescript
dev: false
/@typescript-eslint/parser/5.9.1_eslint@7.32.0+typescript@4.6.3:
/@typescript-eslint/parser/5.9.1_hrkuebk64jiu2ut2d2sm4oylnu:
resolution:
{
integrity: sha512-PLYO0AmwD6s6n0ZQB5kqPgfvh73p0+VqopQQLuNfi7Lm0EpfKyDalchpVwkE+81k5HeiRrTV/9w1aNHzjD7C4g==,
@@ -4454,7 +4454,7 @@ packages:
"@typescript-eslint/types": 5.9.1
"@typescript-eslint/visitor-keys": 5.9.1
/@typescript-eslint/type-utils/5.9.1_eslint@7.32.0+typescript@4.6.3:
/@typescript-eslint/type-utils/5.9.1_hrkuebk64jiu2ut2d2sm4oylnu:
resolution:
{
integrity: sha512-tRSpdBnPRssjlUh35rE9ug5HrUvaB9ntREy7gPXXKwmIx61TNN7+l5YKgi1hMKxo5NvqZCfYhA5FvyuJG6X6vg==,
@@ -4467,7 +4467,7 @@ packages:
typescript:
optional: true
dependencies:
"@typescript-eslint/experimental-utils": 5.9.1_eslint@7.32.0+typescript@4.6.3
"@typescript-eslint/experimental-utils": 5.9.1_hrkuebk64jiu2ut2d2sm4oylnu
debug: 4.3.4
eslint: 7.32.0
tsutils: 3.21.0_typescript@4.6.3
@@ -7538,7 +7538,7 @@ packages:
"@rushstack/eslint-patch": 1.1.3
"@typescript-eslint/parser": 5.9.1_typescript@4.6.3
eslint-import-resolver-node: 0.3.6
eslint-import-resolver-typescript: 2.7.1_eslint-plugin-import@2.26.0
eslint-import-resolver-typescript: 2.7.1_fkfqfehjtk7sk2efaqbgxsuasa
eslint-plugin-import: 2.26.0
eslint-plugin-jsx-a11y: 6.5.1
eslint-plugin-react: 7.29.4
@@ -7568,7 +7568,7 @@ packages:
resolve: 1.22.0
dev: false
/eslint-import-resolver-typescript/2.7.1_eslint-plugin-import@2.26.0:
/eslint-import-resolver-typescript/2.7.1_fkfqfehjtk7sk2efaqbgxsuasa:
resolution:
{
integrity: sha512-00UbgGwV8bSgUv34igBDbTOtKhqoRMy9bFjNehT40bXg6585PNIct8HhXZ0SybqB9rWtXj9crcku8ndDn/gIqQ==,
@@ -9756,7 +9756,7 @@ packages:
pretty-format: 27.5.1
slash: 3.0.0
strip-json-comments: 3.1.1
ts-node: 10.7.0_2dcdb8fdc9a6e6d9aaf2aac9443a7c28
ts-node: 10.7.0_fxg3r7oju3tntkxsvleuiot4fa
transitivePeerDependencies:
- bufferutil
- canvas
@@ -11518,7 +11518,7 @@ packages:
- babel-plugin-macros
dev: false
/next/12.1.1_react-dom@18.0.0+react@18.0.0:
/next/12.1.1_zpnidt7m3osuk7shl3s4oenomq:
resolution:
{
integrity: sha512-IOfEIAgroMtsoYz6HXpDS+b5WB9WZ+MH266COXGlcpIiYSgUyJf9xV6vF+zY2RPvBJFT4fUW0EVdVnoOmTloDw==,
@@ -12863,7 +12863,7 @@ packages:
integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==,
}
/react-query/3.21.1_react-dom@18.0.0+react@18.0.0:
/react-query/3.21.1_zpnidt7m3osuk7shl3s4oenomq:
resolution:
{
integrity: sha512-aKFLfNJc/m21JBXJk7sR9tDUYPjotWA4EHAKvbZ++GgxaY+eI0tqBxXmGBuJo0Pisis1W4pZWlZgoRv9yE8yjA==,
@@ -13285,7 +13285,7 @@ packages:
dependencies:
glob: 7.2.0
/rollup-plugin-dts/4.2.1_rollup@2.70.2+typescript@4.6.3:
/rollup-plugin-dts/4.2.1_nmerszcjz2rfjina4mudxa4qka:
resolution:
{
integrity: sha512-eaxQZNUJ5iQcxNGlpJ1CUgG4OSVqWjDZ3nNSWBIoGrpcote2aNphSe1RJOaSYkb8dwn3o+rYm1vvld/5z3EGSQ==,
@@ -13302,7 +13302,7 @@ packages:
"@babel/code-frame": 7.16.7
dev: true
/rollup-plugin-esbuild/4.9.1_esbuild@0.14.36+rollup@2.70.2:
/rollup-plugin-esbuild/4.9.1_spogcnvgx2zlfpppdv5errowom:
resolution:
{
integrity: sha512-qn/x7Wz9p3Xnva99qcb+nopH0d2VJwVnsxJTGEg+Sh2Z3tqQl33MhOwzekVo1YTKgv+yAmosjcBRJygMfGrtLw==,
@@ -14496,7 +14496,7 @@ packages:
yargs-parser: 20.2.9
dev: true
/ts-node/10.7.0_2dcdb8fdc9a6e6d9aaf2aac9443a7c28:
/ts-node/10.7.0_fxg3r7oju3tntkxsvleuiot4fa:
resolution:
{
integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==,
@@ -14915,8 +14915,8 @@ packages:
pretty-bytes: 5.6.0
rimraf: 3.0.2
rollup: 2.70.2
rollup-plugin-dts: 4.2.1_rollup@2.70.2+typescript@4.6.3
rollup-plugin-esbuild: 4.9.1_esbuild@0.14.36+rollup@2.70.2
rollup-plugin-dts: 4.2.1_nmerszcjz2rfjina4mudxa4qka
rollup-plugin-esbuild: 4.9.1_spogcnvgx2zlfpppdv5errowom
scule: 0.2.1
typescript: 4.6.3
untyped: 0.3.0