Skip to content

Latest commit

 

History

History
406 lines (284 loc) · 14.5 KB

CHANGELOG.md

File metadata and controls

406 lines (284 loc) · 14.5 KB

Changelog

7.0.1

Patch Changes

7.0.0

Major Changes

Patch Changes

6.0.0

Major Changes

  • #202 2236863 Thanks @enisdenjo! - Custom tsconfig path for the build command, default to tsconfig.build.json and fallback to tsconfig.json.

  • #203 3b7efdc Thanks @ardatan! - Breaking jest-resolver.js renamed to jest-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'

Patch Changes

5.0.1

Patch Changes

5.0.0

Major Changes

Minor Changes

  • #160 9ce6e27 Thanks @B2o5T! - Support pnpm workspaces from pnpm-workspace.yaml.. Throw an error in case both pnpm-workspace.yaml and package.json#workspaces fields exist. Add missing dependency execa. Cleanup and remove unused dependencies.

Patch Changes

4.1.1

Patch Changes

4.1.0

Minor Changes

  • #123 b68da59 Thanks @enisdenjo! - better performance by incrementally building only packages that had changes

Patch Changes

4.0.0

Major Changes

  • 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"
            }
          }
        }
      }

Minor Changes

  • 14fa965: Disable commonjs output via package.json

    {
      "name": "my-package",
      "bob": {
        "commonjs": false
      }
    }
  • b8db426: Ignore __tests__ and __testUtils__ from bundling

3.0.5

Patch Changes

  • 16952de: Use correct path for checking file existence in exports map.

3.0.4

Patch Changes

  • 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.

3.0.3

Patch Changes

  • 0c36290: Support type imports/exports.

3.0.2

Patch Changes

  • b6976a9: Use a more reliable import/export transform for the bootstrap command

3.0.1

Patch Changes

  • 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.

3.0.0

Major Changes

  • 0f3f9ac: Remove the flat-pack, validate and run commands that are no longer maintained and used.

  • 1605028: Remove the global config. Please add bob: false to the individual package.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>
              }
        }

2.0.0

Major Changes

  • ae0b4b2: Require specifying typescript fields in the package.json exports map for typescript modules support. Learn more on the TypeScript 4.7 release notes.

Minor Changes

  • 0942e1c: unpin and update dependencies
  • 59ead17: remove the --single flag. The value is now derived from the package.json workspaces property. If your workspace is configured properly this is not a breaking change.

v1.7.3

  • Run next start directly from nextjs's lib, not CLI code.

v1.7.2

  • 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)

v1.7.1

  • Adds require to ESM output (runify with tsup enabled)

v1.7.0

  • Detect "type": "module" in runify command to decide on ESM vs CJS output (works only with TSUP enabled).
  • Keep the original value of type when rewriting package.json (runify command)

v1.6.2

  • Make config optional

v1.6.1

  • Do not copy .next/cache/webpack

v1.6.0

  • Support tsup in runify command
  • Introduce tag for runify command
  • Support --single run for runify command

1.4.1 - 1.6.0

  • a lot of good things

v1.4.1

  • fix typo .msj (should be .mjs)

v1.4.0

  • Support multiple dist configurations and ESM #13

v1.3.0

  • added runify command to produce stanalone (node_modules included) bundles and to make them executable with node index.js (supports NextJS)

1.2.1

...