Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Exclude stimulus controllers from compodoc build

Oliver Günther2da517a5c488
diff --git a/frontend/angular.json b/frontend/angular.json
index 372600867da..2eb9239d1e3 100644
--- a/frontend/angular.json
+++ b/frontend/angular.json
@@ -139,7 +139,9 @@
"-e",
"json",
"-d",
- "."
+ ".",
+ "-p",
+ "src/tsconfig.compodoc.json"
],
"port": 6006,
"host": "0.0.0.0"
@@ -155,7 +157,9 @@
"-e",
"json",
"-d",
- "."
+ ".",
+ "-p",
+ "src/tsconfig.compodoc.json"
],
"outputDir": "storybook-static"
}
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index 5e06e68e816..729e8f83616 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -106,7 +106,7 @@
"@angular-eslint/template-parser": "^16.0.3",
"@angular/language-service": "16.1.1",
"@babel/core": "^7.18.5",
- "@compodoc/compodoc": "^1.1.19",
+ "@compodoc/compodoc": "^1.1.21",
"@html-eslint/eslint-plugin": "^0.15.0",
"@html-eslint/parser": "^0.15.0",
"@jsdevtools/coverage-istanbul-loader": "3.0.5",
diff --git a/frontend/package.json b/frontend/package.json
index 8e9c47afd21..9ba293e193e 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -13,7 +13,7 @@
"@angular-eslint/template-parser": "^16.0.3",
"@angular/language-service": "16.1.1",
"@babel/core": "^7.18.5",
- "@compodoc/compodoc": "^1.1.19",
+ "@compodoc/compodoc": "^1.1.21",
"@html-eslint/eslint-plugin": "^0.15.0",
"@html-eslint/parser": "^0.15.0",
"@jsdevtools/coverage-istanbul-loader": "3.0.5",
diff --git a/frontend/src/tsconfig.compodoc.json b/frontend/src/tsconfig.compodoc.json
new file mode 100644
index 00000000000..109c3dd82c8
--- /dev/null
+++ b/frontend/src/tsconfig.compodoc.json
@@ -0,0 +1,22 @@
+{
+ "extends": "../tsconfig.base.json",
+ "compilerOptions": {
+ "outDir": "../out-tsc/app",
+ "baseUrl": "./",
+ "types": []
+ },
+ "files": [
+ "main.ts",
+ "polyfills.ts",
+ "app/core/setup/init-globals.ts",
+ "app/core/setup/init-vendors.ts",
+ ],
+ "include": [
+ "src/**/*.ts",
+ "**/*.d.ts",
+ ],
+ "exclude": [
+ "**/*.stories.*",
+ "stimulus/**/*.ts"
+ ]
+}