mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17279] Add iconify icon sets that are needed and update iconify
PHPBB3-17279
This commit is contained in:
parent
f9863f9b34
commit
5afa5db41f
7 changed files with 107147 additions and 11 deletions
18
gulpfile.js
18
gulpfile.js
|
@ -67,8 +67,26 @@ function watch() {
|
||||||
gulp.watch(paths.styles.src, styles);
|
gulp.watch(paths.styles.src, styles);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function copyIconifyIcons() {
|
||||||
|
return gulp.src([
|
||||||
|
'node_modules/@iconify/json/json/fa.json',
|
||||||
|
'node_modules/@iconify/json/json/ic.json',
|
||||||
|
'node_modules/@iconify/json/json/mdi.json',
|
||||||
|
])
|
||||||
|
.pipe(gulp.dest('phpBB/assets/iconify'));
|
||||||
|
}
|
||||||
|
|
||||||
|
function copyIconifyJs() {
|
||||||
|
return gulp.src([
|
||||||
|
'node_modules/@iconify/iconify/dist/iconify.without-api.min.js',
|
||||||
|
])
|
||||||
|
.pipe(rename('iconify.min.js'))
|
||||||
|
.pipe(gulp.dest('phpBB/assets/iconify'));
|
||||||
|
}
|
||||||
|
|
||||||
exports.style = styles;
|
exports.style = styles;
|
||||||
exports.minify = minify;
|
exports.minify = minify;
|
||||||
exports.watch = watch;
|
exports.watch = watch;
|
||||||
|
exports.copyIconify = gulp.parallel(copyIconifyJs, copyIconifyIcons);
|
||||||
|
|
||||||
exports.default = gulp.series(styles, minify, watch);
|
exports.default = gulp.series(styles, minify, watch);
|
||||||
|
|
67
package-lock.json
generated
67
package-lock.json
generated
|
@ -9,6 +9,8 @@
|
||||||
"version": "4.0.0-dev",
|
"version": "4.0.0-dev",
|
||||||
"license": "GPL-2.0",
|
"license": "GPL-2.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@iconify/iconify": "^3.1.1",
|
||||||
|
"@iconify/json": "^2.2.163",
|
||||||
"autoprefixer": "^10.4.4",
|
"autoprefixer": "^10.4.4",
|
||||||
"cssnano": "^5.1.7",
|
"cssnano": "^5.1.7",
|
||||||
"eslint": "^8.13.0",
|
"eslint": "^8.13.0",
|
||||||
|
@ -263,6 +265,34 @@
|
||||||
"integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==",
|
"integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/@iconify/iconify": {
|
||||||
|
"version": "3.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@iconify/iconify/-/iconify-3.1.1.tgz",
|
||||||
|
"integrity": "sha512-1nemfyD/OJzh9ALepH7YfuuP8BdEB24Skhd8DXWh0hzcOxImbb1ZizSZkpCzAwSZSGcJFmscIBaBQu+yLyWaxQ==",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@iconify/types": "^2.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/cyberalien"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@iconify/json": {
|
||||||
|
"version": "2.2.163",
|
||||||
|
"resolved": "https://registry.npmjs.org/@iconify/json/-/json-2.2.163.tgz",
|
||||||
|
"integrity": "sha512-cBca9e8x6Bp5qN2++sl54OUbME/Y20OhXJEdkpFFvvHvt8UfQLiBKzz7q3uZ1l3EQjc8JoKgDB/n8nqfNqEWig==",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@iconify/types": "*",
|
||||||
|
"pathe": "^1.1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@iconify/types": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"node_modules/@nodelib/fs.scandir": {
|
"node_modules/@nodelib/fs.scandir": {
|
||||||
"version": "2.1.5",
|
"version": "2.1.5",
|
||||||
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
||||||
|
@ -5102,6 +5132,12 @@
|
||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/pathe": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"node_modules/picocolors": {
|
"node_modules/picocolors": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
||||||
|
@ -8397,6 +8433,31 @@
|
||||||
"integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==",
|
"integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"@iconify/iconify": {
|
||||||
|
"version": "3.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@iconify/iconify/-/iconify-3.1.1.tgz",
|
||||||
|
"integrity": "sha512-1nemfyD/OJzh9ALepH7YfuuP8BdEB24Skhd8DXWh0hzcOxImbb1ZizSZkpCzAwSZSGcJFmscIBaBQu+yLyWaxQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@iconify/types": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@iconify/json": {
|
||||||
|
"version": "2.2.163",
|
||||||
|
"resolved": "https://registry.npmjs.org/@iconify/json/-/json-2.2.163.tgz",
|
||||||
|
"integrity": "sha512-cBca9e8x6Bp5qN2++sl54OUbME/Y20OhXJEdkpFFvvHvt8UfQLiBKzz7q3uZ1l3EQjc8JoKgDB/n8nqfNqEWig==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@iconify/types": "*",
|
||||||
|
"pathe": "^1.1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@iconify/types": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"@nodelib/fs.scandir": {
|
"@nodelib/fs.scandir": {
|
||||||
"version": "2.1.5",
|
"version": "2.1.5",
|
||||||
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
||||||
|
@ -12213,6 +12274,12 @@
|
||||||
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
|
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"pathe": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"picocolors": {
|
"picocolors": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
||||||
|
|
|
@ -56,11 +56,7 @@
|
||||||
"always"
|
"always"
|
||||||
],
|
],
|
||||||
"no-lonely-if": "off",
|
"no-lonely-if": "off",
|
||||||
"unicorn/prefer-module": "off",
|
"unicorn/prefer-module": "off"
|
||||||
"space-before-function-paren": [
|
|
||||||
"error",
|
|
||||||
"never"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"es6": true,
|
"es6": true,
|
||||||
|
@ -103,6 +99,8 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://www.phpbb.com",
|
"homepage": "https://www.phpbb.com",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@iconify/iconify": "^3.1.1",
|
||||||
|
"@iconify/json": "^2.2.163",
|
||||||
"autoprefixer": "^10.4.4",
|
"autoprefixer": "^10.4.4",
|
||||||
"cssnano": "^5.1.7",
|
"cssnano": "^5.1.7",
|
||||||
"eslint": "^8.13.0",
|
"eslint": "^8.13.0",
|
||||||
|
|
4003
phpBB/assets/iconify/fa.json
Normal file
4003
phpBB/assets/iconify/fa.json
Normal file
File diff suppressed because it is too large
Load diff
46779
phpBB/assets/iconify/ic.json
Normal file
46779
phpBB/assets/iconify/ic.json
Normal file
File diff suppressed because it is too large
Load diff
10
phpBB/assets/iconify/iconify.min.js
vendored
10
phpBB/assets/iconify/iconify.min.js
vendored
File diff suppressed because one or more lines are too long
56273
phpBB/assets/iconify/mdi.json
Normal file
56273
phpBB/assets/iconify/mdi.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue