Skip to content

Commit

Permalink
Merge pull request #15194 from storybookjs/angular/builder
Browse files Browse the repository at this point in the history
Angular: Use docsMode to set docs options
  • Loading branch information
shilman authored Jun 10, 2021
2 parents c794c86 + b0c9617 commit 7c6ce2f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/angular/src/builders/build-storybook/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe('Build Storybook Builder', () => {
angularBrowserTarget: 'angular-cli:build-2',
browserTarget: 'angular-cli:build-2',
configDir: '.storybook',
docs: false,
docsMode: false,
loglevel: undefined,
quiet: false,
outputDir: 'storybook-static',
Expand Down Expand Up @@ -104,7 +104,7 @@ describe('Build Storybook Builder', () => {
angularBrowserTarget: 'angular-cli:build-2',
browserTarget: 'angular-cli:build-2',
configDir: '.storybook',
docs: false,
docsMode: false,
loglevel: undefined,
quiet: false,
outputDir: 'storybook-static',
Expand Down
2 changes: 1 addition & 1 deletion app/angular/src/builders/build-storybook/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"description": "Suppress verbose build output.",
"default": false
},
"docs": {
"docsMode": {
"type": "boolean",
"description": "Starts Storybook in documentation mode. Learn more about it : https://storybook.js.org/docs/react/writing-docs/build-documentation#preview-storybooks-documentation.",
"default": false
Expand Down
4 changes: 2 additions & 2 deletions app/angular/src/builders/start-storybook/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe('Start Storybook Builder', () => {
browserTarget: 'angular-cli:build-2',
ci: false,
configDir: '.storybook',
docs: false,
docsMode: false,
host: 'localhost',
https: false,
port: 4400,
Expand Down Expand Up @@ -111,7 +111,7 @@ describe('Start Storybook Builder', () => {
browserTarget: 'angular-cli:build-2',
ci: false,
configDir: '.storybook',
docs: false,
docsMode: false,
host: 'localhost',
https: false,
port: 9009,
Expand Down
2 changes: 1 addition & 1 deletion app/angular/src/builders/start-storybook/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"description": "Suppress verbose build output.",
"default": false
},
"docs": {
"docsMode": {
"type": "boolean",
"description": "Starts Storybook in documentation mode. Learn more about it : https://storybook.js.org/docs/react/writing-docs/build-documentation#preview-storybooks-documentation.",
"default": false
Expand Down

0 comments on commit 7c6ce2f

Please sign in to comment.