Repository navigation
Releases
Releases · webpro-nl/unbarrelify
Release 1.2.0
- Preserve barrels with untraceable imports (a0ac42a)
- Add untraceable-import and barrel-reexport preservation reasons (20fedbf)
- Preserve barrels after consumer write failures (#6) (90f2e32) - thanks @everton-dgn!
- Keep the target's extension when imports use TypeScript extensions (4e0ed04)
- Keep barrels outside the target directory (#4) (641d95c) - thanks @everton-dgn!
- Preserve exact TypeScript path alias boundaries (#8) (8be69f6) - thanks @everton-dgn!
- Resolve named exports through cyclic barrels (#10) (7189aaf) - thanks @everton-dgn!
- Preserve selected barrels with remaining consumers (#9) (0f68951) - thanks @everton-dgn!
- Isolate exported-name caches between runs (#7) (1135ab4) - thanks @everton-dgn!
- Preserve statements between organized imports (#5) (bc1d7c4) - thanks @everton-dgn!
- Preserve package import specifiers when removing barrels (#11) (accdd19) - thanks @everton-dgn!
- Write .mjs and .cjs for .mts and .cts targets (46cd268)
- Trace local exports before package star re-exports (c45ec0b)
- Prefer named re-exports over star re-exports of the same name (ad9bbd8)
- Add consumer-error preservation reason (7c824bc)
- Stop when a file cannot be analyzed (da201c0)
- Report only barrels that were deleted (e3ddae2)
- Move test helpers to share them with unit tests (6ac71b1)
- Read analyzer test inputs from fixtures (fd78701)
- Exit 1 when files could not be rewritten or deleted (238b9e8)
- Track template literal dynamic imports (e41f856)
- Scan non-TypeScript imports with independent patterns (e4cbb66)
- Describe what a failed write guarantees (17d2d52)
- Report unregistered barrel consumers as barrel re-exports (72bcedc)
- Stop when a re-export target cannot be analyzed (940f0df)
- Keep namespace imports whose new target is a barrel (7dcb1fa)
- Keep declarations that combine default and namespace imports (de756a9)
- Keep barrels imported for side effects (c8825bb)
- Record consumers of analyzed files outside the scan (84e65c6)
- Keep barrels whose consumer barrel could not be deleted (79d6ec5)
- Stop when a directory cannot be read (1fa1149)
- Reach the cycle guard in the cyclic star re-export test (32c278d)
- Recognize destructured exports as local exports (2514908)
- Keep type-only imports type-only through re-export aliases (fbcd2f9)
- Export only the namespace binding from a namespace re-export (989d41a)
- Merge repeated package re-exports and resolve their aliases (f91c5b4)
- Resolve a name only through its named re-export (dc01d5a)
- Leave an import untraceable when its named re-export cannot be followed (adbfd51)
- Keep namespace and named re-exports of one target apart (3cd992b)
- Keep a type-only default import type-only through a re-export alias (93ef7bf)
- Keep a type-only default import type-only (3a84a5e)
- Keep every namespace name of a re-export target (9bbe95c)
- Read buildRewrites test inputs from fixtures (89cd19c)
- Copy only-consumers test projects from fixtures (68e8a12)
- Copy organize integration test projects from fixtures (34aa833)
- Copy the organize directive test inputs from fixtures (04a8654)
- Check out fixtures with LF line endings (91c62d0)
- Remove a final duplicate import with its line (cfb97df)
- Merge only consecutive imports without comments that would move (aea9db4)
- Keep imports with comments inside the first declaration unmerged (13b7e4c)
- Keep the target's extension in star and namespace rewrites of a package import (2708379)
- Keep the exports of a package-private key that cannot be moved (ea390c1)
- Keep a bare specifier for a local file only where it resolves to that file (ba178e3)
- Match a package-private key that contains a query or fragment as written (8203dc8)
- Follow conditional, array and pattern targets of a private key with a query or fragment (837cdee)
- Drop a bare specifier that Node resolves to another file than tsconfig paths (250f919)
- Resolve literal package keys and bare specifiers as Node does at runtime (3c26175)
- Skip package import targets that Node rejects (efa49b8)
- Apply the specifier extension rule to path aliases and other JavaScript extensions (720a056)
- Match tsconfig path keys literally (26d4298)
- Keep the extension of a wildcard alias that needs it (8508c5b)
- Keep an exact alias without its extension only where it names the file (e5e1f67)
- Keep the extension of a wildcard package import key (563d9ec)
- Validate package import keys in the consumer's package scope (96f6ab9)
- Keep the extension of a JavaScript target reached through package import keys (045ce2e)
- Validate every generated package import key in the consumer's package scope (2a647c0)
- Keep an import whose route through package import keys gives no import style (546f25b)
- Copy write-failure test projects from fixtures (3d8dfbd)
- Decide whether a rewrite can be spelled per declaration, from its consumer (6fd5683)
- Resolve package conditions as Node does for an ES module import (727f95e)
- Keep a type-only import of a namespace re-export type-only (3dc56d8)
- Spell a two-hop namespace rewrite from the export that names its target (c9e5976)
- Keep a type-only namespace import type-only (b8b7f1f)
- Keep a namespace import whose unsafe rewrite would import a barrel (6b9240c)
- Keep a namespace import whose unsafe rewrite cannot import every target (a93cf83)
- Stop when a package.json with package imports cannot be read (f45def9)
- Validate a reused package-private key with a query or fragment as written (dcf660d)
- Describe untraceable imports that have no direct import (487854a)
- Apply the module-sync and node-addons conditions to package imports (89d284b)
- Stop at a package import condition that maps to null (96aceb7)
- Reuse a package-private key only where its target exists as written (5a507fc)
- Keep a type-only namespace import out of unsafe namespace rewrites (5680c5e)
- Reuse a package-private key only where it names a file (a915d48)
- Pin a named import beside a namespace re-export of the same local file (4af11b4)
- Keep a default import the default binding when named imports share its target (resolve #12) (d1a45ae)
- Fix tests by disabling colors (ansi escape codes) (fc0e2b3)
- Update dependencies (484ca56)
Release 1.1.4
Release 1.1.3
- Update dependencies (8787866)
- Rename star export metadata (c334b1b)
- Use declared toolchains in integration tests (33a81ea)
- Preserve type-only star re-export semantics (9066f76)
- Preserve curated star re-export boundaries (5c0f490)
- Map published output paths to source entries (e19a008)
- Preserve explicitly listed TypeScript files (6359172)
- Traverse referenced TypeScript projects (7bbf3a3)
- Preserve default aliases through re-export chains (102a46c)
- Preserve named exports re-exported as default (712f7a7)
- Detect dynamic imports in non-TypeScript files (51f7673)
- Fix default re-export resolution (resolve #2) (9c9507e)
- Fix pnpm link in GHA (2a9314c)
- Bump
engines.node(8416c4a)