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

License header is missing in free-solid-svg-icons@6.6.0/index.mjs #20368 #20378

Open
wants to merge 1 commit into
base: 6.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions js-packages/@fortawesome/free-regular-svg-icons/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
2,619 changes: 1,449 additions & 1,170 deletions js-packages/@fortawesome/free-regular-svg-icons/index.mjs

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions js-packages/@fortawesome/free-regular-svg-icons/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion js-packages/@fortawesome/free-regular-svg-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,11 @@
},
"./package.json": "./package.json",
"./*": "./*.js"
},
"devDependencies": {
"rollup-plugin-banner2": "^1.3.0"
},
"scripts": {
"build":"rollup -c"
}
}
}
24 changes: 24 additions & 0 deletions js-packages/@fortawesome/free-regular-svg-icons/rollup.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
const banner = require('rollup-plugin-banner2');


const licenseText = `/*!
* Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
* Copyright 2024 Fonticons, Inc.
*/
`;

module.exports = [

{
input: 'index.js',
output: {
file: 'index.mjs',
format: 'cjs',
},
plugins: [
banner(() => licenseText),

],
},
];
1 change: 1 addition & 0 deletions js-packages/@fortawesome/free-solid-svg-icons/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
6 changes: 4 additions & 2 deletions js-packages/@fortawesome/free-solid-svg-icons/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20,974 changes: 11,472 additions & 9,502 deletions js-packages/@fortawesome/free-solid-svg-icons/index.mjs

Large diffs are not rendered by default.

Loading