@moduk/frontend 1.1.16 → 1.1.17

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.1.16",
3
+ "version": "1.1.17",
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": "dist/lib/index.js",
6
6
  "sass": "src/css/index.scss",
@@ -91,7 +91,7 @@
91
91
  "@babel/core": "^7.21.4",
92
92
  "@babel/preset-env": "^7.21.4",
93
93
  "@babel/preset-react": "^7.18.6",
94
- "@babel/preset-typescript": "^7.21.0",
94
+ "@babel/preset-typescript": "^7.21.5",
95
95
  "@commitlint/cli": "^17.6.3",
96
96
  "@commitlint/config-conventional": "^17.4.4",
97
97
  "@playwright/test": "^1.32.3",
@@ -99,7 +99,7 @@
99
99
  "@testing-library/dom": "^9.2.0",
100
100
  "@testing-library/jest-dom": "^5.16.5",
101
101
  "@types/lodash": "^4.14.194",
102
- "@types/node": "^18.15.11",
102
+ "@types/node": "^18.16.14",
103
103
  "@types/nunjucks": "^3.2.2",
104
104
  "@types/react": "^18.2.6",
105
105
  "@types/react-dom": "^18.2.4",
@@ -108,11 +108,13 @@
108
108
  "babel-loader": "^9.1.2",
109
109
  "concurrently": "^8.0.1",
110
110
  "dprint": "^0.36.1",
111
- "eslint": "^8.39.0",
111
+ "eslint": "^8.41.0",
112
112
  "eslint-config-airbnb-base": "^15.0.0",
113
113
  "eslint-import-resolver-typescript": "^3.5.5",
114
114
  "eslint-plugin-eslint-comments": "^3.2.0",
115
115
  "eslint-plugin-import": "^2.27.5",
116
+ "eslint-plugin-react": "^7.32.2",
117
+ "eslint-plugin-react-hooks": "^4.6.0",
116
118
  "eslint-plugin-unicorn": "^47.0.0",
117
119
  "glob": "^10.2.2",
118
120
  "happy-dom": "^9.10.2",
@@ -120,7 +122,7 @@
120
122
  "lint-staged": "^13.1.2",
121
123
  "postcss-cli": "^10.1.0",
122
124
  "postcss-fail-on-warn": "^0.2.1",
123
- "postcss-preset-env": "^8.3.2",
125
+ "postcss-preset-env": "^8.4.1",
124
126
  "release-it": "^15.10.3",
125
127
  "sass": "^1.62.1",
126
128
  "sass-true": "^7.0.0",
@@ -128,7 +130,7 @@
128
130
  "ts-node": "^10.9.1",
129
131
  "tsconfig-paths": "^4.2.0",
130
132
  "typescript": "^5.0.4",
131
- "vitest": "^0.29.2",
133
+ "vitest": "^0.31.1",
132
134
  "webpack": "^5.76.3",
133
135
  "webpack-cli": "^5.1.1"
134
136
  },
@@ -1,3 +1,3 @@
1
1
  import { BackLink } from '@moduk/frontend/react'
2
2
 
3
- export default () => <BackLink href='#'>Back</BackLink>
3
+ export const Example = () => <BackLink href='#'>Back</BackLink>