Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kasinskas committed Jun 17, 2024
1 parent d27cbeb commit ee23220
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions buildHooks/src/comparePluginTemplates.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
import { promises as fsPromises } from 'fs';
import inquirer from 'inquirer';
import { diff, diffString } from 'json-diff';

// this is a very simple utility script to compare pluginTemplates and transfer changes between them
// npx rnv hooks run -x comparePluginTemplates <path-to-original-file> <path-to-newer-file>
// you will see the diff and get several options to pick from:
// overwrite - overwrites just the current plugin
// overwrite version only
// overwrite all
// skip

// todo
// check against latest npm version instead of other file

Expand Down

0 comments on commit ee23220

Please sign in to comment.