Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: Support webpack5 and webpack4 side by side #13808

Merged
merged 122 commits into from
Feb 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
0b21d94
upgrade dependencies
ndelangen Dec 3, 2020
aafa212
auto fix eslint isseus
ndelangen Dec 3, 2020
f2010c5
manual fix eslint errors
ndelangen Dec 3, 2020
055ac45
fix types && disable failing tests
ndelangen Dec 3, 2020
1ed50bc
fix typing issues
ndelangen Dec 3, 2020
429cd06
fix terserplugin options
ndelangen Dec 3, 2020
05ee091
webpack 5 baby
ndelangen Dec 4, 2020
258c4f9
upgrades
ndelangen Dec 7, 2020
c5c5a98
Merge from next WIP
shilman Feb 3, 2021
071ee9d
Fix the build
shilman Feb 3, 2021
52d6c56
Finish fixing build
shilman Feb 3, 2021
264327b
Add @storybook/server-webpack5
shilman Feb 3, 2021
84cd723
Remove unused dependencies
shilman Feb 3, 2021
62bc505
server-webpack4 WIP
shilman Feb 3, 2021
b4cddc0
Fix missing dependency
shilman Feb 4, 2021
1a84472
Prefer exporting types when possible
shilman Feb 4, 2021
96ae589
Break cyclical dependencies
shilman Feb 4, 2021
33b5ec2
WIP
shilman Feb 4, 2021
c8cf5a5
rename
ndelangen Feb 4, 2021
313d97b
progress
ndelangen Feb 4, 2021
829837d
progress on refactor
ndelangen Feb 4, 2021
eba4c62
cleanup
ndelangen Feb 4, 2021
1657325
have a webpack 4 & 5 version of a somewhat minimized builder package
ndelangen Feb 4, 2021
2a5895c
dedupp templates from builders
ndelangen Feb 4, 2021
e033d9e
dedupp common preset
ndelangen Feb 4, 2021
46b19db
dedupp polyfills
ndelangen Feb 4, 2021
d134ee8
move all to utils folder
ndelangen Feb 4, 2021
177e31f
split utils/utils into named files
ndelangen Feb 4, 2021
ec035b2
cleanup
ndelangen Feb 4, 2021
28e3ee6
cleanup
ndelangen Feb 4, 2021
e28dedb
cleanup
ndelangen Feb 4, 2021
06c09ae
cleanup
ndelangen Feb 4, 2021
83805b9
cleanup
ndelangen Feb 4, 2021
c745f1b
fix
ndelangen Feb 4, 2021
e865cf9
cleanup
ndelangen Feb 4, 2021
c163c30
WIP: Hoist preset loading in core-server
shilman Feb 5, 2021
a2be311
refactor most common code between (I'm sorry michael)
ndelangen Feb 5, 2021
195f1d0
cleanup
ndelangen Feb 5, 2021
70f9e64
types for the storybookOptions across the board
ndelangen Feb 5, 2021
9bb89b7
refactor
ndelangen Feb 6, 2021
3246f63
make build work
ndelangen Feb 6, 2021
c5bdb39
cleanup
ndelangen Feb 6, 2021
f407762
fix prebuilt manager script
ndelangen Feb 6, 2021
f286ac4
cleanup dependencies
ndelangen Feb 6, 2021
7d2c855
dedupp types and fix types
ndelangen Feb 6, 2021
270d70f
cleanup dependencies
ndelangen Feb 6, 2021
3b45d2c
Merge branch 'next' into tech/core-builder
ndelangen Feb 8, 2021
64620df
updates, & fix webpack 4 & 5 typings mismatching
ndelangen Feb 8, 2021
09ba680
fix tests
ndelangen Feb 8, 2021
41277f9
update all possible examples!
ndelangen Feb 9, 2021
070f5f2
make build work
ndelangen Feb 9, 2021
6a20004
Merge branch 'next' into tech/core-builder
shilman Feb 10, 2021
0e662cf
Fix merge errors (partially)
shilman Feb 10, 2021
b3da062
Update app/angular/package.json
ndelangen Feb 11, 2021
c2ad64a
fix un-intentionally removed vue-3 changes in package.json
ndelangen Feb 11, 2021
238c5d8
Merge branch 'tech/core-builder' of github.com:storybookjs/storybook …
ndelangen Feb 11, 2021
d6ce971
regen lockfile
ndelangen Feb 11, 2021
a60a9ee
fix dev-kits example
ndelangen Feb 11, 2021
b4c71d5
Merge branch 'next' into tech/core-builder
ndelangen Feb 11, 2021
3308d64
Merge branch 'next' into tech/core-builder
ndelangen Feb 11, 2021
9772d56
fix angular build because of the revert upgrade for the `fork-ts-chec…
ndelangen Feb 11, 2021
3ee569b
Merge branch 'next' into tech/core-builder
ndelangen Feb 12, 2021
6b89184
fix preact example
ndelangen Feb 12, 2021
8411837
fix svelte example
ndelangen Feb 12, 2021
4e0c090
fix lint
ndelangen Feb 12, 2021
d8c78cb
Core preset tests WIP
shilman Feb 12, 2021
f0f77e4
improve tests
ndelangen Feb 12, 2021
45e3bf3
Merge branch 'tech/improve-core-presets-tests' into tech/core-builder
ndelangen Feb 12, 2021
9074050
wip
ndelangen Feb 12, 2021
1f13b3b
fixes
ndelangen Feb 12, 2021
d76bee7
fix cra examples
ndelangen Feb 12, 2021
54c4d04
fix lint
ndelangen Feb 12, 2021
bef121d
fix tests
ndelangen Feb 12, 2021
40d1c36
cleanup
ndelangen Feb 12, 2021
27b0134
fix test
ndelangen Feb 12, 2021
e52309a
prep for merge with next
ndelangen Feb 15, 2021
4802dad
Merge branch 'next' into tech/core-builder
ndelangen Feb 15, 2021
925dfb9
fix test
ndelangen Feb 15, 2021
d7965e3
ADD false as an option for reatDocGen
ndelangen Feb 15, 2021
07e1ca0
update snapshots
ndelangen Feb 15, 2021
dd74264
fix angular
ndelangen Feb 15, 2021
58ae72c
less logging
ndelangen Feb 15, 2021
8a13e77
cleanup
ndelangen Feb 15, 2021
8cc9be3
wip
ndelangen Feb 15, 2021
e0f854c
Revert graphiql update
shilman Feb 16, 2021
ee07015
Downgrade linting
shilman Feb 16, 2021
33b60f7
Add missing dependency
shilman Feb 16, 2021
edf7e5f
Fix deepscan issues
shilman Feb 16, 2021
4eabfd4
fix manager prebuilt
ndelangen Feb 16, 2021
dd10067
fix
ndelangen Feb 16, 2021
8542c91
fix tests
ndelangen Feb 16, 2021
411ac9c
delete unused example test
ndelangen Feb 16, 2021
f2d4a60
Merge branch 'next' into tech/core-builder
ndelangen Feb 16, 2021
1179eba
change ts comments to warnings
ndelangen Feb 16, 2021
00536c1
fix package.json
ndelangen Feb 16, 2021
b1d3baa
all webpack 4
ndelangen Feb 16, 2021
d553faa
revert removal of vue3 dependencies
ndelangen Feb 17, 2021
b527256
Merge branch 'next' into tech/core-builder
ndelangen Feb 17, 2021
8682ca6
Revert postcss-flexbugs-fixes, fixes vue-3-cli example
shilman Feb 18, 2021
d4aa7ac
Update package READMEs
shilman Feb 18, 2021
d483c71
wip
ndelangen Feb 18, 2021
7b59ec6
Merge branch 'tech/core-builder' of github.com:storybookjs/storybook …
ndelangen Feb 18, 2021
08c73e4
prep for merge from next
ndelangen Feb 18, 2021
a337c75
Merge branch 'next' into tech/core-builder
ndelangen Feb 18, 2021
427016b
fix test
ndelangen Feb 18, 2021
7d30eea
Update builder READMEs
shilman Feb 18, 2021
0fd2400
Merge branch 'tech/core-builder' of github.com:storybookjs/storybook …
shilman Feb 18, 2021
240429e
Merge branch 'next' into tech/core-builder
ndelangen Feb 19, 2021
ddd03a3
Add test for CLI flags
shilman Feb 19, 2021
1eab404
Merge branch 'next' into tech/core-builder
ndelangen Feb 19, 2021
75fa9ee
fix snapshots
ndelangen Feb 19, 2021
95a85b8
Improve --quiet test
shilman Feb 19, 2021
9d1586d
Remove duplicate docs
shilman Feb 19, 2021
3ea2be9
Revert js-yaml
shilman Feb 19, 2021
739cc4c
Revert @marko/webpack
shilman Feb 19, 2021
d64737f
Add builder peer deps to core-server
shilman Feb 20, 2021
dfda26f
Revert "Add builder peer deps to core-server"
shilman Feb 20, 2021
52005ea
Remove angular snapshots
shilman Feb 20, 2021
23ef187
Add builder-webpack4 dep to core-server
shilman Feb 20, 2021
9f0a715
OOPS
shilman Feb 20, 2021
ed16bfb
Fix core PNP dependencies
shilman Feb 20, 2021
74234ec
Try to fix PNP
shilman Feb 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ module.exports = {
{
test: [
'./lib/node-logger',
'./lib/core',
'./lib/core-common',
'./lib/core-server',
'./lib/builder-webpack4',
'./lib/builder-webpack5',
'./lib/codemod',
'./addons/storyshots',
'**/src/server/**',
Expand Down
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ docs/public
storybook-static
built-storybooks
lib/cli/test
lib/core/prebuilt
lib/core-server/prebuilt
lib/codemod/src/transforms/__testfixtures__
scripts/storage
*.bundle.js
Expand Down
5 changes: 3 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
module.exports = {
root: true,
extends: ['@storybook/eslint-config-storybook'],
rules: {
'@typescript-eslint/ban-ts-comment': 'warn',
},
overrides: [
{
files: [
Expand All @@ -10,8 +13,6 @@ module.exports = {
'**/*.test.*',
'**/*.stories.*',
'**/storyshots/**/stories/**',
'docs/src/new-components/lib/StoryLinkWrapper.js',
'docs/src/stories/**',
],
rules: {
'@typescript-eslint/no-empty-function': 'off',
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ integration/__image_snapshots__/__diff_output__
/examples/cra-kitchen-sink/src/__image_snapshots__/__diff_output__/
lib/*.jar
lib/**/dll
lib/core/prebuilt
/false
/addons/docs/common/config-*
built-storybooks
Expand All @@ -32,4 +31,5 @@ cypress/screenshots
examples/ember-cli/ember-output
.verdaccio-cache
tsconfig.tsbuildinfo
lib/core-server/prebuilt
examples/angular-cli/addon-jest.testresults.json
2 changes: 1 addition & 1 deletion __mocks__/fs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const fs = jest.genMockFromModule('fs');
const fs = jest.createMockFromModule('fs');

// This is a custom function that our tests can use during setup to specify
// what the files on the "mock" filesystem should look like when any of the
Expand Down
2 changes: 1 addition & 1 deletion addons/a11y/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@testing-library/react": "^10.4.9",
"@testing-library/react": "^11.2.2",
"@types/webpack-env": "^1.16.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion addons/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"fast-deep-equal": "^3.1.3",
"global": "^4.4.0",
"lodash": "^4.17.20",
"polished": "^3.6.7",
"polished": "^4.0.5",
"prop-types": "^15.7.2",
"react-inspector": "^5.1.0",
"regenerator-runtime": "^0.13.7",
Expand Down
14 changes: 7 additions & 7 deletions addons/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"acorn-walk": "^7.2.0",
"core-js": "^3.8.2",
"doctrine": "^3.0.0",
"escodegen": "^1.14.3",
"escodegen": "^2.0.0",
"fast-deep-equal": "^3.1.3",
"global": "^4.4.0",
"html-tags": "^3.1.0",
Expand All @@ -86,7 +86,7 @@
"prop-types": "^15.7.2",
"react-element-to-jsx-string": "^14.3.2",
"regenerator-runtime": "^0.13.7",
"remark-external-links": "^6.1.0",
"remark-external-links": "^8.0.0",
"remark-slug": "^6.0.0",
"ts-dedent": "^2.0.0",
"util-deprecate": "^1.0.2"
Expand All @@ -104,10 +104,10 @@
"@types/doctrine": "^0.0.3",
"@types/enzyme": "^3.10.8",
"@types/estree": "^0.0.44",
"@types/jest": "^25.2.3",
"@types/jest": "^26.0.16",
"@types/loader-utils": "^2.0.0",
"@types/prop-types": "^15.7.3",
"@types/tmp": "^0.1.0",
"@types/tmp": "^0.2.0",
"@types/util-deprecate": "^1.0.0",
"babel-loader": "^8.2.2",
"babel-plugin-react-docgen": "^4.2.1",
Expand All @@ -120,12 +120,12 @@
"require-from-string": "^2.0.2",
"rxjs": "^6.6.3",
"styled-components": "^5.2.1",
"terser-webpack-plugin": "^3.1.0",
"terser-webpack-plugin": "^5.0.3",
"tmp": "^0.2.1",
"tslib": "^2.1.0",
"vue": "^2.6.10",
"web-component-analyzer": "^1.1.6",
"webpack": "^4.46.0",
"webpack": "4",
"zone.js": "^0.11.3"
},
"peerDependencies": {
Expand All @@ -139,7 +139,7 @@
"svelte": "^3.31.2",
"sveltedoc-parser": "^3.0.4",
"vue": "^2.6.10 || ^3.0.0",
"webpack": ">=4"
"webpack": "*"
},
"peerDependenciesMeta": {
"@storybook/angular": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ describe('angular component properties', () => {
const testDir = path.join(fixturesDir, testEntry.name);
const testFile = fs.readdirSync(testDir).find((fileName) => inputRegExp.test(fileName));
if (testFile) {
// eslint-disable-next-line jest/valid-title
it(testEntry.name, () => {
const inputPath = path.join(testDir, testFile);

Expand Down
2 changes: 1 addition & 1 deletion addons/docs/src/frameworks/common/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import remarkExternalLinks from 'remark-external-links';
import createCompiler from '../../mdx/mdx-compiler-plugin';

const resolvedBabelLoader = require.resolve('babel-loader', {
paths: [require.resolve('@storybook/core')],
paths: [require.resolve('@storybook/builder-webpack4')], // FIXME!!!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

});

// for frameworks that are not working with react, we need to configure
Expand Down
1 change: 1 addition & 0 deletions addons/docs/src/frameworks/react/react-properties.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ describe('react component properties', () => {
const testDir = path.join(fixturesDir, testEntry.name);
const testFile = fs.readdirSync(testDir).find((fileName) => inputRegExp.test(fileName));
if (testFile) {
// eslint-disable-next-line jest/valid-title
it(testEntry.name, () => {
const inputPath = path.join(testDir, testFile);

Expand Down
6 changes: 3 additions & 3 deletions addons/docs/src/frameworks/svelte/preset.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import path from 'path';

import { Configuration } from 'webpack';
import type { StorybookOptions } from '@storybook/core/types';
import type { Options } from '@storybook/core-common';

export async function webpackFinal(webpackConfig: Configuration, options: StorybookOptions) {
const svelteOptions = await options.presets.apply('svelteOptions', {}, options);
export async function webpackFinal(webpackConfig: Configuration, options: Options) {
const svelteOptions = await options.presets.apply('svelteOptions', {} as any, options);

webpackConfig.module.rules.push({
test: /\.svelte$/,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,7 @@ export class DemoWcCard extends LitElement {
render() {
return html`
<div id="front" part="front">
<div class="header">
${this.header}
</div>
<div class="header">${this.header}</div>
<div class="content">
<slot></slot>
</div>
Expand All @@ -163,9 +161,7 @@ export class DemoWcCard extends LitElement {
</div>
</div>
<div id="back" part="back">
<div class="header">
${this.header}
</div>
<div class="header">${this.header}</div>

<div class="content">
${this.rows.length === 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('web-components component properties', () => {
const testDir = path.join(fixturesDir, testEntry.name);
const testFile = fs.readdirSync(testDir).find((fileName) => inputRegExp.test(fileName));
if (testFile) {
// eslint-disable-next-line jest/valid-title
it(testEntry.name, () => {
const inputPath = path.join(testDir, testFile);

Expand Down
1 change: 1 addition & 0 deletions addons/docs/src/mdx/mdx-compiler-plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ describe('docs-mdx-compiler-plugin', () => {
.filter((fileName) => inputRegExp.test(fileName))
.filter((fileName) => fileName !== 'story-missing-props.mdx')
.forEach((fixtureFile) => {
// eslint-disable-next-line jest/valid-title
it(fixtureFile, async () => {
const inputPath = path.join(transformFixturesDir, fixtureFile);
const code = await generate(inputPath);
Expand Down
4 changes: 2 additions & 2 deletions addons/essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"devDependencies": {
"@babel/core": "^7.12.10",
"@storybook/vue": "6.2.0-alpha.29",
"@types/jest": "^25.2.3",
"@types/jest": "^26.0.16",
"@types/webpack-env": "^1.16.0"
},
"peerDependencies": {
Expand All @@ -60,7 +60,7 @@
"babel-loader": "^8.0.0",
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0",
"webpack": ">=4"
"webpack": "*"
},
"peerDependenciesMeta": {
"@storybook/vue": {
Expand Down
3 changes: 1 addition & 2 deletions addons/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,14 @@
"@babel/plugin-transform-classes": "^7.12.1",
"@storybook/addons": "6.2.0-alpha.29",
"@storybook/api": "6.2.0-alpha.29",
"@types/webpack": "^4.41.26",
"babel-loader": "^8.2.2",
"core-js": "^3.8.2",
"global": "^4.4.0",
"graphiql": "^0.17.5",
"graphql": "^15.4.0",
"prop-types": "^15.7.2",
"regenerator-runtime": "^0.13.7",
"webpack": "^4.46.0"
"webpack": "4"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
Expand Down
2 changes: 1 addition & 1 deletion addons/graphql/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"types": ["webpack-env"]
"types": ["webpack-env", "node"]
},
"include": [
"src/**/*"
Expand Down
2 changes: 1 addition & 1 deletion addons/knobs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"devDependencies": {
"@types/enzyme": "^3.10.8",
"@types/escape-html": "0.0.20",
"@types/escape-html": "1.0.0",
"@types/react-color": "^3.0.4",
"@types/react-lifecycles-compat": "^3.0.1",
"@types/react-select": "^3.1.2",
Expand Down
7 changes: 3 additions & 4 deletions addons/links/src/react/components/RoutedLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ const LEFT_BUTTON = 0;
const isPlainLeftClick = (e: React.MouseEvent) =>
e.button === LEFT_BUTTON && !e.altKey && !e.ctrlKey && !e.metaKey && !e.shiftKey;

const RoutedLink: React.FC<React.DetailedHTMLProps<
React.AnchorHTMLAttributes<HTMLAnchorElement>,
HTMLAnchorElement
>> = ({ href = '#', children, onClick, className, style }) => {
const RoutedLink: React.FC<
React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>
> = ({ href = '#', children, onClick, className, style }) => {
const handleClick = (e: React.MouseEvent<HTMLAnchorElement>) => {
if (isPlainLeftClick(e)) {
e.preventDefault();
Expand Down
7 changes: 3 additions & 4 deletions addons/storyshots/storyshots-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@
"@storybook/addons": "6.2.0-alpha.29",
"@storybook/client-api": "6.2.0-alpha.29",
"@storybook/core": "6.2.0-alpha.29",
"@storybook/core-common": "6.2.0-alpha.29",
"@types/glob": "^7.1.3",
"@types/jest": "^25.2.3",
"@types/jest": "^26.0.16",
"@types/jest-specific-snapshot": "^0.5.3",
"babel-plugin-require-context-hook": "^1.0.0",
"core-js": "^3.8.2",
Expand All @@ -64,6 +65,7 @@
"@storybook/addon-docs": "6.2.0-alpha.29",
"@storybook/angular": "6.2.0-alpha.29",
"@storybook/react": "6.2.0-alpha.29",
"@storybook/vue": "6.2.0-alpha.29",
"@storybook/vue3": "6.2.0-alpha.29",
"babel-loader": "^8.2.2",
"enzyme": "^3.11.0",
Expand Down Expand Up @@ -123,9 +125,6 @@
},
"vue": {
"optional": true
},
"vue-jest": {
"optional": true
ndelangen marked this conversation as resolved.
Show resolved Hide resolved
}
},
"publishConfig": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable jest/valid-title */
/* eslint-disable jest/no-export */
/* eslint-disable jest/expect-expect */
import { describe, it } from 'global';
Expand All @@ -11,7 +12,7 @@ function snapshotTest({ item, asyncJest, framework, testMethod, testMethodParams
it(
name,
() =>
new Promise((resolve, reject) =>
new Promise<void>((resolve, reject) =>
testMethod({
done: (error: any) => (error ? reject(error) : resolve()),
story: item,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'fs';
import path from 'path';
import { toRequireContext } from '@storybook/core/server';
import { toRequireContext } from '@storybook/core-common';
import registerRequireContextHook from 'babel-plugin-require-context-hook/register';
import global from 'global';
import { ArgTypesEnhancer, DecoratorFunction } from '@storybook/client-api';
Expand Down
1 change: 0 additions & 1 deletion addons/storyshots/storyshots-core/src/typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ declare module 'jest-preset-angular/*';
declare module 'preact-render-to-json';
declare module 'react-test-renderer*';
declare module 'rax-test-renderer*';
declare module '@storybook/core/server';
declare module 'babel-plugin-require-context-hook/register';
4 changes: 2 additions & 2 deletions addons/storyshots/storyshots-puppeteer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@
"dependencies": {
"@storybook/csf": "0.0.1",
"@storybook/node-logger": "6.2.0-alpha.29",
"@types/jest-image-snapshot": "^2.12.2",
"@types/jest-image-snapshot": "^4.1.3",
"@wordpress/jest-puppeteer-axe": "^1.10.0",
"core-js": "^3.8.2",
"jest-image-snapshot": "^4.3.0",
"regenerator-runtime": "^0.13.7"
},
"devDependencies": {
"@storybook/csf": "0.0.1",
"@types/puppeteer": "^2.1.5"
"@types/puppeteer": "^5.4.0"
},
"peerDependencies": {
"@storybook/addon-storyshots": "6.2.0-alpha.29",
Expand Down
2 changes: 1 addition & 1 deletion addons/storysource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@storybook/source-loader": "6.2.0-alpha.29",
"@storybook/theming": "6.2.0-alpha.29",
"core-js": "^3.8.2",
"estraverse": "^4.3.0",
"estraverse": "^5.2.0",
"loader-utils": "^2.0.0",
"prettier": "~2.2.1",
"prop-types": "^15.7.2",
Expand Down
9 changes: 5 additions & 4 deletions app/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"@storybook/addons": "6.2.0-alpha.29",
"@storybook/api": "6.2.0-alpha.29",
"@storybook/core": "6.2.0-alpha.29",
"@storybook/core-common": "6.2.0-alpha.29",
"@storybook/node-logger": "6.2.0-alpha.29",
"@types/webpack-env": "^1.16.0",
"autoprefixer": "^9.8.6",
Expand All @@ -57,13 +58,13 @@
"react-dom": "16.14.0",
"read-pkg-up": "^7.0.1",
"regenerator-runtime": "^0.13.7",
"sass-loader": "^8.0.2",
"sass-loader": "^10.1.0",
"strip-json-comments": "3.1.1",
"ts-dedent": "^2.0.0",
"ts-loader": "^6.2.2",
"ts-loader": "^8.0.14",
"tsconfig-paths-webpack-plugin": "^3.3.0",
"util-deprecate": "^1.0.2",
"webpack": "^4.46.0"
"webpack": "4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1102.0",
Expand All @@ -78,7 +79,7 @@
"@angular/platform-browser-dynamic": "^11.2.0",
"@nrwl/workspace": "^11.1.5",
"@types/autoprefixer": "^9.7.2",
"@types/jest": "^25.2.3",
"@types/jest": "^26.0.16",
"@webcomponents/custom-elements": "^1.4.3",
"jest": "^26.6.3",
"jest-preset-angular": "^8.3.2",
Expand Down
Loading