Skip to content

Commit 9b4c93f

Browse files
committed
changes config
1 parent db789d1 commit 9b4c93f

File tree

3 files changed

+13
-22
lines changed

3 files changed

+13
-22
lines changed

package-lock.json

Lines changed: 0 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"analyze": "webpack-bundle-analyzer dist/browser/stats.json",
1515
"build": "ng build --configuration development",
1616
"build:stats": "ng build --stats-json",
17+
"build:dspace": "node --max-old-space-size=8192 ./node_modules/.bin/ng build --configuration production",
18+
"build:prod": "node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng build --configuration production",
1719
"build:prod": "cross-env NODE_ENV=production npm run build:ssr",
1820
"build:ssr": "ng build --configuration production && ng run dspace-angular:server:production",
1921
"build:lint": "rimraf --glob 'lint/dist/**/*.js' 'lint/dist/**/*.js.map' && tsc -b lint/tsconfig.json",
@@ -34,6 +36,7 @@
3436
"clean:log": "rimraf --glob *.log*",
3537
"clean:json": "rimraf --glob *.records.json",
3638
"clean:node": "rimraf node_modules",
39+
"build:ssr:staged": "node --max-old-space-size=8192 ng build --configuration production && node --max-old-space-size=8192 ng run dspace-angular:server:production",
3740
"clean:cli": "rimraf .angular/cache",
3841
"clean:prod": "npm run clean:dist && npm run clean:log && npm run clean:doc && npm run clean:coverage && npm run clean:json",
3942
"clean": "npm run clean:prod && npm run clean:dev:config && npm run clean:cli && npm run clean:node",

tsconfig.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,19 @@
5555
// The categories to use for specific diagnostics.
5656
"checks": {
5757
"missingControlFlowDirective": "error"
58-
},
58+
}
5959
}
6060
},
6161
"exclude": [
6262
"cypress.config.ts"
6363
],
64+
"include": [
65+
"src/main/webapp/**/*.ts",
66+
"src/main/webapp/**/*.html",
67+
"!src/themes/custom/**/*.ts" // Exclude custom theme files
68+
],
69+
"exclude": [
70+
"node_modules",
71+
"src/themes/custom/**/*"
72+
]
6473
}

0 commit comments

Comments
 (0)