mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 07:35:05 -04:00
Bumped minimum node version.
This commit is contained in:
parent
caf5bd3f83
commit
46b6650528
3 changed files with 6 additions and 11 deletions
|
@ -152,15 +152,9 @@ try {
|
|||
writeJson('./src/package.json', pkg);
|
||||
|
||||
// run npm version `release` where release is patch, minor or major
|
||||
run('npm install --package-lock-only', {cwd: 'src/'});
|
||||
run('pnpm install', {cwd: 'src/'});
|
||||
// run npm install --package-lock-only <-- required???
|
||||
|
||||
// Many users will be using the latest LTS version of npm, and the latest LTS version of npm uses
|
||||
// lockfileVersion 1. Enforce v1 so that users don't see a (benign) compatibility warning.
|
||||
const pkglock = readJson('./src/package-lock.json');
|
||||
pkglock.lockfileVersion = 1;
|
||||
writeJson('./src/package-lock.json', pkglock);
|
||||
|
||||
run('git add src/package.json');
|
||||
run('git add src/package-lock.json');
|
||||
run('git commit -m "bump version"');
|
||||
|
@ -201,7 +195,7 @@ try {
|
|||
run('git pull --ff-only', {cwd: '../ether.github.com/'});
|
||||
console.log('Committing documentation...');
|
||||
run(`cp -R out/doc/ ../ether.github.com/public/doc/v'${newVersion}'`);
|
||||
run(`npm version ${newVersion}`, {cwd: '../ether.github.com'});
|
||||
run(`pnpm version ${newVersion}`, {cwd: '../ether.github.com'});
|
||||
run('git add .', {cwd: '../ether.github.com/'});
|
||||
run(`git commit -m '${newVersion} docs'`, {cwd: '../ether.github.com/'});
|
||||
} catch (err:any) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue