Skip to content

Commit 8255eb2

Browse files
author
Daniel Del Core
committed
Adds new core package as replacement of jscodeshift
1 parent fcebebf commit 8255eb2

File tree

15 files changed

+35079
-2439
lines changed

15 files changed

+35079
-2439
lines changed

.changeset/chilly-panthers-sort.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@codeshift/core': patch
3+
---
4+
5+
Inital release of @codeshift/core which is a partial fork of JSCodeshift.

.changeset/hungry-waves-learn.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@codeshift/cli': patch
3+
'@codeshift/fetcher': patch
4+
'@codeshift/initializer': patch
5+
'@codeshift/test-utils': patch
6+
'@codeshift/types': patch
7+
'@codeshift/utils': patch
8+
'@codeshift/validator': patch
9+
---
10+
11+
Packages are now built with pareljs. Entrypoints have been updated to match

.changeset/pretty-bees-punch.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
'@codeshift/mod-atlaskit__avatar': minor
3+
'@codeshift/mod-atlaskit__breadcrumbs': minor
4+
'@codeshift/mod-atlaskit__button': minor
5+
'@codeshift/mod-atlaskit__calendar': minor
6+
'@codeshift/mod-atlaskit__checkbox': minor
7+
'@codeshift/mod-atlaskit__icon': minor
8+
'@codeshift/mod-atlaskit__menu': minor
9+
'@codeshift/mod-atlaskit__popper': minor
10+
'@codeshift/mod-atlaskit__popup': minor
11+
'@codeshift/mod-atlaskit__progress-indicator': minor
12+
'@codeshift/mod-atlaskit__range': minor
13+
'@codeshift/mod-atlaskit__section-message': minor
14+
'@codeshift/mod-atlaskit__side-navigation': minor
15+
'@codeshift/mod-atlaskit__spinner': minor
16+
'@codeshift/mod-atlaskit__tag': minor
17+
'@codeshift/mod-atlaskit__textarea': minor
18+
'@codeshift/mod-atlaskit__textfield': minor
19+
'@codeshift/mod-atlaskit__toggle': minor
20+
'@codeshift/mod-emotion__monorepo': minor
21+
'@codeshift/mod-javascript': minor
22+
'@codeshift/mod-memoize-one': minor
23+
'@codeshift/mod-react': minor
24+
---
25+
26+
Community codeshift packages are now built via parcel and managed via changesets

community/javascript/src/var-to-let/transform.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export default function transformer(
77
) {
88
const source = j(file.source);
99

10-
// remove all "use strict" statements
1110
source.find(j.VariableDeclaration, { kind: 'var' }).forEach(p => {
1211
const letStatement = j.variableDeclaration('let', p.value.declarations);
1312
letStatement.comments = p.value.comments;

0 commit comments

Comments
 (0)