Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: unjs/unbuild
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.7.6
Choose a base ref
...
head repository: unjs/unbuild
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.8.0
Choose a head ref
  • 7 commits
  • 14 files changed
  • 3 contributors

Commits on Jul 20, 2022

  1. chore(deps): update dependency mlly to ^0.5.5 (#95)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 20, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c55768d View commit details

Commits on Aug 10, 2022

  1. chore(deps): update all non-major dependencies (#96)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 10, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6ddc8b1 View commit details
  2. chore: migrate to vitest

    pi0 committed Aug 10, 2022
    Copy the full SHA
    b8802af View commit details
  3. feat!: exit with code (1) on build warnings (#98)

    Co-authored-by: Pooya Parsa <pooya@pi0.io>
    danielroe and pi0 authored Aug 10, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ffc0d7c View commit details
  4. Copy the full SHA
    b87c8df View commit details
  5. Copy the full SHA
    c9fce24 View commit details
  6. chore(release): 0.8.0

    pi0 committed Aug 10, 2022
    Copy the full SHA
    9b23fcf View commit details
Showing with 853 additions and 571 deletions.
  1. +1 −1 .github/workflows/ci.yml
  2. +14 −0 CHANGELOG.md
  3. +14 −16 package.json
  4. +714 −489 pnpm-lock.yaml
  5. +9 −4 src/auto.ts
  6. +11 −1 src/build.ts
  7. +14 −8 src/builder/rollup.ts
  8. +2 −0 src/types.ts
  9. +10 −3 src/utils.ts
  10. +8 −9 src/validate.ts
  11. +37 −22 test/auto.test.ts
  12. +3 −0 test/fixture/src/index.ts
  13. +2 −4 test/utils.test.ts
  14. +14 −14 test/validate.test.ts
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -21,4 +21,4 @@ jobs:
- run: pnpm install
- run: pnpm lint
- run: pnpm build
- run: pnpm test
- run: pnpm vitest run --coverage
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,20 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [0.8.0](https://github.com/unjs/unbuild/compare/v0.7.6...v0.8.0) (2022-08-10)


### ⚠ BREAKING CHANGES

* always enable `esmResolve` for `jiti` (stub and config)
* exit with code (1) on build warnings (#98)

### Features

* always enable `esmResolve` for `jiti` (stub and config) ([b87c8df](https://github.com/unjs/unbuild/commit/b87c8df9bbd27081bba00dfb43f9e75cb540990c))
* exit with code (1) on build warnings ([#98](https://github.com/unjs/unbuild/issues/98)) ([ffc0d7c](https://github.com/unjs/unbuild/commit/ffc0d7c63f53e531eb66c6ea3d32cfe144ecd988))
* **rollup:** generated named exports in esm stub ([c9fce24](https://github.com/unjs/unbuild/commit/c9fce24d5ad1c987d469846715b668c855435280))

### [0.7.6](https://github.com/unjs/unbuild/compare/v0.7.5...v0.7.6) (2022-07-20)


30 changes: 14 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unbuild",
"version": "0.7.6",
"version": "0.8.0",
"description": "A unified javascript build system",
"repository": "unjs/unbuild",
"license": "MIT",
@@ -22,52 +22,50 @@
"dev": "pnpm unbuild test/fixture",
"lint": "eslint --ext .ts,.js .",
"prepack": "pnpm unbuild",
"release": "pnpm test && standard-version && git push --follow-tags && npm publish",
"release": "vitest run && standard-version && git push --follow-tags && npm publish",
"stub": "pnpm unbuild --stub",
"test": "mocha -r jiti/register ./test/*.test.*",
"test": "pnpm lint && vitest run",
"unbuild": "jiti ./src/cli"
},
"dependencies": {
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/pluginutils": "^4.2.1",
"chalk": "^5.0.1",
"consola": "^2.15.3",
"defu": "^6.0.0",
"esbuild": "^0.14.49",
"esbuild": "^0.15.0",
"hookable": "^5.1.1",
"jiti": "^1.14.0",
"magic-string": "^0.26.2",
"mkdirp": "^1.0.4",
"mkdist": "^0.3.13",
"mlly": "^0.5.4",
"mlly": "^0.5.7",
"mri": "^1.2.0",
"pathe": "^0.3.2",
"pathe": "^0.3.3",
"pkg-types": "^0.3.3",
"pretty-bytes": "^6.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.77.0",
"rollup": "^2.77.2",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-esbuild": "^4.9.1",
"scule": "^0.2.1",
"scule": "^0.3.2",
"typescript": "^4.7.4",
"untyped": "^0.4.4"
"untyped": "^0.4.5"
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "latest",
"@types/chai": "latest",
"@types/mkdirp": "latest",
"@types/mocha": "latest",
"@types/mri": "latest",
"@types/node": "latest",
"@types/rimraf": "latest",
"chai": "latest",
"c8": "^7.12.0",
"eslint": "latest",
"mocha": "latest",
"standard-version": "latest"
"standard-version": "latest",
"vitest": "^0.21.1"
},
"packageManager": "pnpm@7.5.2"
"packageManager": "pnpm@7.9.0"
}
Loading