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: rollup/plugins
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9c009ca088fa9f12dca39c4e03b0a1c7046b0502
Choose a base ref
...
head repository: rollup/plugins
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 03c1af0b018b24fa05256ec693820006675db53c
Choose a head ref

Commits on Oct 21, 2022

  1. chore(release): auto-install v3.0.2

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    41998db View commit details
  2. chore(release): babel v6.0.2

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    15f70ce View commit details
  3. chore(release): beep v1.0.2

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    4eb8d60 View commit details
  4. chore(release): buble v1.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    0f8f9f7 View commit details
  5. chore(release): commonjs v23.0.2

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    2eba65c View commit details
  6. chore(release): data-uri v1.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    ac0952c View commit details
  7. chore(release): dsv v3.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    6e7ee03 View commit details
  8. chore(release): dynamic-import-vars v2.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    8e0751e View commit details
  9. chore(release): eslint v9.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    a7fc6dc View commit details
  10. chore(release): graphql v2.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    f9100dc View commit details
  11. chore(release): html v1.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    7a8eb25 View commit details
  12. chore(release): image v3.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    0c00c64 View commit details
  13. chore(release): inject v5.0.2

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    38045af View commit details
  14. chore(release): json v5.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    55ceae3 View commit details
  15. chore(release): legacy v3.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    c952544 View commit details
  16. chore(release): multi-entry v5.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    298c913 View commit details
  17. chore(release): node-resolve v15.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    6553006 View commit details
  18. chore(release): pluginutils v5.0.2

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    2eb71f2 View commit details
  19. chore(release): replace v5.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    8791470 View commit details
  20. chore(release): run v3.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    1ae3845 View commit details
  21. chore(release): strip v3.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    91bfd2d View commit details
  22. chore(release): sucrase v5.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    ee1b4ba View commit details
  23. chore(release): typescript v9.0.2

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    2f2ba1e View commit details
  24. chore(release): url v8.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    6ec4228 View commit details
  25. chore(release): virtual v3.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    6ddddeb View commit details
  26. chore(release): wasm v6.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    a187c2d View commit details
  27. chore(release): yaml v4.0.1

    Release Workflow committed Oct 21, 2022
    Copy the full SHA
    9b231e7 View commit details

Commits on Oct 24, 2022

  1. feat(multi-entry): add preserveModules option (#1237)

    * Update functionality to maintain file output names when preserveModule = true
    
    BREAKING CHANGES: Changes the default behaviour to not alter filenames
    if preserveModules=true
    
    * Fix docstring
    
    * Tests
    
    * Fix type doc
    
    * Swap to use preserveModules config option instead
    
    * Update readme and type docstrings
    
    * Fix tests
    
    * Revert odd changes in diff
    
    * Improve test
    
    * Fix tests
    
    Co-authored-by: Blake Lovelace <blake.lovelace@health.telstra.com>
    814k31 and Blake Lovelace authored Oct 24, 2022
    Copy the full SHA
    805339c View commit details
  2. chore(release): multi-entry v6.0.0

    Release Workflow committed Oct 24, 2022
    Copy the full SHA
    45503a6 View commit details

Commits on Oct 27, 2022

  1. feat(terser): initial release (#1323)

    * build(terser): add terser plugin to collection
    
    * build(terser): add README.md notice
    
    * fix(terser): test-suite + rollup plugin definition
    
    * style(terser): applied prettier rules
    
    * style(terser): apply prettier on root README.md + minor eslint fixes
    
    * test(terser): removed snapshot test due incorrect path with ava
    tada5hi authored and shellscape committed Oct 27, 2022
    Copy the full SHA
    047fc1d View commit details
  2. chore(release): terser v0.1.0

    Release Workflow committed Oct 27, 2022
    Copy the full SHA
    8ade726 View commit details
  3. fix(graphql): fix ESM build (#1318)

    Use file extensions for imports
    lukastaegert authored Oct 27, 2022
    Copy the full SHA
    46bd37c View commit details
  4. chore(release): graphql v2.0.2

    Release Workflow committed Oct 27, 2022
    Copy the full SHA
    570f77c View commit details

Commits on Nov 25, 2022

  1. Copy the full SHA
    2ae1c62 View commit details
  2. chore(release): babel v6.0.3

    Release Workflow committed Nov 25, 2022
    Copy the full SHA
    19ad1b6 View commit details

Commits on Nov 27, 2022

  1. fix(commonjs): correctly wrap a default class export from cjs module (#…

    …1350)
    
    * fix: correctly wraps the default export from a CommonJS module when it is a class
    
    Fixes https://github.com/vitejs/vite/issues/10853
    
    Since 3c00191
    the namespace became callable when requiring ESM with function default,
    but it isn't newable, leading to errors when the function is actually a
    class.
    
    * test: update snapshots as the helper code has changed
    haoqunjiang authored Nov 27, 2022
    Copy the full SHA
    ab05216 View commit details
  2. chore(release): commonjs v23.0.3

    Release Workflow committed Nov 27, 2022
    Copy the full SHA
    c719c7d View commit details
  3. Copy the full SHA
    5250b88 View commit details
  4. chore(release): json v5.0.2

    Release Workflow committed Nov 27, 2022
    Copy the full SHA
    b734673 View commit details
  5. fix(typescript)!: incorrect declarations directory

    BREAKING CHANGES: This fix changes the output directory for types with single-file builds
    georg94 authored Nov 27, 2022
    Copy the full SHA
    a5c90d1 View commit details
  6. chore(release): typescript v10.0.0

    Release Workflow committed Nov 27, 2022
    Copy the full SHA
    fd93b71 View commit details
  7. chore(repo): enable consistent-type-imports for typescript files (#…

    …1325)
    
    * refactor: distinguish between types of import
    
    * add consistent-type-import into the eslint config
    
    * fix: change the import method of non compliant rules
    jerry-lllman authored Nov 27, 2022
    Copy the full SHA
    a2e582a View commit details
  8. Copy the full SHA
    7871903 View commit details

Commits on Nov 28, 2022

  1. Copy the full SHA
    5c88274 View commit details
  2. chore(release): typescript v10.0.1

    Release Workflow committed Nov 28, 2022
    Copy the full SHA
    ca7a668 View commit details

Commits on Dec 5, 2022

  1. feat(terser): parallel execution (#1341)

    * feat(terser): parallel execution
    
    * fix(terser): exit process on promise rejection of worker
    
    * feat(terser): add woker-pool support
    
    * docs(terser): updated docs
    
    * fix(terser): worker count decrementation
    
    * style(terser): removed unnecessary Promise.resolve wrapping
    
    * docs(terser): enhanced options section
    
    * docs(terser): fix typo
    tada5hi authored Dec 5, 2022
    Copy the full SHA
    140e06b View commit details
  2. chore(release): terser v0.2.0

    Release Workflow committed Dec 5, 2022
    Copy the full SHA
    fb11bd3 View commit details

Commits on Dec 7, 2022

  1. Copy the full SHA
    a47c153 View commit details
  2. chore(release): commonjs v23.0.4

    Release Workflow committed Dec 7, 2022
    Copy the full SHA
    7b62557 View commit details

Commits on Dec 15, 2022

  1. Copy the full SHA
    39a39d7 View commit details
Showing with 4,785 additions and 575 deletions.
  1. +2 −1 .eslintrc.js
  2. +3 −3 .github/ISSUE_TEMPLATE/BUG.md
  3. +1 −0 CODEOWNERS
  4. +1 −0 README.md
  5. +1 −3 package.json
  6. +8 −0 packages/alias/CHANGELOG.md
  7. +2 −2 packages/alias/package.json
  8. +1 −1 packages/alias/src/index.ts
  9. +1 −1 packages/alias/types/index.d.ts
  10. +8 −0 packages/auto-install/CHANGELOG.md
  11. +2 −2 packages/auto-install/package.json
  12. +1 −1 packages/auto-install/src/index.ts
  13. +1 −1 packages/auto-install/types/index.d.ts
  14. +16 −0 packages/babel/CHANGELOG.md
  15. +1 −1 packages/babel/README.md
  16. +1 −1 packages/babel/package.json
  17. +2 −1 packages/babel/test/types.ts
  18. +3 −3 packages/babel/types/index.d.ts
  19. +8 −0 packages/beep/CHANGELOG.md
  20. +1 −1 packages/beep/package.json
  21. +1 −1 packages/beep/types/index.d.ts
  22. +8 −0 packages/buble/CHANGELOG.md
  23. +2 −2 packages/buble/package.json
  24. +1 −1 packages/buble/src/index.ts
  25. +1 −1 packages/buble/test/types.ts
  26. +3 −3 packages/buble/types/index.d.ts
  27. +56 −0 packages/commonjs/CHANGELOG.md
  28. +3 −3 packages/commonjs/package.json
  29. +8 −1 packages/commonjs/src/helpers.js
  30. +8 −3 packages/commonjs/src/index.js
  31. +1 −1 packages/commonjs/src/proxies.js
  32. +3 −0 packages/commonjs/test/fixtures/function/esm-import-cjs-circular-dependency/_config.js
  33. +3 −0 packages/commonjs/test/fixtures/function/esm-import-cjs-circular-dependency/main.js
  34. +3 −0 packages/commonjs/test/fixtures/function/esm-with-esmodule/_config.js
  35. +3 −0 packages/commonjs/test/fixtures/function/esm-with-esmodule/esm.js
  36. +4 −0 packages/commonjs/test/fixtures/function/esm-with-esmodule/main.js
  37. +6 −0 packages/commonjs/test/fixtures/function/transform-mixed-modules-esmodule/_config.js
  38. +3 −0 packages/commonjs/test/fixtures/function/transform-mixed-modules-esmodule/dep.js
  39. +6 −0 packages/commonjs/test/fixtures/function/transform-mixed-modules-esmodule/main.js
  40. +4 −0 packages/commonjs/test/fixtures/function/transform-mixed-modules-esmodule/other.js
  41. +3 −0 packages/commonjs/test/fixtures/samples/es-module-with-class-as-default-export/main.js
  42. +7 −0 packages/commonjs/test/fixtures/samples/es-module-with-class-as-default-export/other.js
  43. +10 −0 packages/commonjs/test/node_modules/cjs-circular/circular.js
  44. +7 −0 packages/commonjs/test/node_modules/cjs-circular/index.js
  45. +11 −0 packages/commonjs/test/node_modules/cjs-circular/package.json
  46. +549 −135 packages/commonjs/test/snapshots/function.js.md
  47. BIN packages/commonjs/test/snapshots/function.js.snap
  48. +36 −7 packages/commonjs/test/snapshots/test.js.md
  49. BIN packages/commonjs/test/snapshots/test.js.snap
  50. +9 −0 packages/commonjs/test/test.js
  51. +12 −12 packages/commonjs/types/index.d.ts
  52. +8 −0 packages/data-uri/CHANGELOG.md
  53. +2 −2 packages/data-uri/package.json
  54. +1 −1 packages/data-uri/src/index.ts
  55. +1 −1 packages/data-uri/types/index.d.ts
  56. +8 −0 packages/dsv/CHANGELOG.md
  57. +2 −2 packages/dsv/package.json
  58. +1 −1 packages/dsv/test/types.ts
  59. +3 −3 packages/dsv/types/index.d.ts
  60. +16 −0 packages/dynamic-import-vars/CHANGELOG.md
  61. +3 −3 packages/dynamic-import-vars/package.json
  62. +1 −1 packages/dynamic-import-vars/test/types.ts
  63. +4 −6 packages/dynamic-import-vars/types/index.d.ts
  64. +16 −0 packages/eslint/CHANGELOG.md
  65. +1 −1 packages/eslint/README.md
  66. +3 −3 packages/eslint/package.json
  67. +2 −2 packages/eslint/src/index.ts
  68. +13 −0 packages/eslint/test/test.mjs
  69. +32 −0 packages/eslint/test/types.ts
  70. +4 −4 packages/eslint/types/index.d.ts
  71. +16 −0 packages/graphql/CHANGELOG.md
  72. +2 −2 packages/graphql/package.json
  73. +1 −1 packages/graphql/rollup.config.mjs
  74. +1 −1 packages/graphql/src/index.js
  75. +1 −0 packages/graphql/test/node_modules/current-package
  76. +2 −2 packages/graphql/test/test.js
  77. +22 −0 packages/graphql/test/test.mjs
  78. +1 −1 packages/graphql/test/types.ts
  79. +2 −2 packages/graphql/types/index.d.ts
  80. +8 −0 packages/html/CHANGELOG.md
  81. +2 −2 packages/html/package.json
  82. +1 −1 packages/html/src/index.ts
  83. +1 −1 packages/html/types/index.d.ts
  84. +8 −0 packages/image/CHANGELOG.md
  85. +2 −2 packages/image/package.json
  86. +1 −1 packages/image/test/types.ts
  87. +2 −2 packages/image/types/index.d.ts
  88. +16 −0 packages/inject/CHANGELOG.md
  89. +2 −2 packages/inject/package.json
  90. +1 −1 packages/inject/test/types.ts
  91. +1 −1 packages/inject/types/index.d.ts
  92. +24 −0 packages/json/CHANGELOG.md
  93. +2 −2 packages/json/README.md
  94. +1 −1 packages/json/package.json
  95. +1 −2 packages/json/src/index.js
  96. +12 −15 packages/json/test/test.js
  97. +1 −1 packages/json/test/types.ts
  98. +2 −2 packages/json/types/index.d.ts
  99. +8 −0 packages/legacy/CHANGELOG.md
  100. +1 −1 packages/legacy/package.json
  101. +1 −1 packages/legacy/test/types.ts
  102. +1 −1 packages/legacy/types/index.d.ts
  103. +16 −0 packages/multi-entry/CHANGELOG.md
  104. +7 −0 packages/multi-entry/README.md
  105. +1 −1 packages/multi-entry/package.json
  106. +1 −1 packages/multi-entry/src/index.js
  107. +40 −0 packages/multi-entry/test/test.mjs
  108. +1 −1 packages/multi-entry/test/types.ts
  109. +9 −2 packages/multi-entry/types/index.d.ts
  110. +8 −0 packages/node-resolve/CHANGELOG.md
  111. +1 −1 packages/node-resolve/package.json
  112. +1 −1 packages/node-resolve/types/index.d.ts
  113. +8 −0 packages/pluginutils/CHANGELOG.md
  114. +1 −1 packages/pluginutils/package.json
  115. +1 −1 packages/pluginutils/src/attachScopes.ts
  116. +13 −5 packages/pluginutils/src/extractAssignedNames.ts
  117. +3 −2 packages/pluginutils/test/attachScopes.ts
  118. +1 −1 packages/pluginutils/types/index.d.ts
  119. +16 −0 packages/replace/CHANGELOG.md
  120. +2 −2 packages/replace/package.json
  121. +1 −1 packages/replace/test/types.ts
  122. +2 −2 packages/replace/types/index.d.ts
  123. +8 −0 packages/run/CHANGELOG.md
  124. +1 −1 packages/run/package.json
  125. +3 −2 packages/run/src/index.ts
  126. +2 −2 packages/run/types/index.d.ts
  127. +16 −0 packages/strip/CHANGELOG.md
  128. +2 −2 packages/strip/package.json
  129. +1 −1 packages/strip/test/types.ts
  130. +2 −2 packages/strip/types/index.d.ts
  131. +8 −0 packages/sucrase/CHANGELOG.md
  132. +1 −1 packages/sucrase/package.json
  133. +1 −1 packages/sucrase/test/types.ts
  134. +3 −3 packages/sucrase/types/index.d.ts
  135. +33 −0 packages/terser/CHANGELOG.md
  136. +80 −0 packages/terser/README.md
  137. +74 −0 packages/terser/package.json
  138. +10 −0 packages/terser/rollup.config.mjs
  139. +8 −0 packages/terser/src/index.ts
  140. +86 −0 packages/terser/src/module.ts
  141. +34 −0 packages/terser/src/type.ts
  142. +117 −0 packages/terser/src/worker-pool.ts
  143. +55 −0 packages/terser/src/worker.ts
  144. +2 −0 packages/terser/test/fixtures/chunk-1.js
  145. +2 −0 packages/terser/test/fixtures/chunk-2.js
  146. +13 −0 packages/terser/test/fixtures/commented.js
  147. 0 packages/terser/test/fixtures/empty.js
  148. +1 −0 packages/terser/test/fixtures/export-number.js
  149. +2 −0 packages/terser/test/fixtures/failed.js
  150. +4 −0 packages/terser/test/fixtures/plain-file.js
  151. +9 −0 packages/terser/test/fixtures/properties-and-locals.js
  152. +5 −0 packages/terser/test/fixtures/properties.js
  153. +3 −0 packages/terser/test/fixtures/sourcemap.js
  154. +7 −0 packages/terser/test/fixtures/unminified.js
  155. +342 −0 packages/terser/test/test.js
  156. +14 −0 packages/terser/test/types.ts
  157. +8 −0 packages/terser/tsconfig.json
  158. +10 −0 packages/terser/types/index.d.ts
  159. +32 −0 packages/typescript/CHANGELOG.md
  160. +1 −1 packages/typescript/package.json
  161. +6 −5 packages/typescript/src/diagnostics/emit.ts
  162. +2 −1 packages/typescript/src/diagnostics/host.ts
  163. +3 −2 packages/typescript/src/diagnostics/toWarning.ts
  164. +12 −1 packages/typescript/src/index.ts
  165. +3 −2 packages/typescript/src/moduleResolution.ts
  166. +4 −5 packages/typescript/src/options/normalize.ts
  167. +8 −10 packages/typescript/src/options/tsconfig.ts
  168. +2 −2 packages/typescript/src/options/validate.ts
  169. +5 −3 packages/typescript/src/outputFile.ts
  170. +2 −2 packages/typescript/src/preflight.ts
  171. +2 −1 packages/typescript/src/tslib.ts
  172. +5 −5 packages/typescript/src/watchProgram.ts
  173. +1 −1 packages/typescript/test/fixtures/incremental-single/tsconfig.tsbuildinfo
  174. +1,920 −0 packages/typescript/test/fixtures/incremental-watch-off/dist/.tsbuildinfo
  175. +6 −0 packages/typescript/test/fixtures/incremental-watch-off/main.ts
  176. +6 −0 packages/typescript/test/fixtures/incremental-watch-off/original.txt
  177. +8 −0 packages/typescript/test/fixtures/incremental-watch-off/tsconfig.json
  178. +1 −1 packages/typescript/test/fixtures/project-references/animals/dog.ts
  179. +2 −1 packages/typescript/test/fixtures/project-references/zoo/zoo.ts
  180. +41 −3 packages/typescript/test/test.js
  181. +2 −1 packages/typescript/test/tslib.ts
  182. +6 −4 packages/typescript/types/index.d.ts
  183. +8 −0 packages/url/CHANGELOG.md
  184. +1 −1 packages/url/package.json
  185. +1 −1 packages/url/test/types.ts
  186. +2 −2 packages/url/types/index.d.ts
  187. +8 −0 packages/virtual/CHANGELOG.md
  188. +1 −1 packages/virtual/package.json
  189. +2 −2 packages/virtual/src/index.ts
  190. +1 −1 packages/virtual/types/index.d.ts
  191. +32 −0 packages/wasm/CHANGELOG.md
  192. +105 −11 packages/wasm/README.md
  193. +1 −1 packages/wasm/package.json
  194. +2 −2 packages/wasm/src/helper.ts
  195. +17 −5 packages/wasm/src/index.ts
  196. +8 −0 packages/wasm/test/snapshots/test.mjs.md
  197. BIN packages/wasm/test/snapshots/test.mjs.snap
  198. +61 −23 packages/wasm/test/test.mjs
  199. +5 −1 packages/wasm/types/index.d.ts
  200. +8 −0 packages/yaml/CHANGELOG.md
  201. +1 −1 packages/yaml/package.json
  202. +1 −1 packages/yaml/test/types.ts
  203. +2 −2 packages/yaml/types/index.d.ts
  204. +233 −160 pnpm-lock.yaml
  205. +2 −2 util/test.d.ts
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -9,7 +9,8 @@ module.exports = {
'sort-keys': 'off',
'typescript-sort-keys/interface': 'off',
'import/extensions': 'off',
'import/no-unresolved': 'off'
'import/no-unresolved': 'off',
'@typescript-eslint/consistent-type-imports': 'error'
},
overrides: [
{
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/BUG.md
Original file line number Diff line number Diff line change
@@ -29,11 +29,11 @@ about: Something went awry and you'd like to tell us about it.
🚨 Issues WITHOUT a valid reproduction WILL BE CLOSED!
Please provide one by:
1. Using the REPL.it plugin reproduction template at https://repl.it/@rollup/rollup-plugin-repro
2. Provide a minimal repository link (Read https://gist.github.com/Rich-Harris/88c5fc2ac6dc941b22e7996af05d70ff for instructions).
1. Using the StackBlitz reproduction template at https://stackblitz.com/fork/rollup-repro
2. Using the REPL.it plugin reproduction template at https://repl.it/@rollup/rollup-plugin-repro
3. Provide a minimal repository link (Read https://gist.github.com/Rich-Harris/88c5fc2ac6dc941b22e7996af05d70ff for instructions).
Please use NPM for installing dependencies!
These may take more time to triage than the other options.
3. Using the Rollup REPL at https://rollupjs.org/repl/
⚠️ ZIP Files are unsafe and maintainers will NOT download them.
-->
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -3,3 +3,4 @@
/packages/babel/ @Andarist
/packages/image/ @tjenkinson
/packages/node-resolve/ @tjenkinson
/packages/terser/ @tada5hi
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -42,6 +42,7 @@ This repository houses plugins that Rollup considers critical to every day use o
| [run](packages/run) | Run your bundles in Node once they're built |
| [strip](packages/strip) | Remove debugger statements and functions like assert.equal and console.log from your code |
| [sucrase](packages/sucrase) | Compile TypeScript, Flow, JSX, etc with Sucrase |
| [terser](packages/terser) | Generate a minified output bundle with terser |
| [typescript](packages/typescript) | Integration between Rollup and Typescript |
| [url](packages/url) | Import files as data-URIs or ES Modules |
| [virtual](packages/virtual) | Load virtual modules from memory |
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -31,16 +31,14 @@
"codecov-lite": "2.0.0",
"conventional-commits-parser": "^3.2.1",
"del-cli": "^5.0.0",
"eslint": "^8.24.0",
"eslint-config-rollup": "^3.0.0",
"eslint-config-rollup": "^3.0.1",
"esm": "^3.2.25",
"execa": "^5.1.1",
"globby": "^11.0.1",
"husky": "8.0.1",
"lint-staged": "11.0.1",
"nyc": "^15.1.0",
"pnpm": "^7.12.2",
"prettier": "^2.7.1",
"prettier-plugin-package": "^1.3.0",
"semver": "^7.3.2",
"source-map-support": "^0.5.21",
8 changes: 8 additions & 0 deletions packages/alias/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @rollup/plugin-alias ChangeLog

## v4.0.3

_2023-01-20_

### Bugfixes

- fix: types should come first in exports [#1403](https://github.com/rollup/plugins/pull/1403)

## v4.0.2

_2022-10-21_
4 changes: 2 additions & 2 deletions packages/alias/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rollup/plugin-alias",
"version": "4.0.2",
"version": "4.0.3",
"publishConfig": {
"access": "public"
},
@@ -16,8 +16,8 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"import": "./dist/es/index.js",
"types": "./types/index.d.ts",
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
"engines": {
2 changes: 1 addition & 1 deletion packages/alias/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Plugin } from 'rollup';
import type { Plugin } from 'rollup';

import type { ResolvedAlias, ResolverFunction, ResolverObject, RollupAliasOptions } from '../types';

2 changes: 1 addition & 1 deletion packages/alias/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Plugin, PluginHooks } from 'rollup';
import type { Plugin, PluginHooks } from 'rollup';

type MapToFunction<T> = T extends Function ? T : never;

8 changes: 8 additions & 0 deletions packages/auto-install/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @rollup/plugin-auto-install ChangeLog

## v3.0.2

_2022-10-21_

### Updates

- chore: update rollup dependencies ([3038271](https://github.com/rollup/plugins/commit/303827191ede6b2e4eade96c6968ed16a587683f))

## v3.0.1

_Skipped for repo rebase_
4 changes: 2 additions & 2 deletions packages/auto-install/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rollup/plugin-auto-install",
"version": "3.0.1",
"version": "3.0.2",
"publishConfig": {
"access": "public"
},
@@ -16,8 +16,8 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"import": "./dist/es/index.js",
"types": "./types/index.d.ts",
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
"engines": {
2 changes: 1 addition & 1 deletion packages/auto-install/src/index.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ import mod from 'module';
import { exec } from 'child_process';
import { promisify } from 'util';

import { Plugin } from 'rollup';
import type { Plugin } from 'rollup';

import type { RollupAutoInstallOptions } from '../types';

2 changes: 1 addition & 1 deletion packages/auto-install/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Plugin } from 'rollup';
import type { Plugin } from 'rollup';

export interface RollupAutoInstallOptions {
/**
16 changes: 16 additions & 0 deletions packages/babel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @rollup/plugin-babel ChangeLog

## v6.0.3

_2022-11-25_

### Updates

- docs: small typo in babel plugin readme [#1355](https://github.com/rollup/plugins/pull/1355)

## v6.0.2

_2022-10-21_

### Updates

- chore: update rollup dependencies ([3038271](https://github.com/rollup/plugins/commit/303827191ede6b2e4eade96c6968ed16a587683f))

## v6.0.1

_Skipped for repo rebase_
2 changes: 1 addition & 1 deletion packages/babel/README.md
Original file line number Diff line number Diff line change
@@ -198,7 +198,7 @@ export default {
};
```

The `include`, `exclude` and `extensions` options are ignored when the when using `getBabelOutputPlugin` and `createBabelOutputPluginFactory` will produce warnings, and there are a few more points to note that users should be aware of.
The `include`, `exclude` and `extensions` options are ignored when using `getBabelOutputPlugin` and `createBabelOutputPluginFactory` will produce warnings, and there are a few more points to note that users should be aware of.

You can also run the plugin twice on the code, once when processing the input files to transpile special syntax to JavaScript and once on the output to transpile to a lower compatibility target:

2 changes: 1 addition & 1 deletion packages/babel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rollup/plugin-babel",
"version": "6.0.1",
"version": "6.0.3",
"publishConfig": {
"access": "public"
},
3 changes: 2 additions & 1 deletion packages/babel/test/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/** eslint-disable @typescript-eslint/no-unused-vars */
import type { RollupOptions } from 'rollup';

import babelPlugin, {
babel,
@@ -8,7 +9,7 @@ import babelPlugin, {
createBabelOutputPluginFactory
} from '../types';

const rollupConfig: import('rollup').RollupOptions = {
const rollupConfig: RollupOptions = {
input: 'main.js',
output: {
file: 'bundle.js',
6 changes: 3 additions & 3 deletions packages/babel/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Plugin, PluginContext, TransformPluginContext } from 'rollup';
import { FilterPattern, CreateFilter } from '@rollup/pluginutils';
import * as babelCore from '@babel/core';
import type { Plugin, PluginContext, TransformPluginContext } from 'rollup';
import type { FilterPattern, CreateFilter } from '@rollup/pluginutils';
import type * as babelCore from '@babel/core';

export interface RollupBabelInputPluginOptions
extends Omit<babelCore.TransformOptions, 'include' | 'exclude'> {
8 changes: 8 additions & 0 deletions packages/beep/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @rollup/plugin-beep ChangeLog

## v1.0.2

_2022-10-21_

### Updates

- chore: update rollup dependencies ([3038271](https://github.com/rollup/plugins/commit/303827191ede6b2e4eade96c6968ed16a587683f))

## v1.0.1

_Skipped for repo rebase_
2 changes: 1 addition & 1 deletion packages/beep/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rollup/plugin-beep",
"version": "1.0.1",
"version": "1.0.2",
"publishConfig": {
"access": "public"
},
2 changes: 1 addition & 1 deletion packages/beep/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Plugin } from 'rollup';
import type { Plugin } from 'rollup';

/**
* 🍣 A Rollup plugin that beeps when a build ends with errors.
8 changes: 8 additions & 0 deletions packages/buble/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @rollup/plugin-buble ChangeLog

## v1.0.1

_2022-10-21_

### Updates

- chore: update rollup dependencies ([3038271](https://github.com/rollup/plugins/commit/303827191ede6b2e4eade96c6968ed16a587683f))

## v1.0.0

_2022-10-08_
4 changes: 2 additions & 2 deletions packages/buble/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rollup/plugin-buble",
"version": "1.0.0",
"version": "1.0.1",
"publishConfig": {
"access": "public"
},
@@ -16,8 +16,8 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"import": "./dist/es/index.js",
"types": "./types/index.d.ts",
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
"engines": {
2 changes: 1 addition & 1 deletion packages/buble/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { transform } from 'buble';
import { Plugin } from 'rollup';
import type { Plugin } from 'rollup';
import { createFilter } from '@rollup/pluginutils';

import type { RollupBubleOptions } from '../types';
2 changes: 1 addition & 1 deletion packages/buble/test/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RollupOptions } from 'rollup';
import type { RollupOptions } from 'rollup';

import buble from '..';

6 changes: 3 additions & 3 deletions packages/buble/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FilterPattern } from '@rollup/pluginutils';
import { TransformOptions } from 'buble';
import { Plugin } from 'rollup';
import type { FilterPattern } from '@rollup/pluginutils';
import type { TransformOptions } from 'buble';
import type { Plugin } from 'rollup';

export interface RollupBubleOptions extends TransformOptions {
/**
56 changes: 56 additions & 0 deletions packages/commonjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,61 @@
# @rollup/plugin-commonjs ChangeLog

## v24.0.0

_2022-12-18_

### Breaking Changes

- fix: check if defaultIsModuleExports is auto for getDefaultExportFromCjs [#1358](https://github.com/rollup/plugins/pull/1358)

## v23.0.7

_2022-12-17_

### Bugfixes

- fix: produce code which works when \_\_esModule is already defined [#1379](https://github.com/rollup/plugins/pull/1379)

## v23.0.6

_2022-12-17_

### Bugfixes

- fix: update magic-string [#1373](https://github.com/rollup/plugins/pull/1373)

## v23.0.5

_2022-12-15_

### Bugfixes

- fix: resolve export exports not found [#1363](https://github.com/rollup/plugins/pull/1363)

## v23.0.4

_2022-12-07_

### Bugfixes

- fix: declaration tag @default for ignoreTryCatch + fix some typos [#1370](https://github.com/rollup/plugins/pull/1370)

## v23.0.3

_2022-11-27_

### Bugfixes

- fix: correctly wrap a default class export from cjs module [#1350](https://github.com/rollup/plugins/pull/1350)

## v23.0.2

_2022-10-21_

### Updates

- chore: update rollup dependencies ([3038271](https://github.com/rollup/plugins/commit/303827191ede6b2e4eade96c6968ed16a587683f))

## v23.0.1

_Skipped for repo rebase_
6 changes: 3 additions & 3 deletions packages/commonjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rollup/plugin-commonjs",
"version": "23.0.1",
"version": "24.0.0",
"publishConfig": {
"access": "public"
},
@@ -16,8 +16,8 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"import": "./dist/es/index.js",
"types": "./types/index.d.ts",
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
"engines": {
@@ -67,7 +67,7 @@
"estree-walker": "^2.0.2",
"glob": "^8.0.3",
"is-reference": "1.2.1",
"magic-string": "^0.26.4"
"magic-string": "^0.27.0"
},
"devDependencies": {
"@rollup/plugin-json": "^5.0.0",
Loading