@madgex/fert 5.0.4 → 5.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -5
- package/bin/cli.js +9 -30
- package/bin/commands/_service-command-bootstrap.js +6 -13
- package/bin/commands/build-tasks/build-tokens.js +8 -22
- package/bin/commands/build-tasks/bundle-entry.js +1 -4
- package/bin/commands/build.js +1 -0
- package/bin/commands/configs.js +17 -53
- package/bin/commands/dev-server.js +5 -14
- package/bin/commands/init.js +27 -117
- package/bin/commands/publish-tasks/asset-store-uploader.js +2 -5
- package/bin/commands/publish.js +10 -30
- package/bin/utils/configs.js +55 -95
- package/bin/utils/cpid-lookup.js +2 -2
- package/bin/utils/cpid-matches-git-remote.js +5 -10
- package/bin/utils/getSchemaMeta.js +1 -1
- package/bin/utils/index.js +14 -25
- package/bin/utils/lookup-cf-distribution-ids.js +2 -7
- package/bin/utils/resolve-external-assets.js +6 -15
- package/constants.js +3 -17
- package/package.json +17 -26
- package/repo-template/fert.config.js +3 -0
- package/repo-template/package.json +22 -0
- package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/brand.json +6 -3
- package/repo-template/services/jobseekers-frontend/fert.service.config.js +7 -0
- package/repo-template/services/jobseekers-frontend/public/icons/user.svg +4 -0
- package/repo-template/services/jobseekers-frontend/public/images/favicon.ico +0 -0
- package/repo-template/services/jobseekers-frontend/public/images/fred.jpeg +0 -0
- package/repo-template/services/jobseekers-frontend/src/css/styles.scss +1152 -0
- package/repo-template/services/jobseekers-frontend/src/index.js +9 -0
- package/repo-template/services/jobseekers-frontend/src/js/recruiter-link.js +25 -0
- package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/context/footer-nav.njk +26 -26
- package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/context/main-nav.njk +40 -31
- package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/context/user-nav.njk +16 -16
- package/repo-template/services/jobseekers-frontend/templates/footer.njk +20 -0
- package/repo-template/services/jobseekers-frontend/templates/header.njk +74 -0
- package/repo-template/services/jobseekers-frontend/templates/includes/footer-nav.njk +15 -0
- package/repo-template/services/jobseekers-frontend/templates/includes/main-nav.njk +19 -0
- package/repo-template/services/jobseekers-frontend/templates/includes/user-nav/authenticated.njk +34 -0
- package/repo-template/services/jobseekers-frontend/templates/includes/user-nav/unauthenticated.njk +9 -0
- package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/en.njk +1 -0
- package/server/index.js +2 -3
- package/server/plugins/hapi-vite.js +4 -2
- package/server/routes/views.js +1 -0
- package/server/view-manager.js +2 -5
- package/.prettierrc.js +0 -8
- package/bin/commands/configs.test.js +0 -182
- package/bin/utils/configs.test.js +0 -53
- package/bin/utils/persistent-cache-with-ttl.test.js +0 -42
- package/bin/utils/resolve-external-assets.test.js +0 -98
- package/eslint.config.mjs +0 -53
- package/repo-templates/globals/fert.config.js +0 -9
- package/repo-templates/template-basic/_gitignore +0 -6
- package/repo-templates/template-basic/package.json +0 -13
- package/repo-templates/template-basic/public/favicon.ico +0 -0
- package/repo-templates/template-basic/src/css/styles.scss +0 -11
- package/repo-templates/template-basic/src/index.js +0 -3
- package/repo-templates/template-basic/templates/footer.njk +0 -14
- package/repo-templates/template-basic/templates/header.njk +0 -14
- package/repo-templates/template-bigworkbag/_gitignore +0 -6
- package/repo-templates/template-bigworkbag/brand.json +0 -21
- package/repo-templates/template-bigworkbag/package.json +0 -13
- package/repo-templates/template-bigworkbag/public/favicon.ico +0 -0
- package/repo-templates/template-bigworkbag/public/fonts/mdgx-icons.eot +0 -0
- package/repo-templates/template-bigworkbag/public/fonts/mdgx-icons.svg +0 -71
- package/repo-templates/template-bigworkbag/public/fonts/mdgx-icons.ttf +0 -0
- package/repo-templates/template-bigworkbag/public/fonts/mdgx-icons.woff +0 -0
- package/repo-templates/template-bigworkbag/public/fonts/my-font.woff +0 -1
- package/repo-templates/template-bigworkbag/public/images/logo.png +0 -0
- package/repo-templates/template-bigworkbag/public/images/user-menu-pointer.svg +0 -4
- package/repo-templates/template-bigworkbag/src/css/breakpoints.scss +0 -17
- package/repo-templates/template-bigworkbag/src/css/clicky-menu.scss +0 -52
- package/repo-templates/template-bigworkbag/src/css/desktop-main-nav.scss +0 -25
- package/repo-templates/template-bigworkbag/src/css/desktop-user-nav.scss +0 -127
- package/repo-templates/template-bigworkbag/src/css/footer.scss +0 -77
- package/repo-templates/template-bigworkbag/src/css/header-top.scss +0 -29
- package/repo-templates/template-bigworkbag/src/css/leaderboard-ad.scss +0 -22
- package/repo-templates/template-bigworkbag/src/css/mobile-main-nav.scss +0 -68
- package/repo-templates/template-bigworkbag/src/css/mobile-user-nav.scss +0 -49
- package/repo-templates/template-bigworkbag/src/css/reset.scss +0 -91
- package/repo-templates/template-bigworkbag/src/css/styles.scss +0 -18
- package/repo-templates/template-bigworkbag/src/css/top-bar.scss +0 -13
- package/repo-templates/template-bigworkbag/src/css/typography.scss +0 -20
- package/repo-templates/template-bigworkbag/src/css/util.scss +0 -28
- package/repo-templates/template-bigworkbag/src/css/variables.scss +0 -9
- package/repo-templates/template-bigworkbag/src/index.js +0 -3
- package/repo-templates/template-bigworkbag/src/js/clicky-menus.js +0 -178
- package/repo-templates/template-bigworkbag/src/js/no-js.js +0 -10
- package/repo-templates/template-bigworkbag/templates/footer.njk +0 -68
- package/repo-templates/template-bigworkbag/templates/header.njk +0 -54
- package/repo-templates/template-bigworkbag/templates/includes/desktop-main-nav-items.njk +0 -18
- package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/loggedin-items.njk +0 -28
- package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/loggedout-items.njk +0 -9
- package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/submenu-items.njk +0 -18
- package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/user-nav.njk +0 -24
- package/repo-templates/template-bigworkbag/templates/includes/dev-console-context.njk +0 -7
- package/repo-templates/template-bigworkbag/templates/includes/mobile-main-nav-items.njk +0 -25
- package/repo-templates/template-bigworkbag/templates/includes/mobile-user-nav/loggedin-items.njk +0 -33
- package/repo-templates/template-bigworkbag/templates/includes/mobile-user-nav/loggedout-items.njk +0 -16
- package/repo-templates/template-bigworkbag/templates/includes/mobile-user-nav/user-nav.njk +0 -24
- package/repo-templates/template-bigworkbag/templates/svgs/arrow-down.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/arrow-left.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/arrow-right.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/arrow-up.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/cart.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/facebook.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/linkedin.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/profile.svg +0 -5
- package/repo-templates/template-bigworkbag/templates/svgs/star-filled.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/star-outline.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/twitter.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/youtube.svg +0 -3
- /package/{repo-templates/globals → repo-template}/jenkinsfile +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/mdgx-icons.eot +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/mdgx-icons.svg +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/mdgx-icons.ttf +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/mdgx-icons.woff +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/my-font.woff +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/images/logo.png +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/da.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/de.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/es.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/fr.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/nb.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/nl.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/sv.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/zh-cn.njk +0 -0
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@madgex/fert",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.6",
|
|
4
4
|
"description": "Tool to help build the V6 branding",
|
|
5
5
|
"bin": {
|
|
6
6
|
"fert": "./bin/cli.js"
|
|
7
7
|
},
|
|
8
|
+
"type": "commonjs",
|
|
8
9
|
"scripts": {
|
|
9
10
|
"lint": "eslint .",
|
|
10
11
|
"format": "prettier --write .",
|
|
@@ -18,21 +19,21 @@
|
|
|
18
19
|
"url": "https://github.com/wiley/madgex-frontend-rollout-tool.git"
|
|
19
20
|
},
|
|
20
21
|
"engines": {
|
|
21
|
-
"node": ">=22"
|
|
22
|
+
"node": ">=22.3"
|
|
22
23
|
},
|
|
23
24
|
"author": "Madgex",
|
|
24
25
|
"license": "UNLICENSED",
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/client-cloudfront": "^3.
|
|
27
|
-
"@aws-sdk/client-ssm": "^3.
|
|
28
|
-
"@aws-sdk/credential-providers": "^3.
|
|
27
|
+
"@aws-sdk/client-cloudfront": "^3.745.0",
|
|
28
|
+
"@aws-sdk/client-ssm": "^3.744.0",
|
|
29
|
+
"@aws-sdk/credential-providers": "^3.744.0",
|
|
29
30
|
"@hapi/hapi": "^21.3.12",
|
|
30
31
|
"@hapi/hoek": "^11.0.7",
|
|
31
32
|
"@hapi/inert": "^7.1.0",
|
|
32
33
|
"@hapi/vision": "^7.0.3",
|
|
33
34
|
"@hapipal/toys": "^4.0.0",
|
|
34
|
-
"@madgex/config-api-sdk": "^1.
|
|
35
|
-
"@madgex/design-system": "^9.
|
|
35
|
+
"@madgex/config-api-sdk": "^1.7.0",
|
|
36
|
+
"@madgex/design-system": "^9.2.0",
|
|
36
37
|
"@private/header-footer-podlet-server": "github:wiley/madgex-header-footer-podlet",
|
|
37
38
|
"axios": "^1.7.9",
|
|
38
39
|
"cac": "^6.7.14",
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"ora": "5.4.1",
|
|
50
51
|
"prompts": "^2.4.2",
|
|
51
52
|
"rimraf": "^5.0.5",
|
|
52
|
-
"sass": "^1.
|
|
53
|
+
"sass": "^1.84.0",
|
|
53
54
|
"simple-git": "^3.27.0",
|
|
54
55
|
"simple-update-notifier": "^2.0.0",
|
|
55
56
|
"style-dictionary": "3.9.0",
|
|
@@ -58,30 +59,20 @@
|
|
|
58
59
|
"vite-plugin-static-copy": "^0.17.1"
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
61
|
-
"@commitlint/cli": "^19.
|
|
62
|
-
"@commitlint/config-conventional": "^19.
|
|
63
|
-
"@eslint
|
|
64
|
-
"@
|
|
65
|
-
"
|
|
66
|
-
"cz-conventional-changelog": "^3.3.0",
|
|
67
|
-
"eslint": "^9.17.0",
|
|
68
|
-
"eslint-config-prettier": "^9.1.0",
|
|
69
|
-
"eslint-plugin-prettier": "^5.2.1",
|
|
70
|
-
"globals": "^15.14.0",
|
|
62
|
+
"@commitlint/cli": "^19.7.1",
|
|
63
|
+
"@commitlint/config-conventional": "^19.7.1",
|
|
64
|
+
"@madgex/eslint-config-madgex": "^2.3.0",
|
|
65
|
+
"@madgex/prettier-config-madgex": "^2.0.0",
|
|
66
|
+
"eslint": "^9.19.0",
|
|
71
67
|
"husky": "^9.1.7",
|
|
72
68
|
"joi": "^17.13.3",
|
|
73
|
-
"lint-staged": "^15.3
|
|
74
|
-
"prettier": "^3.
|
|
75
|
-
"semantic-release": "^24.2.
|
|
69
|
+
"lint-staged": "^15.4.3",
|
|
70
|
+
"prettier": "^3.5.0",
|
|
71
|
+
"semantic-release": "^24.2.2"
|
|
76
72
|
},
|
|
77
73
|
"peerDependencies": {
|
|
78
74
|
"@ctrl/tinycolor": "^3.6.0"
|
|
79
75
|
},
|
|
80
|
-
"config": {
|
|
81
|
-
"commitizen": {
|
|
82
|
-
"path": "node_modules/cz-conventional-changelog"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
76
|
"lint-staged": {
|
|
86
77
|
"*.{js,json}": [
|
|
87
78
|
"prettier --write",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "madgex-cpid",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Branding Repo",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/wiley/madgex-cpid.git"
|
|
8
|
+
},
|
|
9
|
+
"author": "Madgex",
|
|
10
|
+
"license": "UNLICENSED",
|
|
11
|
+
"homepage": "https://github.com/wiley/madgex-cpid#readme",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "fert",
|
|
14
|
+
"build": "fert build"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@madgex/branding-shared": "^1.0.2"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@madgex/fert": "*"
|
|
21
|
+
}
|
|
22
|
+
}
|
package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/brand.json
RENAMED
|
@@ -7,14 +7,17 @@
|
|
|
7
7
|
"2": {
|
|
8
8
|
"base": { "value": "#343434" }
|
|
9
9
|
}
|
|
10
|
+
},
|
|
11
|
+
"button": {
|
|
12
|
+
"bg": {
|
|
13
|
+
"base": { "value": "#005689" }
|
|
14
|
+
}
|
|
10
15
|
}
|
|
11
16
|
},
|
|
12
17
|
"font": {
|
|
13
18
|
"family": {
|
|
14
19
|
"button": {
|
|
15
|
-
"base": {
|
|
16
|
-
"value": "comic sans"
|
|
17
|
-
}
|
|
20
|
+
"base": { "value": "Arial" }
|
|
18
21
|
}
|
|
19
22
|
}
|
|
20
23
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="100pt" height="100pt" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="m60.418 66.668c-3.125-1.668-1.457-4.793 0-6.25 1.875-1.875 4.168-8.332 4.168-8.332 3.75-1.668 4.168-4.375 4.582-6.25 1.668-5.418-2.5-6.25-2.5-6.25s3.332-8.957 0.625-15.832c-3.543-8.957-17.918-12.293-20.418-3.957-17.082-3.7539-13.543 19.785-13.543 19.785s-4.168 0.83203-2.5 6.25c0.41797 1.875 0.83203 4.582 4.582 6.25 0 0 2.293 6.457 4.168 8.332 1.457 1.457 3.125 4.582 0 6.25-6.25 3.332-25 4.168-25 18.75h70.832c0.003907-14.582-18.746-15.414-24.996-18.746z"/>
|
|
4
|
+
</svg>
|