couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [5/5] fauxton commit: updated refs/heads/master to 5be2610
Date Tue, 28 Jun 2016 14:46:14 GMT
move first codemod to codemods folder

PR: #734
PR-URL: https://github.com/apache/couchdb-fauxton/pull/734
Reviewed-By: garren smith <garren.smith@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/5be26108
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/5be26108
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/5be26108

Branch: refs/heads/master
Commit: 5be261085761c5f1d0510f2d28117775ea3e0da2
Parents: d70343d
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Mon Jun 27 17:07:21 2016 +0200
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Tue Jun 28 16:46:01 2016 +0200

----------------------------------------------------------------------
 codemods/amd-to-es6-import.md | 9 +++++++++
 import.md                     | 9 ---------
 2 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/5be26108/codemods/amd-to-es6-import.md
----------------------------------------------------------------------
diff --git a/codemods/amd-to-es6-import.md b/codemods/amd-to-es6-import.md
new file mode 100644
index 0000000..5cb447e
--- /dev/null
+++ b/codemods/amd-to-es6-import.md
@@ -0,0 +1,9 @@
+#From `define` to `import`
+
+To run the ast to change a file from using amd to es6 import follow these steps:
+
+* npm i -g jscodeshift
+* npm install 5to6-codemod
+* Replace `./node_modules/5to6-codemod/transforms/amd.js` with https://gist.github.com/robertkowalski/9167d45c0af6b9abdd4b51a09ef4e039
+* run `jscodeshift --extensions=js,jsx -t node_modules/5to6-codemod/transforms/amd.js app/file/name`
+* run git diff to check

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/5be26108/import.md
----------------------------------------------------------------------
diff --git a/import.md b/import.md
deleted file mode 100644
index 5cb447e..0000000
--- a/import.md
+++ /dev/null
@@ -1,9 +0,0 @@
-#From `define` to `import`
-
-To run the ast to change a file from using amd to es6 import follow these steps:
-
-* npm i -g jscodeshift
-* npm install 5to6-codemod
-* Replace `./node_modules/5to6-codemod/transforms/amd.js` with https://gist.github.com/robertkowalski/9167d45c0af6b9abdd4b51a09ef4e039
-* run `jscodeshift --extensions=js,jsx -t node_modules/5to6-codemod/transforms/amd.js app/file/name`
-* run git diff to check


Mime
View raw message