Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
c7b34b0
Update npm dependencies except of bootstrap
richard67 Jul 25, 2025
f835799
Update bootstrap to 5.3.7 and relax version pin
richard67 Jul 25, 2025
985bd6c
Update tinymce.xml
richard67 Jul 25, 2025
2ea6bfe
Update cypress from 14.5.2 to 14.5.3
richard67 Jul 26, 2025
8681f80
Update vue from 3.5.13 to 3.5.18
richard67 Jul 26, 2025
12c6f83
Update stylelint from 14.16.1 to 16.22.0
richard67 Jul 26, 2025
69ab7a1
Remove stylistic rules
richard67 Jul 26, 2025
3c4b4ff
Fix scss stylelint errors due to stylelint update
richard67 Jul 26, 2025
83169e2
Merge branch '5.4-dev' into 5.4-dev-npm-update-2025-07-25
richard67 Jul 27, 2025
e089d1d
Update rollup from 4.45.1 to 4.46.0
richard67 Jul 27, 2025
50db959
Update commander from 13.1.0 to 14.0.0
richard67 Jul 27, 2025
d98a240
Add `@stylistic/stylelint-plugin` + add back rules
richard67 Jul 27, 2025
018bd7c
Update dotenv from 16.6.1 to 17.2.1
richard67 Jul 27, 2025
b70e02b
Adapt to changed default value for configuration
richard67 Jul 27, 2025
a012217
Update qrcode-generator from 1.5.2 to 2.0.2
richard67 Jul 27, 2025
b78c75f
t
dgrammatiko Jul 27, 2025
24b99d5
Merge pull request #48 from dgrammatiko/5.4-dev-npm-update-2025-07-25
richard67 Jul 27, 2025
34964ca
Move new eslint config to build folder
richard67 Jul 27, 2025
bc56e73
Update es-module-shims from 1.10.1 to 2.6.1
richard67 Jul 27, 2025
9596b0a
Merge pull request #49 from richard67/5.4-dev-npm-update-es-module-sh…
richard67 Jul 27, 2025
47a7769
Merge branch '5.4-dev' into 5.4-dev-npm-update-2025-07-25
richard67 Jul 28, 2025
a9a12a1
Update rollup from to 4.46.1 + stylelint to 16.23.0
richard67 Jul 29, 2025
bbba1aa
Merge branch '5.4-dev' into 5.4-dev-npm-update-2025-07-25
richard67 Jul 29, 2025
9c3e00e
Revert "Update es-module-shims from 1.10.1 to 2.6.1"
richard67 Aug 2, 2025
dc8f91c
Revert "Update qrcode-generator from 1.5.2 to 2.0.2"
richard67 Aug 2, 2025
04d2dbf
Revert "Update dotenv from 16.6.1 to 17.2.1"
richard67 Aug 2, 2025
7f385a4
Minor or patch updates 2025-08-02
richard67 Aug 2, 2025
a345863
Revert "Adapt to changed default value for configuration"
richard67 Aug 2, 2025
2296c4e
Update stylelint-config-standard
richard67 Aug 2, 2025
3db258a
Merge branch '5.4-dev' into 5.4-dev-npm-update-2025-07-25
richard67 Aug 2, 2025
718b4d9
Merge branch '5.4-dev' into 5.4-dev-npm-update-2025-07-25
richard67 Aug 2, 2025
415ce46
Merge branch '5.4-dev' into 5.4-dev-npm-update-2025-07-25
muhme Aug 4, 2025
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
87 changes: 0 additions & 87 deletions build/.eslintrc

This file was deleted.

35 changes: 18 additions & 17 deletions build/.stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
{
"plugins": [
"stylelint-scss",
"stylelint-order"
"stylelint-order",
"@stylistic/stylelint-plugin"
],
"customSyntax": "postcss-scss",
"rules": {
"declaration-bang-space-before": "always",
"declaration-bang-space-after": "never",
"color-named": "never",
"declaration-block-no-duplicate-properties": true,
"block-no-empty": true,
"no-missing-end-of-source-newline": true,
"color-hex-length": "short",
"color-hex-case": "lower",
"color-no-invalid-hex": true,
"indentation": 2,
"number-leading-zero": "never",
"max-nesting-depth": 4,
"selector-max-compound-selectors": 5,
"order/properties-order": [
Expand Down Expand Up @@ -197,23 +192,14 @@
"animation-iteration-count",
"animation-direction"
],
"block-opening-brace-space-before": "always",
"declaration-block-trailing-semicolon": "always",
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"function-parentheses-space-inside": "never",
"function-url-no-scheme-relative": true,
"function-url-quotes": "always",
"length-zero-no-unit": true,
"no-eol-whitespace": true,
"number-no-trailing-zeros": true,
"property-no-unknown": true,
"property-no-vendor-prefix": true,
"scss/dollar-variable-colon-space-before": "never",
"scss/selector-no-redundant-nesting-selector": true,
"selector-pseudo-class-parentheses-space-inside": "never",
"shorthand-property-no-redundant-values": true,
"string-quotes": "double",
"unit-allowed-list": [
"ch",
"em",
Expand Down Expand Up @@ -244,6 +230,21 @@
"dppx",
"%"
],
"value-no-vendor-prefix": true
"value-no-vendor-prefix": true,
"@stylistic/declaration-bang-space-before": "always",
"@stylistic/declaration-bang-space-after": "never",
"@stylistic/no-missing-end-of-source-newline": true,
"@stylistic/color-hex-case": "lower",
"@stylistic/indentation": 2,
"@stylistic/number-leading-zero": "never",
"@stylistic/block-opening-brace-space-before": "always",
"@stylistic/declaration-block-trailing-semicolon": "always",
"@stylistic/declaration-colon-space-after": "always",
"@stylistic/declaration-colon-space-before": "never",
"@stylistic/function-parentheses-space-inside": "never",
"@stylistic/no-eol-whitespace": true,
"@stylistic/number-no-trailing-zeros": true,
"@stylistic/selector-pseudo-class-parentheses-space-inside": "never",
"@stylistic/string-quotes": "double"
}
}
3 changes: 0 additions & 3 deletions build/build-modules-js/compilecss.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export const stylesheets = async (options, path) => {
} else if (stats.isFile()) {
files.push(`${RootPath}/${path}`);
} else {
// eslint-disable-next-line no-console
console.error(`Unknown path ${path}`);
process.exitCode = 1;
}
Expand All @@ -51,7 +50,6 @@ export const stylesheets = async (options, path) => {
const folderPromises = [];

// Loop to get the files that should be compiled via parameter
// eslint-disable-next-line no-restricted-syntax
for (const folder of folders) {
folderPromises.push(recursive(folder, ['!*.+(scss|css)']));
}
Expand All @@ -78,7 +76,6 @@ export const stylesheets = async (options, path) => {
}
});

// eslint-disable-next-line no-restricted-syntax
for (const file of files) {
const outputFile = file.replace(`${sep}scss${sep}`, `${sep}css${sep}`)
.replace(`${sep}build${sep}media_source${sep}`, `${sep}media${sep}`)
Expand Down
2 changes: 0 additions & 2 deletions build/build-modules-js/compilejs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export const scripts = async (options, path) => {
} else if (stats.isFile()) {
files.push(`${RootPath}/${path}`);
} else {
// eslint-disable-next-line no-console
console.error(`Unknown path ${path}`);
process.exitCode = 1;
}
Expand All @@ -49,7 +48,6 @@ export const scripts = async (options, path) => {
const folderPromises = [];

// Loop to get the files that should be compiled via parameter
// eslint-disable-next-line no-restricted-syntax
for (const folder of folders) {
folderPromises.push(recursive(folder, ['!*.+(m|js)']));
}
Expand Down
1 change: 0 additions & 1 deletion build/build-modules-js/compress.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export const compressFiles = async (enableBrotli = false) => {
[].concat(...files).map((file) => compressTasks.push(compressFile(file, enableBrotli)));

await Promise.all(compressTasks);
// eslint-disable-next-line no-console
console.log('✅ Done 👍');
bench.stop();
};
3 changes: 0 additions & 3 deletions build/build-modules-js/error-pages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ export const createErrorPages = async (options) => {
});

await Promise.all(iniFilesProcess).catch((err) => {
// eslint-disable-next-line no-console
console.error(err);
process.exitCode = -1;
});
Expand Down Expand Up @@ -152,15 +151,13 @@ export const createErrorPages = async (options) => {

await writeFile(`${RootPath}${folder}`, template, { encoding: 'utf8', mode: 0o644 });

// eslint-disable-next-line no-console
console.error(`✅ Created the file: ${folder}`);
});
};

Object.keys(options.settings.errorPages).forEach((name) => processPages.push(processPage(name)));

return Promise.all(processPages).catch((err) => {
// eslint-disable-next-line no-console
console.error(err);
process.exitCode = -1;
});
Expand Down
4 changes: 0 additions & 4 deletions build/build-modules-js/init/cleanup-media.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,17 @@ const {
export const cleanVendors = async () => {
if (process.env.SKIP_COMPOSER_CHECK === 'YES') {
await mkdir('media/vendor/debugbar', { recursive: true, mode: 0o755 });
// eslint-disable-next-line no-console
console.log('Skipping the DebugBar assets...');
return;
}

// eslint-disable-next-line no-console
console.log('Cleanup the Vendor ');

const mediaFolder = await stat(join(RootPath, 'libraries/vendor/php-debugbar/php-debugbar/src/DebugBar/Resources'));

if (await mediaFolder.isDirectory()) {
// Remove the vendor folder
// await remove(join(RootPath, 'media'));
// eslint-disable-next-line no-console
// console.error('/media has been removed.');

// Recreate the media folder
Expand All @@ -40,7 +37,6 @@ export const cleanVendors = async () => {
await remove(join(RootPath, 'media/vendor/debugbar/vendor/font-awesome'));
await remove(join(RootPath, 'media/vendor/debugbar/vendor/jquery'));
} else {
// eslint-disable-next-line no-console
console.error("You need to run `npm install` AFTER the command `composer install`!!!. The debug plugin HASN'T installed all its front end assets");
process.exitCode = 1;
}
Expand Down
1 change: 0 additions & 1 deletion build/build-modules-js/init/common/concat-files.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const RootPath = process.cwd();
export const concatFiles = async (files, output) => {
const promises = [];

// eslint-disable-next-line no-restricted-syntax
for (const file of files) {
if (existsSync(`${RootPath}/${file}`)) {
promises.push(readFile(`${RootPath}/${file}`, { encoding: 'utf8' }));
Expand Down
1 change: 0 additions & 1 deletion build/build-modules-js/init/exemptions/tinymce.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const xmlVersionStr = /(<version>)(.+)(<\/version>)/;
*/
const copyArrayFiles = async (dirName, files, name, type) => {
const promises = [];
// eslint-disable-next-line guard-for-in,no-restricted-syntax
for (const file of files) {
const folderName = dirName === '/' ? '/' : `/${dirName}/`;

Expand Down
4 changes: 0 additions & 4 deletions build/build-modules-js/init/localise-packages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const copyFilesTo = async (files, srcDir, destDir) => {
}

// Copy each file
// eslint-disable-next-line no-restricted-syntax,guard-for-in
for (const srcFile in files) {
copyPromises.push(doTheCopy(join(srcDir, srcFile), join(destDir, files[srcFile])));
}
Expand All @@ -48,7 +47,6 @@ const resolvePackage = async (vendor, packageName, mediaVendorPath, options, reg
const vendorName = vendor.name || packageName;
const modulePathJson = resolvePackageFile(`${packageName}/package.json`);
const modulePathRoot = dirname(modulePathJson);
// eslint-disable-next-line global-require, import/no-dynamic-require
const moduleOptions = require(modulePathJson);

const promises = [];
Expand Down Expand Up @@ -106,7 +104,6 @@ const resolvePackage = async (vendor, packageName, mediaVendorPath, options, reg
});
}

// eslint-disable-next-line no-console
console.log(`${packageName} was updated.`);
};

Expand Down Expand Up @@ -134,7 +131,6 @@ export const localisePackages = async (options) => {
}

// Loop to get some text for the package.json
// eslint-disable-next-line guard-for-in, no-restricted-syntax
for (const packageName in options.settings.vendors) {
const vendor = options.settings.vendors[packageName];

Expand Down
1 change: 0 additions & 1 deletion build/build-modules-js/init/minify-vendor.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const minifyJS = async (file) => {
return;
}

// eslint-disable-next-line no-console
console.log(`Processing Vendor file: ${file}`);

let minified;
Expand Down
1 change: 0 additions & 1 deletion build/build-modules-js/init/recreate-media.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export const recreateMediaFolder = async (options) => {
}
});

// eslint-disable-next-line no-console
console.log('Recreating the media folder...');

const filterFunc = async (src) => {
Expand Down
3 changes: 0 additions & 3 deletions build/build-modules-js/javascript/build-bootstrap-js.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const createMinified = async (file) => {
};

const build = async () => {
// eslint-disable-next-line no-console
console.log('Building ES6 Components...');

const domImports = await readdir(resolve('node_modules/bootstrap', 'js/src/dom'));
Expand Down Expand Up @@ -104,7 +103,6 @@ export const bootstrapJs = async () => {
await build(resolve(inputFolder, 'index.es6.js'));
await unlink(resolve(outputFolder, 'index.es6.js'));
} catch (error) {
// eslint-disable-next-line no-console
console.error(error);
process.exitCode = 1;
}
Expand All @@ -114,7 +112,6 @@ export const bootstrapJs = async () => {
});

return Promise.all(tasks).catch((er) => {
// eslint-disable-next-line no-console
console.log(er);
process.exitCode = 1;
});
Expand Down
3 changes: 0 additions & 3 deletions build/build-modules-js/javascript/build-codemirror.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
* Build codemirror modules
*/
/* eslint-disable import/no-extraneous-dependencies, global-require, import/no-dynamic-require */

import { readFileSync } from 'node:fs';
import { writeFile } from 'node:fs/promises';
import { createRequire } from 'node:module';
Expand Down Expand Up @@ -86,7 +84,6 @@ const updateAssetRegistry = async (modules, externalModules) => {
};

export const compileCodemirror = async () => {
// eslint-disable-next-line no-console
console.log('Building Codemirror Components...');

const cmModules = getPackagesUnderScope('@codemirror');
Expand Down
Loading
Loading