diff --git a/.changeset/chilled-paws-confess.md b/.changeset/chilled-paws-confess.md deleted file mode 100644 index 2824711d..00000000 --- a/.changeset/chilled-paws-confess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"microbundle": patch ---- - -Support [extending a UMD global](https://rollupjs.org/guide/en/#outputextend) by prefixing the package.json `"amdName"` field (eg: `"global.xyz"`). diff --git a/.changeset/hip-papayas-pretend.md b/.changeset/hip-papayas-pretend.md deleted file mode 100644 index 120a8ac4..00000000 --- a/.changeset/hip-papayas-pretend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"microbundle": patch ---- - -Support "esm" (`-f esm`) as an alias of "es" format. diff --git a/.changeset/lucky-insects-shop.md b/.changeset/lucky-insects-shop.md deleted file mode 100644 index 2cb774fd..00000000 --- a/.changeset/lucky-insects-shop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'microbundle': patch ---- - -Use @babel/preset-env with bugfixes instead of preset-modules to enable "Optional chaining" & "nullish coalescing" by default. diff --git a/.changeset/quick-lies-buy.md b/.changeset/quick-lies-buy.md deleted file mode 100644 index 86e7e670..00000000 --- a/.changeset/quick-lies-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"microbundle": patch ---- - -Add jsxImportSource flag for new JSX runtime diff --git a/.changeset/silent-pans-agree.md b/.changeset/silent-pans-agree.md deleted file mode 100644 index 9e355353..00000000 --- a/.changeset/silent-pans-agree.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'microbundle': patch ---- - -Don't transpile generators and async for Node diff --git a/.changeset/tall-paws-end.md b/.changeset/tall-paws-end.md deleted file mode 100644 index 7640ed5d..00000000 --- a/.changeset/tall-paws-end.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'microbundle': patch ---- - -re-enable unpkg alias for umd bundles as described in the readme diff --git a/.changeset/tame-singers-grin.md b/.changeset/tame-singers-grin.md deleted file mode 100644 index 3ab2c1d2..00000000 --- a/.changeset/tame-singers-grin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'microbundle': patch ---- - -Disable warnings for node's builtin-modules when using node as a target environment. diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..b22e2728 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,32 @@ +# microbundle + +## 0.12.4 +### Patch Changes + + + +- [`ffcc9d9`](https://github.com/developit/microbundle/commit/ffcc9d9b7d9518ae2fa31b2af4d1fd4f98599560) [#713](https://github.com/developit/microbundle/pull/713) Thanks [@developit](https://github.com/developit)! - Support [extending a UMD global](https://rollupjs.org/guide/en/#outputextend) by prefixing the package.json `"amdName"` field (eg: `"global.xyz"`). + + + +- [`0527862`](https://github.com/developit/microbundle/commit/052786223edce8258c73a72a49238e41e5b24850) [#722](https://github.com/developit/microbundle/pull/722) Thanks [@developit](https://github.com/developit)! - Support "esm" (`-f esm`) as an alias of "es" format. + + + +- [`d08f977`](https://github.com/developit/microbundle/commit/d08f977aa6b19b267cf8d12861cc5cc34380d025) [#702](https://github.com/developit/microbundle/pull/702) Thanks [@wardpeet](https://github.com/wardpeet)! - Use @babel/preset-env with bugfixes instead of preset-modules to enable "Optional chaining" & "nullish coalescing" by default. + + + +- [`d33a7ba`](https://github.com/developit/microbundle/commit/d33a7ba2f5475e870d1a0f659b0c3ec0c459a850) [#731](https://github.com/developit/microbundle/pull/731) Thanks [@vaneenige](https://github.com/vaneenige)! - Add jsxImportSource flag for new JSX runtime + + + +- [`0fec414`](https://github.com/developit/microbundle/commit/0fec41493c39669270ba2b58401dc591e551d96d) [#716](https://github.com/developit/microbundle/pull/716) Thanks [@wardpeet](https://github.com/wardpeet)! - Don't transpile generators and async for Node + + + +- [`ba1c047`](https://github.com/developit/microbundle/commit/ba1c047512356e0e48911f5f037be798c5c2b9eb) [#701](https://github.com/developit/microbundle/pull/701) Thanks [@wardpeet](https://github.com/wardpeet)! - re-enable unpkg alias for umd bundles as described in the readme + + + +- [`3488411`](https://github.com/developit/microbundle/commit/34884116e21408305b337a9f6267f6c2ddc9e72d) [#700](https://github.com/developit/microbundle/pull/700) Thanks [@wardpeet](https://github.com/wardpeet)! - Disable warnings for node's builtin-modules when using node as a target environment. diff --git a/package.json b/package.json index 19f5d5d3..5d4abf3b 100644 --- a/package.json +++ b/package.json @@ -1,144 +1,144 @@ { - "name": "microbundle", - "version": "0.12.3", - "description": "Zero-configuration bundler for tiny JS libs, powered by Rollup.", - "main": "dist/microbundle.js", - "source": "src/index.js", - "bin": "dist/cli.js", - "scripts": { - "build": "npm run -s build:babel && npm run -s build:self", - "build:babel": "babel-node src/cli.js --target=node --format cjs src/{cli,index}.js", - "build:self": "node dist/cli.js --target=node --format cjs src/{cli,index}.js", - "prepare": "npm run -s build", - "prepare:babel": "babel src/*.js -d dist && npm t", - "lint": "eslint src", - "test": "npm run -s lint && npm run -s build && cross-env BABEL_ENV=test jest", - "jest": "cross-env BABEL_ENV=test jest", - "format": "prettier --write \"{*,{src,test}/**/*}.+(js|css)\"", - "changeset": "changeset", - "release": "npm run -s prepare && npm test && changeset publish" - }, - "repository": "developit/microbundle", - "prettier": { - "singleQuote": true, - "trailingComma": "all", - "useTabs": true, - "arrowParens": "avoid", - "overrides": [ - { - "files": "package.json", - "options": { - "useTabs": false, - "parser": "json-stringify" - } - } - ] - }, - "lint-staged": { - "{src,test}/**/*.js": [ - "eslint --fix", - "prettier --write" - ], - "{*,{src,test}/**/*}.+(js|css)": [ - "prettier --write" - ], - "*.md": [ - "prettier --write" - ] - }, - "jest": { - "testEnvironment": "node", - "testURL": "http://localhost" - }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, - "greenkeeper": { - "lockfiles": { - "outOfRangeUpdatesOnly": true - } - }, - "keywords": [ - "bundle", - "rollup", - "micro library" - ], - "files": [ - "src", - "dist" - ], - "author": "Jason Miller (http://jasonformat.com)", - "license": "MIT", - "dependencies": { - "@babel/core": "^7.10.2", - "@babel/plugin-proposal-class-properties": "7.7.4", - "@babel/plugin-syntax-import-meta": "^7.10.1", - "@babel/plugin-syntax-jsx": "^7.10.1", - "@babel/plugin-transform-flow-strip-types": "^7.10.1", - "@babel/plugin-transform-react-jsx": "^7.10.1", - "@babel/plugin-transform-regenerator": "^7.10.1", - "@babel/preset-env": "^7.11.0", - "@babel/preset-flow": "^7.10.1", - "@babel/preset-react": "^7.10.4", - "@rollup/plugin-alias": "^3.1.1", - "@rollup/plugin-babel": "^5.0.3", - "@rollup/plugin-commonjs": "^13.0.0", - "@rollup/plugin-json": "^4.1.0", - "@rollup/plugin-node-resolve": "^6.1.0", - "asyncro": "^3.0.0", - "autoprefixer": "^9.8.0", - "babel-plugin-macros": "^2.8.0", - "babel-plugin-transform-async-to-promises": "^0.8.15", - "babel-plugin-transform-replace-expressions": "^0.2.0", - "brotli-size": "^4.0.0", - "builtin-modules": "^3.1.0", - "camelcase": "^5.3.1", - "cssnano": "^4.1.10", - "es6-promisify": "^6.1.1", - "escape-string-regexp": "^4.0.0", - "filesize": "^6.1.0", - "gzip-size": "^5.1.1", - "kleur": "^3.0.3", - "lodash.merge": "^4.6.2", - "module-details-from-path": "^1.0.3", - "pretty-bytes": "^5.3.0", - "rollup": "^1.32.1", - "rollup-plugin-bundle-size": "^1.0.1", - "rollup-plugin-es3": "^1.1.0", - "rollup-plugin-postcss": "^2.9.0", - "rollup-plugin-terser": "^5.3.0", - "rollup-plugin-typescript2": "^0.25.3", - "sade": "^1.7.3", - "tiny-glob": "^0.2.6", - "tslib": "^1.13.0", - "typescript": "^3.9.5" - }, - "devDependencies": { - "@babel/cli": "^7.10.1", - "@babel/node": "^7.10.1", - "@babel/plugin-proposal-throw-expressions": "^7.10.1", - "@changesets/changelog-github": "^0.2.6", - "@changesets/cli": "^2.9.2", - "babel-jest": "^24.8.0", - "cross-env": "^6.0.3", - "directory-tree": "^2.2.3", - "eslint": "^6.8.0", - "eslint-config-developit": "^1.2.0", - "eslint-config-prettier": "^6.11.0", - "eslint-plugin-prettier": "^3.1.4", - "esm": "^3.2.22", - "fs-extra": "^8.1.0", - "husky": "^4.2.5", - "jest": "^24.8.0", - "lint-staged": "^10.2.10", - "npm-merge-driver-install": "^1.1.1", - "prettier": "^1.19.1", - "regenerator-runtime": "^0.13.5", - "rimraf": "^3.0.2", - "shell-quote": "^1.6.1", - "strip-ansi": "^6.0.0", - "travis-size-report": "^1.1.0" - } + "name": "microbundle", + "version": "0.12.4", + "description": "Zero-configuration bundler for tiny JS libs, powered by Rollup.", + "main": "dist/microbundle.js", + "source": "src/index.js", + "bin": "dist/cli.js", + "scripts": { + "build": "npm run -s build:babel && npm run -s build:self", + "build:babel": "babel-node src/cli.js --target=node --format cjs src/{cli,index}.js", + "build:self": "node dist/cli.js --target=node --format cjs src/{cli,index}.js", + "prepare": "npm run -s build", + "prepare:babel": "babel src/*.js -d dist && npm t", + "lint": "eslint src", + "test": "npm run -s lint && npm run -s build && cross-env BABEL_ENV=test jest", + "jest": "cross-env BABEL_ENV=test jest", + "format": "prettier --write \"{*,{src,test}/**/*}.+(js|css)\"", + "changeset": "changeset", + "release": "npm run -s prepare && npm test && changeset publish" + }, + "repository": "developit/microbundle", + "prettier": { + "singleQuote": true, + "trailingComma": "all", + "useTabs": true, + "arrowParens": "avoid", + "overrides": [ + { + "files": "package.json", + "options": { + "useTabs": false, + "parser": "json-stringify" + } + } + ] + }, + "lint-staged": { + "{src,test}/**/*.js": [ + "eslint --fix", + "prettier --write" + ], + "{*,{src,test}/**/*}.+(js|css)": [ + "prettier --write" + ], + "*.md": [ + "prettier --write" + ] + }, + "jest": { + "testEnvironment": "node", + "testURL": "http://localhost" + }, + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, + "greenkeeper": { + "lockfiles": { + "outOfRangeUpdatesOnly": true + } + }, + "keywords": [ + "bundle", + "rollup", + "micro library" + ], + "files": [ + "src", + "dist" + ], + "author": "Jason Miller (http://jasonformat.com)", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.10.2", + "@babel/plugin-proposal-class-properties": "7.7.4", + "@babel/plugin-syntax-import-meta": "^7.10.1", + "@babel/plugin-syntax-jsx": "^7.10.1", + "@babel/plugin-transform-flow-strip-types": "^7.10.1", + "@babel/plugin-transform-react-jsx": "^7.10.1", + "@babel/plugin-transform-regenerator": "^7.10.1", + "@babel/preset-env": "^7.11.0", + "@babel/preset-flow": "^7.10.1", + "@babel/preset-react": "^7.10.4", + "@rollup/plugin-alias": "^3.1.1", + "@rollup/plugin-babel": "^5.0.3", + "@rollup/plugin-commonjs": "^13.0.0", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-node-resolve": "^6.1.0", + "asyncro": "^3.0.0", + "autoprefixer": "^9.8.0", + "babel-plugin-macros": "^2.8.0", + "babel-plugin-transform-async-to-promises": "^0.8.15", + "babel-plugin-transform-replace-expressions": "^0.2.0", + "brotli-size": "^4.0.0", + "builtin-modules": "^3.1.0", + "camelcase": "^5.3.1", + "cssnano": "^4.1.10", + "es6-promisify": "^6.1.1", + "escape-string-regexp": "^4.0.0", + "filesize": "^6.1.0", + "gzip-size": "^5.1.1", + "kleur": "^3.0.3", + "lodash.merge": "^4.6.2", + "module-details-from-path": "^1.0.3", + "pretty-bytes": "^5.3.0", + "rollup": "^1.32.1", + "rollup-plugin-bundle-size": "^1.0.1", + "rollup-plugin-es3": "^1.1.0", + "rollup-plugin-postcss": "^2.9.0", + "rollup-plugin-terser": "^5.3.0", + "rollup-plugin-typescript2": "^0.25.3", + "sade": "^1.7.3", + "tiny-glob": "^0.2.6", + "tslib": "^1.13.0", + "typescript": "^3.9.5" + }, + "devDependencies": { + "@babel/cli": "^7.10.1", + "@babel/node": "^7.10.1", + "@babel/plugin-proposal-throw-expressions": "^7.10.1", + "@changesets/changelog-github": "^0.2.6", + "@changesets/cli": "^2.9.2", + "babel-jest": "^24.8.0", + "cross-env": "^6.0.3", + "directory-tree": "^2.2.3", + "eslint": "^6.8.0", + "eslint-config-developit": "^1.2.0", + "eslint-config-prettier": "^6.11.0", + "eslint-plugin-prettier": "^3.1.4", + "esm": "^3.2.22", + "fs-extra": "^8.1.0", + "husky": "^4.2.5", + "jest": "^24.8.0", + "lint-staged": "^10.2.10", + "npm-merge-driver-install": "^1.1.1", + "prettier": "^1.19.1", + "regenerator-runtime": "^0.13.5", + "rimraf": "^3.0.2", + "shell-quote": "^1.6.1", + "strip-ansi": "^6.0.0", + "travis-size-report": "^1.1.0" + } }