Skip to content

Commit

Permalink
chore(.storybook): disable telemetry (#25633)
Browse files Browse the repository at this point in the history
* generate changefiles
  • Loading branch information
Hotell authored Nov 14, 2022
1 parent a510bcc commit d419dfa
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 4 deletions.
1 change: 1 addition & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ module.exports = /** @type {Omit<StorybookConfig,'typescript'|'babel'>} */ ({
core: {
builder: 'webpack5',
lazyCompilation: true,
disableTelemetry: true,
},
/**
* Programmatically enhance previewHead as inheriting just static file `preview-head.html` doesn't work in monorepo
Expand Down
1 change: 1 addition & 0 deletions apps/vr-tests-react-components/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = /** @type {import('../../../.storybook/main').StorybookBaseConf
stories: ['../src/**/*.stories.tsx'],
core: {
builder: 'webpack5',
disableTelemetry: true,
},
babel: {},
typescript: {
Expand Down
7 changes: 3 additions & 4 deletions apps/vr-tests/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// your app's webpack.config.js
const path = require('path');
const custom = require('@fluentui/scripts/storybook/webpack.config');

module.exports = {
module.exports = /** @type {import('../../../.storybook/main').StorybookBaseConfig} */ ({
stories: ['../src/**/*.stories.tsx'],
core: {
builder: 'webpack5',
disableTelemetry: true,
},
babel: {},
typescript: {
Expand All @@ -16,4 +15,4 @@ module.exports = {
return custom(config);
},
addons: ['@storybook/addon-actions'],
};
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore(.storybook): disable telemetry",
"packageName": "@fluentui/web-components",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
1 change: 1 addition & 0 deletions packages/react-examples/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const config = {

core: {
builder: 'webpack5',
disableTelemetry: true,
},
};

Expand Down
1 change: 1 addition & 0 deletions packages/web-components/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
staticDirs: ['../public'],
core: {
builder: 'webpack5',
disableTelemetry: true,
},
addons: [
{
Expand Down

0 comments on commit d419dfa

Please sign in to comment.