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 dependency @preconstruct/cli to ^2.8.7 #38

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 20, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@preconstruct/cli (source) ^2.1.5 -> ^2.8.7 age adoption passing confidence

Release Notes

preconstruct/preconstruct (@​preconstruct/cli)

v2.8.7

Compare Source

Patch Changes
  • #​596 022bbc4 Thanks @​emmatown! - Fix Error when using sourcemap for reporting an error: Can't resolve original location of error error caused by changes to @babel/helpers in newer versions of Babel

v2.8.6

Compare Source

Patch Changes

v2.8.5

Compare Source

Patch Changes
  • #​592 c05b2a9 Thanks @​emmatown! - Fix generating TypeScript declarations where imports to JSON files are emitted in the .d.ts files

v2.8.4

Compare Source

Patch Changes
  • fa66c34 Thanks @​emmatown! - Fix preconstruct dev with exports: { importConditionDefaultExport: "default" } with a .d.ts file

v2.8.3

Compare Source

Patch Changes

v2.8.2

Compare Source

Patch Changes

v2.8.1

Compare Source

Patch Changes
  • #​567 d4006c8 Thanks @​Andarist! - Fixed .mjs proxies generation with ___experimentalFlags_WILL_CHANGE_IN_PATCH.importsConditions and exports.importConditionDefaultExport: 'default'

v2.8.0

Compare Source

Minor Changes
  • #​565 484c6a7 Thanks @​Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

  • #​566 9d4f0dc Thanks @​emmatown! - Preconstruct no longer emits unnecessary .d.ts files that aren't referenced by an entrypoint

Patch Changes
  • 58df49f Thanks @​emmatown! - Fix require hook skipping compiling files when just an entrypoint is loaded

  • #​559 a58f021 Thanks @​emmatown! - Extend import path normalisation in generated declaration files to manually written declaration files as well

v2.7.0

Compare Source

Minor Changes
  • #​556 908c43e Thanks @​Andarist! - Always emit relative paths used in generated TS declaration files with resolved extensions of their runtime equivalents. This currently requires one of the 2 experimental flags: importsConditions or onlyEmitUsedTypeScriptDeclarations
Patch Changes
  • #​554 1147fee Thanks @​Andarist! - Fix types like import('#foo').Foo<import('#bar').Bar> not replacing the import to #bar in generated declarations under the importsConditions experimental flag

v2.6.4

Compare Source

Patch Changes
  • e78203b Thanks @​emmatown! - Fix .d.ts files under importsConditions experimental flag incorrectly pointing to the source files

v2.6.3

Compare Source

Patch Changes

v2.6.2

Compare Source

Patch Changes
  • #​546 c28b10a Thanks @​emmatown! - importConditionDefaultExport is now re-enabled and works with "moduleResolution": "bundler"

v2.6.1

Compare Source

Patch Changes
  • 5380890 Thanks @​emmatown! - Disable specifying importConditionDefaultExport because it doesn't work correctly in "moduleResoltion": "bundler", @preconstruct/[email protected] is npm deprecated, importConditionDefaultExport will come back in the future.

v2.6.0

Compare Source

Minor Changes
  • #​543 93106e3 Thanks @​Andarist! - Added a new exports.importConditionDefaultExport config option. It allows you to generate import exports condition (and corresponding files) to fix the export shape incompatibility between node and bundlers.

    With this option set to "default" this will always resolve to what has been written as a default export:

    // lib/src/index.js
    export default 42;
    export const named = "awesome";
    
    // app/consume.mjs
    import smth from "lib";
    smth; // 42, and not `{ default: 42, named: 'awesome' }`
  • 233ee25 Thanks @​emmatown! - Top-level 'use server' directives are now also preserved like 'use client' directives.

Patch Changes
  • 4e72d99 Thanks @​emmatown! - Fix 'use client' directives with comments preceding them not being detected

v2.5.0

Compare Source

Minor Changes
  • #​540 261140b Thanks @​emmatown! - Self-referencing a package with its name is now allowed. They are emitted as written (not resolved to a particular bundle ahead of time).
Patch Changes

v2.4.4

Compare Source

Patch Changes
  • 1f83965 Thanks @​emmatown! - Fix preconstruct dev throwing a syntax error when an entrypoint has a .d.ts file with a default export.

v2.4.3

Compare Source

Patch Changes

v2.4.2

Compare Source

Patch Changes
  • #​530 2a3722c Thanks @​emmatown! - Generate declaration maps for the .d.ts files that only re-export the actual entrypoints so that go to definition goes directly to the actual entrypoints.

v2.4.1

Compare Source

Patch Changes
  • 457b707 Thanks @​emmatown! - Fix having a "use client" in a non-entrypoint TypeScript file breaking the build

v2.4.0

Compare Source

Minor Changes
  • #​516 d363c88 Thanks @​emmatown! - Modules with "use client" directives are now built as their own chunk with the "use client" directive preserved.

v2.3.0

Compare Source

Minor Changes
Patch Changes

v2.2.2

Compare Source

Patch Changes
  • #​495 4e90c2b Thanks @​mycroes! - The outDir and declarationDir tsconfig options are now ignored. These options are unnecessary for Preconstruct since it controls where the .d.ts files are emitted to. This fixes confusing errors if you had these options set.

  • eaa2fcc Thanks @​mitchellhamilton! - Improved error when importing something with an extension that can't be imported

v2.2.1

Compare Source

Patch Changes
  • #​476 3930466 Thanks @​mitchellhamilton! - Using node: to import Node builtins no longer triggers a "package is not specified in dependencies or peerDependencies" error

  • #​481 76f0163 Thanks @​efoken! - Updated @rollup/plugin-node-resolve to ^11.2.1 in order to make direct imports resolveable, e.g. packages that use exports in their package.json

v2.2.0

Compare Source

Minor Changes

v2.1.8

Compare Source

Patch Changes

v2.1.7

Compare Source

Patch Changes
  • 3f202fd Thanks @​mitchellhamilton! - Imports to @babel/runtime/helpers/esm/* will now be rewritten to @babel/runtime/helpers/* for CommonJS outputs. This fixes the CommonJS output in case you have ["@&#8203;babel/plugin-transform-runtime", { "useESModules": true }]) in your Babel config.

v2.1.6

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - "before 7am on Tuesday,before 7am on Wednesday" in timezone Australia/Melbourne, 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 was generated by Mend Renovate. View the repository job log.

@changeset-bot
Copy link

changeset-bot bot commented Mar 20, 2023

⚠️ No Changeset found

Latest commit: d3ca7ae

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@renovate renovate bot changed the title Update dependency @preconstruct/cli to ^2.3.0 Update dependency @preconstruct/cli to ^2.4.1 Mar 27, 2023
@renovate renovate bot force-pushed the renovate/preconstruct-cli-2.x branch 2 times, most recently from 731f2de to bf42e32 Compare April 3, 2023 15:02
@renovate renovate bot changed the title Update dependency @preconstruct/cli to ^2.4.1 Update dependency @preconstruct/cli to ^2.4.3 Apr 3, 2023
@renovate renovate bot force-pushed the renovate/preconstruct-cli-2.x branch from bf42e32 to 658c4fc Compare April 17, 2023 15:38
@renovate renovate bot changed the title Update dependency @preconstruct/cli to ^2.4.3 Update dependency @preconstruct/cli to ^2.5.0 Apr 17, 2023
@renovate renovate bot force-pushed the renovate/preconstruct-cli-2.x branch from 658c4fc to c3ecead Compare May 29, 2023 14:37
@renovate renovate bot changed the title Update dependency @preconstruct/cli to ^2.5.0 Update dependency @preconstruct/cli to ^2.7.0 May 29, 2023
@renovate renovate bot changed the title Update dependency @preconstruct/cli to ^2.7.0 Update dependency @preconstruct/cli to ^2.8.0 Jul 3, 2023
@renovate renovate bot force-pushed the renovate/preconstruct-cli-2.x branch 2 times, most recently from f9d884c to 7217d58 Compare July 4, 2023 15:11
@renovate renovate bot changed the title Update dependency @preconstruct/cli to ^2.8.0 Update dependency @preconstruct/cli to ^2.8.1 Jul 4, 2023
@renovate renovate bot force-pushed the renovate/preconstruct-cli-2.x branch from 7217d58 to 81edddf Compare December 11, 2023 13:17
@renovate renovate bot changed the title Update dependency @preconstruct/cli to ^2.8.1 Update dependency @preconstruct/cli to ^2.8.2 Dec 11, 2023
@renovate renovate bot changed the title Update dependency @preconstruct/cli to ^2.8.2 Update dependency @preconstruct/cli to ^2.8.3 Jan 15, 2024
@renovate renovate bot force-pushed the renovate/preconstruct-cli-2.x branch from 81edddf to d3ca7ae Compare January 15, 2024 14:53
@renovate renovate bot force-pushed the renovate/preconstruct-cli-2.x branch from d3ca7ae to 9dad078 Compare May 6, 2024 16:05
@renovate renovate bot changed the title Update dependency @preconstruct/cli to ^2.8.3 Update dependency @preconstruct/cli to ^2.8.4 May 6, 2024
@renovate renovate bot force-pushed the renovate/preconstruct-cli-2.x branch from 9dad078 to b411c0f Compare July 2, 2024 14:22
@renovate renovate bot changed the title Update dependency @preconstruct/cli to ^2.8.4 Update dependency @preconstruct/cli to ^2.8.5 Jul 2, 2024
@renovate renovate bot force-pushed the renovate/preconstruct-cli-2.x branch from b411c0f to 2aa9f30 Compare July 8, 2024 15:09
@renovate renovate bot changed the title Update dependency @preconstruct/cli to ^2.8.5 Update dependency @preconstruct/cli to ^2.8.7 Jul 8, 2024
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.

0 participants