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

Remove package rollup-plugin-license #1796

Merged
merged 2 commits into from
Jun 5, 2024
Merged

Remove package rollup-plugin-license #1796

merged 2 commits into from
Jun 5, 2024

Conversation

cotes2020
Copy link
Owner

Description

The rollup-plugin-license has been using too many deprecated dependencies, so it is necessary to remove it.

As an alternative, this changes uses Rollup output.banner to insert copyright information. Since terser runs after output, it is not possible to insert the Front Matter defining permlink for sw.js through the same way (Jekyll Front Matter is YAML rather than JS, which would cause errors with terser).

Therefore, Jekyll Collection is now used to add permlink to sw.js, with the collection named app, and the directory placed in _app. This directory is not tracked by git, but it will be included when building the gem.

Type of change

  • Improvement (refactoring and improving code)

cotes2020 added 2 commits June 5, 2024 23:07
The `rollup-plugin-license` has been using too many deprecated dependencies, so it is necessary to remove it.

As an alternative, this changes uses Rollup `output.banner` to insert copyright information. Since `terser` runs after `output`, it is not possible to insert the Front Matter defining permlink for `sw.js` through the same way (Jekyll Front Matter is YAML rather than JS, which would cause errors with terser).

Therefore, _Jekyll Collection_ is now used to add permlink to `sw.js`, with the collection named `app`, and the directory placed in `_app`. This directory is not tracked by git, but it will be included when building the gem.
@cotes2020 cotes2020 merged commit 7ca9c59 into master Jun 5, 2024
5 checks passed
@cotes2020 cotes2020 deleted the cleanup-package branch June 5, 2024 15:51
lotusk08 added a commit to lotusk08/lotusk08.github.io that referenced this pull request Jun 8, 2024
commit f1d3583
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Sat Jun 8 00:45:59 2024 +0800

    build(devcontainer): add omz plugins & verify extension signature

    VSCode fixed signature validation hangs in v1.90

commit cf853f1
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Fri Jun 7 19:27:54 2024 +0800

    chore: upgrade `husky` v9 settings

commit 7ca9c59
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Wed Jun 5 23:51:10 2024 +0800

    build(deps-dev): remove package `rollup-plugin-license` (cotes2020#1796)

    The `rollup-plugin-license` has been using too many deprecated dependencies, so it is necessary to remove it.

    As an alternative, this changes uses Rollup `output.banner` to insert copyright information. Since `terser` runs after `output`, it is not possible to insert the Front Matter defining permlink for `sw.js` through the same way (Jekyll Front Matter is YAML rather than JS, which would cause errors with terser).

    Therefore, _Jekyll Collection_ is now used to add permlink to `sw.js`, with the collection named `app`, and the directory placed in `_app`. This directory is not tracked by git, but it will be included when building the gem.

commit 250880c
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Tue Jun 4 19:28:02 2024 +0800

    docs: change ordering of badges

commit 88b844c
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Tue Jun 4 19:26:17 2024 +0800

    build(deps): improve dependency grouping

commit 3b46629
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Tue Jun 4 01:36:27 2024 +0800

    build(deps-dev): bump the npm group across 1 directory with 8 updates

    Updates the requirements on [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core), [@babel/plugin-transform-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-properties), [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env), [conventional-changelog-conventionalcommits](https://github.com/conventional-changelog/conventional-changelog/tree/HEAD/packages/conventional-changelog-conventionalcommits), [rollup](https://github.com/rollup/rollup), [rollup-plugin-license](https://github.com/mjeanroy/rollup-plugin-license), [semantic-release](https://github.com/semantic-release/semantic-release) and [stylelint](https://github.com/stylelint/stylelint) to permit the latest version.

    Updates `@babel/core` to 7.24.6
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-core)

    Updates `@babel/plugin-transform-class-properties` to 7.24.6
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-plugin-transform-class-properties)

    Updates `@babel/preset-env` to 7.24.6
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-preset-env)

    Updates `conventional-changelog-conventionalcommits` from 7.0.2 to 8.0.0
    - [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases)
    - [Changelog](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-conventionalcommits/CHANGELOG.md)
    - [Commits](https://github.com/conventional-changelog/conventional-changelog/commits/conventional-changelog-conventionalcommits-v8.0.0/packages/conventional-changelog-conventionalcommits)

    Updates `rollup` to 4.18.0
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v4.17.2...v4.18.0)

    Updates `rollup-plugin-license` to 3.4.0
    - [Changelog](https://github.com/mjeanroy/rollup-plugin-license/blob/master/CHANGELOG.md)
    - [Commits](mjeanroy/rollup-plugin-license@v3.3.1...v3.4.0)

    Updates `semantic-release` from 23.1.1 to 24.0.0
    - [Release notes](https://github.com/semantic-release/semantic-release/releases)
    - [Commits](semantic-release/semantic-release@v23.1.1...v24.0.0)

    Updates `stylelint` to 16.6.1
    - [Release notes](https://github.com/stylelint/stylelint/releases)
    - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
    - [Commits](stylelint/stylelint@16.5.0...16.6.1)

commit 1e3d4a6
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Mon Jun 3 21:12:54 2024 +0800

    feat(dev): support vscode dev-container (cotes2020#1781)

commit 1c5fa08
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Sat Jun 1 04:11:01 2024 +0800

    refactor: restore shell script extensions

    Without an extension, the shell script configuration in `.gitattribute` will not work.

commit 64ae7a3
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Thu May 30 03:33:35 2024 +0800

    docs: correct markdown syntax of tutorial (cotes2020#1787)
lotusk08 added a commit to lotusk08/lotusk08.github.io that referenced this pull request Jul 14, 2024
commit 04b0036
Author: Steve Hoang <82992510+lotusk08@users.noreply.github.com>
Date:   Sun Jul 14 12:29:51 2024 +0700

    Delete 2019-08-09-getting-started.md

commit f5ef595
Merge: 4b0f50a 8c30f0a
Author: Steve Hoang <82992510+lotusk08@users.noreply.github.com>
Date:   Sun Jul 14 12:26:22 2024 +0700

    Merge remote-tracking branch 'upstream/master'

commit 8c30f0a
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Fri Jul 12 02:03:52 2024 +0800

    build(dev): support for running tasks in macOS

commit e4db1a1
Author: Alexander Fuks <kungfux@users.noreply.github.com>
Date:   Thu Jul 11 00:14:47 2024 +0400

    feat(dev): add vscode tasks (cotes2020#1843)

commit e3a78b6
Author: Daniel Singleton <48238314+goodnightdaniel@users.noreply.github.com>
Date:   Fri Jul 5 13:53:02 2024 -0700

    feat: add Threads social links (cotes2020#1837)

commit 8673e13
Author: Daniel Singleton <48238314+goodnightdaniel@users.noreply.github.com>
Date:   Fri Jul 5 05:03:01 2024 -0700

    feat: add Reddit social option (cotes2020#1836)

commit a07a57e
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Thu Jul 4 02:21:22 2024 +0800

    feat(ui): make `info-prompt` icon looks like the letter "i" (cotes2020#1835)

commit db9e58b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Jul 4 01:49:30 2024 +0800

    build(deps-dev): bump the dev-deps group with 3 updates (cotes2020#1824)

    Updates the requirements on [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core), [@babel/plugin-transform-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-properties) and [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) to permit the latest version.

    Updates `@babel/core` to 7.24.7
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-core)

    Updates `@babel/plugin-transform-class-properties` to 7.24.7
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-plugin-transform-class-properties)

    Updates `@babel/preset-env` to 7.24.7
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-preset-env)

    ---
    updated-dependencies:
    - dependency-name: "@babel/core"
      dependency-type: direct:development
      dependency-group: dev-deps
    - dependency-name: "@babel/plugin-transform-class-properties"
      dependency-type: direct:development
      dependency-group: dev-deps
    - dependency-name: "@babel/preset-env"
      dependency-type: direct:development
      dependency-group: dev-deps
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit e6532ad
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Thu Jul 4 01:42:29 2024 +0800

    refactor: fix typos in locale variable

    statment -> statement

commit fbba0a4
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Tue Jul 2 06:00:39 2024 +0800

    chore: fix typos in project files and docs

commit c876731
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Mon Jul 1 07:02:36 2024 +0800

    feat(ui): improve visibility of inline code (cotes2020#1831)

commit 9ca7519
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Thu Jun 27 05:30:53 2024 +0800

    docs: unify the style of badges

commit 0709854
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Sun Jun 16 22:25:41 2024 +0800

    fix: adapt the giscus localization parameter (cotes2020#1810)

commit f1d3583
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Sat Jun 8 00:45:59 2024 +0800

    build(devcontainer): add omz plugins & verify extension signature

    VSCode fixed signature validation hangs in v1.90

commit cf853f1
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Fri Jun 7 19:27:54 2024 +0800

    chore: upgrade `husky` v9 settings

commit 7ca9c59
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Wed Jun 5 23:51:10 2024 +0800

    build(deps-dev): remove package `rollup-plugin-license` (cotes2020#1796)

    The `rollup-plugin-license` has been using too many deprecated dependencies, so it is necessary to remove it.

    As an alternative, this changes uses Rollup `output.banner` to insert copyright information. Since `terser` runs after `output`, it is not possible to insert the Front Matter defining permlink for `sw.js` through the same way (Jekyll Front Matter is YAML rather than JS, which would cause errors with terser).

    Therefore, _Jekyll Collection_ is now used to add permlink to `sw.js`, with the collection named `app`, and the directory placed in `_app`. This directory is not tracked by git, but it will be included when building the gem.

commit 250880c
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Tue Jun 4 19:28:02 2024 +0800

    docs: change ordering of badges

commit 88b844c
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Tue Jun 4 19:26:17 2024 +0800

    build(deps): improve dependency grouping

commit 3b46629
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Tue Jun 4 01:36:27 2024 +0800

    build(deps-dev): bump the npm group across 1 directory with 8 updates

    Updates the requirements on [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core), [@babel/plugin-transform-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-properties), [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env), [conventional-changelog-conventionalcommits](https://github.com/conventional-changelog/conventional-changelog/tree/HEAD/packages/conventional-changelog-conventionalcommits), [rollup](https://github.com/rollup/rollup), [rollup-plugin-license](https://github.com/mjeanroy/rollup-plugin-license), [semantic-release](https://github.com/semantic-release/semantic-release) and [stylelint](https://github.com/stylelint/stylelint) to permit the latest version.

    Updates `@babel/core` to 7.24.6
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-core)

    Updates `@babel/plugin-transform-class-properties` to 7.24.6
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-plugin-transform-class-properties)

    Updates `@babel/preset-env` to 7.24.6
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-preset-env)

    Updates `conventional-changelog-conventionalcommits` from 7.0.2 to 8.0.0
    - [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases)
    - [Changelog](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-conventionalcommits/CHANGELOG.md)
    - [Commits](https://github.com/conventional-changelog/conventional-changelog/commits/conventional-changelog-conventionalcommits-v8.0.0/packages/conventional-changelog-conventionalcommits)

    Updates `rollup` to 4.18.0
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v4.17.2...v4.18.0)

    Updates `rollup-plugin-license` to 3.4.0
    - [Changelog](https://github.com/mjeanroy/rollup-plugin-license/blob/master/CHANGELOG.md)
    - [Commits](mjeanroy/rollup-plugin-license@v3.3.1...v3.4.0)

    Updates `semantic-release` from 23.1.1 to 24.0.0
    - [Release notes](https://github.com/semantic-release/semantic-release/releases)
    - [Commits](semantic-release/semantic-release@v23.1.1...v24.0.0)

    Updates `stylelint` to 16.6.1
    - [Release notes](https://github.com/stylelint/stylelint/releases)
    - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
    - [Commits](stylelint/stylelint@16.5.0...16.6.1)

commit 1e3d4a6
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Mon Jun 3 21:12:54 2024 +0800

    feat(dev): support vscode dev-container (cotes2020#1781)

commit 1c5fa08
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Sat Jun 1 04:11:01 2024 +0800

    refactor: restore shell script extensions

    Without an extension, the shell script configuration in `.gitattribute` will not work.

commit 64ae7a3
Author: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date:   Thu May 30 03:33:35 2024 +0800

    docs: correct markdown syntax of tutorial (cotes2020#1787)
gudtldn pushed a commit to gudtldn/gudtldn.github.io that referenced this pull request Jul 26, 2024
The `rollup-plugin-license` has been using too many deprecated dependencies, so it is necessary to remove it.

As an alternative, this changes uses Rollup `output.banner` to insert copyright information. Since `terser` runs after `output`, it is not possible to insert the Front Matter defining permlink for `sw.js` through the same way (Jekyll Front Matter is YAML rather than JS, which would cause errors with terser).

Therefore, _Jekyll Collection_ is now used to add permlink to `sw.js`, with the collection named `app`, and the directory placed in `_app`. This directory is not tracked by git, but it will be included when building the gem.
@cotes2020 cotes2020 mentioned this pull request Aug 26, 2024
1 task
Copy link

🎉 This issue has been resolved in version 7.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot added the released Included or resolved in the release label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Included or resolved in the release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant