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
crypto: include both esm & cjs variants in build
Abdullah Attae0beef745ead
diff --git a/packages/crypto/package-lock.json b/packages/crypto/package-lock.jsonindex 892af6d42..8d83d1498 100644--- a/packages/crypto/package-lock.json+++ b/packages/crypto/package-lock.json@@ -1,12 +1,12 @@{"name": "@notesnook/crypto",- "version": "2.0.7",+ "version": "2.1.1","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "@notesnook/crypto",- "version": "2.0.7",+ "version": "2.1.1","license": "GPL-3.0-or-later","dependencies": {"@notesnook/sodium": "file:../sodium"diff --git a/packages/crypto/package.json b/packages/crypto/package.jsonindex 6b6d555f4..858cd9ca2 100644--- a/packages/crypto/package.json+++ b/packages/crypto/package.json@@ -2,23 +2,33 @@"name": "@notesnook/crypto","private": false,"description": "An easy to use wrapper around libsodium exposing essential cryptographic methods. Currently only Web is supported.",- "version": "2.0.7",- "main": "dist/index.js",- "types": "dist/index.d.ts",+ "version": "2.1.1",+ "license": "GPL-3.0-or-later",+ "main": "./dist/index.js",+ "module": "./dist/index.mjs",+ "types": "./dist/index.d.ts",+ "exports": {+ "require": {+ "types": "./dist/index.d.ts",+ "default": "./dist/index.js"+ },+ "import": {+ "types": "./dist/index.d.mts",+ "default": "./dist/index.mjs"+ }+ },"scripts": {- "build": "tsc --declaration --outDir ./dist",- "prepublishOnly": "npm run build"+ "build": "tsup-node src/index.ts",+ "prepublishOnly": "npm run build",+ "watch": "npm run build -- --watch"},- "keywords": [],- "author": "",- "license": "GPL-3.0-or-later","dependencies": {"@notesnook/sodium": "file:../sodium"},"devDependencies": {},"repository": {"type": "git",- "url": "https://github.com/streetwriters/notesnook.git",+ "url": "git+https://github.com/streetwriters/notesnook.git","directory": "packages/crypto"}}