Skip to content

Commit

Permalink
Merge pull request #9140 from storybookjs/original-jscodeshift
Browse files Browse the repository at this point in the history
Move back to original jscodeshift package
  • Loading branch information
Hypnosphi authored Dec 12, 2019
2 parents 8e478fb + 3781355 commit 76e8aa1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/codemod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@hypnosphi/jscodeshift": "^0.6.4",
"@mdx-js/mdx": "^1.5.1",
"@storybook/csf": "0.0.1",
"@storybook/node-logger": "5.3.0-beta.21",
"core-js": "^3.0.1",
"cross-spawn": "^7.0.0",
"globby": "^10.0.1",
"jest-specific-snapshot": "^2.0.0",
"jscodeshift": "^0.7.0",
"lodash": "^4.17.15",
"prettier": "^1.16.4",
"recast": "^0.16.1",
Expand Down
3 changes: 1 addition & 2 deletions lib/codemod/src/transforms/__tests__/transforms.tests.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import path from 'path';
import fs from 'fs';
import 'jest-specific-snapshot';
// TODO move back to original 'jscodeshift' package as soon as https://github.com/facebook/jscodeshift/pull/297 is released
import { applyTransform } from '@hypnosphi/jscodeshift/dist/testUtils';
import { applyTransform } from 'jscodeshift/dist/testUtils';

jest.mock('@storybook/node-logger');

Expand Down
24 changes: 24 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18165,6 +18165,30 @@ jscodeshift@^0.6.3:
temp "^0.8.1"
write-file-atomic "^2.3.0"

jscodeshift@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-0.7.0.tgz#4eee7506fd4fdacbd80340287d61575af991fdab"
integrity sha512-Kt6rpTa1HVhAWagD6J0y6qxxqRmDgkFvczerLgOsDNSGoUZSmq2CO1vFRcda9OV1BaZKSHCIh+VREPts5tB/Ig==
dependencies:
"@babel/core" "^7.1.6"
"@babel/parser" "^7.1.6"
"@babel/plugin-proposal-class-properties" "^7.1.0"
"@babel/plugin-proposal-object-rest-spread" "^7.0.0"
"@babel/preset-env" "^7.1.6"
"@babel/preset-flow" "^7.0.0"
"@babel/preset-typescript" "^7.1.0"
"@babel/register" "^7.0.0"
babel-core "^7.0.0-bridge.0"
colors "^1.1.2"
flow-parser "0.*"
graceful-fs "^4.1.11"
micromatch "^3.1.10"
neo-async "^2.5.0"
node-dir "^0.1.17"
recast "^0.18.1"
temp "^0.8.1"
write-file-atomic "^2.3.0"

jsdom@^11.5.1:
version "11.12.0"
resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-11.12.0.tgz#1a80d40ddd378a1de59656e9e6dc5a3ba8657bc8"
Expand Down

1 comment on commit 76e8aa1

@vercel
Copy link

@vercel vercel bot commented on 76e8aa1 Dec 12, 2019

Choose a reason for hiding this comment

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

Please sign in to comment.