rename the role to frontend-extensions

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-08-12 10:25:35 +02:00
parent 0f7452c030
commit 705794def5
14 changed files with 47 additions and 47 deletions
@@ -28,7 +28,7 @@ async function main() {
if (
pkgRole === 'frontend-plugin' ||
pkgRole === 'web-library' ||
pkgRole === 'frontend-extensions-bundle'
pkgRole === 'frontend-extensions'
) {
const depKeys = Object.keys(pkg.packageJson.dependencies);
if (depKeys.findIndex(d => d.includes('@material-ui')) !== -1) {
+3 -3
View File
@@ -45,7 +45,7 @@ const roleRules = [
'frontend-plugin',
'web-library',
'frontend-plugin-module',
'frontend-extensions-bundle',
'frontend-extensions',
],
message: `Package SOURCE_NAME with backend role SOURCE_ROLE has a dependency on package TARGET_NAME with frontend role TARGET_ROLE, which is not permitted`,
},
@@ -55,7 +55,7 @@ const roleRules = [
'frontend-plugin',
'web-library',
'frontend-plugin-module',
'frontend-extensions-bundle',
'frontend-extensions',
'backend-plugin',
'node-library',
'backend-plugin-module',
@@ -67,7 +67,7 @@ const roleRules = [
targetRole: [
'frontend-plugin',
'frontend-plugin-module',
'frontend-extensions-bundle',
'frontend-extensions',
],
except: [
// TODO(freben): Address these