- #261
2af3e24
Thanks @gilgardosh! - Remove engines.pnpm/yarn/npm in the the output package.json
-
#247
0a5ff75
Thanks @kamilkisiela! - Remove thebob runify
command. -
#248
20117cd
Thanks @n1ru4l! - Requireengines.node
entry withbob check
command. -
#253
f74688c
Thanks @n1ru4l! - Drop support for typescript 4.
-
#201
edf3301
Thanks @renovate! - dependencies updates:- Updated dependency
[email protected]
↗︎ (from6.1.0
, independencies
)
- Updated dependency
-
#229
2519f67
Thanks @renovate! - dependencies updates:- Updated dependency
typescript@^5.0.0
↗︎ (from^4.7.4
, inpeerDependencies
)
- Updated dependency
-
#244
f7b5824
Thanks @renovate! - dependencies updates:- Updated dependency
consola@^3.0.0
↗︎ (from^2.15.3
, independencies
)
- Updated dependency
-
#247
0a5ff75
Thanks @kamilkisiela! - dependencies updates:- Removed dependency
@vercel/ncc@^0.36.0
↗︎ (fromdependencies
) - Removed dependency
dependency-graph@^0.11.0
↗︎ (fromdependencies
) - Removed dependency
tsup@^6.5.0
↗︎ (fromdependencies
)
- Removed dependency
-
#202
2236863
Thanks @enisdenjo! - Custom tsconfig path for the build command, default totsconfig.build.json
and fallback totsconfig.json
. -
#203
3b7efdc
Thanks @ardatan! - Breakingjest-resolver.js
renamed tojest-resolver.cjs
because Bob package is an ESM package.Please make sure to adjust your
jest.config.js
.- resolver: 'bob-the-bundler/jest-resolver.js' + resolver: 'bob-the-bundler/jest-resolver.cjs'
-
#214
1567b4d
Thanks @enisdenjo! - Include empty cjs/esm entry points for types-only packages -
#37
c912002
Thanks @kamilkisiela! - better windows support for paths in the runify command. -
#210
ad9fb40
Thanks @enisdenjo! - exports field should exist in types-only builds
-
#183
d6f981f
Thanks @renovate! - dependencies updates:- Updated dependency
resolve.exports@^2.0.0
↗︎ (from^1.1.0
, independencies
)
- Updated dependency
-
#187
d7a8fd5
Thanks @renovate! - dependencies updates:- Updated dependency
mkdirp@^2.0.0
↗︎ (from^1.0.4
, independencies
)
- Updated dependency
-
#188
4f9c7d4
Thanks @renovate! - dependencies updates:- Updated dependency
resolve.exports@^2.0.0
↗︎ (from^1.1.0
, independencies
)
- Updated dependency
-
#156
57cd333
Thanks @kamilkisiela! - Use Node18 as target in runfiy -
#191
5b5f85e
Thanks @adriencohen! - Include peerDependenciesMeta in build package.json
- #160
9ce6e27
Thanks @B2o5T! - Support pnpm workspaces frompnpm-workspace.yaml
.. Throw an error in case bothpnpm-workspace.yaml
andpackage.json#workspaces
fields exist. Add missing dependencyexeca
. Cleanup and remove unused dependencies.
-
#145
a4ebd65
Thanks @renovate! - dependencies updates:- Updated dependency
rollup-plugin-typescript2@^0.34.0
↗︎ (from^0.33.0
, independencies
)
- Updated dependency
-
#150
e18b500
Thanks @renovate! - dependencies updates:- Updated dependency
@vercel/ncc@^0.36.0
↗︎ (from^0.34.0
, independencies
)
- Updated dependency
-
#154
616e125
Thanks @renovate! - dependencies updates:- Updated dependency
@rollup/plugin-json@^6.0.0
↗︎ (from^4.1.0
, independencies
)
- Updated dependency
-
#167
d095697
Thanks @B2o5T! - dependencies updates:- Updated dependency
[email protected]
↗︎ (from5.1.1
, independencies
) - Updated dependency
globby@^13.1.3
↗︎ (from^11.0.0
, independencies
) - Updated dependency
p-limit@^4.0.0
↗︎ (from^3.1.0
, independencies
) - Updated dependency
yargs@^17.6.2
↗︎ (from^17.5.1
, independencies
) - Updated dependency
zod@^3.20.2
↗︎ (from^3.17.3
, independencies
)
- Updated dependency
-
#151
4695d0b
Thanks @kamilkisiela! - dependencies updates:- Updated dependency
tsup@^6.5.0
↗︎ (from^5.11.6
, independencies
)
- Updated dependency
-
#151
4695d0b
Thanks @kamilkisiela! - Support TypeScript 4.9 and satisfies operator
- #123
b68da59
Thanks @enisdenjo! - better performance by incrementally building only packages that had changes
-
#129
cd16844
Thanks @renovate! - dependencies updates:- Updated dependency
rollup-plugin-typescript2@^0.33.0
↗︎ (from^0.32.1
, independencies
)
- Updated dependency
-
#144
76fd23c
Thanks @enisdenjo! - Correct package.json for types-only packages
-
f685733: Change the exports map again, to please TypeScript commonjs :)
This is a major breaking change as it requires adjusting your
package.json
exports map.The
require
entries file extension must be changed from.d.ts
to.d.cts
.{ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts" } } } }
-
14fa965: Disable commonjs output via package.json
{ "name": "my-package", "bob": { "commonjs": false } }
-
b8db426: Ignore
__tests__
and__testUtils__
from bundling
- 16952de: Use correct path for checking file existence in exports map.
- e096322: Replace babel based export/import source location transform with an improved regex based transform that reduces code change noise and preserves the original formatting.
- 0c36290: Support type imports/exports.
- b6976a9: Use a more reliable import/export transform for the bootstrap command
- 086c1a8: Run typescript tsc commands in sequence instead of in parallel to avoid race conditions
where the
.bob/cjs
or.bob/esm
folder is missing.
-
0f3f9ac: Remove the
flat-pack
,validate
andrun
commands that are no longer maintained and used. -
1605028: Remove the global config. Please add
bob: false
to the individualpackage.json
workspaces that should not be processed by bob.This is the new config format for bob.
type BobConfig = /** completely disable bob for this package. */ | false | { /** Whether the package should be built. */ build?: | false | { /** Files to copy from the package root to dist */ copy?: Array<string> } /** Whether the package should be checked. */ check?: | false | { /** Exports within the package that should not be checked. */ skip?: Array<string> } }
- ae0b4b2: Require specifying typescript fields in the package.json exports map for typescript modules support. Learn more on the TypeScript 4.7 release notes.
- 0942e1c: unpin and update dependencies
- 59ead17: remove the
--single
flag. The value is now derived from thepackage.json
workspaces
property. If your workspace is configured properly this is not a breaking change.
- Run
next start
directly from nextjs's lib, not CLI code.
- Do not add
require
automatically (breaking but we use it only internally) - Introduce
banner
to add a banner to the generated files (runify + tsup only)
- Adds
require
to ESM output (runify with tsup enabled)
- Detect
"type": "module"
inrunify
command to decide on ESM vs CJS output (works only with TSUP enabled). - Keep the original value of
type
when rewritingpackage.json
(runify command)
- Make config optional
- Do not copy
.next/cache/webpack
- Support tsup in
runify
command - Introduce
tag
forrunify
command - Support
--single
run forrunify
command
- a lot of good things
- fix typo
.msj
(should be.mjs
)
- Support multiple dist configurations and ESM #13
- added
runify
command to produce stanalone (node_modules included) bundles and to make them executable withnode index.js
(supports NextJS)
...