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

chore(deps): update dependency vite-tsconfig-paths to v4 #324

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 10, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite-tsconfig-paths 3.6.0 -> 4.2.3 age adoption passing confidence

Release Notes

aleclarson/vite-tsconfig-paths (vite-tsconfig-paths)

v4.2.3

Compare Source

v4.2.2

Compare Source

v4.2.1

Compare Source

v4.2.0

Compare Source

  • 7a97869 If a tsconfig file is malformed and cannot be parsed (e.g. its extends property points to a non-existent file), an error is now logged instead of crashing the process. You can disable parsing error logs by setting ignoreConfigErrors: true in the plugin options.

v4.1.0

Compare Source

  • 9766de8 If the projects option is used, any missing tsconfig files will be silently ignored (other than a debug log, enabled with DEBUG="vite-tsconfig-paths" environment variable).

v4.0.9

Compare Source

v4.0.8

Compare Source

v4.0.7

Compare Source

v4.0.6

Compare Source

v4.0.5

Compare Source

v4.0.4

Compare Source

v4.0.3

Compare Source

v4.0.2

Compare Source

v4.0.1

Compare Source

v4.0.0

Compare Source

  • Stop using the tsconfig-paths package
    It is better to let Vite handle all of the resolving, so that this plugin can be only responsible for the path mapping.

    At the same time, I am also adding the tsconfck package, which handles the loading of tsconfig.json files for us. This package is also used in Vite core (we should have Vite expose it in the future, to avoid the duplication).

    The tsconfig-paths package was previously responsible for config loading and much of the path resolving logic, but now we can ditch it! I'm also ditching the recrawl-sync package, which was used for crawling the filesystem in search of tsconfig.json files.

  • Remove the extensions option
    Since the file resolution is delegated to Vite core, this option is no longer necessary.

  • Add the parseNative option
    The tsconfck package has a parseNative function that's able to delegate config loading to the TypeScript compiler. If you encounter a bug in tsconfig.json file loading, you can try passing parseNative: true to see if that helps. But you should avoid enabling it otherwise, since it has a noticeable performance cost (up to 600ms roughly speaking).


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

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

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

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot force-pushed the renovate/vite-tsconfig-paths-4.x branch from c336e65 to 258c77c Compare December 14, 2022 18:41
@renovate renovate bot changed the title chore(deps): update dependency vite-tsconfig-paths to v4 Update dependency vite-tsconfig-paths to v4 Dec 17, 2022
@renovate renovate bot changed the title Update dependency vite-tsconfig-paths to v4 chore(deps): update dependency vite-tsconfig-paths to v4 Dec 17, 2022
@renovate renovate bot force-pushed the renovate/vite-tsconfig-paths-4.x branch from 258c77c to d476a26 Compare January 28, 2023 02:55
@renovate renovate bot force-pushed the renovate/vite-tsconfig-paths-4.x branch from d476a26 to e77e238 Compare February 3, 2023 14:35
@renovate renovate bot force-pushed the renovate/vite-tsconfig-paths-4.x branch from e77e238 to 703c19c Compare March 14, 2023 22:00
@renovate renovate bot force-pushed the renovate/vite-tsconfig-paths-4.x branch 2 times, most recently from ab945da to 390c189 Compare April 10, 2023 20:23
@renovate renovate bot force-pushed the renovate/vite-tsconfig-paths-4.x branch 2 times, most recently from 83bb758 to 6cbfdad Compare April 12, 2023 20:24
@renovate renovate bot force-pushed the renovate/vite-tsconfig-paths-4.x branch from 6cbfdad to 9a5b75d Compare September 9, 2023 23:59
@renovate renovate bot force-pushed the renovate/vite-tsconfig-paths-4.x branch from 9a5b75d to fa8d399 Compare December 8, 2023 15:46
Copy link
Contributor Author

renovate bot commented Dec 8, 2023

⚠ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: vitest-jest-dom/pnpm-lock.yaml
 WARN  GET https://registry.npmjs.org/vitest/-/vitest-0.28.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/ky-universal/-/ky-universal-0.11.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vite-tsconfig-paths error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
Progress: resolved 0, reused 1, downloaded 0, added 0
Progress: resolved 12, reused 12, downloaded 0, added 0
 WARN  GET https://registry.npmjs.org/vitest/-/vitest-0.28.4.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/ky-universal/-/ky-universal-0.11.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/vite-tsconfig-paths error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
undefined
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams

TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
    at Proxy.getAll (node:internal/url:527:13)
    at Proxy.<anonymous> (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59380:55)
    at /opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59442:31
    at Array.reduce (<anonymous>)
    at Proxy.raw (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59441:33)
    at new Headers (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59326:28)
    at getNodeRequestOptions (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59675:23)
    at /opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59732:25
    at new Promise (<anonymous>)
    at fetch (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59730:14)

File name: vite-radix-stitches/pnpm-lock.yaml
 WARN  GET https://registry.npmjs.org/@storybook/testing-library/-/testing-library-0.0.13.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.0.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vite-tsconfig-paths error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
Progress: resolved 0, reused 1, downloaded 0, added 0
Progress: resolved 17, reused 17, downloaded 0, added 0
 WARN  GET https://registry.npmjs.org/@storybook/testing-library/-/testing-library-0.0.13.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.0.3.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/vite-tsconfig-paths error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
undefined
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams

TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
    at Proxy.getAll (node:internal/url:527:13)
    at Proxy.<anonymous> (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59380:55)
    at /opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59442:31
    at Array.reduce (<anonymous>)
    at Proxy.raw (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59441:33)
    at new Headers (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59326:28)
    at getNodeRequestOptions (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59675:23)
    at /opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59732:25
    at new Promise (<anonymous>)
    at fetch (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59730:14)

File name: storybook-vite/pnpm-lock.yaml
 WARN  GET https://registry.npmjs.org/@storybook/testing-library/-/testing-library-0.0.13.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vite-tsconfig-paths error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
Progress: resolved 0, reused 1, downloaded 0, added 0
Progress: resolved 15, reused 15, downloaded 0, added 0
 WARN  GET https://registry.npmjs.org/@storybook/testing-library/-/testing-library-0.0.13.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/vite-tsconfig-paths error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
undefined
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams

TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
    at Proxy.getAll (node:internal/url:527:13)
    at Proxy.<anonymous> (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59380:55)
    at /opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59442:31
    at Array.reduce (<anonymous>)
    at Proxy.raw (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59441:33)
    at new Headers (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59326:28)
    at getNodeRequestOptions (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59675:23)
    at /opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59732:25
    at new Promise (<anonymous>)
    at fetch (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59730:14)

@renovate renovate bot force-pushed the renovate/vite-tsconfig-paths-4.x branch from fa8d399 to d61a6f5 Compare December 31, 2023 12:11
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

0 participants