A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
theme: include both esm and cjs variants in build
Abdullah Atta870ce259f030
diff --git a/packages/theme/package-lock.json b/packages/theme/package-lock.jsonindex a26e0a9ef..8a32fe4e4 100644--- a/packages/theme/package-lock.json+++ b/packages/theme/package-lock.json@@ -1,19 +1,19 @@{"name": "@notesnook/theme",- "version": "2.0.7",+ "version": "2.1.1","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "@notesnook/theme",- "version": "2.0.7",+ "version": "2.1.1","license": "GPL-3.0-or-later","devDependencies": {"@emotion/react": "11.11.1","@theme-ui/color": "^0.16.1","@theme-ui/components": "^0.16.1","@theme-ui/core": "^0.16.1",- "@trpc/server": "^10.31.0",+ "@trpc/server": "^10.45.2","@types/react": "^18.2.39","@types/tinycolor2": "^1.4.3","isomorphic-fetch": "^3.0.0",@@ -432,16 +432,13 @@}},"node_modules/@trpc/server": {- "version": "10.44.1",- "resolved": "https://registry.npmjs.org/@trpc/server/-/server-10.44.1.tgz",- "integrity": "sha512-mF7B+K6LjuboX8I1RZgKE5GA/fJhsJ8tKGK2UBt3Bwik7hepEPb4NJgNr7vO6BK5IYwPdBLRLTctRw6XZx0sRg==",+ "version": "10.45.2",+ "resolved": "https://registry.npmjs.org/@trpc/server/-/server-10.45.2.tgz",+ "integrity": "sha512-wOrSThNNE4HUnuhJG6PfDRp4L2009KDVxsd+2VYH8ro6o/7/jwYZ8Uu5j+VaW+mOmc8EHerHzGcdbGNQSAUPgg==","dev": true,"funding": ["https://trpc.io/sponsor"- ],- "engines": {- "node": ">=18.0.0"- }+ ]},"node_modules/@types/json-schema": {"version": "7.0.15",diff --git a/packages/theme/package.json b/packages/theme/package.jsonindex 0524895ed..ccab59eb9 100644--- a/packages/theme/package.json+++ b/packages/theme/package.json@@ -1,8 +1,20 @@{"name": "@notesnook/theme",- "version": "2.0.7",+ "version": "2.1.1","main": "./dist/index.js",+ "module": "./dist/index.mjs",+ "types": "./dist/index.d.ts","license": "GPL-3.0-or-later",+ "exports": {+ "require": {+ "types": "./dist/index.d.ts",+ "default": "./dist/index.js"+ },+ "import": {+ "types": "./dist/index.d.mts",+ "default": "./dist/index.mjs"+ }+ },"repository": {"type": "git","url": "git://github.com/streetwriters/themeprovider.git"@@ -12,7 +24,7 @@"@theme-ui/color": "^0.16.1","@theme-ui/components": "^0.16.1","@theme-ui/core": "^0.16.1",- "@trpc/server": "^10.31.0",+ "@trpc/server": "^10.45.2","@types/react": "^18.2.39","@types/tinycolor2": "^1.4.3","isomorphic-fetch": "^3.0.0",@@ -33,8 +45,8 @@"scripts": {"prebuild": "node ./scripts/prebuild.mjs","generate": "node ./scripts/schema-generator.mjs",- "build": "tsc",+ "build": "tsup-node src/index.ts","prepublishOnly": "npm run build",- "watch": "tsc --watch"+ "watch": "npm run build -- --watch"}}