Last active
June 29, 2022 14:32
-
-
Save mkczarkowski/e26358ce2c36ec4cc1ed730d677e23b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var fs = require('fs') | |
let appPath = process.cwd() | |
const execSync = require('child_process').execSync | |
let installedEslintConfig; | |
execSync(`npm uninstall @sr/spl-angular`) | |
execSync(`git add .`) | |
execSync(`git commit -m "chore: temporarly remove SR deps peer-dependent on angular"`) | |
execSync(`ng update @angular/core@14 @angular/cli@14`) | |
execSync(`npm install @sr/spl-angular@2`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "update-to-angular13", | |
"version": "1.0.3", | |
"bin": "./index.js" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment