Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new blitz app starter #4146

Merged
merged 115 commits into from
Jan 2, 2024
Merged

new blitz app starter #4146

merged 115 commits into from
Jan 2, 2024

Conversation

siddhsuresh
Copy link
Member

Closes: ?

What are the changes and their implications?

Bug Checklist

  • Changeset added (run pnpm changeset in the root directory)
  • Integration test added (see test docs if needed)

Feature Checklist

@siddhsuresh siddhsuresh requested a review from flybayer as a code owner May 16, 2023 10:20
@changeset-bot
Copy link

changeset-bot bot commented May 16, 2023

🦋 Changeset detected

Latest commit: bdad2fa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@blitzjs/generator Patch
blitz Patch
@blitzjs/codemod Patch
next-blitz-auth Patch
@blitzjs/auth Patch
@blitzjs/next Patch
@blitzjs/rpc Patch
@blitzjs/config Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@bravo-kernel
Copy link
Contributor

Would it be possible to keep the current (non-app) full example instead of replacing it? Not all people will be able to switch to the app variant yet, e.g. due to no proper support for i18n yet.

@siddhsuresh
Copy link
Member Author

Hey @bravo-kernel yup that's the plan. I have not yet made the required changes to the generator, where I would add the new app template as the recommended while keeping the current templates as is

@bravo-kernel
Copy link
Contributor

@siddhsuresh perfect, you are doing an amazing job !

@siddhsuresh siddhsuresh changed the base branch from main to siddharth/fix-resolve-href-not-found October 1, 2023 13:54
Copy link
Contributor

 > blitz-root@0.0.0 release /home/runner/work/blitz/blitz > cp README.md packages/blitz && pnpm build && changeset publish "--tag" "next--app-dir-template" > blitz-root@0.0.0 build /home/runner/work/blitz/blitz > turbo run build • Packages in scope: @blitzjs/auth, @blitzjs/codemod, @blitzjs/config, @blitzjs/generator, @blitzjs/next, @blitzjs/recipe-base-web, @blitzjs/recipe-bulma, @blitzjs/recipe-bumbag-ui, @blitzjs/recipe-chakra-ui, @blitzjs/recipe-emotion, @blitzjs/recipe-gh-action-yarn-mariadb, @blitzjs/recipe-gh-action-yarn-postgres, @blitzjs/recipe-ghost, @blitzjs/recipe-graphql, @blitzjs/recipe-logrocket, @blitzjs/recipe-material-ui, @blitzjs/recipe-next-ui, @blitzjs/recipe-passenger, @blitzjs/recipe-quirrel, @blitzjs/recipe-reflexjs, @blitzjs/recipe-render, @blitzjs/recipe-secureheaders, @blitzjs/recipe-stitches, @blitzjs/recipe-styled-components, @blitzjs/recipe-tailwind, @blitzjs/recipe-theme-ui, @blitzjs/recipe-vanilla-extract, @blitzjs/rpc, blitz, next-blitz-auth, template, test-app-dir, test-auth, test-full-auth-with-rpc, test-get-initial-props, test-middleware, test-no-suspense, test-qm, test-react-query-utils, test-rpc, test-rpc-path-root, test-trailing-slash, test-utils, toolkit-app, toolkit-app-passport, web • Running build in 46 packages • Remote caching disabled ::group::template:build cache miss, executing 9859c9d5a64581ad > template@0.0.0 build /home/runner/work/blitz/blitz/packages/pkg-template > unbuild [info] Building template [success] Build succeeded for template [log] dist/index-browser.cjs (size: 120 B, exports: todo) [log] dist/index-server.cjs (size: 226 B, exports: todo, todoServer) [log] dist/index-browser.mjs (size: 37 B, exports: todo) [log] dist/index-server.mjs (size: 94 B, exports: todo, todoServer) [log] ::endgroup:: ::group::@blitzjs/generator:build cache miss, executing 2839f9e478f66ac5 > @blitzjs/generator@0.0.0-app-dir-template-20231212151846 build /home/runner/work/blitz/blitz/packages/generator > unbuild && pnpm build:templates [info] Building @blitzjs/generator Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification [success] Build succeed for @blitzjs/generator [log] dist/index.cjs (size: 422 kB, exports: AppGenerator, AppValuesBuilder, Builder, ConflictChecker, FieldValuesBuilder, FormGenerator, Generator, ModelGenerator, ModelName, ModelNames, MutationGenerator, MutationsGenerator, NullBuilder, PageGenerator, QueriesGenerator, QueryGenerator, RouteGenerator, ValidationsGenerator, addSpaceBeforeCapitals, capitalize, createFieldTemplateValues, customTemplatesBlitzConfig, customTsParser, fetchAllVersions, fetchDistTags, fetchLatestDistVersion, getBlitzDependencyVersion, getConfigSrcPath, getLatestVersion, getProjectRootSync, modelName, modelNames, pluralCamel, pluralPascal, singleCamel, singlePascal, uncapitalize) [log] dist/index.mjs (size: 403 kB, exports: AppGenerator, AppValuesBuilder, Builder, ConflictChecker, FieldValuesBuilder, FormGenerator, Generator, ModelGenerator, ModelName, ModelNames, MutationGenerator, MutationsGenerator, NullBuilder, PageGenerator, QueriesGenerator, QueryGenerator, RouteGenerator, ValidationsGenerator, addSpaceBeforeCapitals, capitalize, createFieldTemplateValues, customTemplatesBlitzConfig, customTsParser, fetchAllVersions, fetchDistTags, fetchLatestDistVersion, getBlitzDependencyVersion, getConfigSrcPath, getLatestVersion, getProjectRootSync, modelName, modelNames, pluralCamel, pluralPascal, singleCamel, singlePascal, uncapitalize) [log] > @blitzjs/generator@0.0.0-app-dir-template-20231212151846 build:templates /home/runner/work/blitz/blitz/packages/generator > cpx --clean --include-hidden "templates/**" dist/templates ::endgroup:: ::group::blitz:build cache miss, executing 303c0c9de8adeb9f > blitz@0.0.0-app-dir-template-20231212151846 build /home/runner/work/blitz/blitz/packages/blitz > unbuild [info] Building blitz Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification To preserve the export signature of the entry module "src/cli/index.ts", an empty facade chunk was created. This often happens when creating a bundle for a web app where chunks are placed in script tags and exports are ignored. In this case it is recommended to set "preserveEntrySignatures: false" to avoid this and reduce the number of chunks. Otherwise if this is intentional, set "preserveEntrySignatures: 'strict'" explicitly to silence this warning. To preserve the export signature of the entry module "src/cli/index.ts", an empty facade chunk was created. This often happens when creating a bundle for a web app where chunks are placed in script tags and exports are ignored. In this case it is recommended to set "preserveEntrySignatures: false" to avoid this and reduce the number of chunks. Otherwise if this is intentional, set "preserveEntrySignatures: 'strict'" explicitly to silence this warning. [success] Build succeeded for blitz [log] dist/index-server.cjs (size: 8.19 kB, exports: AuthenticationError, AuthorizationError, BlitzLogger, BlitzServerMiddleware, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, baseLogger, chalk, compose, connectMiddleware, createClientPlugin, createServerPlugin, createSetupServer, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, findNodeModulesRoot, findNodeModulesRootSync, formatZodError, handleRequestWithMiddleware, initializeLogger, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, log, newLine, noCallbackHandler, paginate, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, reduceBlitzServerPlugins, runPrisma, secureProxyMiddleware, setCookie, startWatcher, stopWatcher, table, truncateString, validateZodSchema, withCallbackHandler) [log] dist/installer.cjs (size: 56.6 kB, exports: AddDependencyType, FileTransformType, Frontmatter, NewFileType, PrintMessageType, RecipeBuilder, RecipeExecutor, addBabelPlugin, addBabelPreset, addBlitzMiddleware, addImport, addPrismaEnum, addPrismaField, addPrismaGenerator, addPrismaModel, addPrismaModelAttribute, customTsParser, findModuleExportsExpressions, getExecutorArgument, paths, produceSchema, setPrismaDataSource, transformNextConfig, withComments, withTypeAnnotation, wrapAppWithProvider, wrapBlitzConfig) [log] dist/index-browser.cjs (size: 1.84 kB, exports: AuthenticationError, AuthorizationError, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, compose, createClientPlugin, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, formatZodError, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, setCookie, truncateString, validateZodSchema) [log] dist/index.cjs (size: 288 B, exports: ) [log] dist/index-server.mjs (size: 6.47 kB, exports: AuthenticationError, AuthorizationError, BlitzLogger, BlitzServerMiddleware, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, baseLogger, chalk, compose, connectMiddleware, createClientPlugin, createServerPlugin, createSetupServer, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, findNodeModulesRoot, findNodeModulesRootSync, formatZodError, handleRequestWithMiddleware, initializeLogger, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, log, newLine, noCallbackHandler, paginate, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, reduceBlitzServerPlugins, runPrisma, secureProxyMiddleware, setCookie, startWatcher, stopWatcher, table, truncateString, validateZodSchema, withCallbackHandler) [log] dist/installer.mjs (size: 53 kB, exports: AddDependencyType, FileTransformType, Frontmatter, NewFileType, PrintMessageType, RecipeBuilder, RecipeExecutor, addBabelPlugin, addBabelPreset, addBlitzMiddleware, addImport, addPrismaEnum, addPrismaField, addPrismaGenerator, addPrismaModel, addPrismaModelAttribute, customTsParser, findModuleExportsExpressions, getExecutorArgument, paths, produceSchema, setPrismaDataSource, transformNextConfig, withComments, withTypeAnnotation, wrapAppWithProvider, wrapBlitzConfig) [log] dist/index-browser.mjs (size: 809 B, exports: AuthenticationError, AuthorizationError, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, compose, createClientPlugin, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, formatZodError, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, setCookie, truncateString, validateZodSchema) [log] dist/index.mjs (size: 248 B, exports: ) [log] ::endgroup:: ::group::@blitzjs/codemod:build cache miss, executing c5a61f69e6432218 > @blitzjs/codemod@0.0.0-app-dir-template-20231212151846 build /home/runner/work/blitz/blitz/packages/codemod > unbuild [info] Building @blitzjs/codemod Generated an empty chunk: "index" [success] Build succeeded for @blitzjs/codemod [log] dist/index.cjs (size: 985 B, exports: ) [log] dist/index.mjs (size: 781 B, exports: ) [log] ::endgroup:: ::group::@blitzjs/auth:build cache miss, executing f41c69aa33850865 > @blitzjs/auth@0.0.0-app-dir-template-20231212151846 build /home/runner/work/blitz/blitz/packages/blitz-auth > unbuild [info] Building @blitzjs/auth [success] Build succeeded for @blitzjs/auth [log] dist/index-browser.cjs (size: 1.9 kB, exports: AuthClientPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, getAntiCSRFToken, getAuthValues, getPublicDataStore, parsePublicDataToken, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/index-server.cjs (size: 10.6 kB, exports: AuthClientPlugin, AuthServerPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, PrismaStorage, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, SessionContextClass, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, generateToken, getAllSessionHandlesForUser, getAntiCSRFToken, getAuthValues, getBlitzContext, getCookieParser, getPublicDataStore, getSession, hash256, isLocalhost, parsePublicDataToken, passportAuth, setCookie, setPublicDataForUser, simpleRolesIsAuthorized, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/secure-password.cjs (size: 2.83 kB, exports: SecurePassword) [log] dist/next-auth.cjs (size: 18.5 kB, exports: NextAuthAdapter, withNextAuthAdapter) [log] dist/index-browser.mjs (size: 891 B, exports: AuthClientPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, getAntiCSRFToken, getAuthValues, getPublicDataStore, parsePublicDataToken, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/index-server.mjs (size: 8.81 kB, exports: AuthClientPlugin, AuthServerPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, PrismaStorage, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, SessionContextClass, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, generateToken, getAllSessionHandlesForUser, getAntiCSRFToken, getAuthValues, getBlitzContext, getCookieParser, getPublicDataStore, getSession, hash256, isLocalhost, parsePublicDataToken, passportAuth, setCookie, setPublicDataForUser, simpleRolesIsAuthorized, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/secure-password.mjs (size: 2.5 kB, exports: SecurePassword) [log] dist/next-auth.mjs (size: 17.9 kB, exports: NextAuthAdapter, withNextAuthAdapter) [log] ::endgroup:: ::group::@blitzjs/rpc:build cache miss, executing 881e2fe73bca33dd > @blitzjs/rpc@0.0.0-app-dir-template-20231212151846 build /home/runner/work/blitz/blitz/packages/blitz-rpc > unbuild && node ./utils/add-directives.js [info] Building @blitzjs/rpc [success] Build succeeded for @blitzjs/rpc [log] dist/index-browser.cjs (size: 1.99 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, invalidateQuery, invoke, invokeWithCtx, normalizeApiRoute, requestIdleCallback, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/index.cjs (size: 11.8 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, dehydrate, getInfiniteQueryKey, getQueryClient, getQueryData, getQueryKey, invalidateQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary) [log] dist/index-server.cjs (size: 20.2 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, RpcServerPlugin, __internal_addBlitzRpcResolver, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, installWebpackConfig, invalidateQuery, invoke, invokeWithCtx, loadBlitzRpcResolverFilesWithInternalMechanism, normalizeApiRoute, requestIdleCallback, resolver, rpcHandler, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/loader-server.cjs (size: 4 kB, exports: collectResolvers, loader, recursiveFindResolvers, transformBlitzRpcServer) [log] dist/loader-server-resolvers.cjs (size: 2.8 kB, exports: loader, transformBlitzRpcResolverServer) [log] dist/loader-client.cjs (size: 4.59 kB, exports: loader, transformBlitzRpcResolverClient) [log] dist/index-browser.mjs (size: 904 B, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, invalidateQuery, invoke, invokeWithCtx, normalizeApiRoute, requestIdleCallback, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/index.mjs (size: 11.1 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, dehydrate, getInfiniteQueryKey, getQueryClient, getQueryData, getQueryKey, invalidateQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary) [log] dist/index-server.mjs (size: 18.7 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, RpcServerPlugin, __internal_addBlitzRpcResolver, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, installWebpackConfig, invalidateQuery, invoke, invokeWithCtx, loadBlitzRpcResolverFilesWithInternalMechanism, normalizeApiRoute, requestIdleCallback, resolver, rpcHandler, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/loader-server.mjs (size: 3.87 kB, exports: collectResolvers, loader, recursiveFindResolvers, transformBlitzRpcServer) [log] dist/loader-server-resolvers.mjs (size: 2.71 kB, exports: loader, transformBlitzRpcResolverServer) [log] dist/loader-client.mjs (size: 4.48 kB, exports: loader, transformBlitzRpcResolverClient) [log] ::endgroup:: ::group::@blitzjs/next:build cache miss, executing 7c73a31cc97b9f6e > @blitzjs/next@0.0.0-app-dir-template-20231212151846 build /home/runner/work/blitz/blitz/packages/blitz-next > unbuild && node ./utils/add-directives.js [info] Building @blitzjs/next "BlitzLogger" is imported from external module "blitz" but never used in "src/index-server.ts" and "src/index-browser.tsx". [success] Build succeeded for @blitzjs/next [log] dist/index-server.cjs (size: 8.28 kB, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, setupBlitzServer, useErrorHandler, useParam, useParams, useRouterQuery, withBlitz, withErrorBoundary) [log] dist/index-browser.cjs (size: 1.1 kB, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, useErrorHandler, useParam, useParams, useRouterQuery, withErrorBoundary) [log] dist/index-server.mjs (size: 7.82 kB, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, setupBlitzServer, useErrorHandler, useParam, useParams, useRouterQuery, withBlitz, withErrorBoundary) [log] dist/index-browser.mjs (size: 525 B, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, useErrorHandler, useParam, useParams, useRouterQuery, withErrorBoundary) [log] ::endgroup:: Tasks: 7 successful, 7 total Cached: 0 cached, 7 total Time: 30.519s 🦋 warn ===============================IMPORTANT!=============================== 🦋 warn You are in prerelease mode so packages will be published to the beta 🦋 warn dist tag except for packages that have not had normal releases which will be published to latest 🦋 warn ---------------------------------------------------------------------- 🦋 info npm info blitz 🦋 info npm info @blitzjs/auth 🦋 info npm info @blitzjs/next 🦋 info npm info @blitzjs/rpc 🦋 info npm info @blitzjs/codemod 🦋 info npm info @blitzjs/generator 🦋 info blitz is being published because our local version (0.0.0-app-dir-template-20231212151846) has not been published on npm 🦋 info @blitzjs/auth is being published because our local version (0.0.0-app-dir-template-20231212151846) has not been published on npm 🦋 info @blitzjs/next is being published because our local version (0.0.0-app-dir-template-20231212151846) has not been published on npm 🦋 info @blitzjs/rpc is being published because our local version (0.0.0-app-dir-template-20231212151846) has not been published on npm 🦋 info @blitzjs/codemod is being published because our local version (0.0.0-app-dir-template-20231212151846) has not been published on npm 🦋 info @blitzjs/generator is being published because our local version (0.0.0-app-dir-template-20231212151846) has not been published on npm 🦋 info Publishing "blitz" at "0.0.0-app-dir-template-20231212151846" 🦋 info Publishing "@blitzjs/auth" at "0.0.0-app-dir-template-20231212151846" 🦋 info Publishing "@blitzjs/next" at "0.0.0-app-dir-template-20231212151846" 🦋 info Publishing "@blitzjs/rpc" at "0.0.0-app-dir-template-20231212151846" 🦋 info Publishing "@blitzjs/codemod" at "0.0.0-app-dir-template-20231212151846" 🦋 info Publishing "@blitzjs/generator" at "0.0.0-app-dir-template-20231212151846" 🦋 success packages published successfully: 🦋 blitz@0.0.0-app-dir-template-20231212151846 🦋 @blitzjs/auth@0.0.0-app-dir-template-20231212151846 🦋 @blitzjs/next@0.0.0-app-dir-template-20231212151846 🦋 @blitzjs/rpc@0.0.0-app-dir-template-20231212151846 🦋 @blitzjs/codemod@0.0.0-app-dir-template-20231212151846 🦋 @blitzjs/generator@0.0.0-app-dir-template-20231212151846 🦋 Creating git tags... 🦋 New tag: blitz@0.0.0-app-dir-template-20231212151846 🦋 New tag: @blitzjs/auth@0.0.0-app-dir-template-20231212151846 🦋 New tag: @blitzjs/next@0.0.0-app-dir-template-20231212151846 🦋 New tag: @blitzjs/rpc@0.0.0-app-dir-template-20231212151846 🦋 New tag: @blitzjs/codemod@0.0.0-app-dir-template-20231212151846 🦋 New tag: @blitzjs/generator@0.0.0-app-dir-template-20231212151846

@siddhsuresh
Copy link
Member Author

!preview app-dir-template

Copy link
Contributor

 > blitz-root@0.0.0 release /home/runner/work/blitz/blitz > cp README.md packages/blitz && pnpm build && changeset publish "--tag" "next--app-dir-template" > blitz-root@0.0.0 build /home/runner/work/blitz/blitz > turbo run build • Packages in scope: @blitzjs/auth, @blitzjs/codemod, @blitzjs/config, @blitzjs/generator, @blitzjs/next, @blitzjs/recipe-base-web, @blitzjs/recipe-bulma, @blitzjs/recipe-bumbag-ui, @blitzjs/recipe-chakra-ui, @blitzjs/recipe-emotion, @blitzjs/recipe-gh-action-yarn-mariadb, @blitzjs/recipe-gh-action-yarn-postgres, @blitzjs/recipe-ghost, @blitzjs/recipe-graphql, @blitzjs/recipe-logrocket, @blitzjs/recipe-material-ui, @blitzjs/recipe-next-ui, @blitzjs/recipe-passenger, @blitzjs/recipe-quirrel, @blitzjs/recipe-reflexjs, @blitzjs/recipe-render, @blitzjs/recipe-secureheaders, @blitzjs/recipe-stitches, @blitzjs/recipe-styled-components, @blitzjs/recipe-tailwind, @blitzjs/recipe-theme-ui, @blitzjs/recipe-vanilla-extract, @blitzjs/rpc, blitz, next-blitz-auth, template, test-app-dir, test-auth, test-full-auth-with-rpc, test-get-initial-props, test-middleware, test-no-suspense, test-qm, test-react-query-utils, test-rpc, test-rpc-path-root, test-trailing-slash, test-utils, toolkit-app, toolkit-app-passport, web • Running build in 46 packages • Remote caching disabled ::group::template:build cache miss, executing 26a7ecfa30445535 > template@0.0.0 build /home/runner/work/blitz/blitz/packages/pkg-template > unbuild [info] Building template [success] Build succeeded for template [log] dist/index-browser.cjs (size: 120 B, exports: todo) [log] dist/index-server.cjs (size: 226 B, exports: todo, todoServer) [log] dist/index-browser.mjs (size: 37 B, exports: todo) [log] dist/index-server.mjs (size: 94 B, exports: todo, todoServer) [log] ::endgroup:: ::group::@blitzjs/generator:build cache miss, executing 2627054b7f1a066f > @blitzjs/generator@0.0.0-app-dir-template-20231212153450 build /home/runner/work/blitz/blitz/packages/generator > unbuild && pnpm build:templates [info] Building @blitzjs/generator Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification [success] Build succeed for @blitzjs/generator [log] dist/index.cjs (size: 422 kB, exports: AppGenerator, AppValuesBuilder, Builder, ConflictChecker, FieldValuesBuilder, FormGenerator, Generator, ModelGenerator, ModelName, ModelNames, MutationGenerator, MutationsGenerator, NullBuilder, PageGenerator, QueriesGenerator, QueryGenerator, RouteGenerator, ValidationsGenerator, addSpaceBeforeCapitals, capitalize, createFieldTemplateValues, customTemplatesBlitzConfig, customTsParser, fetchAllVersions, fetchDistTags, fetchLatestDistVersion, getBlitzDependencyVersion, getConfigSrcPath, getLatestVersion, getProjectRootSync, modelName, modelNames, pluralCamel, pluralPascal, singleCamel, singlePascal, uncapitalize) [log] dist/index.mjs (size: 403 kB, exports: AppGenerator, AppValuesBuilder, Builder, ConflictChecker, FieldValuesBuilder, FormGenerator, Generator, ModelGenerator, ModelName, ModelNames, MutationGenerator, MutationsGenerator, NullBuilder, PageGenerator, QueriesGenerator, QueryGenerator, RouteGenerator, ValidationsGenerator, addSpaceBeforeCapitals, capitalize, createFieldTemplateValues, customTemplatesBlitzConfig, customTsParser, fetchAllVersions, fetchDistTags, fetchLatestDistVersion, getBlitzDependencyVersion, getConfigSrcPath, getLatestVersion, getProjectRootSync, modelName, modelNames, pluralCamel, pluralPascal, singleCamel, singlePascal, uncapitalize) [log] > @blitzjs/generator@0.0.0-app-dir-template-20231212153450 build:templates /home/runner/work/blitz/blitz/packages/generator > cpx --clean --include-hidden "templates/**" dist/templates ::endgroup:: ::group::blitz:build cache miss, executing 53ce9754ade5e54c > blitz@0.0.0-app-dir-template-20231212153450 build /home/runner/work/blitz/blitz/packages/blitz > unbuild [info] Building blitz Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification To preserve the export signature of the entry module "src/cli/index.ts", an empty facade chunk was created. This often happens when creating a bundle for a web app where chunks are placed in script tags and exports are ignored. In this case it is recommended to set "preserveEntrySignatures: false" to avoid this and reduce the number of chunks. Otherwise if this is intentional, set "preserveEntrySignatures: 'strict'" explicitly to silence this warning. To preserve the export signature of the entry module "src/cli/index.ts", an empty facade chunk was created. This often happens when creating a bundle for a web app where chunks are placed in script tags and exports are ignored. In this case it is recommended to set "preserveEntrySignatures: false" to avoid this and reduce the number of chunks. Otherwise if this is intentional, set "preserveEntrySignatures: 'strict'" explicitly to silence this warning. [success] Build succeeded for blitz [log] dist/index-server.cjs (size: 8.19 kB, exports: AuthenticationError, AuthorizationError, BlitzLogger, BlitzServerMiddleware, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, baseLogger, chalk, compose, connectMiddleware, createClientPlugin, createServerPlugin, createSetupServer, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, findNodeModulesRoot, findNodeModulesRootSync, formatZodError, handleRequestWithMiddleware, initializeLogger, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, log, newLine, noCallbackHandler, paginate, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, reduceBlitzServerPlugins, runPrisma, secureProxyMiddleware, setCookie, startWatcher, stopWatcher, table, truncateString, validateZodSchema, withCallbackHandler) [log] dist/installer.cjs (size: 56.6 kB, exports: AddDependencyType, FileTransformType, Frontmatter, NewFileType, PrintMessageType, RecipeBuilder, RecipeExecutor, addBabelPlugin, addBabelPreset, addBlitzMiddleware, addImport, addPrismaEnum, addPrismaField, addPrismaGenerator, addPrismaModel, addPrismaModelAttribute, customTsParser, findModuleExportsExpressions, getExecutorArgument, paths, produceSchema, setPrismaDataSource, transformNextConfig, withComments, withTypeAnnotation, wrapAppWithProvider, wrapBlitzConfig) [log] dist/index-browser.cjs (size: 1.84 kB, exports: AuthenticationError, AuthorizationError, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, compose, createClientPlugin, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, formatZodError, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, setCookie, truncateString, validateZodSchema) [log] dist/index.cjs (size: 288 B, exports: ) [log] dist/index-server.mjs (size: 6.47 kB, exports: AuthenticationError, AuthorizationError, BlitzLogger, BlitzServerMiddleware, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, baseLogger, chalk, compose, connectMiddleware, createClientPlugin, createServerPlugin, createSetupServer, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, findNodeModulesRoot, findNodeModulesRootSync, formatZodError, handleRequestWithMiddleware, initializeLogger, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, log, newLine, noCallbackHandler, paginate, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, reduceBlitzServerPlugins, runPrisma, secureProxyMiddleware, setCookie, startWatcher, stopWatcher, table, truncateString, validateZodSchema, withCallbackHandler) [log] dist/installer.mjs (size: 53 kB, exports: AddDependencyType, FileTransformType, Frontmatter, NewFileType, PrintMessageType, RecipeBuilder, RecipeExecutor, addBabelPlugin, addBabelPreset, addBlitzMiddleware, addImport, addPrismaEnum, addPrismaField, addPrismaGenerator, addPrismaModel, addPrismaModelAttribute, customTsParser, findModuleExportsExpressions, getExecutorArgument, paths, produceSchema, setPrismaDataSource, transformNextConfig, withComments, withTypeAnnotation, wrapAppWithProvider, wrapBlitzConfig) [log] dist/index-browser.mjs (size: 809 B, exports: AuthenticationError, AuthorizationError, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, compose, createClientPlugin, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, formatZodError, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, setCookie, truncateString, validateZodSchema) [log] dist/index.mjs (size: 248 B, exports: ) [log] ::endgroup:: ::group::@blitzjs/codemod:build cache miss, executing 12ccabbe8b5acd51 > @blitzjs/codemod@0.0.0-app-dir-template-20231212153450 build /home/runner/work/blitz/blitz/packages/codemod > unbuild [info] Building @blitzjs/codemod Generated an empty chunk: "index" [success] Build succeeded for @blitzjs/codemod [log] dist/index.cjs (size: 985 B, exports: ) [log] dist/index.mjs (size: 781 B, exports: ) [log] ::endgroup:: ::group::@blitzjs/auth:build cache miss, executing 329ca5a9316880b4 > @blitzjs/auth@0.0.0-app-dir-template-20231212153450 build /home/runner/work/blitz/blitz/packages/blitz-auth > unbuild [info] Building @blitzjs/auth [success] Build succeeded for @blitzjs/auth [log] dist/index-browser.cjs (size: 1.9 kB, exports: AuthClientPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, getAntiCSRFToken, getAuthValues, getPublicDataStore, parsePublicDataToken, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/index-server.cjs (size: 10.6 kB, exports: AuthClientPlugin, AuthServerPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, PrismaStorage, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, SessionContextClass, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, generateToken, getAllSessionHandlesForUser, getAntiCSRFToken, getAuthValues, getBlitzContext, getCookieParser, getPublicDataStore, getSession, hash256, isLocalhost, parsePublicDataToken, passportAuth, setCookie, setPublicDataForUser, simpleRolesIsAuthorized, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/secure-password.cjs (size: 2.83 kB, exports: SecurePassword) [log] dist/next-auth.cjs (size: 18.5 kB, exports: NextAuthAdapter, withNextAuthAdapter) [log] dist/index-browser.mjs (size: 891 B, exports: AuthClientPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, getAntiCSRFToken, getAuthValues, getPublicDataStore, parsePublicDataToken, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/index-server.mjs (size: 8.81 kB, exports: AuthClientPlugin, AuthServerPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, PrismaStorage, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, SessionContextClass, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, generateToken, getAllSessionHandlesForUser, getAntiCSRFToken, getAuthValues, getBlitzContext, getCookieParser, getPublicDataStore, getSession, hash256, isLocalhost, parsePublicDataToken, passportAuth, setCookie, setPublicDataForUser, simpleRolesIsAuthorized, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/secure-password.mjs (size: 2.5 kB, exports: SecurePassword) [log] dist/next-auth.mjs (size: 17.9 kB, exports: NextAuthAdapter, withNextAuthAdapter) [log] ::endgroup:: ::group::@blitzjs/rpc:build cache miss, executing c6cee6826b735591 > @blitzjs/rpc@0.0.0-app-dir-template-20231212153450 build /home/runner/work/blitz/blitz/packages/blitz-rpc > unbuild && node ./utils/add-directives.js [info] Building @blitzjs/rpc [success] Build succeeded for @blitzjs/rpc [log] dist/index-browser.cjs (size: 1.99 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, invalidateQuery, invoke, invokeWithCtx, normalizeApiRoute, requestIdleCallback, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/index.cjs (size: 11.8 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, dehydrate, getInfiniteQueryKey, getQueryClient, getQueryData, getQueryKey, invalidateQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary) [log] dist/index-server.cjs (size: 20.2 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, RpcServerPlugin, __internal_addBlitzRpcResolver, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, installWebpackConfig, invalidateQuery, invoke, invokeWithCtx, loadBlitzRpcResolverFilesWithInternalMechanism, normalizeApiRoute, requestIdleCallback, resolver, rpcHandler, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/loader-server.cjs (size: 4 kB, exports: collectResolvers, loader, recursiveFindResolvers, transformBlitzRpcServer) [log] dist/loader-server-resolvers.cjs (size: 2.8 kB, exports: loader, transformBlitzRpcResolverServer) [log] dist/loader-client.cjs (size: 4.59 kB, exports: loader, transformBlitzRpcResolverClient) [log] dist/index-browser.mjs (size: 904 B, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, invalidateQuery, invoke, invokeWithCtx, normalizeApiRoute, requestIdleCallback, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/index.mjs (size: 11.1 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, dehydrate, getInfiniteQueryKey, getQueryClient, getQueryData, getQueryKey, invalidateQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary) [log] dist/index-server.mjs (size: 18.7 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, RpcServerPlugin, __internal_addBlitzRpcResolver, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, installWebpackConfig, invalidateQuery, invoke, invokeWithCtx, loadBlitzRpcResolverFilesWithInternalMechanism, normalizeApiRoute, requestIdleCallback, resolver, rpcHandler, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/loader-server.mjs (size: 3.87 kB, exports: collectResolvers, loader, recursiveFindResolvers, transformBlitzRpcServer) [log] dist/loader-server-resolvers.mjs (size: 2.71 kB, exports: loader, transformBlitzRpcResolverServer) [log] dist/loader-client.mjs (size: 4.48 kB, exports: loader, transformBlitzRpcResolverClient) [log] ::endgroup:: ::group::@blitzjs/next:build cache miss, executing 630dcf823a206663 > @blitzjs/next@0.0.0-app-dir-template-20231212153450 build /home/runner/work/blitz/blitz/packages/blitz-next > unbuild && node ./utils/add-directives.js [info] Building @blitzjs/next "BlitzLogger" is imported from external module "blitz" but never used in "src/index-server.ts" and "src/index-browser.tsx". [success] Build succeeded for @blitzjs/next [log] dist/index-server.cjs (size: 8.28 kB, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, setupBlitzServer, useErrorHandler, useParam, useParams, useRouterQuery, withBlitz, withErrorBoundary) [log] dist/index-browser.cjs (size: 1.1 kB, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, useErrorHandler, useParam, useParams, useRouterQuery, withErrorBoundary) [log] dist/index-server.mjs (size: 7.82 kB, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, setupBlitzServer, useErrorHandler, useParam, useParams, useRouterQuery, withBlitz, withErrorBoundary) [log] dist/index-browser.mjs (size: 525 B, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, useErrorHandler, useParam, useParams, useRouterQuery, withErrorBoundary) [log] ::endgroup:: Tasks: 7 successful, 7 total Cached: 0 cached, 7 total Time: 31.193s 🦋 warn ===============================IMPORTANT!=============================== 🦋 warn You are in prerelease mode so packages will be published to the beta 🦋 warn dist tag except for packages that have not had normal releases which will be published to latest 🦋 warn ---------------------------------------------------------------------- 🦋 info npm info blitz 🦋 info npm info @blitzjs/auth 🦋 info npm info @blitzjs/next 🦋 info npm info @blitzjs/rpc 🦋 info npm info @blitzjs/codemod 🦋 info npm info @blitzjs/generator 🦋 info blitz is being published because our local version (0.0.0-app-dir-template-20231212153450) has not been published on npm 🦋 info @blitzjs/auth is being published because our local version (0.0.0-app-dir-template-20231212153450) has not been published on npm 🦋 info @blitzjs/next is being published because our local version (0.0.0-app-dir-template-20231212153450) has not been published on npm 🦋 info @blitzjs/rpc is being published because our local version (0.0.0-app-dir-template-20231212153450) has not been published on npm 🦋 info @blitzjs/codemod is being published because our local version (0.0.0-app-dir-template-20231212153450) has not been published on npm 🦋 info @blitzjs/generator is being published because our local version (0.0.0-app-dir-template-20231212153450) has not been published on npm 🦋 info Publishing "blitz" at "0.0.0-app-dir-template-20231212153450" 🦋 info Publishing "@blitzjs/auth" at "0.0.0-app-dir-template-20231212153450" 🦋 info Publishing "@blitzjs/next" at "0.0.0-app-dir-template-20231212153450" 🦋 info Publishing "@blitzjs/rpc" at "0.0.0-app-dir-template-20231212153450" 🦋 info Publishing "@blitzjs/codemod" at "0.0.0-app-dir-template-20231212153450" 🦋 info Publishing "@blitzjs/generator" at "0.0.0-app-dir-template-20231212153450" 🦋 success packages published successfully: 🦋 blitz@0.0.0-app-dir-template-20231212153450 🦋 @blitzjs/auth@0.0.0-app-dir-template-20231212153450 🦋 @blitzjs/next@0.0.0-app-dir-template-20231212153450 🦋 @blitzjs/rpc@0.0.0-app-dir-template-20231212153450 🦋 @blitzjs/codemod@0.0.0-app-dir-template-20231212153450 🦋 @blitzjs/generator@0.0.0-app-dir-template-20231212153450 🦋 Creating git tags... 🦋 New tag: blitz@0.0.0-app-dir-template-20231212153450 🦋 New tag: @blitzjs/auth@0.0.0-app-dir-template-20231212153450 🦋 New tag: @blitzjs/next@0.0.0-app-dir-template-20231212153450 🦋 New tag: @blitzjs/rpc@0.0.0-app-dir-template-20231212153450 🦋 New tag: @blitzjs/codemod@0.0.0-app-dir-template-20231212153450 🦋 New tag: @blitzjs/generator@0.0.0-app-dir-template-20231212153450

@siddhsuresh
Copy link
Member Author

!preview app-dir-template

Copy link
Contributor

 > blitz-root@0.0.0 release /home/runner/work/blitz/blitz > cp README.md packages/blitz && pnpm build && changeset publish "--tag" "next--app-dir-template" > blitz-root@0.0.0 build /home/runner/work/blitz/blitz > turbo run build • Packages in scope: @blitzjs/auth, @blitzjs/codemod, @blitzjs/config, @blitzjs/generator, @blitzjs/next, @blitzjs/recipe-base-web, @blitzjs/recipe-bulma, @blitzjs/recipe-bumbag-ui, @blitzjs/recipe-chakra-ui, @blitzjs/recipe-emotion, @blitzjs/recipe-gh-action-yarn-mariadb, @blitzjs/recipe-gh-action-yarn-postgres, @blitzjs/recipe-ghost, @blitzjs/recipe-graphql, @blitzjs/recipe-logrocket, @blitzjs/recipe-material-ui, @blitzjs/recipe-next-ui, @blitzjs/recipe-passenger, @blitzjs/recipe-quirrel, @blitzjs/recipe-reflexjs, @blitzjs/recipe-render, @blitzjs/recipe-secureheaders, @blitzjs/recipe-stitches, @blitzjs/recipe-styled-components, @blitzjs/recipe-tailwind, @blitzjs/recipe-theme-ui, @blitzjs/recipe-vanilla-extract, @blitzjs/rpc, blitz, next-blitz-auth, template, test-app-dir, test-auth, test-full-auth-with-rpc, test-get-initial-props, test-middleware, test-no-suspense, test-qm, test-react-query-utils, test-rpc, test-rpc-path-root, test-trailing-slash, test-utils, toolkit-app, toolkit-app-passport, web • Running build in 46 packages • Remote caching disabled ::group::template:build cache miss, executing 5cb64c38be53ae00 > template@0.0.0 build /home/runner/work/blitz/blitz/packages/pkg-template > unbuild [info] Building template [success] Build succeeded for template [log] dist/index-browser.cjs (size: 120 B, exports: todo) [log] dist/index-server.cjs (size: 226 B, exports: todo, todoServer) [log] dist/index-browser.mjs (size: 37 B, exports: todo) [log] dist/index-server.mjs (size: 94 B, exports: todo, todoServer) [log] ::endgroup:: ::group::@blitzjs/generator:build cache miss, executing 080b1570eaf2260d > @blitzjs/generator@0.0.0-app-dir-template-20231212154221 build /home/runner/work/blitz/blitz/packages/generator > unbuild && pnpm build:templates [info] Building @blitzjs/generator Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification [success] Build succeed for @blitzjs/generator [log] dist/index.cjs (size: 422 kB, exports: AppGenerator, AppValuesBuilder, Builder, ConflictChecker, FieldValuesBuilder, FormGenerator, Generator, ModelGenerator, ModelName, ModelNames, MutationGenerator, MutationsGenerator, NullBuilder, PageGenerator, QueriesGenerator, QueryGenerator, RouteGenerator, ValidationsGenerator, addSpaceBeforeCapitals, capitalize, createFieldTemplateValues, customTemplatesBlitzConfig, customTsParser, fetchAllVersions, fetchDistTags, fetchLatestDistVersion, getBlitzDependencyVersion, getConfigSrcPath, getLatestVersion, getProjectRootSync, modelName, modelNames, pluralCamel, pluralPascal, singleCamel, singlePascal, uncapitalize) [log] dist/index.mjs (size: 403 kB, exports: AppGenerator, AppValuesBuilder, Builder, ConflictChecker, FieldValuesBuilder, FormGenerator, Generator, ModelGenerator, ModelName, ModelNames, MutationGenerator, MutationsGenerator, NullBuilder, PageGenerator, QueriesGenerator, QueryGenerator, RouteGenerator, ValidationsGenerator, addSpaceBeforeCapitals, capitalize, createFieldTemplateValues, customTemplatesBlitzConfig, customTsParser, fetchAllVersions, fetchDistTags, fetchLatestDistVersion, getBlitzDependencyVersion, getConfigSrcPath, getLatestVersion, getProjectRootSync, modelName, modelNames, pluralCamel, pluralPascal, singleCamel, singlePascal, uncapitalize) [log] > @blitzjs/generator@0.0.0-app-dir-template-20231212154221 build:templates /home/runner/work/blitz/blitz/packages/generator > cpx --clean --include-hidden "templates/**" dist/templates ::endgroup:: ::group::blitz:build cache miss, executing f8ac99b89e9b1165 > blitz@0.0.0-app-dir-template-20231212154221 build /home/runner/work/blitz/blitz/packages/blitz > unbuild [info] Building blitz Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification To preserve the export signature of the entry module "src/cli/index.ts", an empty facade chunk was created. This often happens when creating a bundle for a web app where chunks are placed in script tags and exports are ignored. In this case it is recommended to set "preserveEntrySignatures: false" to avoid this and reduce the number of chunks. Otherwise if this is intentional, set "preserveEntrySignatures: 'strict'" explicitly to silence this warning. To preserve the export signature of the entry module "src/cli/index.ts", an empty facade chunk was created. This often happens when creating a bundle for a web app where chunks are placed in script tags and exports are ignored. In this case it is recommended to set "preserveEntrySignatures: false" to avoid this and reduce the number of chunks. Otherwise if this is intentional, set "preserveEntrySignatures: 'strict'" explicitly to silence this warning. [success] Build succeeded for blitz [log] dist/index-server.cjs (size: 8.19 kB, exports: AuthenticationError, AuthorizationError, BlitzLogger, BlitzServerMiddleware, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, baseLogger, chalk, compose, connectMiddleware, createClientPlugin, createServerPlugin, createSetupServer, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, findNodeModulesRoot, findNodeModulesRootSync, formatZodError, handleRequestWithMiddleware, initializeLogger, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, log, newLine, noCallbackHandler, paginate, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, reduceBlitzServerPlugins, runPrisma, secureProxyMiddleware, setCookie, startWatcher, stopWatcher, table, truncateString, validateZodSchema, withCallbackHandler) [log] dist/installer.cjs (size: 56.6 kB, exports: AddDependencyType, FileTransformType, Frontmatter, NewFileType, PrintMessageType, RecipeBuilder, RecipeExecutor, addBabelPlugin, addBabelPreset, addBlitzMiddleware, addImport, addPrismaEnum, addPrismaField, addPrismaGenerator, addPrismaModel, addPrismaModelAttribute, customTsParser, findModuleExportsExpressions, getExecutorArgument, paths, produceSchema, setPrismaDataSource, transformNextConfig, withComments, withTypeAnnotation, wrapAppWithProvider, wrapBlitzConfig) [log] dist/index-browser.cjs (size: 1.84 kB, exports: AuthenticationError, AuthorizationError, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, compose, createClientPlugin, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, formatZodError, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, setCookie, truncateString, validateZodSchema) [log] dist/index.cjs (size: 288 B, exports: ) [log] dist/index-server.mjs (size: 6.47 kB, exports: AuthenticationError, AuthorizationError, BlitzLogger, BlitzServerMiddleware, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, baseLogger, chalk, compose, connectMiddleware, createClientPlugin, createServerPlugin, createSetupServer, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, findNodeModulesRoot, findNodeModulesRootSync, formatZodError, handleRequestWithMiddleware, initializeLogger, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, log, newLine, noCallbackHandler, paginate, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, reduceBlitzServerPlugins, runPrisma, secureProxyMiddleware, setCookie, startWatcher, stopWatcher, table, truncateString, validateZodSchema, withCallbackHandler) [log] dist/installer.mjs (size: 53 kB, exports: AddDependencyType, FileTransformType, Frontmatter, NewFileType, PrintMessageType, RecipeBuilder, RecipeExecutor, addBabelPlugin, addBabelPreset, addBlitzMiddleware, addImport, addPrismaEnum, addPrismaField, addPrismaGenerator, addPrismaModel, addPrismaModelAttribute, customTsParser, findModuleExportsExpressions, getExecutorArgument, paths, produceSchema, setPrismaDataSource, transformNextConfig, withComments, withTypeAnnotation, wrapAppWithProvider, wrapBlitzConfig) [log] dist/index-browser.mjs (size: 809 B, exports: AuthenticationError, AuthorizationError, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, compose, createClientPlugin, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, formatZodError, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, setCookie, truncateString, validateZodSchema) [log] dist/index.mjs (size: 248 B, exports: ) [log] ::endgroup:: ::group::@blitzjs/codemod:build cache miss, executing 3b0543f7af830083 > @blitzjs/codemod@0.0.0-app-dir-template-20231212154221 build /home/runner/work/blitz/blitz/packages/codemod > unbuild [info] Building @blitzjs/codemod Generated an empty chunk: "index" [success] Build succeeded for @blitzjs/codemod [log] dist/index.cjs (size: 985 B, exports: ) [log] dist/index.mjs (size: 781 B, exports: ) [log] ::endgroup:: ::group::@blitzjs/auth:build cache miss, executing 4e6029f21950d28b > @blitzjs/auth@0.0.0-app-dir-template-20231212154221 build /home/runner/work/blitz/blitz/packages/blitz-auth > unbuild [info] Building @blitzjs/auth [success] Build succeeded for @blitzjs/auth [log] dist/index-browser.cjs (size: 1.9 kB, exports: AuthClientPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, getAntiCSRFToken, getAuthValues, getPublicDataStore, parsePublicDataToken, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/index-server.cjs (size: 10.6 kB, exports: AuthClientPlugin, AuthServerPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, PrismaStorage, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, SessionContextClass, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, generateToken, getAllSessionHandlesForUser, getAntiCSRFToken, getAuthValues, getBlitzContext, getCookieParser, getPublicDataStore, getSession, hash256, isLocalhost, parsePublicDataToken, passportAuth, setCookie, setPublicDataForUser, simpleRolesIsAuthorized, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/secure-password.cjs (size: 2.83 kB, exports: SecurePassword) [log] dist/next-auth.cjs (size: 18.5 kB, exports: NextAuthAdapter, withNextAuthAdapter) [log] dist/index-browser.mjs (size: 891 B, exports: AuthClientPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, getAntiCSRFToken, getAuthValues, getPublicDataStore, parsePublicDataToken, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/index-server.mjs (size: 8.81 kB, exports: AuthClientPlugin, AuthServerPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, PrismaStorage, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, SessionContextClass, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, generateToken, getAllSessionHandlesForUser, getAntiCSRFToken, getAuthValues, getBlitzContext, getCookieParser, getPublicDataStore, getSession, hash256, isLocalhost, parsePublicDataToken, passportAuth, setCookie, setPublicDataForUser, simpleRolesIsAuthorized, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/secure-password.mjs (size: 2.5 kB, exports: SecurePassword) [log] dist/next-auth.mjs (size: 17.9 kB, exports: NextAuthAdapter, withNextAuthAdapter) [log] ::endgroup:: ::group::@blitzjs/rpc:build cache miss, executing ce26813b05c397d6 > @blitzjs/rpc@0.0.0-app-dir-template-20231212154221 build /home/runner/work/blitz/blitz/packages/blitz-rpc > unbuild && node ./utils/add-directives.js [info] Building @blitzjs/rpc [success] Build succeeded for @blitzjs/rpc [log] dist/index-browser.cjs (size: 1.99 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, invalidateQuery, invoke, invokeWithCtx, normalizeApiRoute, requestIdleCallback, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/index.cjs (size: 11.8 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, dehydrate, getInfiniteQueryKey, getQueryClient, getQueryData, getQueryKey, invalidateQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary) [log] dist/index-server.cjs (size: 20.2 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, RpcServerPlugin, __internal_addBlitzRpcResolver, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, installWebpackConfig, invalidateQuery, invoke, invokeWithCtx, loadBlitzRpcResolverFilesWithInternalMechanism, normalizeApiRoute, requestIdleCallback, resolver, rpcHandler, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/loader-server.cjs (size: 4 kB, exports: collectResolvers, loader, recursiveFindResolvers, transformBlitzRpcServer) [log] dist/loader-server-resolvers.cjs (size: 2.8 kB, exports: loader, transformBlitzRpcResolverServer) [log] dist/loader-client.cjs (size: 4.59 kB, exports: loader, transformBlitzRpcResolverClient) [log] dist/index-browser.mjs (size: 904 B, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, invalidateQuery, invoke, invokeWithCtx, normalizeApiRoute, requestIdleCallback, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/index.mjs (size: 11.1 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, dehydrate, getInfiniteQueryKey, getQueryClient, getQueryData, getQueryKey, invalidateQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary) [log] dist/index-server.mjs (size: 18.7 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, RpcServerPlugin, __internal_addBlitzRpcResolver, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, installWebpackConfig, invalidateQuery, invoke, invokeWithCtx, loadBlitzRpcResolverFilesWithInternalMechanism, normalizeApiRoute, requestIdleCallback, resolver, rpcHandler, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/loader-server.mjs (size: 3.87 kB, exports: collectResolvers, loader, recursiveFindResolvers, transformBlitzRpcServer) [log] dist/loader-server-resolvers.mjs (size: 2.71 kB, exports: loader, transformBlitzRpcResolverServer) [log] dist/loader-client.mjs (size: 4.48 kB, exports: loader, transformBlitzRpcResolverClient) [log] ::endgroup:: ::group::@blitzjs/next:build cache miss, executing 66171684db092713 > @blitzjs/next@0.0.0-app-dir-template-20231212154221 build /home/runner/work/blitz/blitz/packages/blitz-next > unbuild && node ./utils/add-directives.js [info] Building @blitzjs/next "BlitzLogger" is imported from external module "blitz" but never used in "src/index-server.ts" and "src/index-browser.tsx". [success] Build succeeded for @blitzjs/next [log] dist/index-server.cjs (size: 8.28 kB, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, setupBlitzServer, useErrorHandler, useParam, useParams, useRouterQuery, withBlitz, withErrorBoundary) [log] dist/index-browser.cjs (size: 1.1 kB, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, useErrorHandler, useParam, useParams, useRouterQuery, withErrorBoundary) [log] dist/index-server.mjs (size: 7.82 kB, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, setupBlitzServer, useErrorHandler, useParam, useParams, useRouterQuery, withBlitz, withErrorBoundary) [log] dist/index-browser.mjs (size: 525 B, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, useErrorHandler, useParam, useParams, useRouterQuery, withErrorBoundary) [log] ::endgroup:: Tasks: 7 successful, 7 total Cached: 0 cached, 7 total Time: 31.246s 🦋 warn ===============================IMPORTANT!=============================== 🦋 warn You are in prerelease mode so packages will be published to the beta 🦋 warn dist tag except for packages that have not had normal releases which will be published to latest 🦋 warn ---------------------------------------------------------------------- 🦋 info npm info blitz 🦋 info npm info @blitzjs/auth 🦋 info npm info @blitzjs/next 🦋 info npm info @blitzjs/rpc 🦋 info npm info @blitzjs/codemod 🦋 info npm info @blitzjs/generator 🦋 info blitz is being published because our local version (0.0.0-app-dir-template-20231212154221) has not been published on npm 🦋 info @blitzjs/auth is being published because our local version (0.0.0-app-dir-template-20231212154221) has not been published on npm 🦋 info @blitzjs/next is being published because our local version (0.0.0-app-dir-template-20231212154221) has not been published on npm 🦋 info @blitzjs/rpc is being published because our local version (0.0.0-app-dir-template-20231212154221) has not been published on npm 🦋 info @blitzjs/codemod is being published because our local version (0.0.0-app-dir-template-20231212154221) has not been published on npm 🦋 info @blitzjs/generator is being published because our local version (0.0.0-app-dir-template-20231212154221) has not been published on npm 🦋 info Publishing "blitz" at "0.0.0-app-dir-template-20231212154221" 🦋 info Publishing "@blitzjs/auth" at "0.0.0-app-dir-template-20231212154221" 🦋 info Publishing "@blitzjs/next" at "0.0.0-app-dir-template-20231212154221" 🦋 info Publishing "@blitzjs/rpc" at "0.0.0-app-dir-template-20231212154221" 🦋 info Publishing "@blitzjs/codemod" at "0.0.0-app-dir-template-20231212154221" 🦋 info Publishing "@blitzjs/generator" at "0.0.0-app-dir-template-20231212154221" 🦋 success packages published successfully: 🦋 blitz@0.0.0-app-dir-template-20231212154221 🦋 @blitzjs/auth@0.0.0-app-dir-template-20231212154221 🦋 @blitzjs/next@0.0.0-app-dir-template-20231212154221 🦋 @blitzjs/rpc@0.0.0-app-dir-template-20231212154221 🦋 @blitzjs/codemod@0.0.0-app-dir-template-20231212154221 🦋 @blitzjs/generator@0.0.0-app-dir-template-20231212154221 🦋 Creating git tags... 🦋 New tag: blitz@0.0.0-app-dir-template-20231212154221 🦋 New tag: @blitzjs/auth@0.0.0-app-dir-template-20231212154221 🦋 New tag: @blitzjs/next@0.0.0-app-dir-template-20231212154221 🦋 New tag: @blitzjs/rpc@0.0.0-app-dir-template-20231212154221 🦋 New tag: @blitzjs/codemod@0.0.0-app-dir-template-20231212154221 🦋 New tag: @blitzjs/generator@0.0.0-app-dir-template-20231212154221

@siddhsuresh
Copy link
Member Author

!preview app-dir-template

Copy link
Contributor

 > blitz-root@0.0.0 release /home/runner/work/blitz/blitz > cp README.md packages/blitz && pnpm build && changeset publish "--tag" "next--app-dir-template" > blitz-root@0.0.0 build /home/runner/work/blitz/blitz > turbo run build • Packages in scope: @blitzjs/auth, @blitzjs/codemod, @blitzjs/config, @blitzjs/generator, @blitzjs/next, @blitzjs/recipe-base-web, @blitzjs/recipe-bulma, @blitzjs/recipe-bumbag-ui, @blitzjs/recipe-chakra-ui, @blitzjs/recipe-emotion, @blitzjs/recipe-gh-action-yarn-mariadb, @blitzjs/recipe-gh-action-yarn-postgres, @blitzjs/recipe-ghost, @blitzjs/recipe-graphql, @blitzjs/recipe-logrocket, @blitzjs/recipe-material-ui, @blitzjs/recipe-next-ui, @blitzjs/recipe-passenger, @blitzjs/recipe-quirrel, @blitzjs/recipe-reflexjs, @blitzjs/recipe-render, @blitzjs/recipe-secureheaders, @blitzjs/recipe-stitches, @blitzjs/recipe-styled-components, @blitzjs/recipe-tailwind, @blitzjs/recipe-theme-ui, @blitzjs/recipe-vanilla-extract, @blitzjs/rpc, blitz, next-blitz-auth, template, test-app-dir, test-auth, test-full-auth-with-rpc, test-get-initial-props, test-middleware, test-no-suspense, test-qm, test-react-query-utils, test-rpc, test-rpc-path-root, test-trailing-slash, test-utils, toolkit-app, toolkit-app-passport, web • Running build in 46 packages • Remote caching disabled ::group::template:build cache miss, executing f6d7ad882b7699e4 > template@0.0.0 build /home/runner/work/blitz/blitz/packages/pkg-template > unbuild [info] Building template [success] Build succeeded for template [log] dist/index-browser.cjs (size: 120 B, exports: todo) [log] dist/index-server.cjs (size: 226 B, exports: todo, todoServer) [log] dist/index-browser.mjs (size: 37 B, exports: todo) [log] dist/index-server.mjs (size: 94 B, exports: todo, todoServer) [log] ::endgroup:: ::group::@blitzjs/generator:build cache miss, executing 6dbe39b45bd2e406 > @blitzjs/generator@0.0.0-app-dir-template-20231220173656 build /home/runner/work/blitz/blitz/packages/generator > unbuild && pnpm build:templates [info] Building @blitzjs/generator Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification [success] Build succeed for @blitzjs/generator [log] dist/index.cjs (size: 423 kB, exports: AppGenerator, AppValuesBuilder, Builder, ConflictChecker, FieldValuesBuilder, FormGenerator, Generator, ModelGenerator, ModelName, ModelNames, MutationGenerator, MutationsGenerator, NullBuilder, PageGenerator, QueriesGenerator, QueryGenerator, RouteGenerator, ValidationsGenerator, addSpaceBeforeCapitals, capitalize, createFieldTemplateValues, customTemplatesBlitzConfig, customTsParser, fetchAllVersions, fetchDistTags, fetchLatestDistVersion, getBlitzDependencyVersion, getConfigSrcPath, getLatestVersion, getProjectRootSync, modelName, modelNames, pluralCamel, pluralPascal, singleCamel, singlePascal, uncapitalize) [log] dist/index.mjs (size: 404 kB, exports: AppGenerator, AppValuesBuilder, Builder, ConflictChecker, FieldValuesBuilder, FormGenerator, Generator, ModelGenerator, ModelName, ModelNames, MutationGenerator, MutationsGenerator, NullBuilder, PageGenerator, QueriesGenerator, QueryGenerator, RouteGenerator, ValidationsGenerator, addSpaceBeforeCapitals, capitalize, createFieldTemplateValues, customTemplatesBlitzConfig, customTsParser, fetchAllVersions, fetchDistTags, fetchLatestDistVersion, getBlitzDependencyVersion, getConfigSrcPath, getLatestVersion, getProjectRootSync, modelName, modelNames, pluralCamel, pluralPascal, singleCamel, singlePascal, uncapitalize) [log] > @blitzjs/generator@0.0.0-app-dir-template-20231220173656 build:templates /home/runner/work/blitz/blitz/packages/generator > cpx --clean --include-hidden "templates/**" dist/templates ::endgroup:: ::group::blitz:build cache miss, executing ca7a4b5106e0b9fd > blitz@0.0.0-app-dir-template-20231220173656 build /home/runner/work/blitz/blitz/packages/blitz > unbuild [info] Building blitz Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification To preserve the export signature of the entry module "src/cli/index.ts", an empty facade chunk was created. This often happens when creating a bundle for a web app where chunks are placed in script tags and exports are ignored. In this case it is recommended to set "preserveEntrySignatures: false" to avoid this and reduce the number of chunks. Otherwise if this is intentional, set "preserveEntrySignatures: 'strict'" explicitly to silence this warning. To preserve the export signature of the entry module "src/cli/index.ts", an empty facade chunk was created. This often happens when creating a bundle for a web app where chunks are placed in script tags and exports are ignored. In this case it is recommended to set "preserveEntrySignatures: false" to avoid this and reduce the number of chunks. Otherwise if this is intentional, set "preserveEntrySignatures: 'strict'" explicitly to silence this warning. [success] Build succeeded for blitz [log] dist/index-server.cjs (size: 8.19 kB, exports: AuthenticationError, AuthorizationError, BlitzLogger, BlitzServerMiddleware, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, baseLogger, chalk, compose, connectMiddleware, createClientPlugin, createServerPlugin, createSetupServer, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, findNodeModulesRoot, findNodeModulesRootSync, formatZodError, handleRequestWithMiddleware, initializeLogger, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, log, newLine, noCallbackHandler, paginate, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, reduceBlitzServerPlugins, runPrisma, secureProxyMiddleware, setCookie, startWatcher, stopWatcher, table, truncateString, validateZodSchema, withCallbackHandler) [log] dist/installer.cjs (size: 56.6 kB, exports: AddDependencyType, FileTransformType, Frontmatter, NewFileType, PrintMessageType, RecipeBuilder, RecipeExecutor, addBabelPlugin, addBabelPreset, addBlitzMiddleware, addImport, addPrismaEnum, addPrismaField, addPrismaGenerator, addPrismaModel, addPrismaModelAttribute, customTsParser, findModuleExportsExpressions, getExecutorArgument, paths, produceSchema, setPrismaDataSource, transformNextConfig, withComments, withTypeAnnotation, wrapAppWithProvider, wrapBlitzConfig) [log] dist/index-browser.cjs (size: 1.84 kB, exports: AuthenticationError, AuthorizationError, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, compose, createClientPlugin, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, formatZodError, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, setCookie, truncateString, validateZodSchema) [log] dist/index.cjs (size: 288 B, exports: ) [log] dist/index-server.mjs (size: 6.47 kB, exports: AuthenticationError, AuthorizationError, BlitzLogger, BlitzServerMiddleware, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, baseLogger, chalk, compose, connectMiddleware, createClientPlugin, createServerPlugin, createSetupServer, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, findNodeModulesRoot, findNodeModulesRootSync, formatZodError, handleRequestWithMiddleware, initializeLogger, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, log, newLine, noCallbackHandler, paginate, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, reduceBlitzServerPlugins, runPrisma, secureProxyMiddleware, setCookie, startWatcher, stopWatcher, table, truncateString, validateZodSchema, withCallbackHandler) [log] dist/installer.mjs (size: 53 kB, exports: AddDependencyType, FileTransformType, Frontmatter, NewFileType, PrintMessageType, RecipeBuilder, RecipeExecutor, addBabelPlugin, addBabelPreset, addBlitzMiddleware, addImport, addPrismaEnum, addPrismaField, addPrismaGenerator, addPrismaModel, addPrismaModelAttribute, customTsParser, findModuleExportsExpressions, getExecutorArgument, paths, produceSchema, setPrismaDataSource, transformNextConfig, withComments, withTypeAnnotation, wrapAppWithProvider, wrapBlitzConfig) [log] dist/index-browser.mjs (size: 809 B, exports: AuthenticationError, AuthorizationError, CSRFTokenMismatchError, NotFoundError, OAuthError, PaginationArgumentError, RedirectError, addMilliseconds, addMinutes, addYears, assert, compose, createClientPlugin, deleteCookie, differenceInMilliseconds, differenceInMinutes, enhancePrisma, formatZodError, interopDefault, isClient, isNotInUserTestEnvironment, isPast, isRouteUrlObject, isServer, prettyMs, readCookie, recursiveFormatZodErrors, reduceBlitzClientPlugins, setCookie, truncateString, validateZodSchema) [log] dist/index.mjs (size: 248 B, exports: ) [log] ::endgroup:: ::group::@blitzjs/codemod:build cache miss, executing 8019fe3eceebc903 > @blitzjs/codemod@0.0.0-app-dir-template-20231220173656 build /home/runner/work/blitz/blitz/packages/codemod > unbuild [info] Building @blitzjs/codemod Generated an empty chunk: "index" [success] Build succeeded for @blitzjs/codemod [log] dist/index.cjs (size: 985 B, exports: ) [log] dist/index.mjs (size: 781 B, exports: ) [log] ::endgroup:: ::group::@blitzjs/auth:build cache miss, executing d4fc0e9fc136e862 > @blitzjs/auth@0.0.0-app-dir-template-20231220173656 build /home/runner/work/blitz/blitz/packages/blitz-auth > unbuild [info] Building @blitzjs/auth [success] Build succeeded for @blitzjs/auth [log] dist/index-browser.cjs (size: 1.9 kB, exports: AuthClientPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, getAntiCSRFToken, getAuthValues, getPublicDataStore, parsePublicDataToken, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/index-server.cjs (size: 10.6 kB, exports: AuthClientPlugin, AuthServerPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, PrismaStorage, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, SessionContextClass, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, generateToken, getAllSessionHandlesForUser, getAntiCSRFToken, getAuthValues, getBlitzContext, getCookieParser, getPublicDataStore, getSession, hash256, isLocalhost, parsePublicDataToken, passportAuth, setCookie, setPublicDataForUser, simpleRolesIsAuthorized, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/secure-password.cjs (size: 2.83 kB, exports: SecurePassword) [log] dist/next-auth.cjs (size: 18.5 kB, exports: NextAuthAdapter, withNextAuthAdapter) [log] dist/index-browser.mjs (size: 891 B, exports: AuthClientPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, getAntiCSRFToken, getAuthValues, getPublicDataStore, parsePublicDataToken, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/index-server.mjs (size: 8.81 kB, exports: AuthClientPlugin, AuthServerPlugin, COOKIE_ANONYMOUS_SESSION_TOKEN, COOKIE_CSRF_TOKEN, COOKIE_PUBLIC_DATA_TOKEN, COOKIE_REFRESH_TOKEN, COOKIE_SESSION_TOKEN, HANDLE_SEPARATOR, HEADER_CSRF, HEADER_CSRF_ERROR, HEADER_PUBLIC_DATA_TOKEN, HEADER_SESSION_CREATED, LOCALSTORAGE_CSRF_TOKEN, LOCALSTORAGE_PREFIX, LOCALSTORAGE_PUBLIC_DATA_TOKEN, PrismaStorage, SESSION_TOKEN_VERSION_0, SESSION_TYPE_ANONYMOUS_JWT, SESSION_TYPE_OPAQUE_TOKEN_SIMPLE, SessionContextClass, TOKEN_SEPARATOR, backupAntiCSRFTokenToLocalStorage, generateToken, getAllSessionHandlesForUser, getAntiCSRFToken, getAuthValues, getBlitzContext, getCookieParser, getPublicDataStore, getSession, hash256, isLocalhost, parsePublicDataToken, passportAuth, setCookie, setPublicDataForUser, simpleRolesIsAuthorized, useAuthenticatedSession, useAuthorize, useAuthorizeIf, useRedirectAuthenticated, useSession) [log] dist/secure-password.mjs (size: 2.5 kB, exports: SecurePassword) [log] dist/next-auth.mjs (size: 17.9 kB, exports: NextAuthAdapter, withNextAuthAdapter) [log] ::endgroup:: ::group::@blitzjs/rpc:build cache miss, executing e73a0d2835da23ee > @blitzjs/rpc@0.0.0-app-dir-template-20231220173656 build /home/runner/work/blitz/blitz/packages/blitz-rpc > unbuild && node ./utils/add-directives.js [info] Building @blitzjs/rpc [success] Build succeeded for @blitzjs/rpc [log] dist/index-browser.cjs (size: 1.99 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, invalidateQuery, invoke, invokeWithCtx, normalizeApiRoute, requestIdleCallback, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/index.cjs (size: 11.8 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, dehydrate, getInfiniteQueryKey, getQueryClient, getQueryData, getQueryKey, invalidateQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary) [log] dist/index-server.cjs (size: 22 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, RpcServerPlugin, __internal_addBlitzRpcResolver, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, installWebpackConfig, invalidateQuery, invoke, invokeWithCtx, loadBlitzRpcResolverFilesWithInternalMechanism, normalizeApiRoute, requestIdleCallback, resolver, rpcHandler, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/loader-server.cjs (size: 4.02 kB, exports: collectResolvers, loader, recursiveFindResolvers, transformBlitzRpcServer) [log] dist/loader-server-resolvers.cjs (size: 2.8 kB, exports: loader, transformBlitzRpcResolverServer) [log] dist/loader-client.cjs (size: 4.59 kB, exports: loader, transformBlitzRpcResolverClient) [log] dist/index-browser.mjs (size: 904 B, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, invalidateQuery, invoke, invokeWithCtx, normalizeApiRoute, requestIdleCallback, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/index.mjs (size: 11.1 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, dehydrate, getInfiniteQueryKey, getQueryClient, getQueryData, getQueryKey, invalidateQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary) [log] dist/index-server.mjs (size: 20.4 kB, exports: BlitzProvider, BlitzRpcPlugin, Hydrate, QueryClient, QueryClientProvider, RpcServerPlugin, __internal_addBlitzRpcResolver, __internal_buildRpcClient, dehydrate, emptyQueryFn, getInfiniteQueryKey, getQueryCacheFunctions, getQueryClient, getQueryData, getQueryKey, getQueryKeyFromUrlAndParams, initializeQueryClient, installWebpackConfig, invalidateQuery, invoke, invokeWithCtx, loadBlitzRpcResolverFilesWithInternalMechanism, normalizeApiRoute, requestIdleCallback, resolver, rpcHandler, sanitizeMutation, sanitizeQuery, setQueryData, useInfiniteQuery, useMutation, usePaginatedQuery, useQuery, useQueryErrorResetBoundary, validateQueryFn) [log] dist/loader-server.mjs (size: 3.89 kB, exports: collectResolvers, loader, recursiveFindResolvers, transformBlitzRpcServer) [log] dist/loader-server-resolvers.mjs (size: 2.71 kB, exports: loader, transformBlitzRpcResolverServer) [log] dist/loader-client.mjs (size: 4.48 kB, exports: loader, transformBlitzRpcResolverClient) [log] ::endgroup:: ::group::@blitzjs/next:build cache miss, executing f39ca9fc413f6d98 > @blitzjs/next@0.0.0-app-dir-template-20231220173656 build /home/runner/work/blitz/blitz/packages/blitz-next > unbuild && node ./utils/add-directives.js [info] Building @blitzjs/next "BlitzLogger" is imported from external module "blitz" but never used in "src/index-server.ts" and "src/index-browser.tsx". [success] Build succeeded for @blitzjs/next [log] dist/index-server.cjs (size: 8.28 kB, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, setupBlitzServer, useErrorHandler, useParam, useParams, useRouterQuery, withBlitz, withErrorBoundary) [log] dist/index-browser.cjs (size: 1.1 kB, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, useErrorHandler, useParam, useParams, useRouterQuery, withErrorBoundary) [log] dist/index-server.mjs (size: 7.82 kB, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, setupBlitzServer, useErrorHandler, useParam, useParams, useRouterQuery, withBlitz, withErrorBoundary) [log] dist/index-browser.mjs (size: 525 B, exports: BlitzProvider, ErrorBoundary, ErrorComponent, NoPageFlicker, RouterContext, Routes, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, useErrorHandler, useParam, useParams, useRouterQuery, withErrorBoundary) [log] ::endgroup:: Tasks: 7 successful, 7 total Cached: 0 cached, 7 total Time: 32.857s 🦋 warn ===============================IMPORTANT!=============================== 🦋 warn You are in prerelease mode so packages will be published to the beta 🦋 warn dist tag except for packages that have not had normal releases which will be published to latest 🦋 warn ---------------------------------------------------------------------- 🦋 info npm info blitz 🦋 info npm info @blitzjs/auth 🦋 info npm info @blitzjs/next 🦋 info npm info @blitzjs/rpc 🦋 info npm info @blitzjs/codemod 🦋 info npm info @blitzjs/generator 🦋 info blitz is being published because our local version (0.0.0-app-dir-template-20231220173656) has not been published on npm 🦋 info @blitzjs/auth is being published because our local version (0.0.0-app-dir-template-20231220173656) has not been published on npm 🦋 info @blitzjs/next is being published because our local version (0.0.0-app-dir-template-20231220173656) has not been published on npm 🦋 info @blitzjs/rpc is being published because our local version (0.0.0-app-dir-template-20231220173656) has not been published on npm 🦋 info @blitzjs/codemod is being published because our local version (0.0.0-app-dir-template-20231220173656) has not been published on npm 🦋 info @blitzjs/generator is being published because our local version (0.0.0-app-dir-template-20231220173656) has not been published on npm 🦋 info Publishing "blitz" at "0.0.0-app-dir-template-20231220173656" 🦋 info Publishing "@blitzjs/auth" at "0.0.0-app-dir-template-20231220173656" 🦋 info Publishing "@blitzjs/next" at "0.0.0-app-dir-template-20231220173656" 🦋 info Publishing "@blitzjs/rpc" at "0.0.0-app-dir-template-20231220173656" 🦋 info Publishing "@blitzjs/codemod" at "0.0.0-app-dir-template-20231220173656" 🦋 info Publishing "@blitzjs/generator" at "0.0.0-app-dir-template-20231220173656" 🦋 success packages published successfully: 🦋 blitz@0.0.0-app-dir-template-20231220173656 🦋 @blitzjs/auth@0.0.0-app-dir-template-20231220173656 🦋 @blitzjs/next@0.0.0-app-dir-template-20231220173656 🦋 @blitzjs/rpc@0.0.0-app-dir-template-20231220173656 🦋 @blitzjs/codemod@0.0.0-app-dir-template-20231220173656 🦋 @blitzjs/generator@0.0.0-app-dir-template-20231220173656 🦋 Creating git tags... 🦋 New tag: blitz@0.0.0-app-dir-template-20231220173656 🦋 New tag: @blitzjs/auth@0.0.0-app-dir-template-20231220173656 🦋 New tag: @blitzjs/next@0.0.0-app-dir-template-20231220173656 🦋 New tag: @blitzjs/rpc@0.0.0-app-dir-template-20231220173656 🦋 New tag: @blitzjs/codemod@0.0.0-app-dir-template-20231220173656 🦋 New tag: @blitzjs/generator@0.0.0-app-dir-template-20231220173656

@siddhsuresh siddhsuresh merged commit 6d5f9ef into main Jan 2, 2024
28 of 29 checks passed
@siddhsuresh siddhsuresh deleted the tanstack-form branch January 2, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants