Skip to content

Commit

Permalink
Merge pull request #12653 from storybookjs/tech/clean-deps
Browse files Browse the repository at this point in the history
Misc: Clean usage and place in the monorepo of some dependencies
  • Loading branch information
shilman committed Oct 3, 2020
2 parents 4dc4cd0 + d3004e4 commit 950c503
Show file tree
Hide file tree
Showing 7 changed files with 197 additions and 238 deletions.
16 changes: 15 additions & 1 deletion addons/storyshots/storyshots-core/package.json
Expand Up @@ -58,7 +58,21 @@
"babel-loader": "^8.0.6",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.4.1",
"jest-emotion": "^10.0.17"
"jest-emotion": "^10.0.17",
"jest-preset-angular": "^8.2.0",
"jest-vue-preprocessor": "^1.5.0"
},
"peerDependencies": {
"jest-preset-angular": "*",
"jest-vue-preprocessor": "*"
},
"peerDependenciesMeta": {
"jest-preset-angular": {
"optional": true
},
"jest-vue-preprocessor": {
"optional": true
}
},
"publishConfig": {
"access": "public"
Expand Down
@@ -1,6 +1,4 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import AngularSnapshotSerializer from 'jest-preset-angular/build/AngularSnapshotSerializer';
// eslint-disable-next-line import/no-extraneous-dependencies
import HTMLCommentSerializer from 'jest-preset-angular/build/HTMLCommentSerializer';
// eslint-disable-next-line import/no-extraneous-dependencies
import { TestBed } from '@angular/core/testing';
Expand Down
8 changes: 8 additions & 0 deletions app/angular/package.json
Expand Up @@ -52,6 +52,14 @@
"webpack": "^4.43.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.901.0",
"@angular-devkit/core": "^9.1.0",
"@angular/common": "^9.1.0",
"@angular/compiler": "^9.1.0",
"@angular/core": "^9.1.0",
"@angular/forms": "^9.1.0",
"@angular/platform-browser": "^9.1.0",
"@angular/platform-browser-dynamic": "^9.1.0",
"@types/autoprefixer": "^9.4.0"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion app/aurelia/package.json
Expand Up @@ -40,6 +40,7 @@
"devDependencies": {
"@types/node": "^14.0.10",
"@types/webpack-env": "^1.15.1",
"aurelia": "^0.7.0",
"css-loader": "^3.0.0",
"file-loader": "^4.2.0",
"html-webpack-plugin": "^3.0.0",
Expand All @@ -52,7 +53,7 @@
"webpack": "^4.33.0"
},
"peerDependencies": {
"aurelia": "dev"
"aurelia": "*"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions examples/aurelia-kitchen-sink/package.json
Expand Up @@ -16,12 +16,12 @@
"storybook": "start-storybook -p 9009 -s dist"
},
"dependencies": {
"aurelia": "dev",
"aurelia": "^0.7.0",
"bootstrap": "^4.3.1",
"promise-polyfill": "^8.1.3"
},
"devDependencies": {
"@aurelia/webpack-loader": "dev",
"@aurelia/webpack-loader": "^0.7.0",
"@storybook/addon-a11y": "6.1.0-alpha.18",
"@storybook/addon-actions": "6.1.0-alpha.18",
"@storybook/addon-backgrounds": "6.1.0-alpha.18",
Expand Down
13 changes: 4 additions & 9 deletions package.json
Expand Up @@ -94,12 +94,6 @@
"serialize-javascript": "^3.0.0"
},
"devDependencies": {
"@angular/common": "^9.1.0",
"@angular/compiler": "^9.1.0",
"@angular/core": "^9.1.0",
"@angular/forms": "^9.1.0",
"@angular/platform-browser": "^9.1.0",
"@angular/platform-browser-dynamic": "^9.1.0",
"@babel/cli": "^7.11.5",
"@babel/core": "^7.11.5",
"@babel/plugin-proposal-class-properties": "^7.10.4",
Expand All @@ -123,6 +117,7 @@
"@types/enzyme": "^3.10.3",
"@types/escodegen": "^0.0.6",
"@types/express": "^4.17.6",
"@types/fs-extra": "^9.0.1",
"@types/jest": "^25.1.1",
"@types/js-yaml": "^3.12.4",
"@types/lodash": "^4.14.150",
Expand All @@ -146,7 +141,6 @@
"chalk": "^4.0.0",
"chromatic": "^5.0.0",
"codecov": "^3.5.0",
"codelyzer": "^5.0.0",
"commander": "^5.1.0",
"concurrently": "^5.2.0",
"core-js": "^3.0.1",
Expand Down Expand Up @@ -181,11 +175,9 @@
"jest-image-snapshot": "^4.0.2",
"jest-jasmine2": "^26.0.0",
"jest-matcher-utils": "^26.0.0",
"jest-preset-angular": "^8.2.0",
"jest-raw-loader": "^1.0.1",
"jest-serializer-html": "^7.0.0",
"jest-teamcity": "^1.7.0",
"jest-vue-preprocessor": "^1.5.0",
"jest-watch-typeahead": "^0.5.0",
"js-yaml": "^3.13.1",
"lerna": "^3.19.0",
Expand All @@ -204,6 +196,7 @@
"react-test-renderer": "^16.8.3",
"recursive-copy": "^2.0.10",
"regenerator-runtime": "^0.13.3",
"remark": "^12.0.0",
"remark-cli": "^8.0.0",
"remark-lint": "^7.0.0",
"remark-preset-lint-recommended": "^4.0.0",
Expand All @@ -221,12 +214,14 @@
"ts-node": "^8.10.2",
"typescript": "^3.9.3",
"wait-on": "^4.0.0",
"webpack": "^4.43.0",
"window-size": "^1.1.1"
},
"optionalDependencies": {
"@cypress/webpack-preprocessor": "^5.1.2",
"cypress": "4.7.0",
"puppeteer": "^2.0.0",
"ts-loader": "^8.0.4",
"verdaccio": "^4.5.1",
"verdaccio-auth-memory": "^9.4.0"
},
Expand Down

0 comments on commit 950c503

Please sign in to comment.