renommage de lib, rendre buildable
This commit is contained in:
parent
1706c64713
commit
a89007a81b
9896 changed files with 478996 additions and 496 deletions
16
sae-csc/.storybook/main.ts
Normal file
16
sae-csc/.storybook/main.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import type { StorybookConfig } from '@storybook/angular';
|
||||
|
||||
const config: StorybookConfig = {
|
||||
"stories": [
|
||||
"../src/**/*.mdx",
|
||||
"../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"
|
||||
],
|
||||
"addons": [
|
||||
"@storybook/addon-docs"
|
||||
],
|
||||
"framework": {
|
||||
"name": "@storybook/angular",
|
||||
"options": {}
|
||||
}
|
||||
};
|
||||
export default config;
|
17
sae-csc/.storybook/preview.ts
Normal file
17
sae-csc/.storybook/preview.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import type { Preview } from '@storybook/angular'
|
||||
import { setCompodocJson } from "@storybook/addon-docs/angular";
|
||||
import docJson from "../documentation.json";
|
||||
setCompodocJson(docJson);
|
||||
|
||||
const preview: Preview = {
|
||||
parameters: {
|
||||
controls: {
|
||||
matchers: {
|
||||
color: /(background|color)$/i,
|
||||
date: /Date$/i,
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default preview;
|
10
sae-csc/.storybook/tsconfig.doc.json
Normal file
10
sae-csc/.storybook/tsconfig.doc.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
// This tsconfig is used by Compodoc to generate the documentation for the project.
|
||||
// If Compodoc is not used, this file can be deleted.
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
// Exclude all files that are not needed for documentation generation.
|
||||
"exclude": ["../src/test.ts", "../src/**/*.spec.ts", "../src/**/*.stories.ts"],
|
||||
// Please make sure to include all files from which Compodoc should generate documentation.
|
||||
"include": ["../src/**/*"],
|
||||
"files": ["./typings.d.ts"]
|
||||
}
|
11
sae-csc/.storybook/tsconfig.json
Normal file
11
sae-csc/.storybook/tsconfig.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"extends": "../tsconfig.app.json",
|
||||
"compilerOptions": {
|
||||
"types": ["node"],
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"resolveJsonModule": true
|
||||
},
|
||||
"exclude": ["../src/test.ts", "../src/**/*.spec.ts"],
|
||||
"include": ["../src/**/*.stories.*", "./preview.ts"],
|
||||
"files": ["./typings.d.ts"]
|
||||
}
|
4
sae-csc/.storybook/typings.d.ts
vendored
Normal file
4
sae-csc/.storybook/typings.d.ts
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
declare module '*.md' {
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue