Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"analyze": "webpack-bundle-analyzer dist/browser/stats.json",
"build": "ng build --configuration development",
"build:stats": "ng build --stats-json",
"build:dspace": "node --max-old-space-size=8192 ./node_modules/.bin/ng build --configuration production",
"build:prod": "node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng build --configuration production",
"build:prod": "cross-env NODE_ENV=production npm run build:ssr",
"build:ssr": "ng build --configuration production && ng run dspace-angular:server:production",
"build:lint": "rimraf --glob 'lint/dist/**/*.js' 'lint/dist/**/*.js.map' && tsc -b lint/tsconfig.json",
Expand All @@ -34,6 +36,7 @@
"clean:log": "rimraf --glob *.log*",
"clean:json": "rimraf --glob *.records.json",
"clean:node": "rimraf node_modules",
"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",
"clean:cli": "rimraf .angular/cache",
"clean:prod": "npm run clean:dist && npm run clean:log && npm run clean:doc && npm run clean:coverage && npm run clean:json",
"clean": "npm run clean:prod && npm run clean:dev:config && npm run clean:cli && npm run clean:node",
Expand Down
11 changes: 10 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,19 @@
// The categories to use for specific diagnostics.
"checks": {
"missingControlFlowDirective": "error"
},
}
}
},
"exclude": [
"cypress.config.ts"
],
"include": [
"src/main/webapp/**/*.ts",
"src/main/webapp/**/*.html",
"!src/themes/custom/**/*.ts" // Exclude custom theme files
],
"exclude": [
"node_modules",
"src/themes/custom/**/*"
]
}
Loading