TagSpaces is an offline, open source, document manager with tagging support
feature: added changes needed for Cloudflare
Ilian Sapundshiev8ca6d62bdd58
diff --git a/.gitignore b/.gitignoreindex bb08e4e31..ac56765cf 100644--- a/.gitignore+++ b/.gitignore@@ -118,3 +118,5 @@ junit.xmltest-reports/*/app/**main.prod.js**++deploy.shdiff --git a/package.json b/package.jsonindex d69ce2a14..825a2c540 100644--- a/package.json+++ b/package.json@@ -95,14 +95,14 @@"prepare-cordova": "npm run install-ext-web-check && npm run postinstall-cordova-check && rimraf cordova/www/dist && rimraf cordova/www/node_modules && shx cp -rL app/node_modules cordova/www && shx cp LICENSE.txt cordova/www","prepare-cordova-pro": "npm run install-ext-web-check && npm run postinstall-cordova-check && rimraf cordova/www/dist && rimraf cordova/www/node_modules && shx cp -rL app/node_modules cordova/www && shx cp extensions/tagspacespro/EULA.txt cordova/www","prepare-node": "npm run install-ext-node-check && npm run postinstall-electron-check",- "prepare-web": "npm run version-meta && npm run install-ext-web-check && npm run postinstall-aws-check && rimraf web/node_modules && shx cp -rL app/node_modules/ web && shx cp LICENSE.txt web && npm run clean-maps && npm run build-web && node scripts/genswconf.js",- "prepare-web-pro": "npm run version-meta && npm run install-ext-web-check && npm run postinstall-aws-check && rimraf web/node_modules && shx cp -rL app/node_modules/ web && shx cp extensions/tagspacespro/EULA.txt web && npm run clean-maps && npm run build-web && node scripts/genswconf.js",+ "prepare-web": "npm run version-meta && npm run install-ext-web-check && npm run postinstall-aws-check && rimraf web/modules && shx mkdir -p web/modules/@tagspaces/extensions && shx cp -rL app/node_modules/@tagspaces/extensions/* web/modules/@tagspaces/extensions/ && shx cp LICENSE.txt web && npm run build-web && node scripts/genswconf.js && npm run clean-maps",+ "prepare-web-pro": "npm run version-meta && npm run install-ext-web-check && npm run postinstall-aws-check && rimraf web/modules && shx mkdir -p web/modules/@tagspaces/extensions && shx cp -rL app/node_modules/@tagspaces/extensions/* web/modules/@tagspaces/extensions/ && shx cp extensions/tagspacespro/EULA.txt web && npm run build-web && node scripts/genswconf.js && npm run clean-maps","prettier-check": "prettier --check **/*.{js,json,ts,tsx,yml}","prettier-format": "prettier --write **/*.{js,jsx,json,ts,tsx,yml}","run-android": "npm run prepare-cordova && npm run build-cordova && cd cordova && cordova run android && cd ..","run-android-dev": "npm run prepare-cordova && npm run build-cordova-dev && cd cordova && cordova run android && cd ..","run-ios-dev": "npm run prepare-cordova && npm run build-cordova-dev && cd cordova && cordova run ios && cd ..",- "run-web": "npm run prepare-web-pro && npm run build-web && node scripts/webserver.js",+ "run-web": "npm run prepare-web-pro && node scripts/webserver.js","run-web-aws": "npm run prepare-web-pro && node scripts/webserver.js","run-web-dev": "npm run prepare-web-pro && npm run build-web-dev && node scripts/webserver.js","setup-ext": "node scripts/setupextensions.js",