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

Update Readme to clarify installation procedure #115

Merged
merged 2 commits into from Mar 27, 2023

Conversation

fotoflo
Copy link
Contributor

@fotoflo fotoflo commented Mar 27, 2023

These two issues slowed me down

  1. I needed to figure out how to get the generator to run
  • in my case i used npx in the prefix line, not sure how to generalize this suggestion for documenation
  1. Importing the types took me a min to figure out... adding to documentation

I ran into two issues when getting setup:

```
$ prisma db push
…
Running generate... (Use --skip-generate to skip the generators)
Error: Generator at zod-prisma-types could not start:

/bin/sh: zod-prisma-types: command not found
```
which is fixed by the npx command, clearly this isn't the universal way to do this, but i thought this PR would get it started

and it took me a few min to figure out how to import the schema...
fix typos and make cleaner
@@ -94,10 +94,17 @@ Just add the following code to your `prisma.schema` file to create a single `ind

```prisma
generator zod {
provider = "zod-prisma-types"
provider = "npx zod-prisma-types"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is strange that you needed to add npx here.Ccan we add this change as a solution for cases like you encountered it instead of making it the default behaviour, since the standard behaviour should generally work.

Copy link
Owner

@chrishoermann chrishoermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fotoflo Thanks for the PR. Since I'm currently working on the repo I'll merge the pr for now and change the docs like stated in the comment.

@chrishoermann
Copy link
Owner

I'm currently unable to merge because of a github incident 😞 We'll have to wait

@chrishoermann chrishoermann merged commit 8b180c0 into chrishoermann:master Mar 27, 2023
kodiakhq bot added a commit to weareinreach/InReach that referenced this pull request Mar 27, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@aws-sdk/client-cognito-identity-provider](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity-provider) ([source](https://togithub.com/aws/aws-sdk-js-v3)) | [`3.299.0` -> `3.300.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-cognito-identity-provider/3.299.0/3.300.0) | [![age](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-cognito-identity-provider/3.300.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-cognito-identity-provider/3.300.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-cognito-identity-provider/3.300.0/compatibility-slim/3.299.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-cognito-identity-provider/3.300.0/confidence-slim/3.299.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3) ([source](https://togithub.com/aws/aws-sdk-js-v3)) | [`3.299.0` -> `3.300.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.299.0/3.300.0) | [![age](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-s3/3.300.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-s3/3.300.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-s3/3.300.0/compatibility-slim/3.299.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-s3/3.300.0/confidence-slim/3.299.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@playwright/test](https://playwright.dev) ([source](https://togithub.com/Microsoft/playwright)) | [`1.32.0` -> `1.32.1`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.32.0/1.32.1) | [![age](https://badges.renovateapi.com/packages/npm/@playwright%2ftest/1.32.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@playwright%2ftest/1.32.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@playwright%2ftest/1.32.1/compatibility-slim/1.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@playwright%2ftest/1.32.1/confidence-slim/1.32.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@types/google.maps](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google.maps) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`3.52.3` -> `3.52.4`](https://renovatebot.com/diffs/npm/@types%2fgoogle.maps/3.52.3/3.52.4) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fgoogle.maps/3.52.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fgoogle.maps/3.52.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fgoogle.maps/3.52.4/compatibility-slim/3.52.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fgoogle.maps/3.52.4/confidence-slim/3.52.3)](https://docs.renovatebot.com/merge-confidence/) |
| [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.15.8` -> `18.15.10`](https://renovatebot.com/diffs/npm/@types%2fnode/18.15.8/18.15.10) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.15.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.15.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.15.10/compatibility-slim/18.15.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.15.10/confidence-slim/18.15.8)](https://docs.renovatebot.com/merge-confidence/) |
| [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.56.0` -> `5.57.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.56.0/5.57.0) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.57.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.57.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.57.0/compatibility-slim/5.56.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.57.0/confidence-slim/5.56.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.56.0` -> `5.57.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.56.0/5.57.0) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.57.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.57.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.57.0/compatibility-slim/5.56.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.57.0/confidence-slim/5.56.0)](https://docs.renovatebot.com/merge-confidence/) |
| [esbuild](https://togithub.com/evanw/esbuild) | [`0.17.13` -> `0.17.14`](https://renovatebot.com/diffs/npm/esbuild/0.17.13/0.17.14) | [![age](https://badges.renovateapi.com/packages/npm/esbuild/0.17.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/esbuild/0.17.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/esbuild/0.17.14/compatibility-slim/0.17.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/esbuild/0.17.14/confidence-slim/0.17.13)](https://docs.renovatebot.com/merge-confidence/) |
| [just-diff](https://togithub.com/angus-c/just) | [`6.0.0` -> `6.0.2`](https://renovatebot.com/diffs/npm/just-diff/6.0.0/6.0.2) | [![age](https://badges.renovateapi.com/packages/npm/just-diff/6.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/just-diff/6.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/just-diff/6.0.2/compatibility-slim/6.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/just-diff/6.0.2/confidence-slim/6.0.0)](https://docs.renovatebot.com/merge-confidence/) |
| [localized-address-format](https://togithub.com/DASPRiD/localized-address-format) | [`1.3.0` -> `1.3.1`](https://renovatebot.com/diffs/npm/localized-address-format/1.3.0/1.3.1) | [![age](https://badges.renovateapi.com/packages/npm/localized-address-format/1.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/localized-address-format/1.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/localized-address-format/1.3.1/compatibility-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/localized-address-format/1.3.1/confidence-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) |
| [nanoid](https://togithub.com/ai/nanoid) | [`4.0.1` -> `4.0.2`](https://renovatebot.com/diffs/npm/nanoid/4.0.1/4.0.2) | [![age](https://badges.renovateapi.com/packages/npm/nanoid/4.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/nanoid/4.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/nanoid/4.0.2/compatibility-slim/4.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/nanoid/4.0.2/confidence-slim/4.0.1)](https://docs.renovatebot.com/merge-confidence/) |
| [pnpm](https://pnpm.io) ([source](https://togithub.com/pnpm/pnpm)) | [`7.30.3` -> `7.30.5`](https://renovatebot.com/diffs/npm/pnpm/7.30.3/7.30.5) | [![age](https://badges.renovateapi.com/packages/npm/pnpm/7.30.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/pnpm/7.30.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/pnpm/7.30.5/compatibility-slim/7.30.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/pnpm/7.30.5/confidence-slim/7.30.3)](https://docs.renovatebot.com/merge-confidence/) |
| [quicktype-core](https://togithub.com/quicktype/quicktype) | [`23.0.18` -> `23.0.19`](https://renovatebot.com/diffs/npm/quicktype-core/23.0.18/23.0.19) | [![age](https://badges.renovateapi.com/packages/npm/quicktype-core/23.0.19/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/quicktype-core/23.0.19/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/quicktype-core/23.0.19/compatibility-slim/23.0.18)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/quicktype-core/23.0.19/confidence-slim/23.0.18)](https://docs.renovatebot.com/merge-confidence/) |
| [slugify](https://togithub.com/simov/slugify) | [`1.6.5` -> `1.6.6`](https://renovatebot.com/diffs/npm/slugify/1.6.5/1.6.6) | [![age](https://badges.renovateapi.com/packages/npm/slugify/1.6.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/slugify/1.6.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/slugify/1.6.6/compatibility-slim/1.6.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/slugify/1.6.6/confidence-slim/1.6.5)](https://docs.renovatebot.com/merge-confidence/) |
| [turbo](https://turbo.build/repo) ([source](https://togithub.com/vercel/turbo)) | [`1.8.5` -> `1.8.6`](https://renovatebot.com/diffs/npm/turbo/1.8.5/1.8.6) | [![age](https://badges.renovateapi.com/packages/npm/turbo/1.8.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/turbo/1.8.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/turbo/1.8.6/compatibility-slim/1.8.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/turbo/1.8.6/confidence-slim/1.8.5)](https://docs.renovatebot.com/merge-confidence/) |
| [type-fest](https://togithub.com/sindresorhus/type-fest) | [`3.7.0` -> `3.7.1`](https://renovatebot.com/diffs/npm/type-fest/3.7.0/3.7.1) | [![age](https://badges.renovateapi.com/packages/npm/type-fest/3.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/type-fest/3.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/type-fest/3.7.1/compatibility-slim/3.7.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/type-fest/3.7.1/confidence-slim/3.7.0)](https://docs.renovatebot.com/merge-confidence/) |
| [zod-prisma-types](https://togithub.com/chrishoermann/zod-prisma-types) | [`2.5.1` -> `2.5.3`](https://renovatebot.com/diffs/npm/zod-prisma-types/2.5.1/2.5.3) | [![age](https://badges.renovateapi.com/packages/npm/zod-prisma-types/2.5.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/zod-prisma-types/2.5.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/zod-prisma-types/2.5.3/compatibility-slim/2.5.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/zod-prisma-types/2.5.3/confidence-slim/2.5.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>aws/aws-sdk-js-v3 (@&#8203;aws-sdk/client-cognito-identity-provider)</summary>

### [`v3.300.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-cognito-identity-provider/CHANGELOG.md#&#8203;33000-httpsgithubcomawsaws-sdk-js-v3comparev32990v33000-2023-03-27)

[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.299.0...v3.300.0)

##### Features

-   **clients:** codegen for structural hint documentation in commands ([#&#8203;4573](https://togithub.com/aws/aws-sdk-js-v3/issues/4573)) ([b3ff58d](https://togithub.com/aws/aws-sdk-js-v3/commit/b3ff58d3606ceefcdd04ac82fc1ca54f5f811989))

</details>

<details>
<summary>aws/aws-sdk-js-v3 (@&#8203;aws-sdk/client-s3)</summary>

### [`v3.300.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#&#8203;33000-httpsgithubcomawsaws-sdk-js-v3comparev32990v33000-2023-03-27)

[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.299.0...v3.300.0)

##### Features

-   **clients:** codegen for structural hint documentation in commands ([#&#8203;4573](https://togithub.com/aws/aws-sdk-js-v3/issues/4573)) ([b3ff58d](https://togithub.com/aws/aws-sdk-js-v3/commit/b3ff58d3606ceefcdd04ac82fc1ca54f5f811989))

</details>

<details>
<summary>Microsoft/playwright</summary>

### [`v1.32.1`](https://togithub.com/microsoft/playwright/releases/tag/v1.32.1)

[Compare Source](https://togithub.com/Microsoft/playwright/compare/v1.32.0...v1.32.1)

#### Highlights

[microsoft/playwright#21832 - \[BUG] Trace is not opening on specific broken locator[microsoft/playwright#21897 - \[BUG] --ui fails to open with error reading mainFrame from an undefined this.\_pa[microsoft/playwright#21918 - \[BUG]: UI mode, skipped tests not being fo[microsoft/playwright#21941 - \[BUG] UI mode does not show webServer startup er[microsoft/playwright#21953 - \[BUG] Parameterized tests are not displayed in the UI mode

#### Browser Versions

-   Chromium 112.0.5615.29
-   Mozilla Firefox 111.0
-   WebKit 16.4

This version was also tested against the following stable channels:

-   Google Chrome 111
-   Microsoft Edge 111

</details>

<details>
<summary>typescript-eslint/typescript-eslint (@&#8203;typescript-eslint/eslint-plugin)</summary>

### [`v5.57.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5570-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5560v5570-2023-03-27)

[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.56.0...v5.57.0)

##### Bug Fixes

-   **eslint-plugin:** \[no-unnecessary-boolean-literal-compare] simplify fixer and add support for double negation ([#&#8203;6620](https://togithub.com/typescript-eslint/typescript-eslint/issues/6620)) ([81c8519](https://togithub.com/typescript-eslint/typescript-eslint/commit/81c85193d27d2e7f6d12bc259088b9b73dbe1e8b))
-   **eslint-plugin:** correct crashes with getTypeArguments for ts < 3.7 ([#&#8203;6767](https://togithub.com/typescript-eslint/typescript-eslint/issues/6767)) ([59eab58](https://togithub.com/typescript-eslint/typescript-eslint/commit/59eab587890a915387444d00c4a9387aed602718))

##### Features

-   **eslint-plugin:** \[consistent-type-assertions] add suggestions for objectLiteralTypeAssertions ([#&#8203;6642](https://togithub.com/typescript-eslint/typescript-eslint/issues/6642)) ([720e811](https://togithub.com/typescript-eslint/typescript-eslint/commit/720e81138b66c94c60c4a4471b86b7d8567b6df0))
-   **eslint-plugin:** \[consistent-type-assertions] autofix angle bracket assertions to as ([#&#8203;6641](https://togithub.com/typescript-eslint/typescript-eslint/issues/6641)) ([ad8ea64](https://togithub.com/typescript-eslint/typescript-eslint/commit/ad8ea64dbdf06c92ff72b48022f041693a8d7076))
-   **eslint-plugin:** add `no-duplicate-type-constituents` rule ([#&#8203;5728](https://togithub.com/typescript-eslint/typescript-eslint/issues/5728)) ([bc31078](https://togithub.com/typescript-eslint/typescript-eslint/commit/bc31078cf86d69eee881e4a7daeffa347c1d82a7))

</details>

<details>
<summary>typescript-eslint/typescript-eslint (@&#8203;typescript-eslint/parser)</summary>

### [`v5.57.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5570-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5560v5570-2023-03-27)

[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.56.0...v5.57.0)

**Note:** Version bump only for package [@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

</details>

<details>
<summary>evanw/esbuild</summary>

### [`v0.17.14`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#&#8203;01714)

[Compare Source](https://togithub.com/evanw/esbuild/compare/v0.17.13...v0.17.14)

-   Allow the TypeScript 5.0 `const` modifier in object type declarations ([#&#8203;3021](https://togithub.com/evanw/esbuild/issues/3021))

    The new TypeScript 5.0 `const` modifier was added to esbuild in version 0.17.5, and works with classes, functions, and arrow expressions. However, support for it wasn't added to object type declarations (e.g. interfaces) due to an oversight. This release adds support for these cases, so the following TypeScript 5.0 code can now be built with esbuild:

    ```ts
    interface Foo { <const T>(): T }
    type Bar = { new <const T>(): T }
    ```

-   Implement preliminary lowering for CSS nesting ([#&#8203;1945](https://togithub.com/evanw/esbuild/issues/1945))

    Chrome has [implemented the new CSS nesting specification](https://developer.chrome.com/articles/css-nesting/) in version 112, which is currently in beta but will become stable very soon. So CSS nesting is now a part of the web platform!

    This release of esbuild can now transform nested CSS syntax into non-nested CSS syntax for older browsers. The transformation relies on the `:is()` pseudo-class in many cases, so the transformation is only guaranteed to work when targeting browsers that support `:is()` (e.g. Chrome 88+). You'll need to set esbuild's [`target`](https://esbuild.github.io/api/#target) to the browsers you intend to support to tell esbuild to do this transformation. You will get a warning if you use CSS nesting syntax with a `target` which includes older browsers that don't support `:is()`.

    The lowering transformation looks like this:

    ```css
    /* Original input */
    a.btn {
      color: #&#8203;333;
      &:hover { color: #&#8203;444 }
      &:active { color: #&#8203;555 }
    }

    /* New output (with --target=chrome88) */
    a.btn {
      color: #&#8203;333;
    }
    a.btn:hover {
      color: #&#8203;444;
    }
    a.btn:active {
      color: #&#8203;555;
    }
    ```

    More complex cases may generate the `:is()` pseudo-class:

    ```css
    /* Original input */
    div, p {
      .warning, .error {
        padding: 20px;
      }
    }

    /* New output (with --target=chrome88) */
    :is(div, p) :is(.warning, .error) {
      padding: 20px;
    }
    ```

    In addition, esbuild now has a special warning message for nested style rules that start with an identifier. This isn't allowed in CSS because the syntax would be ambiguous with the existing declaration syntax. The new warning message looks like this:

        ▲ [WARNING] A nested style rule cannot start with "p" because it looks like the start of a declaration [css-syntax-error]

            <stdin>:1:7:
              1 │ main { p { margin: auto } }
                │        ^
                ╵        :is(p)

          To start a nested style rule with an identifier, you need to wrap the identifier in ":is(...)" to
          prevent the rule from being parsed as a declaration.

    Keep in mind that the transformation in this release is a preliminary implementation. CSS has many features that interact in complex ways, and there may be some edge cases that don't work correctly yet.

-   Minification now removes unnecessary `&` CSS nesting selectors

    This release introduces the following CSS minification optimizations:

    ```css
    /* Original input */
    a {
      font-weight: bold;
      & {
        color: blue;
      }
      & :hover {
        text-decoration: underline;
      }
    }

    /* Old output (with --minify) */
    a{font-weight:700;&{color:#&#8203;00f}& :hover{text-decoration:underline}}

    /* New output (with --minify) */
    a{font-weight:700;:hover{text-decoration:underline}color:#&#8203;00f}
    ```

-   Minification now removes duplicates from CSS selector lists

    This release introduces the following CSS minification optimization:

    ```css
    /* Original input */
    div, div { color: red }

    /* Old output (with --minify) */
    div,div{color:red}

    /* New output (with --minify) */
    div{color:red}
    ```

</details>

<details>
<summary>angus-c/just</summary>

### [`v6.0.2`](https://togithub.com/angus-c/just/compare/50bd9408210e4f28add30138404ca92f1cfdfe8d...6417f865dbdc5370d1007d7c5243f5fc6db33636)

[Compare Source](https://togithub.com/angus-c/just/compare/50bd9408210e4f28add30138404ca92f1cfdfe8d...6417f865dbdc5370d1007d7c5243f5fc6db33636)

</details>

<details>
<summary>DASPRiD/localized-address-format</summary>

### [`v1.3.1`](https://togithub.com/DASPRiD/localized-address-format/blob/HEAD/CHANGELOG.md#&#8203;131-httpsgithubcomDASPRiDlocalized-address-formatcomparev130v131-2023-03-26)

[Compare Source](https://togithub.com/DASPRiD/localized-address-format/compare/v1.3.0...v1.3.1)

##### Bug Fixes

-   **formats:** update address formats to 2023-03-26 ([7b1a0f1](https://togithub.com/DASPRiD/localized-address-format/commit/7b1a0f1e17c581b489ccf62fbdd0194a825798dc))

</details>

<details>
<summary>ai/nanoid</summary>

### [`v4.0.2`](https://togithub.com/ai/nanoid/blob/HEAD/CHANGELOG.md#&#8203;402)

[Compare Source](https://togithub.com/ai/nanoid/compare/4.0.1...4.0.2)

-   Added [link](https://togithub.com/sponsors/ai) to Github Sponsors.

</details>

<details>
<summary>pnpm/pnpm</summary>

### [`v7.30.5`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.5)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.4...v7.30.5)

#### Patch Changes

-   `pnpm audit` should work even if there are no `package.json` file, just a `pnpm-lock.yaml` file.
-   Dedupe direct dependencies after hoisting.
-   Don't remove automatically installed peer dependencies from the root workspace project, when `dedupe-peer-dependents` is `true` [#&#8203;6154](https://togithub.com/pnpm/pnpm/issues/6154).

#### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" />
            <img src="https://pnpm.io/img/users/novu.svg" width="180" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" />
            <img src="https://pnpm.io/img/users/prisma.svg" width="180" />
          </picture>
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" />
            <img src="https://pnpm.io/img/users/vercel.svg" width="180" />
          </picture>
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" />
            <img src="https://pnpm.io/img/users/depot.svg" width="200" />
          </picture>
        </a>
      </td>
    </tr>
  </tbody>
</table>

### [`v7.30.4`](https://togithub.com/pnpm/pnpm/compare/v7.30.3...v7.30.4)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.3...v7.30.4)

</details>

<details>
<summary>quicktype/quicktype</summary>

### [`v23.0.19`](https://togithub.com/quicktype/quicktype/compare/ad42fbb1ba09eb942ae9afc44a41bf1394c8c16f...d2e7d4d7b7d5c37ab8db225054a95fe78f182158)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/ad42fbb1ba09eb942ae9afc44a41bf1394c8c16f...d2e7d4d7b7d5c37ab8db225054a95fe78f182158)

</details>

<details>
<summary>simov/slugify</summary>

### [`v1.6.6`](https://togithub.com/simov/slugify/blob/HEAD/CHANGELOG.md#v166-2023-03-26)

[Compare Source](https://togithub.com/simov/slugify/compare/v1.6.5...daab9285fa8869c4b999f4ef50f0e3ca5b7a2129)

-   [#&#8203;174](https://togithub.com/simov/slugify/pull/174) correctly handle empty strings in charmaps ([@&#8203;iliazeus](https://togithub.com/iliazeus))
-   [#&#8203;169](https://togithub.com/simov/slugify/pull/169) Add changelog ([@&#8203;simov](https://togithub.com/simov))
-   [#&#8203;168](https://togithub.com/simov/slugify/pull/168) chore: document limitations of the `remove` option ([#&#8203;168](https://togithub.com/simov/slugify/issues/168)) ([@&#8203;Trott](https://togithub.com/Trott))
-   [#&#8203;157](https://togithub.com/simov/slugify/pull/157) Run CI in Node.js 18 ([@&#8203;stscoundrel](https://togithub.com/stscoundrel))
-   [#&#8203;151](https://togithub.com/simov/slugify/pull/151) Update README.md ([#&#8203;151](https://togithub.com/simov/slugify/issues/151)) ([@&#8203;lorand-horvath](https://togithub.com/lorand-horvath))

</details>

<details>
<summary>vercel/turbo</summary>

### [`v1.8.6`](https://togithub.com/vercel/turbo/releases/tag/v1.8.6): Turborepo v1.8.6

[Compare Source](https://togithub.com/vercel/turbo/compare/v1.8.5...v1.8.6)



#### What's Changed

##### Changelog

-   release(turborepo): 1.8.5 by [@&#8203;github-actions](https://togithub.com/github-actions) in [vercel/turbo#4278
-   chore(release): add new packages to publish flow by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#4271
-   Break up client package and delete unused code by [@&#8203;mehulkar](https://togithub.com/mehulkar) in [vercel/turbo#4303
-   Sort task ancestors in task summary by [@&#8203;mehulkar](https://togithub.com/mehulkar) in [vercel/turbo#4311
-   Don't hash env var when the value is an empty string by [@&#8203;mehulkar](https://togithub.com/mehulkar) in [vercel/turbo#4312
-   fix(signal handling for child process) by [@&#8203;chris-olszewski](https://togithub.com/chris-olszewski) in [vercel/turbo#4290
-   Send run summary to API by [@&#8203;mehulkar](https://togithub.com/mehulkar) in [vercel/turbo#4250
-   Make Single Package repo work with globalDependencies config by [@&#8203;mehulkar](https://togithub.com/mehulkar) in [vercel/turbo#4240
-   fix: make turbo command regex stricter by [@&#8203;chris-olszewski](https://togithub.com/chris-olszewski) in [vercel/turbo#4325
-   Add `endTime` into task execution summary by [@&#8203;mehulkar](https://togithub.com/mehulkar) in [vercel/turbo#4326
-   Add start and endTime to top level execution summary by [@&#8203;mehulkar](https://togithub.com/mehulkar) in [vercel/turbo#4334
-   Record exit codes per task in a run by [@&#8203;mehulkar](https://togithub.com/mehulkar) in [vercel/turbo#4344
-   Consolidate two representations of task by [@&#8203;mehulkar](https://togithub.com/mehulkar) in [vercel/turbo#4342
-   Add top level exitCode to RunSummary by [@&#8203;mehulkar](https://togithub.com/mehulkar) in [vercel/turbo#4343
-   Reduce boilerplate in run sumamry tests by [@&#8203;mehulkar](https://togithub.com/mehulkar) in [vercel/turbo#4353
-   fix: error swallowing when using continue by [@&#8203;chris-olszewski](https://togithub.com/chris-olszewski) in [vercel/turbo#4354

**Full Changelog**: vercel/turbo@v1.8.5...v1.8.6

</details>

<details>
<summary>sindresorhus/type-fest</summary>

### [`v3.7.1`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.7.1)

[Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.7.0...v3.7.1)

-   Fix missing export ([#&#8203;580](https://togithub.com/sindresorhus/type-fest/issues/580))  [`3deac35`](https://togithub.com/sindresorhus/type-fest/commit/3deac35)

</details>

<details>
<summary>chrishoermann/zod-prisma-types</summary>

### [`v2.5.3`](https://togithub.com/chrishoermann/zod-prisma-types/releases/tag/v2.5.3): 2.5.3

[Compare Source](https://togithub.com/chrishoermann/zod-prisma-types/compare/f51b86ad34dc7d854c4e929fa49da92878b6ed3e...v2.5.3)

#### What's Changed

-   Update Readme.md by [@&#8203;sinh117801](https://togithub.com/sinh117801) in [chrishoermann/zod-prisma-types#111
-   Update Readme to clarify installation procedure by [@&#8203;fotoflo](https://togithub.com/fotoflo) in [chrishoermann/zod-prisma-types#115
-   Fixed import bug [#&#8203;106](https://togithub.com/chrishoermann/zod-prisma-types/issues/106)

#### New Contributors

-   [@&#8203;sinh117801](https://togithub.com/sinh117801) made their first contribution in [chrishoermann/zod-prisma-types#111
-   [@&#8203;fotoflo](https://togithub.com/fotoflo) made their first contribution in [chrishoermann/zod-prisma-types#115

**Full Changelog**: chrishoermann/zod-prisma-types@v2.5.1...v2.5.3

### [`v2.5.2`](https://togithub.com/chrishoermann/zod-prisma-types/compare/v2.5.1...f51b86ad34dc7d854c4e929fa49da92878b6ed3e)

[Compare Source](https://togithub.com/chrishoermann/zod-prisma-types/compare/v2.5.1...f51b86ad34dc7d854c4e929fa49da92878b6ed3e)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/weareinreach/InReach).



PR-URL: #339
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants