Merged
Conversation
…g` (#26483) This PR: - closes [ORM-648](https://linear.app/prisma-company/issue/ORM-648/prisma-config-export-type-prismaconfig-and-defineconfig-from-prisma) - introduces types export from Prisma, specifically to expose `PrismaConfig`: ```typescript import path from 'node:path' import type { PrismaConfig } from 'prisma' export default { earlyAccess: true, schema: { kind: 'single', filePath: path.join('..', 'prisma', 'schema.prisma'), }, } satisfies PrismaConfig ``` - introduces `prisma/config`, which exposes a subset of `@prisma/config` useful to Prisma users, without forcing them to manually download yet another Prisma package: ```typescript import path from 'node:path' import { defineConfig } from 'prisma/config' export default defineConfig({ earlyAccess: true, schema: { kind: 'single', filePath: path.join('..', 'prisma', 'schema.prisma'), }, }) - updates the `basic-sqlite-config` sandbox to mirror the new recommended strategy for defining Prisma config files /integration --------- Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
Bumps [size-limit](https://github.com/ai/size-limit) and [@size-limit/file](https://github.com/ai/size-limit). These dependencies needed to be updated together. Updates `size-limit` from 9.0.0 to 11.2.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ai/size-limit/releases">size-limit's releases</a>.</em></p> <blockquote> <h2>11.2.0</h2> <ul> <li>Added <code>--config</code> argument (by <a href="https://github.com/EvgenyWas"><code>@EvgenyWas</code></a>).</li> <li>Added top-level <code>await</code> support to config (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> <li>Added <code>time</code> option to config (by <a href="https://github.com/EvgenyWas"><code>@EvgenyWas</code></a>).</li> <li>Added <code>message</code> option to config (by <a href="https://github.com/dartess"><code>@dartess</code></a>).</li> <li>Updated <code>esbuild</code>.</li> </ul> <h2>11.1.6</h2> <ul> <li>Updated <code>chokidar</code>.</li> <li>Updated <code>esbuild</code>.</li> <li>Updated <code>jiti</code>.</li> </ul> <h2>11.1.5</h2> <ul> <li>Reduced dependencies (by <a href="https://github.com/ziebam"><code>@ziebam</code></a>).</li> <li>Updated <code>esbuild</code>.</li> </ul> <h2>11.1.4</h2> <ul> <li>Fixed types (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> </ul> <h2>11.1.3</h2> <ul> <li>Updated <code>esbuild</code>.</li> <li>Updated CSS loaders for webpack.</li> </ul> <h2>11.1.2</h2> <ul> <li>Fixed CSS support in esbuild plugin (by <a href="https://github.com/just-boris"><code>@just-boris</code></a>).</li> </ul> <h2>11.1.1</h2> <ul> <li>Fixed Windows support (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> </ul> <h2>11.1.0</h2> <ul> <li>Added TypeScript support for config (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> <li>Fixed <code>webpack-why</code> regression (by <a href="https://github.com/hoo00nn"><code>@hoo00nn</code></a>).</li> </ul> <h2>11.0.3</h2> <ul> <li>Fixed <code>.mjs</code> config support (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> <li>Updated <code>esbuild</code>.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ai/size-limit/blob/main/CHANGELOG.md">size-limit's changelog</a>.</em></p> <blockquote> <h2>11.2.0</h2> <ul> <li>Added <code>--config</code> argument (by <a href="https://github.com/EvgenyWas"><code>@EvgenyWas</code></a>).</li> <li>Added top-level <code>await</code> support to config (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> <li>Added <code>time</code> option to config (by <a href="https://github.com/EvgenyWas"><code>@EvgenyWas</code></a>).</li> <li>Added <code>message</code> option to config (by <a href="https://github.com/dartess"><code>@dartess</code></a>).</li> <li>Updated <code>esbuild</code>.</li> </ul> <h2>11.1.6</h2> <ul> <li>Updated <code>chokidar</code>.</li> <li>Updated <code>esbuild</code>.</li> <li>Updated <code>jiti</code>.</li> </ul> <h2>11.1.5</h2> <ul> <li>Reduced dependencies (by <a href="https://github.com/ziebam"><code>@ziebam</code></a>).</li> <li>Updated <code>esbuild</code>.</li> </ul> <h2>11.1.4</h2> <ul> <li>Fixed types (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> </ul> <h2>11.1.3</h2> <ul> <li>Updated <code>esbuild</code>.</li> <li>Updated CSS loaders for webpack.</li> </ul> <h2>11.1.2</h2> <ul> <li>Fixed CSS support in esbuild plugin (by <a href="https://github.com/just-boris"><code>@just-boris</code></a>).</li> </ul> <h2>11.1.1</h2> <ul> <li>Fixed Windows support (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> </ul> <h2>11.1.0</h2> <ul> <li>Added TypeScript support for config (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> <li>Fixed <code>webpack-why</code> regression (by <a href="https://github.com/hoo00nn"><code>@hoo00nn</code></a>).</li> </ul> <h2>11.0.3</h2> <ul> <li>Fixed <code>.mjs</code> config support (by Arya Emami).</li> <li>Updated <code>esbuild</code>.</li> </ul> <h2>11.0.2</h2> <ul> <li>Fixed <code>require is not defined</code> regression.</li> <li>Updated <code>esbuild-visualizer</code>.</li> </ul> <h2>11.0.1</h2> <ul> <li>Updated <code>estimo</code>.</li> <li>Updated <code>lilconfig</code>.</li> </ul> <h2>11.0</h2> <ul> <li>Moved to Brotli as default compression. Use <code>gzip: true</code> for old behavior.</li> </ul> <h2>10.0.3</h2> <ul> <li>Fixed third-party plugins support (by <a href="https://github.com/JounQin"><code>@JounQin</code></a>).</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ai/size-limit/commit/896eee2dc167e01a42d69f6bdbd4462ef3d867e7"><code>896eee2</code></a> Release 11.2.0 version</li> <li><a href="https://github.com/ai/size-limit/commit/69fab9c18f95d6aa45bc8cefdd4ef97f11dd1af0"><code>69fab9c</code></a> Update Vitest</li> <li><a href="https://github.com/ai/size-limit/commit/15a4c46949d43fd88e72280bb9113b622732d884"><code>15a4c46</code></a> Update dependencies</li> <li><a href="https://github.com/ai/size-limit/commit/edda423227cc51dc8e5eab32d99215629970d64c"><code>edda423</code></a> feat: add time options to set loading network speed, latency and message (<a href="https://redirect.github.com/ai/size-limit/issues/384">#384</a>)</li> <li><a href="https://github.com/ai/size-limit/commit/6f44d9b1e2bac2555d5067e22f7edbe13ee569a1"><code>6f44d9b</code></a> Avoid patterns in simple example</li> <li><a href="https://github.com/ai/size-limit/commit/549350a51c4bff8d475434fb423d8e594ae28cdf"><code>549350a</code></a> feat: implement new --config arg to specify a custom path to configuration fi...</li> <li><a href="https://github.com/ai/size-limit/commit/3542c73a58874effc80a4549bdac3a4906766ee5"><code>3542c73</code></a> fix: remove extra blank line in terminal when output is empty (<a href="https://redirect.github.com/ai/size-limit/issues/383">#383</a>)</li> <li><a href="https://github.com/ai/size-limit/commit/5b831e16a76ea03154a36c3a8a5e024eaf5936f9"><code>5b831e1</code></a> Fix pnpm version</li> <li><a href="https://github.com/ai/size-limit/commit/7b56b5352f9133848a8f532cf39f97015ce1a794"><code>7b56b53</code></a> Update dependencies</li> <li><a href="https://github.com/ai/size-limit/commit/7a0c61879574765fc0cb2edf0b2ac477899c14ed"><code>7a0c618</code></a> Bump cross-spawn from 7.0.3 to 7.0.5 (<a href="https://redirect.github.com/ai/size-limit/issues/381">#381</a>)</li> <li>Additional commits viewable in <a href="https://github.com/ai/size-limit/compare/9.0.0...11.2.0">compare view</a></li> </ul> </details> <br /> Updates `@size-limit/file` from 9.0.0 to 11.2.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ai/size-limit/releases"><code>@size-limit/file</code>'s releases</a>.</em></p> <blockquote> <h2>11.2.0</h2> <ul> <li>Added <code>--config</code> argument (by <a href="https://github.com/EvgenyWas"><code>@EvgenyWas</code></a>).</li> <li>Added top-level <code>await</code> support to config (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> <li>Added <code>time</code> option to config (by <a href="https://github.com/EvgenyWas"><code>@EvgenyWas</code></a>).</li> <li>Added <code>message</code> option to config (by <a href="https://github.com/dartess"><code>@dartess</code></a>).</li> <li>Updated <code>esbuild</code>.</li> </ul> <h2>11.1.6</h2> <ul> <li>Updated <code>chokidar</code>.</li> <li>Updated <code>esbuild</code>.</li> <li>Updated <code>jiti</code>.</li> </ul> <h2>11.1.5</h2> <ul> <li>Reduced dependencies (by <a href="https://github.com/ziebam"><code>@ziebam</code></a>).</li> <li>Updated <code>esbuild</code>.</li> </ul> <h2>11.1.4</h2> <ul> <li>Fixed types (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> </ul> <h2>11.1.3</h2> <ul> <li>Updated <code>esbuild</code>.</li> <li>Updated CSS loaders for webpack.</li> </ul> <h2>11.1.2</h2> <ul> <li>Fixed CSS support in esbuild plugin (by <a href="https://github.com/just-boris"><code>@just-boris</code></a>).</li> </ul> <h2>11.1.1</h2> <ul> <li>Fixed Windows support (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> </ul> <h2>11.1.0</h2> <ul> <li>Added TypeScript support for config (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> <li>Fixed <code>webpack-why</code> regression (by <a href="https://github.com/hoo00nn"><code>@hoo00nn</code></a>).</li> </ul> <h2>11.0.3</h2> <ul> <li>Fixed <code>.mjs</code> config support (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> <li>Updated <code>esbuild</code>.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ai/size-limit/blob/main/CHANGELOG.md"><code>@size-limit/file</code>'s changelog</a>.</em></p> <blockquote> <h2>11.2.0</h2> <ul> <li>Added <code>--config</code> argument (by <a href="https://github.com/EvgenyWas"><code>@EvgenyWas</code></a>).</li> <li>Added top-level <code>await</code> support to config (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> <li>Added <code>time</code> option to config (by <a href="https://github.com/EvgenyWas"><code>@EvgenyWas</code></a>).</li> <li>Added <code>message</code> option to config (by <a href="https://github.com/dartess"><code>@dartess</code></a>).</li> <li>Updated <code>esbuild</code>.</li> </ul> <h2>11.1.6</h2> <ul> <li>Updated <code>chokidar</code>.</li> <li>Updated <code>esbuild</code>.</li> <li>Updated <code>jiti</code>.</li> </ul> <h2>11.1.5</h2> <ul> <li>Reduced dependencies (by <a href="https://github.com/ziebam"><code>@ziebam</code></a>).</li> <li>Updated <code>esbuild</code>.</li> </ul> <h2>11.1.4</h2> <ul> <li>Fixed types (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> </ul> <h2>11.1.3</h2> <ul> <li>Updated <code>esbuild</code>.</li> <li>Updated CSS loaders for webpack.</li> </ul> <h2>11.1.2</h2> <ul> <li>Fixed CSS support in esbuild plugin (by <a href="https://github.com/just-boris"><code>@just-boris</code></a>).</li> </ul> <h2>11.1.1</h2> <ul> <li>Fixed Windows support (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> </ul> <h2>11.1.0</h2> <ul> <li>Added TypeScript support for config (by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a>).</li> <li>Fixed <code>webpack-why</code> regression (by <a href="https://github.com/hoo00nn"><code>@hoo00nn</code></a>).</li> </ul> <h2>11.0.3</h2> <ul> <li>Fixed <code>.mjs</code> config support (by Arya Emami).</li> <li>Updated <code>esbuild</code>.</li> </ul> <h2>11.0.2</h2> <ul> <li>Fixed <code>require is not defined</code> regression.</li> <li>Updated <code>esbuild-visualizer</code>.</li> </ul> <h2>11.0.1</h2> <ul> <li>Updated <code>estimo</code>.</li> <li>Updated <code>lilconfig</code>.</li> </ul> <h2>11.0</h2> <ul> <li>Moved to Brotli as default compression. Use <code>gzip: true</code> for old behavior.</li> </ul> <h2>10.0.3</h2> <ul> <li>Fixed third-party plugins support (by <a href="https://github.com/JounQin"><code>@JounQin</code></a>).</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ai/size-limit/commit/896eee2dc167e01a42d69f6bdbd4462ef3d867e7"><code>896eee2</code></a> Release 11.2.0 version</li> <li><a href="https://github.com/ai/size-limit/commit/69fab9c18f95d6aa45bc8cefdd4ef97f11dd1af0"><code>69fab9c</code></a> Update Vitest</li> <li><a href="https://github.com/ai/size-limit/commit/15a4c46949d43fd88e72280bb9113b622732d884"><code>15a4c46</code></a> Update dependencies</li> <li><a href="https://github.com/ai/size-limit/commit/edda423227cc51dc8e5eab32d99215629970d64c"><code>edda423</code></a> feat: add time options to set loading network speed, latency and message (<a href="https://redirect.github.com/ai/size-limit/issues/384">#384</a>)</li> <li><a href="https://github.com/ai/size-limit/commit/6f44d9b1e2bac2555d5067e22f7edbe13ee569a1"><code>6f44d9b</code></a> Avoid patterns in simple example</li> <li><a href="https://github.com/ai/size-limit/commit/549350a51c4bff8d475434fb423d8e594ae28cdf"><code>549350a</code></a> feat: implement new --config arg to specify a custom path to configuration fi...</li> <li><a href="https://github.com/ai/size-limit/commit/3542c73a58874effc80a4549bdac3a4906766ee5"><code>3542c73</code></a> fix: remove extra blank line in terminal when output is empty (<a href="https://redirect.github.com/ai/size-limit/issues/383">#383</a>)</li> <li><a href="https://github.com/ai/size-limit/commit/5b831e16a76ea03154a36c3a8a5e024eaf5936f9"><code>5b831e1</code></a> Fix pnpm version</li> <li><a href="https://github.com/ai/size-limit/commit/7b56b5352f9133848a8f532cf39f97015ce1a794"><code>7b56b53</code></a> Update dependencies</li> <li><a href="https://github.com/ai/size-limit/commit/7a0c61879574765fc0cb2edf0b2ac477899c14ed"><code>7a0c618</code></a> Bump cross-spawn from 7.0.3 to 7.0.5 (<a href="https://redirect.github.com/ai/size-limit/issues/381">#381</a>)</li> <li>Additional commits viewable in <a href="https://github.com/ai/size-limit/compare/9.0.0...11.2.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexey Orlenko <alex@aqrln.net>
Bumps [find-up](https://github.com/sindresorhus/find-up) from 5.0.0 to 7.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sindresorhus/find-up/releases">find-up's releases</a>.</em></p> <blockquote> <h2>v7.0.0</h2> <h3>Breaking</h3> <ul> <li>Require Node.js 18 187b2a1</li> </ul> <h3>Improvements</h3> <ul> <li>Accept <code>URL</code> for <code>stopAt</code> option ba19153</li> </ul> <p><a href="https://github.com/sindresorhus/find-up/compare/v6.3.0...v7.0.0">https://github.com/sindresorhus/find-up/compare/v6.3.0...v7.0.0</a></p> <h2>v6.3.0</h2> <ul> <li>Accept <code>URL</code> as <code>cwd</code> (<a href="https://redirect.github.com/sindresorhus/find-up/issues/60">#60</a>) f348f3c</li> </ul> <p><a href="https://github.com/sindresorhus/find-up/compare/v6.2.0...v6.3.0">https://github.com/sindresorhus/find-up/compare/v6.2.0...v6.3.0</a></p> <h2>v6.2.0</h2> <ul> <li>Add <a href="https://github.com/sindresorhus/find-up#findupmultiplename-options"><code>findUpMultiple()</code></a> method (<a href="https://redirect.github.com/sindresorhus/find-up/issues/56">#56</a>) 8f80ac7</li> </ul> <p><a href="https://github.com/sindresorhus/find-up/compare/v6.1.0...v6.2.0">https://github.com/sindresorhus/find-up/compare/v6.1.0...v6.2.0</a></p> <h2>v6.1.0</h2> <ul> <li>Add <a href="https://github.com/sindresorhus/find-up#stopat"><code>stopAt</code></a> option (<a href="https://redirect.github.com/sindresorhus/find-up/issues/54">#54</a>) b3b3b00</li> </ul> <p><a href="https://github.com/sindresorhus/find-up/compare/v6.0.0...v6.1.0">https://github.com/sindresorhus/find-up/compare/v6.0.0...v6.1.0</a></p> <h2>v6.0.0</h2> <h3>Breaking</h3> <ul> <li>Require Node.js 12.20 e93cfd2</li> <li>This package is now pure ESM. Please <a href="https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c">read this</a>.</li> <li>Changed from a default export to named exports. <ul> <li><code>const findUp = require('find-up')</code> => <code>import {findUp} from 'find-up'</code></li> <li><code>const findUpSync = require('find-up').sync</code> => <code>import {findUpSync} from 'find-up'</code></li> <li><code>const findUpStop = require('find-up').stop</code> => <code>import {findUpStop} from 'find-up'</code></li> <li><code>const pathExists = require('find-up').exists</code> => <code>import {pathExists} from 'find-up'</code></li> <li><code>const pathExistsSync = require('find-up').sync.exists</code> => <code>import {pathExistsSync} from 'find-up'</code></li> </ul> </li> </ul> <p><a href="https://github.com/sindresorhus/find-up/compare/v5.0.0...v6.0.0">https://github.com/sindresorhus/find-up/compare/v5.0.0...v6.0.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sindresorhus/find-up/commit/b733bb70d3aa21b22fa011be8089110d467c317f"><code>b733bb7</code></a> 7.0.0</li> <li><a href="https://github.com/sindresorhus/find-up/commit/187b2a14df987a9046b074836932594549238d56"><code>187b2a1</code></a> Require Node.js 18</li> <li><a href="https://github.com/sindresorhus/find-up/commit/ba19153a0560e6b32b4633a72a327a1200261ad0"><code>ba19153</code></a> Accept <code>URL</code> for <code>stopAt</code> option</li> <li><a href="https://github.com/sindresorhus/find-up/commit/12605f97f3be2f4ebc4b0d4a9078a165a8680c95"><code>12605f9</code></a> Add test for <a href="https://redirect.github.com/sindresorhus/find-up/issues/65">#65</a></li> <li><a href="https://github.com/sindresorhus/find-up/commit/a3b2f1e788e3c4023eab8f6282b085b57131ae15"><code>a3b2f1e</code></a> Update <code>tempy</code> dev dependency (<a href="https://redirect.github.com/sindresorhus/find-up/issues/63">#63</a>)</li> <li><a href="https://github.com/sindresorhus/find-up/commit/576b442b12cdec7cefb4ace23b70e2d10b8ace14"><code>576b442</code></a> 6.3.0</li> <li><a href="https://github.com/sindresorhus/find-up/commit/f348f3cd6a763cb6df75c95fc63e2c2bcf6e4786"><code>f348f3c</code></a> Accept <code>URL</code> as <code>cwd</code> (<a href="https://redirect.github.com/sindresorhus/find-up/issues/60">#60</a>)</li> <li><a href="https://github.com/sindresorhus/find-up/commit/db9962ce02553945edcfddac7d472789c86b6eb6"><code>db9962c</code></a> 6.2.0</li> <li><a href="https://github.com/sindresorhus/find-up/commit/8f80ac7f034747ce7345311238cccc351e547139"><code>8f80ac7</code></a> Add <code>findUpMultiple()</code> method (<a href="https://redirect.github.com/sindresorhus/find-up/issues/56">#56</a>)</li> <li><a href="https://github.com/sindresorhus/find-up/commit/d3a3cfc92324904348f921e97ef424189645dd63"><code>d3a3cfc</code></a> 6.1.0</li> <li>Additional commits viewable in <a href="https://github.com/sindresorhus/find-up/compare/v5.0.0...v7.0.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexey Orlenko <alex@aqrln.net>
#26470) This PR fixes an issue when using client extensions in combination with providing client options to the `PrismaClient` upon creation would lead to significantly increased compile times and slow TypeScript autocomplete. E.g. `new PrismaClient({ log: ["warn", "error"] }).extends({ ... })`. The performance issue lied in the fact the provided ClientOptions were passed deep through the extensions API such that they could be used to infer final result types considering the global omit configuration. These included some deeply nested and recursive type structures that significantly slowed down compilation once ClientOptions could not be short circuited to an empty object anymore. This fix addresses this issue by adding the global omit configuration to the `TypeMap` type. This type is already passed around and by adding the ClientOptions as generic argument to it we do not need it on the extension types anymore. --------- Co-authored-by: Alexey Orlenko <alex@aqrln.net>
…aca9d7a268a (#26518) The base branch for this PR is: main This automatic PR updates the engines to version `6.5.0-47.61286205822138f3a5a68d8d508f6aca9d7a268a`. This will get automatically merged if all the tests pass. :warning: If this PR needs to be updated, first remove the `automerge` label before pushing to avoid automerge to merge without waiting for tests. ## Packages | Package | NPM URL | |---------|---------| |`@prisma/engines-version`| https://npmjs.com/package/@prisma/engines-version/v/6.5.0-47.61286205822138f3a5a68d8d508f6aca9d7a268a| |`@prisma/prisma-schema-wasm`| https://npmjs.com/package/@prisma/prisma-schema-wasm/v/6.5.0-47.61286205822138f3a5a68d8d508f6aca9d7a268a| |`@prisma/query-engine-wasm`| https://npmjs.com/package/@prisma/query-engine-wasm/v/6.5.0-47.61286205822138f3a5a68d8d508f6aca9d7a268a| |`@prisma/query-compiler-wasm`| https://npmjs.com/package/@prisma/query-compiler-wasm/v/6.5.0-47.61286205822138f3a5a68d8d508f6aca9d7a268a| ## Engines commit [`prisma/prisma-engines@61286205822138f3a5a68d8d508f6aca9d7a268a`](prisma/prisma-engines@6128620)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )