meza / trance-stack

A production-ready Remix stack built for AWS Lambda. Authentication. Security, Internationalization, Feature Flags, Analytics, Tests, Storybook, Ephemeral and Production CI/CD and more.
https://trance-stack.vsbmeza.com
MIT License
260 stars 15 forks source link

fix(deps): update remix dependencies to v2.5.0 #678

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 10 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@remix-run/architect (source) 2.4.1 -> 2.5.0 age adoption passing confidence
@remix-run/dev (source) 2.4.1 -> 2.5.0 age adoption passing confidence
@remix-run/node (source) 2.4.1 -> 2.5.0 age adoption passing confidence
@remix-run/react (source) 2.4.1 -> 2.5.0 age adoption passing confidence
@remix-run/serve (source) 2.4.1 -> 2.5.0 age adoption passing confidence
@remix-run/server-runtime (source) 2.4.1 -> 2.5.0 age adoption passing confidence
@remix-run/testing (source) 2.4.1 -> 2.5.0 age adoption passing confidence

Release Notes

remix-run/remix (@​remix-run/architect) ### [`v2.5.0`](https://togithub.com/remix-run/remix/blob/HEAD/packages/remix-architect/CHANGELOG.md#250) [Compare Source](https://togithub.com/remix-run/remix/compare/@remix-run/architect@2.4.1...@remix-run/architect@2.5.0) ##### Patch Changes - Updated dependencies: - `@remix-run/node@2.5.0`
remix-run/remix (@​remix-run/dev) ### [`v2.5.0`](https://togithub.com/remix-run/remix/blob/HEAD/packages/remix-dev/CHANGELOG.md#250) [Compare Source](https://togithub.com/remix-run/remix/compare/@remix-run/dev@2.4.1...@remix-run/dev@2.5.0) ##### Minor Changes - Add unstable support for "SPA Mode" ([#​8457](https://togithub.com/remix-run/remix/pull/8457)) You can opt into SPA Mode by setting `unstable_ssr: false` in your Remix Vite plugin config: ```js // vite.config.ts import { unstable_vitePlugin as remix } from "@​remix-run/dev"; import { defineConfig } from "vite"; export default defineConfig({ plugins: [remix({ unstable_ssr: false })], }); ``` Development in SPA Mode is just like a normal Remix app, and still uses the Remix dev server for HMR/HDR: ```sh remix vite:dev ``` Building in SPA Mode will generate an `index.html` file in your client assets directory: ```sh remix vite:build ``` To run your SPA, you serve your client assets directory via an HTTP server: ```sh npx http-server build/client ``` For more information, please refer to the [SPA Mode docs](https://remix.run/future/spa-mode). - Add `unstable_serverBundles` option to Vite plugin to support splitting server code into multiple request handlers. ([#​8332](https://togithub.com/remix-run/remix/pull/8332)) This is an advanced feature designed for hosting provider integrations. When compiling your app into multiple server bundles, there will need to be a custom routing layer in front of your app directing requests to the correct bundle. This feature is currently unstable and only designed to gather early feedback. **Example usage:** ```ts import { unstable_vitePlugin as remix } from "@​remix-run/dev"; import { defineConfig } from "vite"; export default defineConfig({ plugins: [ remix({ unstable_serverBundles: ({ branch }) => { const isAuthenticatedRoute = branch.some( (route) => route.id === "routes/_authenticated" ); return isAuthenticatedRoute ? "authenticated" : "unauthenticated"; }, }), ], }); ``` ##### Patch Changes - Fix issue with `isbot` v4 released on 1/1/2024 ([#​8415](https://togithub.com/remix-run/remix/pull/8415)) - `remix dev` will now add `"isbot": "^4"` to `package.json` instead of using `latest` - Update built-in `entry.server` files to work with both `isbot@3` and `isbot@4` for backwards-compatibility with Remix apps that have pinned `isbot` to v3 - Templates are updated to use `isbot@4` moving forward via `create-remix` - Vite: Fix HMR issues when altering exports for non-rendered routes ([#​8157](https://togithub.com/remix-run/remix/pull/8157)) - Vite: Default `NODE_ENV` to `"production"` when running `remix vite:build` command ([#​8405](https://togithub.com/remix-run/remix/pull/8405)) - Vite: Remove Vite plugin config option `serverBuildPath` in favor of separate `serverBuildDirectory` and `serverBuildFile` options ([#​8332](https://togithub.com/remix-run/remix/pull/8332)) - Vite: Loosen strict route exports restriction, reinstating support for non-Remix route exports ([#​8420](https://togithub.com/remix-run/remix/pull/8420)) - Updated dependencies: - `@remix-run/server-runtime@2.5.0` - `@remix-run/node@2.5.0`
remix-run/remix (@​remix-run/node) ### [`v2.5.0`](https://togithub.com/remix-run/remix/blob/HEAD/packages/remix-node/CHANGELOG.md#250) [Compare Source](https://togithub.com/remix-run/remix/compare/@remix-run/node@2.4.1...@remix-run/node@2.5.0) ##### Patch Changes - Updated dependencies: - `@remix-run/server-runtime@2.5.0`
remix-run/remix (@​remix-run/react) ### [`v2.5.0`](https://togithub.com/remix-run/remix/blob/HEAD/packages/remix-react/CHANGELOG.md#250) [Compare Source](https://togithub.com/remix-run/remix/compare/@remix-run/react@2.4.1...@remix-run/react@2.5.0) ##### Minor Changes - Add unstable support for "SPA Mode" ([#​8457](https://togithub.com/remix-run/remix/pull/8457)) You can opt into SPA Mode by setting `unstable_ssr: false` in your Remix Vite plugin config: ```js // vite.config.ts import { unstable_vitePlugin as remix } from "@​remix-run/dev"; import { defineConfig } from "vite"; export default defineConfig({ plugins: [remix({ unstable_ssr: false })], }); ``` Development in SPA Mode is just like a normal Remix app, and still uses the Remix dev server for HMR/HDR: ```sh remix vite:dev ``` Building in SPA Mode will generate an `index.html` file in your client assets directory: ```sh remix vite:build ``` To run your SPA, you serve your client assets directory via an HTTP server: ```sh npx http-server build/client ``` For more information, please refer to the [SPA Mode docs](https://remix.run/future/spa-mode). ##### Patch Changes - Vite: Fix type conflict with `import.meta.hot` from the existing Remix compiler ([#​8459](https://togithub.com/remix-run/remix/pull/8459)) - Updated dependencies: - `@remix-run/server-runtime@2.5.0`
remix-run/remix (@​remix-run/serve) ### [`v2.5.0`](https://togithub.com/remix-run/remix/blob/HEAD/packages/remix-serve/CHANGELOG.md#250) [Compare Source](https://togithub.com/remix-run/remix/compare/@remix-run/serve@2.4.1...@remix-run/serve@2.5.0) ##### Patch Changes - Don't try to load sourcemaps if they don't exist on disk ([#​8446](https://togithub.com/remix-run/remix/pull/8446)) - Updated dependencies: - `@remix-run/node@2.5.0` - `@remix-run/express@2.5.0`
remix-run/remix (@​remix-run/server-runtime) ### [`v2.5.0`](https://togithub.com/remix-run/remix/blob/HEAD/packages/remix-server-runtime/CHANGELOG.md#250) [Compare Source](https://togithub.com/remix-run/remix/compare/@remix-run/server-runtime@2.4.1...@remix-run/server-runtime@2.5.0) ##### Minor Changes - Updated `cookie` dependency to [`0.6.0`](https://togithub.com/jshttp/cookie/blob/master/HISTORY.md#060--2023-11-06) to inherit support for the [`Partitioned`](https://developer.mozilla.org/en-US/docs/Web/Privacy/Partitioned_cookies) attribute ([#​8375](https://togithub.com/remix-run/remix/pull/8375)) - Add unstable support for "SPA Mode" ([#​8457](https://togithub.com/remix-run/remix/pull/8457)) You can opt into SPA Mode by setting `unstable_ssr: false` in your Remix Vite plugin config: ```js // vite.config.ts import { unstable_vitePlugin as remix } from "@​remix-run/dev"; import { defineConfig } from "vite"; export default defineConfig({ plugins: [remix({ unstable_ssr: false })], }); ``` Development in SPA Mode is just like a normal Remix app, and still uses the Remix dev server for HMR/HDR: ```sh remix vite:dev ``` Building in SPA Mode will generate an `index.html` file in your client assets directory: ```sh remix vite:build ``` To run your SPA, you serve your client assets directory via an HTTP server: ```sh npx http-server build/client ``` For more information, please refer to the [SPA Mode docs](https://remix.run/future/spa-mode).
remix-run/remix (@​remix-run/testing) ### [`v2.5.0`](https://togithub.com/remix-run/remix/blob/HEAD/packages/remix-testing/CHANGELOG.md#250) [Compare Source](https://togithub.com/remix-run/remix/compare/@remix-run/testing@2.4.1...@remix-run/testing@2.5.0) ##### Minor Changes - Add unstable support for "SPA Mode" ([#​8457](https://togithub.com/remix-run/remix/pull/8457)) You can opt into SPA Mode by setting `unstable_ssr: false` in your Remix Vite plugin config: ```js // vite.config.ts import { unstable_vitePlugin as remix } from "@​remix-run/dev"; import { defineConfig } from "vite"; export default defineConfig({ plugins: [remix({ unstable_ssr: false })], }); ``` Development in SPA Mode is just like a normal Remix app, and still uses the Remix dev server for HMR/HDR: ```sh remix vite:dev ``` Building in SPA Mode will generate an `index.html` file in your client assets directory: ```sh remix vite:build ``` To run your SPA, you serve your client assets directory via an HTTP server: ```sh npx http-server build/client ``` For more information, please refer to the [SPA Mode docs](https://remix.run/future/spa-mode). ##### Patch Changes - Updated dependencies: - `@remix-run/react@2.5.0` - `@remix-run/node@2.5.0`

Configuration

πŸ“… Schedule: Branch creation - " *" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 10 months ago

Test Results

115 tests  Β±0   115 :white_check_mark: Β±0   4s :stopwatch: -1s  40 suites Β±0     0 :zzz: Β±0    1 files   Β±0     0 :x: Β±0 

Results for commit 4484570b. ± Comparison against base commit af5824cd.

github-actions[bot] commented 10 months ago

Code Coverage

Package Line Rate Branch Rate Complexity Health
src 100% 100% 0 βœ”
src.atoms.Icons 100% 100% 0 βœ”
src.atoms.Toggle 100% 100% 0 βœ”
src.components 100% 100% 0 βœ”
src.components.ColorModeSwitcher 100% 100% 0 βœ”
src.components.CookieConsent 100% 100% 0 βœ”
src.components.CookieYes 100% 100% 0 βœ”
src.components.ExposeAppConfig 100% 100% 0 βœ”
src.components.GoogleAnalytics 100% 100% 0 βœ”
src.components.Hello 100% 100% 0 βœ”
src.components.Hotjar 100% 100% 0 βœ”
src.components.Login 100% 100% 0 βœ”
src.components.Logout 100% 100% 0 βœ”
src.components.Posthog 100% 100% 0 βœ”
src.hooks 100% 100% 0 βœ”
src.i18n 100% 100% 0 βœ”
src.routes 100% 100% 0 βœ”
src.utils 100% 100% 0 βœ”
Summary 100% (1270 / 1270) 100% (129 / 129) 0 βœ”
meza commented 10 months ago

Copy/paste detection report

Duplications detection: Found 0 exact clones with 0(0%) duplicated lines in 57 (3 formats) files.

Format Files analyzed Total lines Total tokens Clones found Duplicated lines Duplicated tokens
javascript 15 136 1547 0 0 (0%) 0 (0%)
tsx 26 929 8459 0 0 (0%) 0 (0%)
typescript 16 387 3125 0 0 (0%) 0 (0%)
Total: 57 1452 13131 0 0 (0%) 0 (0%)
meza commented 10 months ago

Deployment details


βœ… Your stack: remix-trance-stack-renovate-remix-dependencies-ephemeral has been successfully deployed.


You can access your deployment at the following URL: https://jai181rns3.execute-api.us-east-1.amazonaws.com

meza commented 10 months ago

:tada: This PR is included in version 3.1.207 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: