Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release version 3.0.0 #118

Merged
merged 1 commit into from
May 25, 2023
Merged

Release version 3.0.0 #118

merged 1 commit into from
May 25, 2023

Conversation

BlueCutOfficial
Copy link
Member

Breaking

Upgrade ember-auto-import from 1.12.0 to 2.6.3 (#28, #108)

It is breaking because projects consuming this addon will also have to update to ember-auto-import

Drop node 12 support (#80)

This addon relies on dependencies that are no longer compatible with node 12.

Upgrade to Ember 4.10 (#103)

Requirements bumped to Ember.js/CLI version 3.28 or above.

Build

Add webpack to devDependencies (#28)

Required by ember-auto-import@2 ; also adds stream-browserify to dependencies and update the webpack config for this addon (see https://gist.github.com/ef4/d2cf5672a93cf241fd47c020b9b3066a#webpack-5-node-polyfills-upgrade-cheatsheet)

Upgrade ESLint configuration (#52, #114)

The ESLint configuration has been upgraded in order to make it work properly:

  • @babel/core and @babel/eslint-parser dependencies have been added. Replacing the deprecated babel-eslint.
  • eslint-plugin-node has been replaced by eslint-plugin-n as the first one is no longer maintained.
  • The .eslintrc config has been updated.

@dependabot bumps

Bumps @babel/core from 7.18.10 to 7.19.0.
Bumps qunit-dom from 1.6.0 to 2.0.0.
Bumps eslint-plugin-ember from 10.5.5 to 11.5.2.
Bumps eslint-plugin-qunit from 6.2.0 to 7.3.1.
Bumps eslint-plugin-prettier from 3.4.1 to 4.0.0.
Bumps eslint-config-prettier from 8.3.0 to 8.5.0.
Bumps prettier from 2.4.1 to 2.7.1.
Bumps eslint-plugin-n from 15.2.1 to 15.2.5.
Bumps ember-try from 1.4.0 to 2.0.0.
Bumps ember-cli-htmlbars from 5.7.1 to 6.1.0.
Bumps ember-template-lint from 5.5.1 to 5.7.3.
Bumps @ember/test-helpers from 2.5.0 to 2.8.1.
Bumps humanize-duration from 3.27.0 to 3.28.0.
Bumps @embroider/test-setup from 0.47.1 to 1.8.3.
Bumps ember-page-title from 6.2.2 to 7.0.0.
Bumps follow-redirects from 1.14.4 to 1.14.8.
Bumps node-fetch from 2.6.5 to 2.6.7.
Bumps engine.io from 5.2.0 to 5.2.1.
Bumps nanoid from 3.1.30 to 3.3.4.
Bumps terser from 4.8.0 to 4.8.1.
Bumps shell-quote from 1.7.2 to 1.7.3.
Bumps ember-cli-dependency-checker from 3.2.0 to 3.3.1.
Bumps mout from 1.2.3 to 1.2.4.
Bumps @glimmer/tracking from 1.0.4 to 1.1.2.
Bumps socket.io-parser from 4.0.4 to 4.0.5.
Bumps loader-utils from 1.4.0 to 1.4.2.
Bumps decode-uri-component from 0.2.0 to 0.2.2.
Bumps express from 4.17.1 to 4.18.2.
Bumps minimist from 0.2.1 to 0.2.4.
Bumps @xmldom/xmldom from 0.7.5 to 0.7.9.
Bumps http-cache-semantics from 4.1.0 to 4.1.1.
Bumps qunit from 2.17.2 to 2.19.4.
Bumps concurrently from 7.6.0 to 8.0.1.
Bumps ember-source from 4.10.0 to 4.12.0.

Whitelist files to include when publishing (#25)

To reduce the final bundle size.

Before

➜ npm publish --dry-run

npm notice === Tarball Contents ===
npm notice 163B  .github/CODEOWNERS
npm notice 90B   config/environment.js
npm notice 192B  index.js
npm notice 463B  addon/helpers/reading-time.js
npm notice 80B   app/helpers/reading-time.js
npm notice 2.8kB package.json
npm notice 1.1kB LICENSE.md
npm notice 2.3kB README.md
npm notice 313B  .github/workflows/ci.yml
npm notice 375B  .github/workflows/contributors.yml
npm notice 691B  .github/dependabot.yml
npm notice 547B  .github/workflows/tag-release-publish.yml
npm notice === Tarball Details ===
npm notice name:          ember-reading-time
npm notice version:       2.0.0
npm notice package size:  3.8 kB
npm notice unpacked size: 9.1 kB
npm notice total files:   12

After

➜ npm publish --dry-run

npm notice === Tarball Contents ===
npm notice 90B   config/environment.js
npm notice 192B  index.js
npm notice 463B  addon/helpers/reading-time.js
npm notice 80B   app/helpers/reading-time.js
npm notice 2.9kB package.json
npm notice 1.1kB LICENSE.md
npm notice 2.3kB README.md
npm notice === Tarball Details ===
npm notice name:          ember-reading-time
npm notice version:       2.0.0
npm notice package size:  2.9 kB
npm notice unpacked size: 7.1 kB
npm notice total files:   7

CI

Change the way contributors are listed (#23)

  • Uninstall contributor-faces
  • New workflow to auto-update the list of contributors

@BlueCutOfficial BlueCutOfficial requested a review from a team as a code owner May 25, 2023 12:58
@BlueCutOfficial BlueCutOfficial merged commit 8355eb0 into master May 25, 2023
@BlueCutOfficial BlueCutOfficial deleted the release-3.0.0 branch May 25, 2023 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants