mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-11 17:55:51 +00:00
no more in use
This commit is contained in:
parent
7d0130718b
commit
c1e8ff6180
@ -1,29 +0,0 @@
|
||||
const fs = require('fs')
|
||||
|
||||
const uiPackageFilePath = 'package.json';
|
||||
const uiPackageFile = fs.readFileSync(uiPackageFilePath, 'utf8');
|
||||
const uiPackage = JSON.parse(uiPackageFile);
|
||||
|
||||
const corePackageFilePath = './qortal-ui-core/package.json';
|
||||
const corePackageFile = fs.readFileSync(corePackageFilePath, 'utf8');
|
||||
const corePackage = JSON.parse(corePackageFile);
|
||||
|
||||
const cryptoPackageFilePath = './qortal-ui-crypto/package.json';
|
||||
const cryptoPackageFile = fs.readFileSync(cryptoPackageFilePath, 'utf8');
|
||||
const cryptoPackage = JSON.parse(cryptoPackageFile);
|
||||
|
||||
const pluginsPackageFilePath = './qortal-ui-plugins/package.json';
|
||||
const pluginsPackageFile = fs.readFileSync(pluginsPackageFilePath, 'utf8');
|
||||
const pluginsPackage = JSON.parse(pluginsPackageFile);
|
||||
|
||||
uiPackage.dependencies = {
|
||||
...uiPackage.dependencies,
|
||||
"qortal-ui-core": corePackage.version,
|
||||
"qortal-ui-crypto": cryptoPackage.version,
|
||||
"qortal-ui-plugins": pluginsPackage.version
|
||||
}
|
||||
|
||||
console.log(uiPackage.dependencies);
|
||||
|
||||
fs.writeFileSync(uiPackageFilePath, JSON.stringify(uiPackage, null, 2));
|
||||
console.log('Package.Json updated');
|
Loading…
x
Reference in New Issue
Block a user