aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-08-25 04:01:15 +0100
committerGravatar Joe Banks <[email protected]>2024-08-25 04:01:15 +0100
commit42487297a7ef2923dfbe86c939d187b72d487ee9 (patch)
treed8b8302232965d9fe00e817d3a0bfa557213ab60
parentAdd support for nullable colour and colour_code2 (diff)
Add redux
-rw-r--r--thallium-frontend/package.json2
-rw-r--r--thallium-frontend/pnpm-lock.yaml86
2 files changed, 88 insertions, 0 deletions
diff --git a/thallium-frontend/package.json b/thallium-frontend/package.json
index 53c67af..ddb2d61 100644
--- a/thallium-frontend/package.json
+++ b/thallium-frontend/package.json
@@ -11,8 +11,10 @@
},
"dependencies": {
"@fontsource-variable/fira-code": "^5.0.18",
+ "@reduxjs/toolkit": "^2.2.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
+ "react-redux": "^9.1.2",
"react-router-dom": "^6.26.1",
"styled-components": "^6.1.12"
},
diff --git a/thallium-frontend/pnpm-lock.yaml b/thallium-frontend/pnpm-lock.yaml
index 10a38e7..853a55f 100644
--- a/thallium-frontend/pnpm-lock.yaml
+++ b/thallium-frontend/pnpm-lock.yaml
@@ -11,12 +11,18 @@ importers:
'@fontsource-variable/fira-code':
specifier: ^5.0.18
version: 5.0.18
+ '@reduxjs/toolkit':
+ specifier: ^2.2.7
react:
specifier: ^18.3.1
version: 18.3.1
react-dom:
specifier: ^18.3.1
version: 18.3.1([email protected])
+ react-redux:
+ specifier: ^9.1.2
react-router-dom:
specifier: ^6.26.1
@@ -371,6 +377,17 @@ packages:
resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
engines: {node: '>= 8'}
+ '@reduxjs/[email protected]':
+ resolution: {integrity: sha512-faI3cZbSdFb8yv9dhDTmGwclW0vk0z5o1cia+kf7gCbaCwHI5e+7tP57mJUv22pNcNbeA62GSrPpfrUfdXcQ6g==}
+ peerDependencies:
+ react: ^16.9.0 || ^17.0.0 || ^18
+ react-redux: ^7.2.1 || ^8.1.3 || ^9.0.0
+ peerDependenciesMeta:
+ react:
+ optional: true
+ react-redux:
+ optional: true
+
'@remix-run/[email protected]':
resolution: {integrity: sha512-S45oynt/WH19bHbIXjtli6QmwNYvaz+vtnubvNpNDvUOoA/OWh6j1OikIP3G+v5GHdxyC6EXoChG3HgYGEUfcg==}
engines: {node: '>=14.0.0'}
@@ -485,6 +502,9 @@ packages:
resolution: {integrity: sha512-1Xve+NMN7FWjY14vLoY5tL3BVEQ/n42YLwaqJIPYhotZ9uBHt87VceMwWQpzmdEt2TNXIorIFG+YeCUUW7RInw==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA==}
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-LlNBaHFCEBPHyD4pZXb35mzjGkuGKXU5eeCA1SxvHfiRES0E82dOounfVpL4DCqYvJEKab0bZIA0gCRpdLKkCw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -968,6 +988,9 @@ packages:
resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
engines: {node: '>= 4'}
+ resolution: {integrity: sha512-s2MPrmjovJcoMaHtx6K11Ra7oD05NT97w1IC5zpMkT6Atjr7H8LjaDd81iIxUYpMKSRRNMJE703M1Fhr/TctHw==}
+
resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}
engines: {node: '>=6'}
@@ -1273,6 +1296,18 @@ packages:
resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
+ resolution: {integrity: sha512-0OA4dhM1W48l3uzmv6B7TXPCGmokUU4p1M44DGN2/D9a1FjVPukVjER1PcPX97jIg6aUeLq1XJo1IpfbgULn0w==}
+ peerDependencies:
+ '@types/react': ^18.2.25
+ react: ^18.0
+ redux: ^5.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ redux:
+ optional: true
+
resolution: {integrity: sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==}
engines: {node: '>=0.10.0'}
@@ -1294,6 +1329,14 @@ packages:
resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==}
+ peerDependencies:
+ redux: ^5.0.0
+
+ resolution: {integrity: sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==}
+
resolution: {integrity: sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==}
engines: {node: '>= 0.4'}
@@ -1302,6 +1345,9 @@ packages:
resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w==}
+
resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}
engines: {node: '>=4'}
@@ -1490,6 +1536,11 @@ packages:
resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
+ resolution: {integrity: sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==}
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0
+
resolution: {integrity: sha512-1oE6yuNXssjrZdblI9AfBbHCC41nnyoVoEZxQnID6yvQZAFBzxxkqoFLtHUMkYunL8hwOLEjgTuxpkRxvba3kA==}
engines: {node: ^18.0.0 || >=20.0.0}
@@ -1828,6 +1879,16 @@ snapshots:
'@nodelib/fs.scandir': 2.1.5
fastq: 1.17.1
+ dependencies:
+ immer: 10.1.1
+ redux: 5.0.1
+ redux-thunk: 3.1.0([email protected])
+ reselect: 5.1.1
+ optionalDependencies:
+ react: 18.3.1
+
'@remix-run/[email protected]': {}
'@rollup/[email protected]':
@@ -1918,6 +1979,8 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]': {}
+
dependencies:
'@eslint-community/regexpp': 4.11.0
@@ -2572,6 +2635,8 @@ snapshots:
+
dependencies:
parent-module: 1.0.1
@@ -2859,6 +2924,15 @@ snapshots:
+ dependencies:
+ '@types/use-sync-external-store': 0.0.3
+ react: 18.3.1
+ use-sync-external-store: 1.2.2([email protected])
+ optionalDependencies:
+ '@types/react': 18.3.3
+ redux: 5.0.1
+
@@ -2877,6 +2951,12 @@ snapshots:
dependencies:
loose-envify: 1.4.0
+ dependencies:
+ redux: 5.0.1
+
+
dependencies:
call-bind: 1.0.7
@@ -2894,6 +2974,8 @@ snapshots:
es-errors: 1.3.0
set-function-name: 2.0.2
+
@@ -3139,6 +3221,10 @@ snapshots:
dependencies:
punycode: 2.3.1
+ dependencies:
+ react: 18.3.1
+
dependencies:
esbuild: 0.21.5