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

Version Packages #1943

Merged
merged 2 commits into from
Nov 17, 2024
Merged

Version Packages #1943

merged 2 commits into from
Nov 17, 2024

Conversation

github-actions[bot]
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@farmfe/[email protected]

Minor Changes

  • 7d86847: Support tree shake import * as ns from './xxx'. ./xxx can be tree-shaken if following rules are met:

    • ns is used as member prop, example: ns.a
    • ns is used as member literal computed, example: ns['a']

    For example:

    // b.ts
    export const a = 1;
    export const b = 2;
    
    // a.ts
    import * as ns from "./b";
    
    console.log(ns.a);
    console.log(ns["a"]);

    After tree shaking, the result will be:

    // b.ts
    export const a = 1; // a is preserved and b is removed.
    
    // a.ts
    import * as ns from "./b";
    console.log(ns.a);
    console.log(ns["a"]);

    But if ns is met rules above, then all the fields will be preserved, example:

    // b.ts
    export const a = 1;
    export const b = 2;
    
    // a.ts
    import * as ns from "./b";
    
    console.log(ns);

    After tree shaking, the result will be:

    // b.ts
    export const a = 1; // both a and b are preserved
    export const b = 2;
    // a.ts
    import * as ns from "./b";
    console.log(ns.a);
    console.log(ns["a"]);

@farmfe/[email protected]

Patch Changes

@farmfe/[email protected]

Patch Changes

@farmfe/[email protected]

Patch Changes

@farmfe/[email protected]

Patch Changes

@farmfe/[email protected]

Patch Changes

@farmfe/[email protected]

Patch Changes

  • 7d86847: Move client dependencies to devDependencies to avoid unnecessary dependencies

@farmfe/[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

Copy link

codspeed-hq bot commented Nov 17, 2024

CodSpeed Performance Report

Merging #1943 will create unknown performance changes

Comparing changeset-release/main (e82fe9c) with main (a785d6f)

Summary

⚠️ No benchmarks were detected in both the base of the PR and the PR.

@wre232114 wre232114 merged commit 6836931 into main Nov 17, 2024
34 of 37 checks passed
@wre232114 wre232114 deleted the changeset-release/main branch November 17, 2024 16:05
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.

[Bug Report]: Rust plugin template gha arm linux builds fail
1 participant