-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9506fb9
commit f43cab8
Showing
7 changed files
with
169 additions
and
184 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import fs from 'node:fs' | ||
import { execVoidCommandSync } from '@naturalcycles/nodejs-lib' | ||
import { exec2 } from '@naturalcycles/nodejs-lib' | ||
|
||
export function up(): void { | ||
execVoidCommandSync('yarn', ['upgrade']) | ||
execVoidCommandSync('yarn-deduplicate') | ||
execVoidCommandSync('yarn') | ||
exec2.spawn('yarn upgrade') | ||
exec2.spawn('yarn-deduplicate') | ||
exec2.spawn('yarn') | ||
|
||
if (fs.existsSync(`node_modules/patch-package`)) { | ||
execVoidCommandSync('patch-package') | ||
exec2.spawn('patch-package') | ||
} | ||
} | ||
|
||
export function upnc(): void { | ||
execVoidCommandSync('yarn', ['upgrade', '--pattern', `@naturalcycles`]) | ||
execVoidCommandSync('yarn-deduplicate') | ||
execVoidCommandSync('yarn') | ||
exec2.spawn('yarn upgrade --pattern @naturalcycles') | ||
exec2.spawn('yarn-deduplicate') | ||
exec2.spawn('yarn') | ||
} |
Oops, something went wrong.