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
common: include esm and cjs variants in build
Abdullah Atta22559cdf42ff
diff --git a/packages/common/package-lock.json b/packages/common/package-lock.jsonindex 31d7212b4..d9eeca1ec 100644--- a/packages/common/package-lock.json+++ b/packages/common/package-lock.json@@ -1,15 +1,17 @@{"name": "@notesnook/common",- "version": "2.0.7",+ "version": "2.1.1","lockfileVersion": 2,"requires": true,"packages": {"": {"name": "@notesnook/common",- "version": "2.0.7",+ "version": "2.1.1","license": "GPL-3.0-or-later","dependencies": {"@notesnook/core": "^8.0.0",+ "@readme/data-urls": "^3.0.0",+ "dayjs": "^1.11.13","pathe": "^1.1.2","timeago.js": "4.0.2"},@@ -65,6 +67,7 @@"@types/prismjs": "^1.26.0","@types/spark-md5": "^3.0.2","@types/streetwriters__showdown": "npm:@types/showdown@^2.0.6",+ "@types/unist": "^3.0.3","@types/ws": "^8.5.5","@vitest/coverage-v8": "^1.0.1","abortcontroller-polyfill": "^1.7.3",@@ -475,6 +478,14 @@"resolved": "../core","link": true},+ "node_modules/@readme/data-urls": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/@readme/data-urls/-/data-urls-3.0.0.tgz",+ "integrity": "sha512-b0L7VWqbLZqOSSAFUrxS5ZwUfec35WDsAwwCH481vYnhk0dWO3nvmNVNCbP8CY4cXqwL1W4uCAnhDz+CUmXM3g==",+ "engines": {+ "node": ">=18"+ }+ },"node_modules/@rollup/rollup-android-arm-eabi": {"version": "4.13.0","resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.13.0.tgz",@@ -849,6 +860,11 @@"integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==","dev": true},+ "node_modules/dayjs": {+ "version": "1.11.13",+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz",+ "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg=="+ },"node_modules/debug": {"version": "4.3.4","resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",@@ -1838,6 +1854,7 @@"@types/prismjs": "^1.26.0","@types/spark-md5": "^3.0.2","@types/streetwriters__showdown": "npm:@types/showdown@^2.0.6",+ "@types/unist": "^3.0.3","@types/ws": "^8.5.5","@vitest/coverage-v8": "^1.0.1","abortcontroller-polyfill": "^1.7.3",@@ -1875,6 +1892,11 @@"ws": "^8.13.0"}},+ "@readme/data-urls": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/@readme/data-urls/-/data-urls-3.0.0.tgz",+ "integrity": "sha512-b0L7VWqbLZqOSSAFUrxS5ZwUfec35WDsAwwCH481vYnhk0dWO3nvmNVNCbP8CY4cXqwL1W4uCAnhDz+CUmXM3g=="+ },"@rollup/rollup-android-arm-eabi": {"version": "4.13.0","resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.13.0.tgz",@@ -2126,6 +2148,11 @@"integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==","dev": true},+ "dayjs": {+ "version": "1.11.13",+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz",+ "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg=="+ },"debug": {"version": "4.3.4","resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",diff --git a/packages/common/package.json b/packages/common/package.jsonindex 73c7be426..15cbcaa15 100644--- a/packages/common/package.json+++ b/packages/common/package.json@@ -1,19 +1,29 @@{"name": "@notesnook/common",- "version": "2.0.7",+ "version": "2.1.1","description": "A set of common utilities shared across multiple Notesnook clients and services.",- "main": "dist/index.js",+ "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": {- "pub": "tsc && np",- "build": "tsc"+ "prepublishOnly": "npm run build",+ "build": "tsup-node src/index.ts",+ "watch": "npm run build -- --watch"},"repository": {"type": "git","url": "git+https://github.com/streetwriters/notesnook.git"},- "keywords": [- "logger"- ],"license": "GPL-3.0-or-later","bugs": {"url": "https://github.com/streetwriters/notesnook/issues"@@ -31,6 +41,8 @@},"dependencies": {"@notesnook/core": "^8.0.0",+ "@readme/data-urls": "^3.0.0",+ "dayjs": "^1.11.13","pathe": "^1.1.2","timeago.js": "4.0.2"}