Skip to content

Commit

Permalink
feat: story-book
Browse files Browse the repository at this point in the history
  • Loading branch information
Badisi committed Sep 4, 2024
1 parent 235060a commit 153918f
Show file tree
Hide file tree
Showing 45 changed files with 8,784 additions and 1,744 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ yarn-error.log
/libpeerconnection.log
testem.log
/typings
*storybook.log

# System files
.DS_Store
Expand Down
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/bazel-out

# Node
/node_modules
node_modules
npm-debug.log
yarn-error.log

Expand Down Expand Up @@ -38,9 +38,8 @@ yarn-error.log
/libpeerconnection.log
testem.log
/typings
*storybook.log

# System files
.DS_Store
Thumbs.db

*storybook.log
86 changes: 18 additions & 68 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,95 +105,45 @@
}
}
},
"storybook": {
"story-book": {
"projectType": "library",
"root": "projects/storybook",
"sourceRoot": "projects/storybook/src",
"prefix": "storybook",
"root": "projects/story-book",
"sourceRoot": "projects/story-book/src",
"prefix": "story-book",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/storybook/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/storybook/tsconfig.app.prod.json"
},
"development": {
"tsConfig": "projects/storybook/tsconfig.app.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/storybook/src/test.ts",
"tsConfig": "projects/storybook/tsconfig.spec.json",
"karmaConfig": "projects/storybook/karma.conf.js"
}
},
"storybook": {
"builder": "@storybook/angular:start-storybook",
"builder": "@storybook/angular:build-storybook",
"options": {
"configDir": "projects/storybook/.storybook",
"browserTarget": "storybook:build",
"configDir": "projects/story-book",
"compodoc": true,
"compodocArgs": [
"-e",
"json",
"-d",
"projects/storybook"
"projects/story-book"
],
"port": 6006,
"styles": [
"@angular/material/prebuilt-themes/indigo-pink.css",
"@fontsource/roboto/300.css",
"@fontsource/roboto/400.css",
"@fontsource/roboto/500.css",
"@fontsource/roboto/700.css",
"@fontsource/material-icons",
"./projects/storybook/src/stories/layout/layout.scss",
"./projects/storybook/src/stories/user-card/user-card.scss",
"./projects/storybook/src/stories/list-loader/list-loader.scss",
"./projects/storybook/src/stories/search-container/search-container.scss",
"./projects/storybook/src/stories/status/status.scss",
"./projects/storybook/src/stories/overlay/overlay.scss",
"./projects/storybook/src/stories/message-box/message-box.scss",
"./projects/storybook/src/stories/splitter/splitter.scss"
]
"projects/story-book/src/styles.scss"
],
"outputDir": "dist/story-book"
}
},
"build-storybook": {
"builder": "@storybook/angular:build-storybook",
"serve": {
"builder": "@storybook/angular:start-storybook",
"options": {
"configDir": "projects/storybook/.storybook",
"browserTarget": "storybook:build",
"browserTarget": "story-book:build",
"configDir": "projects/story-book",
"compodoc": true,
"compodocArgs": [
"-e",
"json",
"-d",
"projects/storybook"
"projects/story-book"
],
"outputDir": "dist/storybook/storybook",
"styles": [
"@angular/material/prebuilt-themes/indigo-pink.css",
"@fontsource/roboto/300.css",
"@fontsource/roboto/400.css",
"@fontsource/roboto/500.css",
"@fontsource/roboto/700.css",
"@fontsource/material-icons",
"./projects/storybook/src/stories/layout/layout.scss",
"./projects/storybook/src/stories/user-card/user-card.scss",
"./projects/storybook/src/stories/list-loader/list-loader.scss",
"./projects/storybook/src/stories/search-container/search-container.scss",
"./projects/storybook/src/stories/status/status.scss",
"./projects/storybook/src/stories/overlay/overlay.scss",
"./projects/storybook/src/stories/message-box/message-box.scss",
"./projects/storybook/src/stories/splitter/splitter.scss"
]
"projects/story-book/src/styles.scss"
],
"port": 6006
}
}
}
Expand Down
Loading

0 comments on commit 153918f

Please sign in to comment.