mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Largely based on the code @threepointone wrote for react-codemod. Co-Authored-By: Sunil Pai <[email protected]> Co-authored-by: Sunil Pai <[email protected]>
14 lines
424 B
JavaScript
14 lines
424 B
JavaScript
#!/usr/bin/env node
|
|
|
|
/**
|
|
* Copyright 2015-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
// Based on https://github.com/reactjs/react-codemod/blob/dd8671c9a470a2c342b221ec903c574cf31e9f57/bin/react-codemod.js
|
|
// next-codemod optional-name-of-transform optional/path/to/src [...options]
|
|
|
|
require('./cli').run()
|