Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 13, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@rslib/core (source) ^0.4.1 -> ^0.7.0 age adoption passing confidence

Release Notes

web-infra-dev/rslib (@​rslib/core)

v0.7.0

Compare Source

What's Changed

New Features 🎉
Bug Fixes 🐞
Other Changes

Full Changelog: web-infra-dev/rslib@v0.6.9...v0.7.0

v0.6.9

Compare Source

What's Changed
New Features 🎉
Document 📖
Other Changes

Full Changelog: web-infra-dev/rslib@v0.6.8...v0.6.9

v0.6.8

Compare Source

What's Changed
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rslib@v0.6.7...v0.6.8

v0.6.7

Compare Source

What's Changed
Bug Fixes 🐞
Other Changes

Full Changelog: web-infra-dev/rslib@v0.6.6...v0.6.7

v0.6.6

Compare Source

What's Changed
Bug Fixes 🐞
Other Changes

Full Changelog: web-infra-dev/rslib@v0.6.5...v0.6.6

v0.6.5

Compare Source

What's Changed
Bug Fixes 🐞
Other Changes

Full Changelog: web-infra-dev/rslib@v0.6.4...v0.6.5

v0.6.4

Compare Source

What's Changed
Bug Fixes 🐞
Other Changes

Full Changelog: web-infra-dev/rslib@v0.6.3...v0.6.4

v0.6.3

Compare Source

What's Changed
Performance 🚀
Bug Fixes 🐞
Other Changes
New Contributors

Full Changelog: web-infra-dev/rslib@v0.6.2...v0.6.3

v0.6.2

Compare Source

What's Changed
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rslib@v0.6.1...v0.6.2

v0.6.1

Compare Source

What's Changed
New Features 🎉
Other Changes

Full Changelog: web-infra-dev/rslib@v0.6.0...v0.6.1

v0.6.0

Compare Source

Highlights ✨

This release brings exciting new features and improvements to Rslib:

  • New default library type for CJS: Rslib changes the default value of output.library.type for CJS from commonjs to commonjs-static. Now, individual exports will be set as properties on module.exports and the output can be statically analyzable, thus named exports are importable into ESM via Node.js. This is useful when source code is written in ESM and the output should be compatible with both CJS and ESM. (#​819)

    Named exports are importable into ESM via Node.js

    • Input:
    export function doSomething() {}
    • Output:
    function doSomething() {}
    // …
    exports.doSomething = __webpack_exports__.doSomething;
    • Consumption (CJS):
    const { doSomething } = require('./output.cjs'); // doSomething => [Function: doSomething]
    • Consumption (ESM):
    import { doSomething } from './output.cjs'; // doSomething => [Function: doSomething]
  • Show code frame for type errors: Rslib now shows full context and code frame of tsc diagnostics in the terminal when generating declaration files. This makes it easier to understand and fix issues in the source code. (#​847)

    image

What's Changed
New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rslib@v0.5.5...v0.6.0

v0.5.5

Compare Source

What's Changed
Bug Fixes 🐞
Document 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rslib@v0.5.4...v0.5.5

v0.5.4

Compare Source

What's Changed
Bug Fixes 🐞
Other Changes

Full Changelog: web-infra-dev/rslib@v0.5.3...v0.5.4

v0.5.3

Compare Source

What's Changed
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rslib@v0.5.2...v0.5.3

v0.5.2

Compare Source

What's Changed
New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rslib@v0.5.1...v0.5.2

v0.5.1

Compare Source

What's Changed
New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rslib@v0.5.0...v0.5.1

v0.5.0

Compare Source

Highlights ✨

This release brings exciting new features and improvements to Rslib:

  • Support DTS Redirect: Rslib now supports to control the redirect of the import paths in output TypeScript declaration files. (#​742)

    • redirect.dts.path: Redirect the import path in the DTS output file to the corresponding relative path based on the compilerOptions.paths configured in tsconfig.json.
    // For `compilerOptions.paths` set to `{ "@​/*": ["src/*"] }` in `tsconfig.json`
    import { foo } from '@​/foo'; // source code of './src/bar.ts' ↓
    import { foo } from './foo'; // expected output of './dist/bar.d.ts'
    
    import { foo } from '@​/foo'; // source code of './src/utils/index.ts' ↓
    import { foo } from '../foo'; // expected output './dist/utils/index.d.ts'
    • redirect.dts.extension: Redirect the import path in the DTS output file to the corresponding JavaScript extension which can be resolved to corresponding DTS file.
    // For `.d.mts` TypeScript Declaration files
    import { foo } from './foo'; // source code of './src/bar.ts' ↓
    import { foo } from './foo.mjs'; // expected output of './dist/bar.d.mts'
    
    import { foo } from './foo.ts'; // source code of './src/bar.ts' ↓
    import { foo } from './foo.mjs'; // expected output of './dist/bar.d.mts'
  • Support outBase in Bundleless Mode: When building a project where source files exist across multiple directories with bundleless mode, the output directory structure will be replicated relative to the outBase directory in the output directory, see lib.outBase for more details. (#​745)

  • Add Documents about Assets: Documents related to asset module have been added for common scenarios in component library development, see Import static assets, Import SVGR and Import JSON files for more details. (#​741)

  • Support pkg.pr.new: With pkg.pr.new, each of commits in main branch will trigger an instant preview release without publishing anything to NPM. This enables users to access features and bug-fixes without the need to wait for release cycles. (#​766)

What's Changed
New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rslib@v0.4.1...v0.5.0


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone Asia/Shanghai, 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.

@netlify
Copy link

netlify bot commented Apr 13, 2025

Deploy Preview for storybook-rsbuild ready!

Name Link
🔨 Latest commit ab1776c
🔍 Latest deploy log https://app.netlify.com/sites/storybook-rsbuild/deploys/6823798498aa2b0008289e56
😎 Deploy Preview https://deploy-preview-267--storybook-rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@renovate renovate bot force-pushed the renovate/rslib-core-0.x branch from cd0c14e to b23bd65 Compare April 14, 2025 06:29
@renovate renovate bot changed the title chore(deps): update dependency @rslib/core to ^0.6.2 chore(deps): update dependency @rslib/core to ^0.6.3 Apr 14, 2025
@renovate renovate bot force-pushed the renovate/rslib-core-0.x branch 2 times, most recently from 700bc58 to e36968f Compare April 17, 2025 16:12
@renovate renovate bot changed the title chore(deps): update dependency @rslib/core to ^0.6.3 chore(deps): update dependency @rslib/core to ^0.6.4 Apr 17, 2025
@renovate renovate bot force-pushed the renovate/rslib-core-0.x branch from e36968f to 88888fb Compare April 18, 2025 15:45
@renovate renovate bot changed the title chore(deps): update dependency @rslib/core to ^0.6.4 chore(deps): update dependency @rslib/core to ^0.6.5 Apr 18, 2025
@renovate renovate bot force-pushed the renovate/rslib-core-0.x branch from 88888fb to bd1d518 Compare April 22, 2025 19:00
@renovate renovate bot changed the title chore(deps): update dependency @rslib/core to ^0.6.5 chore(deps): update dependency @rslib/core to ^0.6.6 Apr 22, 2025
@renovate renovate bot force-pushed the renovate/rslib-core-0.x branch from bd1d518 to 7c9f5ba Compare April 23, 2025 05:33
@renovate renovate bot changed the title chore(deps): update dependency @rslib/core to ^0.6.6 chore(deps): update dependency @rslib/core to ^0.6.7 Apr 23, 2025
@renovate renovate bot force-pushed the renovate/rslib-core-0.x branch 3 times, most recently from ec4bad7 to 0479671 Compare April 30, 2025 17:27
@renovate renovate bot changed the title chore(deps): update dependency @rslib/core to ^0.6.7 chore(deps): update dependency @rslib/core to ^0.6.8 Apr 30, 2025
@renovate renovate bot force-pushed the renovate/rslib-core-0.x branch from 0479671 to d8bb99b Compare May 9, 2025 12:12
@renovate renovate bot changed the title chore(deps): update dependency @rslib/core to ^0.6.8 chore(deps): update dependency @rslib/core to ^0.6.9 May 9, 2025
@renovate renovate bot force-pushed the renovate/rslib-core-0.x branch from d8bb99b to ab1776c Compare May 13, 2025 16:55
@renovate renovate bot changed the title chore(deps): update dependency @rslib/core to ^0.6.9 chore(deps): update dependency @rslib/core to ^0.7.0 May 13, 2025
@fi3ework fi3ework merged commit 95cb445 into main May 13, 2025
10 checks passed
@fi3ework fi3ework deleted the renovate/rslib-core-0.x branch May 13, 2025 17:00
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.

2 participants