Skip to content

Commit

Permalink
fix: build should find node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
steveblue committed Nov 1, 2024
1 parent 596f8e9 commit f7c05ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"builder": "@storybook/angular:start-storybook",
"options": {
"configDir": "projects/swimlane/ngx-graph/.storybook",
"tsConfig": "tsconfig.json",
"browserTarget": "@swimlane/ngx-graph:build",
"compodoc": true,
"compodocArgs": ["-e", "json", "-d", ".", "projects/swimlane/ngx-graph"],
Expand All @@ -50,6 +51,7 @@
"builder": "@storybook/angular:build-storybook",
"options": {
"configDir": "projects/swimlane/ngx-graph/.storybook",
"tsConfig": "tsconfig.json",
"browserTarget": "@swimlane/ngx-graph:build",
"compodoc": true,
"compodocArgs": ["-e", "json", "-d", ".", "projects/swimlane/ngx-graph"],
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
"@swimlane/ngx-graph": ["projects/swimlane/ngx-graph/src/public_api"],
"@swimlane/ngx-graph/*": ["projects/swimlane/ngx-graph/src/*"]
},
"types": ["node"]
"types": ["node", "jasmine"]
},
"include": ["./projects/**/*.ts", "**/*.d.ts", "./projects/swimlane/ngx-graph/.storybook/preview.ts"],
"exclude": ["**/*.spec.ts", "**/*.e2e-spec.ts"],
"angularCompilerOptions": {
"fullTemplateTypeCheck": true
}
Expand Down

0 comments on commit f7c05ec

Please sign in to comment.