Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

theme: fix tinycolor2 not found error

Abdullah Attacbccb97d4233
diff --git a/packages/theme/package-lock.json b/packages/theme/package-lock.json
index 8b3a82d61..f97f4364b 100644
--- a/packages/theme/package-lock.json
+++ b/packages/theme/package-lock.json
@@ -18,6 +18,7 @@
"@types/tinycolor2": "^1.4.3",
"isomorphic-fetch": "^3.0.0",
"react": "18.2.0",
+ "tinycolor2": "^1.6.0",
"ts-json-schema-generator": "^1.2.0",
"zustand": "4.4.7"
},
@@ -1091,7 +1092,7 @@
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.6.0.tgz",
"integrity": "sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==",
- "peer": true
+ "dev": true
},
"node_modules/to-fast-properties": {
"version": "2.0.0",
diff --git a/packages/theme/package.json b/packages/theme/package.json
index 99d455e29..50d88d083 100644
--- a/packages/theme/package.json
+++ b/packages/theme/package.json
@@ -8,7 +8,7 @@
"url": "git://github.com/streetwriters/themeprovider.git"
},
"devDependencies": {
- "zustand": "4.4.7",
+ "@emotion/react": "11.11.1",
"@theme-ui/color": "^0.16.1",
"@theme-ui/components": "^0.16.1",
"@theme-ui/core": "^0.16.1",
@@ -17,17 +17,18 @@
"@types/tinycolor2": "^1.4.3",
"isomorphic-fetch": "^3.0.0",
"react": "18.2.0",
+ "tinycolor2": "^1.6.0",
"ts-json-schema-generator": "^1.2.0",
- "@emotion/react": "11.11.1"
+ "zustand": "4.4.7"
},
"peerDependencies": {
"@emotion/react": ">=11",
- "tinycolor2": ">=1",
- "zustand": ">=4",
"@theme-ui/color": ">=0.16.0",
"@theme-ui/components": ">=0.16.0",
"@theme-ui/core": ">=0.16.0",
- "react": ">=18"
+ "react": ">=18",
+ "tinycolor2": ">=1",
+ "zustand": ">=4"
},
"scripts": {
"prebuild": "node ./scripts/prebuild.mjs",