@moduk/frontend 1.7.2 → 1.7.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moduk/frontend",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "The MOD.UK Frontend contains the code you need to start building a user interface for Ministry of Defence platforms and services.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"sass": "src/css/index.scss",
|
|
@@ -57,8 +57,10 @@
|
|
|
57
57
|
"examples:serve": "eleventy --serve",
|
|
58
58
|
"format": "dprint fmt",
|
|
59
59
|
"format:check": "dprint check",
|
|
60
|
-
"lint": "
|
|
61
|
-
"lint:
|
|
60
|
+
"lint": "npm run lint:source && npm run lint:styles",
|
|
61
|
+
"lint:source": "eslint --ext .js --ext .ts --ext .tsx --ext .mjs --ext .mts --max-warnings 0 .",
|
|
62
|
+
"lint:source:fix": "npm run lint -- --fix",
|
|
63
|
+
"lint:styles": "stylelint 'src/**/*.scss'",
|
|
62
64
|
"dist:build": "npm run build && ts-node scripts/prepare-dist-package.ts",
|
|
63
65
|
"dist:pack": "npm run dist:build && cd dist && npm pack",
|
|
64
66
|
"playwright-install": "playwright install --with-deps",
|
|
@@ -107,14 +109,14 @@
|
|
|
107
109
|
"@babel/register": "^7.22.5",
|
|
108
110
|
"@commitlint/cli": "^17.7.1",
|
|
109
111
|
"@commitlint/config-conventional": "^17.7.0",
|
|
110
|
-
"@playwright/test": "^1.37.
|
|
112
|
+
"@playwright/test": "^1.37.1",
|
|
111
113
|
"@release-it/conventional-changelog": "^7.0.0",
|
|
112
114
|
"@testing-library/dom": "^9.3.1",
|
|
113
115
|
"@testing-library/jest-dom": "^6.1.2",
|
|
114
116
|
"@testing-library/react": "^14.0.0",
|
|
115
117
|
"@testing-library/user-event": "^14.4.3",
|
|
116
|
-
"@types/lodash": "^4.14.
|
|
117
|
-
"@types/node": "^18.
|
|
118
|
+
"@types/lodash": "^4.14.197",
|
|
119
|
+
"@types/node": "^18.17.12",
|
|
118
120
|
"@types/nunjucks": "^3.2.3",
|
|
119
121
|
"@types/react": "^18.2.21",
|
|
120
122
|
"@types/react-dom": "^18.2.7",
|
|
@@ -123,17 +125,17 @@
|
|
|
123
125
|
"babel-loader": "^9.1.3",
|
|
124
126
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
125
127
|
"babel-plugin-module-resolver": "^5.0.0",
|
|
126
|
-
"concurrently": "^8.2.
|
|
127
|
-
"dprint": "^0.
|
|
128
|
+
"concurrently": "^8.2.1",
|
|
129
|
+
"dprint": "^0.40.2",
|
|
128
130
|
"eslint": "^8.48.0",
|
|
129
131
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
130
|
-
"eslint-import-resolver-typescript": "^3.
|
|
132
|
+
"eslint-import-resolver-typescript": "^3.6.0",
|
|
131
133
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
132
134
|
"eslint-plugin-import": "^2.28.1",
|
|
133
135
|
"eslint-plugin-react": "^7.33.2",
|
|
134
136
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
135
137
|
"eslint-plugin-unicorn": "^48.0.1",
|
|
136
|
-
"glob": "^10.
|
|
138
|
+
"glob": "^10.3.4",
|
|
137
139
|
"happy-dom": "^10.11.2",
|
|
138
140
|
"husky": "^8.0.3",
|
|
139
141
|
"lint-staged": "^14.0.1",
|
|
@@ -142,14 +144,16 @@
|
|
|
142
144
|
"postcss-preset-env": "^9.1.2",
|
|
143
145
|
"react-merge-refs": "^2.0.2",
|
|
144
146
|
"release-it": "^16.1.5",
|
|
145
|
-
"sass": "^1.
|
|
147
|
+
"sass": "^1.66.1",
|
|
146
148
|
"sass-true": "^7.0.0",
|
|
147
149
|
"shelljs": "^0.8.5",
|
|
148
150
|
"shx": "^0.3.4",
|
|
151
|
+
"stylelint": "^15.10.3",
|
|
152
|
+
"stylelint-config-standard-scss": "^10.0.0",
|
|
149
153
|
"ts-node": "^10.9.1",
|
|
150
154
|
"tsconfig-paths": "^4.2.0",
|
|
151
155
|
"typescript": "^5.0.4",
|
|
152
|
-
"vitest": "^0.34.
|
|
156
|
+
"vitest": "^0.34.3",
|
|
153
157
|
"webpack": "^5.88.2",
|
|
154
158
|
"webpack-cli": "^5.1.4"
|
|
155
159
|
},
|
|
@@ -158,7 +162,11 @@
|
|
|
158
162
|
"dprint fmt",
|
|
159
163
|
"eslint --max-warnings 0"
|
|
160
164
|
],
|
|
161
|
-
"*.{
|
|
165
|
+
"*.{scss}": [
|
|
166
|
+
"dprint fmt",
|
|
167
|
+
"stylelint"
|
|
168
|
+
],
|
|
169
|
+
"*.{md,yaml,yml}": [
|
|
162
170
|
"dprint fmt"
|
|
163
171
|
]
|
|
164
172
|
},
|