Skip to content

Commit

Permalink
fix: dependency graph
Browse files Browse the repository at this point in the history
  • Loading branch information
steveblue committed Nov 4, 2024
1 parent a53c56f commit d0e0701
Show file tree
Hide file tree
Showing 16 changed files with 349 additions and 1,829 deletions.
10 changes: 0 additions & 10 deletions .storybook/tsconfig.json

This file was deleted.

6 changes: 2 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"storybook": {
"builder": "@storybook/angular:start-storybook",
"options": {
"configDir": ".storybook",
"tsConfig": ".storybook/tsconfig.json",
"configDir": "projects/swimlane/ngx-graph/.storybook",
"browserTarget": "@swimlane/ngx-graph:build",
"compodoc": true,
"compodocArgs": ["-e", "json", "-d", ".", "projects/swimlane/ngx-graph"],
Expand All @@ -50,8 +49,7 @@
"build-storybook": {
"builder": "@storybook/angular:build-storybook",
"options": {
"configDir": ".storybook",
"tsConfig": ".storybook/tsconfig.json",
"configDir": "projects/swimlane/ngx-graph/.storybook",
"browserTarget": "@swimlane/ngx-graph:build",
"compodoc": true,
"compodocArgs": ["-e", "json", "-d", ".", "projects/swimlane/ngx-graph"],
Expand Down
68 changes: 21 additions & 47 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,30 +35,6 @@
"@angular/platform-browser": "~18.1.0",
"@angular/platform-browser-dynamic": "~18.1.0",
"@angular/router": "~18.1.0",
"@chromatic-com/storybook": "^3.2.2",
"@compodoc/compodoc": "^1.1.26",
"@ngx-loading-bar/core": "^4.2.0",
"@ngx-loading-bar/http-client": "^4.2.0",
"@stackblitz/sdk": "^1.2.0",
"@storybook/addon-docs": "^8.4.1",
"@storybook/addon-essentials": "^8.4.1",
"@storybook/addon-interactions": "^8.4.1",
"@storybook/addon-links": "^8.4.1",
"@storybook/addon-onboarding": "^8.4.1",
"@storybook/angular": "^8.4.1",
"@storybook/blocks": "^8.4.1",
"@storybook/builder-webpack5": "^8.4.1",
"@storybook/test": "^8.4.1",
"@storybook/theming": "^8.4.1",
"@types/d3-ease": "^1.0.8",
"@types/d3-selection": "^1.4.1",
"@types/d3-shape": "^1.3.1",
"@types/d3-transition": "^3.0.2",
"@types/node": "^22.8.6",
"@ungap/custom-elements": "^0.1.12",
"@ungap/global-this": "^0.3.1",
"ajv": "8.12.0",
"core-js": "^2.6.11",
"d3-array": "^3.2.4",
"d3-dispatch": "^3.0.1",
"d3-ease": "^3.0.1",
Expand All @@ -69,26 +45,12 @@
"d3-timer": "^3.0.1",
"d3-transition": "^3.0.1",
"dagre": "^0.8.5",
"deepmerge": "^4.2.2",
"eslint-plugin-storybook": "^0.10.2",
"json-schema": "^0.4.0",
"jsprim": "^1.4.2",
"mdast": "^3.0.0",
"mermaid": "^8.13.8",
"msagl-js": "0.0.51",
"path": "^0.12.7",
"process": "^0.11.10",
"quick-lru": "^4.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rxjs": "7.8.1",
"smoothscroll-polyfill": "^0.4.3",
"storybook": "^8.4.1",
"throttleit": "^1.0.0",
"transformation-matrix": "^2.16.1",
"tslib": "^2.3.1",
"url-resolve": "^1.0.0",
"vfile": "^4.0.0",
"vfile-reporter": "^5.1.1",
"webcola": "^3.4.0",
"zone.js": "~0.14.7"
},
Expand All @@ -106,14 +68,31 @@
"@angular/compiler-cli": "~18.1.0",
"@angular/language-service": "~18.1.0",
"@babel/core": "^7.7.7",
"@chromatic-com/storybook": "^3.2.2",
"@compodoc/compodoc": "^1.1.26",
"@storybook/addon-docs": "^8.4.1",
"@storybook/addon-essentials": "^8.4.1",
"@storybook/addon-interactions": "^8.4.1",
"@storybook/addon-links": "^8.4.1",
"@storybook/addon-onboarding": "^8.4.1",
"@storybook/angular": "^8.4.1",
"@storybook/blocks": "^8.4.1",
"@storybook/builder-webpack5": "^8.4.1",
"@storybook/test": "^8.4.1",
"@storybook/theming": "^8.4.1",
"@swimlane/eslint-config": "^2.0.0",
"@swimlane/prettier-config-swimlane": "^3.0.2",
"@types/d3-array": "^3",
"@types/d3-ease": "^1.0.8",
"@types/d3-scale": "^4",
"@types/d3-selection": "^1.4.1",
"@types/d3-shape": "^1.3.1",
"@types/d3-transition": "^3.0.2",
"@types/jasmine": ">=3.8.0",
"@types/jasminewd2": "~2.0.3",
"@types/mdast": "^3.0.3",
"@types/mocha": "^10.0.9",
"@types/node": "^22.8.6",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/unist": "^2.0.2",
Expand All @@ -124,11 +103,10 @@
"@typescript-eslint/utils": "7.18.0",
"angular-cli-ghpages": "^0.6.2",
"cross-env": "^7.0.2",
"elkjs": "^0.9.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-security": "^1.4.0",
"http": "^0.0.1-security",
"eslint-plugin-storybook": "^0.10.2",
"husky": "^4.2.4",
"jasmine-core": ">=3.8.0",
"jasmine-spec-reporter": "~5.0.0",
Expand All @@ -137,20 +115,16 @@
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"net": "^1.0.2",
"ng-packagr": "~18.1.0",
"node-polyfill-webpack-plugin": "^4.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"pretty-quick": "^2.0.1",
"protractor": "~7.0.0",
"react": "^18.3.1",
"remark-gfm": "^4.0.0",
"rollup": "4.14.3",
"start-server-and-test": "^1.10.11",
"ts-node": "^8.8.2",
"typescript": "5.4.5",
"web-worker": "^1.3.0",
"storybook": "^8.4.1",
"typescript": "~5.5.2",
"webpack": "5"
},
"husky": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ import type { StorybookConfig } from '@storybook/angular';
import remarkGfm from 'remark-gfm';

const config: StorybookConfig = {
stories: [
'../projects/swimlane/ngx-graph/src/**/*.mdx',
'../projects/swimlane/ngx-graph/src/**/*.stories.@(js|jsx|mjs|ts|tsx)'
],
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
addons: [
'@storybook/addon-onboarding',
'@storybook/addon-links',
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
10 changes: 10 additions & 0 deletions projects/swimlane/ngx-graph/.storybook/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../tsconfig.lib.json",
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true
},
"exclude": ["../src/**/test.ts", "../src/**/*.spec.ts"],
"include": ["../src/**/*.stories.*", "./preview.ts"],
"files": ["./typings.d.ts"]
}
File renamed without changes.
12 changes: 12 additions & 0 deletions projects/swimlane/ngx-graph/documentation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"pipes": [],
"interfaces": [],
"injectables": [],
"guards": [],
"interceptors": [],
"classes": [],
"directives": [],
"components": [],
"modules": [],
"miscellaneous": {}
}
2 changes: 1 addition & 1 deletion projects/swimlane/ngx-graph/ng-package.prod.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
"$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../../dist/ngx-graph",
"lib": {
"entryFile": "src/public_api.ts"
Expand Down
20 changes: 2 additions & 18 deletions projects/swimlane/ngx-graph/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,10 @@
"extends": "../../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"declarationMap": true,
"target": "ES2022",
"module": "ES2020",
"moduleResolution": "node",
"declaration": true,
"sourceMap": true,
"declarationMap": true,
"inlineSources": true,
"experimentalDecorators": true,
"importHelpers": true,
"types": [],
"lib": ["dom", "ES2022"]
},
"angularCompilerOptions": {
"compilationMode": "partial",
"skipTemplateCodegen": true,
"strictMetadataEmit": true,
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true,
"flatModuleId": "AUTOGENERATED",
"flatModuleOutFile": "AUTOGENERATED"
"types": []
},
"exclude": ["src/test.ts", "**/*.spec.ts", "stories/**"],
"paths": {
Expand Down
7 changes: 0 additions & 7 deletions projects/swimlane/ngx-graph/tslint.json

This file was deleted.

Binary file added public/favicon.ico
Binary file not shown.
27 changes: 17 additions & 10 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,35 @@
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"baseUrl": ".",
"outDir": "./dist/out-tsc",
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"skipLibCheck": true,
"isolatedModules": true,
"types": ["node", "jasmine"],
"typeRoots": ["node_modules/@types"],
"esModuleInterop": true,
"sourceMap": true,
"declaration": false,
"module": "ES2020",
"moduleResolution": "node",
"experimentalDecorators": true,
"moduleResolution": "bundler",
"importHelpers": true,
"target": "ES2022",
"typeRoots": ["./node_modules/@types"],
"module": "ES2022",
"lib": ["ES2022", "dom"],
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"paths": {
"@swimlane/ngx-graph": ["projects/swimlane/ngx-graph/src/public_api"],
"@swimlane/ngx-graph/*": ["projects/swimlane/ngx-graph/src/*"]
},
"types": ["node", "jasmine"]
}
},
"include": ["./projects/**/*.ts", "**/*.d.ts", ".storybook/*.ts", "**/*.spec.ts"],
"exclude": ["**/*.e2e-spec.ts"],
"angularCompilerOptions": {
"fullTemplateTypeCheck": true
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
}
}
Loading

0 comments on commit d0e0701

Please sign in to comment.