From a5395321b062fb7109dece183ab2abd0a0bb7d0f Mon Sep 17 00:00:00 2001 From: Stephen Belovarich Date: Fri, 1 Nov 2024 08:01:58 -0700 Subject: [PATCH] fix: move storybook config to root --- .../.storybook => .storybook}/main.ts | 5 +- .../.storybook => .storybook}/preview.ts | 0 .storybook/tsconfig.json | 12 + .../.storybook => .storybook}/typings.d.ts | 0 angular.json | 8 +- .../ngx-graph/.storybook/tsconfig.json | 12 - .../swimlane/ngx-graph/documentation.json | 1086 ----------------- projects/swimlane/ngx-graph/ng-package.json | 2 +- tsconfig.json | 4 +- 9 files changed, 23 insertions(+), 1106 deletions(-) rename {projects/swimlane/ngx-graph/.storybook => .storybook}/main.ts (82%) rename {projects/swimlane/ngx-graph/.storybook => .storybook}/preview.ts (100%) create mode 100644 .storybook/tsconfig.json rename {projects/swimlane/ngx-graph/.storybook => .storybook}/typings.d.ts (100%) delete mode 100644 projects/swimlane/ngx-graph/.storybook/tsconfig.json delete mode 100644 projects/swimlane/ngx-graph/documentation.json diff --git a/projects/swimlane/ngx-graph/.storybook/main.ts b/.storybook/main.ts similarity index 82% rename from projects/swimlane/ngx-graph/.storybook/main.ts rename to .storybook/main.ts index a0c155e2..540dcb51 100644 --- a/projects/swimlane/ngx-graph/.storybook/main.ts +++ b/.storybook/main.ts @@ -2,7 +2,10 @@ import type { StorybookConfig } from '@storybook/angular'; import remarkGfm from 'remark-gfm'; const config: StorybookConfig = { - stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'], + stories: [ + '../projects/swimlane/ngx-graph/src/**/*.mdx', + '../projects/swimlane/ngx-graph/src/**/*.stories.@(js|jsx|mjs|ts|tsx)' + ], addons: [ '@storybook/addon-onboarding', '@storybook/addon-links', diff --git a/projects/swimlane/ngx-graph/.storybook/preview.ts b/.storybook/preview.ts similarity index 100% rename from projects/swimlane/ngx-graph/.storybook/preview.ts rename to .storybook/preview.ts diff --git a/.storybook/tsconfig.json b/.storybook/tsconfig.json new file mode 100644 index 00000000..abae03f0 --- /dev/null +++ b/.storybook/tsconfig.json @@ -0,0 +1,12 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "types": ["node"], + "typeRoots": ["../node_modules/@types"], + "allowSyntheticDefaultImports": true, + "resolveJsonModule": true + }, + "exclude": ["../projects/**/test.ts", "../projects/**/*.spec.ts"], + "include": ["../projects/**/*.stories.*", "./preview.ts"], + "files": ["./typings.d.ts"] +} diff --git a/projects/swimlane/ngx-graph/.storybook/typings.d.ts b/.storybook/typings.d.ts similarity index 100% rename from projects/swimlane/ngx-graph/.storybook/typings.d.ts rename to .storybook/typings.d.ts diff --git a/angular.json b/angular.json index 26f7fd6f..64883c0a 100644 --- a/angular.json +++ b/angular.json @@ -39,8 +39,8 @@ "storybook": { "builder": "@storybook/angular:start-storybook", "options": { - "configDir": "projects/swimlane/ngx-graph/.storybook", - "tsConfig": "projects/swimlane/ngx-graph/.storybook/tsconfig.json", + "configDir": ".storybook", + "tsConfig": ".storybook/tsconfig.json", "browserTarget": "@swimlane/ngx-graph:build", "compodoc": true, "compodocArgs": ["-e", "json", "-d", ".", "projects/swimlane/ngx-graph"], @@ -50,8 +50,8 @@ "build-storybook": { "builder": "@storybook/angular:build-storybook", "options": { - "configDir": "projects/swimlane/ngx-graph/.storybook", - "tsConfig": "projects/swimlane/ngx-graph/.storybook/tsconfig.json", + "configDir": ".storybook", + "tsConfig": ".storybook/tsconfig.json", "browserTarget": "@swimlane/ngx-graph:build", "compodoc": true, "compodocArgs": ["-e", "json", "-d", ".", "projects/swimlane/ngx-graph"], diff --git a/projects/swimlane/ngx-graph/.storybook/tsconfig.json b/projects/swimlane/ngx-graph/.storybook/tsconfig.json deleted file mode 100644 index e424702c..00000000 --- a/projects/swimlane/ngx-graph/.storybook/tsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "../../../../tsconfig.json", - "compilerOptions": { - "types": ["node"], - "typeRoots": ["../../../../node_modules/@types"], - "allowSyntheticDefaultImports": true, - "resolveJsonModule": true - }, - "exclude": ["../src/test.ts", "../src/**/*.spec.ts"], - "include": ["../src/**/*.stories.*", "./preview.ts"], - "files": ["./typings.d.ts"] -} diff --git a/projects/swimlane/ngx-graph/documentation.json b/projects/swimlane/ngx-graph/documentation.json deleted file mode 100644 index 0a64c92a..00000000 --- a/projects/swimlane/ngx-graph/documentation.json +++ /dev/null @@ -1,1086 +0,0 @@ -{ - "pipes": [], - "interfaces": [], - "injectables": [], - "guards": [], - "interceptors": [], - "classes": [], - "directives": [], - "components": [], - "modules": [], - "miscellaneous": { - "variables": [ - { - "name": "ColaClusterForceDirected", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "ClusterStory", - "defaultValue": "{}" - }, - { - "name": "ColaForceDirected", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "CustomCurve", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-custom-curve/ngx-graph-custom-curve.component.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{\n args: {}\n}" - }, - { - "name": "D3", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/d3.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "Dagre", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/dagre.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "DagreCluster", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/dagre-cluster.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "DagreClusterTemplate", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/custom-templates/dagre-cluster.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "Demo", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/graph.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "GettingStarted", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/introduction.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/graph.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'GraphComponent',\n component: GraphComponent,\n decorators: [\n // Apply application config to all stories\n applicationConfig({\n // List of providers and environment providers that should be available to the root component and all its children.\n providers: [LayoutService, importProvidersFrom(BrowserAnimationsModule)]\n })\n ],\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/introduction.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Introduction',\n component: GraphIntroComponent,\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/custom-templates/dagre-cluster.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'DagreClusterTemplate',\n component: DagreLayoutComponent,\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Cola',\n component: ColaLayoutComponent,\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/d3.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'D3',\n component: D3LayoutComponent,\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/dagre-cluster.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Dagre',\n component: DagreLayoutComponent,\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/dagre.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Dagre',\n component: DagreLayoutComponent,\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-custom-curve/ngx-graph-custom-curve.component.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Example/NgxGraphCustomCurveComponent',\n component: NgxGraphCustomCurve,\n // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs\n tags: ['autodocs'],\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n },\n args: {}\n}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-msagl/ngx-graph-msagl.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Example/NgxGraphMSAGLComponent',\n component: NgxGraphMSAGLComponent,\n // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs\n tags: ['autodocs'],\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n },\n args: {}\n}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-org-tree/ngx-graph-org-tree.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Example/NgxGraphOrgTreeComponent',\n component: NgxGraphOrgTreeComponent,\n // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs\n tags: ['autodocs'],\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n },\n args: {}\n}" - }, - { - "name": "MSAGL", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-msagl/ngx-graph-msagl.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{\n args: {}\n}" - }, - { - "name": "OrgChart", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-org-tree/ngx-graph-org-tree.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{\n args: {}\n}" - }, - { - "name": "preview", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/.storybook/preview.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Preview", - "defaultValue": "{\n parameters: {\n controls: {\n matchers: {\n color: /(background|color)$/i,\n date: /Date$/i\n }\n }\n }\n}" - } - ], - "functions": [], - "typealiases": [ - { - "name": "ClusterStory", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - }, - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/graph.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - }, - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/introduction.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - }, - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/custom-templates/dagre-cluster.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - }, - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - }, - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/d3.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - }, - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/dagre-cluster.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - }, - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/dagre.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - }, - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-custom-curve/ngx-graph-custom-curve.component.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - }, - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-msagl/ngx-graph-msagl.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - }, - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-org-tree/ngx-graph-org-tree.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - } - ], - "enumerations": [], - "groupedVariables": { - "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts": [ - { - "name": "ColaClusterForceDirected", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "ClusterStory", - "defaultValue": "{}" - }, - { - "name": "ColaForceDirected", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Cola',\n component: ColaLayoutComponent,\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - } - ], - "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-custom-curve/ngx-graph-custom-curve.component.stories.ts": [ - { - "name": "CustomCurve", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-custom-curve/ngx-graph-custom-curve.component.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{\n args: {}\n}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-custom-curve/ngx-graph-custom-curve.component.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Example/NgxGraphCustomCurveComponent',\n component: NgxGraphCustomCurve,\n // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs\n tags: ['autodocs'],\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n },\n args: {}\n}" - } - ], - "projects/swimlane/ngx-graph/src/stories/layouts/d3.stories.ts": [ - { - "name": "D3", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/d3.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/d3.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'D3',\n component: D3LayoutComponent,\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - } - ], - "projects/swimlane/ngx-graph/src/stories/layouts/dagre.stories.ts": [ - { - "name": "Dagre", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/dagre.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/dagre.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Dagre',\n component: DagreLayoutComponent,\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - } - ], - "projects/swimlane/ngx-graph/src/stories/layouts/dagre-cluster.stories.ts": [ - { - "name": "DagreCluster", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/dagre-cluster.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/dagre-cluster.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Dagre',\n component: DagreLayoutComponent,\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - } - ], - "projects/swimlane/ngx-graph/src/stories/custom-templates/dagre-cluster.stories.ts": [ - { - "name": "DagreClusterTemplate", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/custom-templates/dagre-cluster.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/custom-templates/dagre-cluster.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'DagreClusterTemplate',\n component: DagreLayoutComponent,\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - } - ], - "projects/swimlane/ngx-graph/src/stories/graph.stories.ts": [ - { - "name": "Demo", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/graph.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/graph.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'GraphComponent',\n component: GraphComponent,\n decorators: [\n // Apply application config to all stories\n applicationConfig({\n // List of providers and environment providers that should be available to the root component and all its children.\n providers: [LayoutService, importProvidersFrom(BrowserAnimationsModule)]\n })\n ],\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - } - ], - "projects/swimlane/ngx-graph/src/stories/introduction.stories.ts": [ - { - "name": "GettingStarted", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/introduction.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{}" - }, - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/introduction.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Introduction',\n component: GraphIntroComponent,\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n }\n}" - } - ], - "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-msagl/ngx-graph-msagl.stories.ts": [ - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-msagl/ngx-graph-msagl.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Example/NgxGraphMSAGLComponent',\n component: NgxGraphMSAGLComponent,\n // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs\n tags: ['autodocs'],\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n },\n args: {}\n}" - }, - { - "name": "MSAGL", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-msagl/ngx-graph-msagl.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{\n args: {}\n}" - } - ], - "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-org-tree/ngx-graph-org-tree.stories.ts": [ - { - "name": "meta", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-org-tree/ngx-graph-org-tree.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Meta", - "defaultValue": "{\n title: 'Example/NgxGraphOrgTreeComponent',\n component: NgxGraphOrgTreeComponent,\n // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs\n tags: ['autodocs'],\n parameters: {\n // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout\n layout: 'fullscreen'\n },\n args: {}\n}" - }, - { - "name": "OrgChart", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-org-tree/ngx-graph-org-tree.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Story", - "defaultValue": "{\n args: {}\n}" - } - ], - "projects/swimlane/ngx-graph/.storybook/preview.ts": [ - { - "name": "preview", - "ctype": "miscellaneous", - "subtype": "variable", - "file": "projects/swimlane/ngx-graph/.storybook/preview.ts", - "deprecated": false, - "deprecationMessage": "", - "type": "Preview", - "defaultValue": "{\n parameters: {\n controls: {\n matchers: {\n color: /(background|color)$/i,\n date: /Date$/i\n }\n }\n }\n}" - } - ] - }, - "groupedFunctions": {}, - "groupedEnumerations": {}, - "groupedTypeAliases": { - "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts": [ - { - "name": "ClusterStory", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - }, - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - } - ], - "projects/swimlane/ngx-graph/src/stories/graph.stories.ts": [ - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/graph.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - } - ], - "projects/swimlane/ngx-graph/src/stories/introduction.stories.ts": [ - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/introduction.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - } - ], - "projects/swimlane/ngx-graph/src/stories/custom-templates/dagre-cluster.stories.ts": [ - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/custom-templates/dagre-cluster.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - } - ], - "projects/swimlane/ngx-graph/src/stories/layouts/d3.stories.ts": [ - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/d3.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - } - ], - "projects/swimlane/ngx-graph/src/stories/layouts/dagre-cluster.stories.ts": [ - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/dagre-cluster.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - } - ], - "projects/swimlane/ngx-graph/src/stories/layouts/dagre.stories.ts": [ - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/layouts/dagre.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - } - ], - "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-custom-curve/ngx-graph-custom-curve.component.stories.ts": [ - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-custom-curve/ngx-graph-custom-curve.component.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - } - ], - "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-msagl/ngx-graph-msagl.stories.ts": [ - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-msagl/ngx-graph-msagl.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - } - ], - "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-org-tree/ngx-graph-org-tree.stories.ts": [ - { - "name": "Story", - "ctype": "miscellaneous", - "subtype": "typealias", - "rawtype": "StoryObj", - "file": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-org-tree/ngx-graph-org-tree.stories.ts", - "deprecated": false, - "deprecationMessage": "", - "description": "", - "kind": 183 - } - ] - } - }, - "routes": [], - "coverage": { - "count": 0, - "status": "low", - "files": [ - { - "filePath": "projects/swimlane/ngx-graph/.storybook/preview.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "preview", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/custom-templates/dagre-cluster.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "DagreClusterTemplate", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/custom-templates/dagre-cluster.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "meta", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/custom-templates/dagre-cluster.stories.ts", - "type": "type alias", - "linktype": "miscellaneous", - "linksubtype": "typealias", - "name": "Story", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-custom-curve/ngx-graph-custom-curve.component.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "CustomCurve", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-custom-curve/ngx-graph-custom-curve.component.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "meta", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-custom-curve/ngx-graph-custom-curve.component.stories.ts", - "type": "type alias", - "linktype": "miscellaneous", - "linksubtype": "typealias", - "name": "Story", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-msagl/ngx-graph-msagl.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "meta", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-msagl/ngx-graph-msagl.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "MSAGL", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-msagl/ngx-graph-msagl.stories.ts", - "type": "type alias", - "linktype": "miscellaneous", - "linksubtype": "typealias", - "name": "Story", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-org-tree/ngx-graph-org-tree.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "meta", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-org-tree/ngx-graph-org-tree.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "OrgChart", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/demos/components/ngx-graph-org-tree/ngx-graph-org-tree.stories.ts", - "type": "type alias", - "linktype": "miscellaneous", - "linksubtype": "typealias", - "name": "Story", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/graph.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "Demo", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/graph.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "meta", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/graph.stories.ts", - "type": "type alias", - "linktype": "miscellaneous", - "linksubtype": "typealias", - "name": "Story", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/introduction.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "GettingStarted", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/introduction.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "meta", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/introduction.stories.ts", - "type": "type alias", - "linktype": "miscellaneous", - "linksubtype": "typealias", - "name": "Story", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "ColaClusterForceDirected", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "ColaForceDirected", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "meta", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "type": "type alias", - "linktype": "miscellaneous", - "linksubtype": "typealias", - "name": "ClusterStory", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/cola.stories.ts", - "type": "type alias", - "linktype": "miscellaneous", - "linksubtype": "typealias", - "name": "Story", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/d3.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "D3", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/d3.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "meta", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/d3.stories.ts", - "type": "type alias", - "linktype": "miscellaneous", - "linksubtype": "typealias", - "name": "Story", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/dagre-cluster.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "DagreCluster", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/dagre-cluster.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "meta", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/dagre-cluster.stories.ts", - "type": "type alias", - "linktype": "miscellaneous", - "linksubtype": "typealias", - "name": "Story", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/dagre.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "Dagre", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/dagre.stories.ts", - "type": "variable", - "linktype": "miscellaneous", - "linksubtype": "variable", - "name": "meta", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - }, - { - "filePath": "projects/swimlane/ngx-graph/src/stories/layouts/dagre.stories.ts", - "type": "type alias", - "linktype": "miscellaneous", - "linksubtype": "typealias", - "name": "Story", - "coveragePercent": 0, - "coverageCount": "0/1", - "status": "low" - } - ] - } -} diff --git a/projects/swimlane/ngx-graph/ng-package.json b/projects/swimlane/ngx-graph/ng-package.json index f7a5be7a..1e6597a9 100644 --- a/projects/swimlane/ngx-graph/ng-package.json +++ b/projects/swimlane/ngx-graph/ng-package.json @@ -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", "deleteDestPath": false, "lib": { diff --git a/tsconfig.json b/tsconfig.json index bc5df5a2..fa49b3f7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,8 +20,8 @@ }, "types": ["node", "jasmine"] }, - "include": ["./projects/**/*.ts", "**/*.d.ts", "./projects/swimlane/ngx-graph/.storybook/preview.ts"], - "exclude": ["**/*.spec.ts", "**/*.e2e-spec.ts"], + "include": ["./projects/**/*.ts", "**/*.d.ts", ".storybook/preview.ts", "**/*.spec.ts"], + "exclude": ["**/*.e2e-spec.ts"], "angularCompilerOptions": { "fullTemplateTypeCheck": true }