Skip to content

TagSpaces is an offline, open source, document manager with tagging support

optimize dev build time

sytolk35bb621c36da
diff --git a/.erb/configs/webpack.config.base.ts b/.erb/configs/webpack.config.base.ts
index 491669faf..8f5a3dcdd 100644
--- a/.erb/configs/webpack.config.base.ts
+++ b/.erb/configs/webpack.config.base.ts
@@ -45,7 +45,7 @@ const configuration: webpack.Configuration = {
rules: [
{
test: /\.[jt]sx?$/,
- // exclude: /node_modules/,
+ exclude: /node_modules\/(?!(@tagspacespro)\/).*/,
use: {
loader: 'ts-loader',
options: {
diff --git a/package-lock.json b/package-lock.json
index e5794dbea..abec4ebc5 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -196,7 +196,7 @@
"yarn": "please-use-npm"
},
"optionalDependencies": {
- "@tagspacespro/tagspacespro": "5.0.3"
+ "@tagspacespro/tagspacespro": "5.0.5"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@@ -12781,9 +12781,9 @@
}
},
"node_modules/@tagspacespro/tagspacespro": {
- "version": "5.0.3",
- "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.3/72d8055ee25b2c3d1ebef5da1afe5eb231921d05",
- "integrity": "sha512-rTUm0MCO1YtzxLWCFdYDYkViIg6ZV0VpMCpfSL+mX1bXr5RJGKyU1oafA4j2hYCM2ji9J2IhUwyK1Rj3Ro0/0Q==",
+ "version": "5.0.5",
+ "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.5/cf735e420c0933aca8fd8c81fb0446a5e1d74871",
+ "integrity": "sha512-LMzRab4QCSIWyODS6Cpwbe6C+3BeLZmpYRm6CUF0Wwf2SckMlHz08y54WymejrrvDC9vwd5m9MxtGzV5fjL5qQ==",
"license": "Proprietary",
"optional": true
},
@@ -52577,9 +52577,9 @@
}
},
"@tagspacespro/tagspacespro": {
- "version": "5.0.3",
- "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.3/72d8055ee25b2c3d1ebef5da1afe5eb231921d05",
- "integrity": "sha512-rTUm0MCO1YtzxLWCFdYDYkViIg6ZV0VpMCpfSL+mX1bXr5RJGKyU1oafA4j2hYCM2ji9J2IhUwyK1Rj3Ro0/0Q==",
+ "version": "5.0.5",
+ "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.5/cf735e420c0933aca8fd8c81fb0446a5e1d74871",
+ "integrity": "sha512-LMzRab4QCSIWyODS6Cpwbe6C+3BeLZmpYRm6CUF0Wwf2SckMlHz08y54WymejrrvDC9vwd5m9MxtGzV5fjL5qQ==",
"optional": true
},
"@teamsupercell/typings-for-css-modules-loader": {
diff --git a/release/app/package-lock.json b/release/app/package-lock.json
index d114313d3..030091243 100644
--- a/release/app/package-lock.json
+++ b/release/app/package-lock.json
@@ -18,7 +18,7 @@
"ws": "8.16.0"
},
"optionalDependencies": {
- "@tagspacespro/extensions": "^1.0.0"
+ "@tagspacespro/extensions": "1.0.0"
}
},
"node_modules/@elife/pm2": {
diff --git a/scripts/link-ext.ts b/scripts/link-ext.ts
index 78039aa0c..8141370b1 100644
--- a/scripts/link-ext.ts
+++ b/scripts/link-ext.ts
@@ -19,7 +19,7 @@ if (fs.existsSync(srcExt)) {
fs.symlinkSync(srcExt, targetExt, 'junction');
}
-// link Pro
+// link Pro extensions
const srcProExt = path.join(
releasePath,
'app/node_modules/@tagspacespro/extensions',