()
| 1 | 'use strict'; |
| 2 | |
| 3 | function usage() { |
| 4 | console.log(`This script updates the dependencies / devDependencies in the main addon and app blueprints along with their corresponding test fixtures. |
| 5 | |
| 6 | Options: |
| 7 | |
| 8 | - '--ember-source' (required) - The dist-tag to use for ember-source |
| 9 | - '--ember-data' (required) - The dist-tag to use for ember-data |
| 10 | - '--filter' (optional) - A RegExp to filter the packages to update by |
| 11 | - '--latest' (optional) - Always use the latest version available for a package (includes major bumps, 'false' by default) |
| 12 | |
| 13 | Example: |
| 14 | |
| 15 | node dev/update-blueprint-dependencies.js --ember-source=beta --ember-data=beta |
| 16 | |
| 17 | node dev/update-blueprint-dependencies.js --filter /eslint/ |
| 18 | |
| 19 | node dev/update-blueprint-dependencies.js --filter some-package@beta |
| 20 | `); |
| 21 | } |
| 22 | |
| 23 | const fs = require('fs'); |
| 24 | const path = require('path'); |
no outgoing calls
no test coverage detected
searching dependent graphs…