File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import fs from 'fs' ;
2- import PACKAGE_JSON from '../package.json' assert { type : 'json ' } ;
2+ import PACKAGE_JSON from '../package.json' with { type : 'json' } ;
33const NEW_VERSION = PACKAGE_JSON . version ;
44
55const tag = `v${ NEW_VERSION } ` ;
Original file line number Diff line number Diff line change 1- import PACKAGE_JSON from '../package.json' assert { type : 'json ' } ;
1+ import PACKAGE_JSON from '../package.json' with { type : 'json' } ;
22
33const OLD_VERSION = PACKAGE_JSON . version ;
44const OLD_RELEASE_URL = `https://api.github.com/repos/internetarchive/bookreader/releases/tags/v${ OLD_VERSION } ` ;
Original file line number Diff line number Diff line change 11import fs from 'fs' ;
22import { execSync } from 'child_process' ;
3- import PACKAGE_JSON from '../package.json' assert { type : 'json ' } ;
3+ import PACKAGE_JSON from '../package.json' with { type : 'json' } ;
44const NEW_VERSION = PACKAGE_JSON . version ;
55
66async function main ( ) {
You can’t perform that action at this time.
0 commit comments