Update package dependencies and versions

This commit is contained in:
Simon Larsen 2024-03-15 15:43:31 +00:00
parent a7b14ea18a
commit d767d58dde
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
3 changed files with 17 additions and 15 deletions

View File

@ -1,13 +1,13 @@
{
"name": "@oneuptime/infrastructure-agent",
"version": "1.0.1",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@oneuptime/infrastructure-agent",
"version": "1.0.1",
"license": "ISC",
"version": "1.0.0",
"license": "Apache-2.0",
"dependencies": {
"Common": "file:../Common",
"CommonServer": "file:../CommonServer",
@ -24,14 +24,15 @@
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^17.0.31",
"@types/yargs": "^17.0.32",
"jest": "^28.1.0",
"nodemon": "^2.0.20"
}
},
"../Common": {
"name": "common",
"name": "@oneuptime/common",
"version": "1.0.0",
"license": "MIT",
"license": "Apache-2.0",
"dependencies": {
"@types/crypto-js": "^4.2.2",
"@types/uuid": "^8.3.4",
@ -40,7 +41,7 @@
"json5": "^2.2.3",
"moment": "^2.30.1",
"moment-timezone": "^0.5.45",
"posthog-js": "^1.105.8",
"posthog-js": "^1.108.0",
"reflect-metadata": "^0.2.1",
"slugify": "^1.6.5",
"typeorm": "^0.3.20",
@ -55,9 +56,9 @@
}
},
"../CommonServer": {
"name": "common-server",
"name": "@oneuptime/common-server",
"version": "1.0.0",
"license": "MIT",
"license": "Apache-2.0",
"dependencies": {
"@clickhouse/client": "^0.2.10",
"@elastic/elasticsearch": "^8.12.1",
@ -118,9 +119,9 @@
}
},
"../Model": {
"name": "model",
"name": "@oneuptime/model",
"version": "1.0.0",
"license": "ISC",
"license": "Apache-2.0",
"dependencies": {
"Common": "file:../Common",
"typeorm": "^0.3.20"

View File

@ -32,6 +32,7 @@
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^17.0.31",
"@types/yargs": "^17.0.32",
"jest": "^28.1.0",
"nodemon": "^2.0.20"
}

View File

@ -27,16 +27,16 @@ publish_to_npm() {
npm version $package_version
# Before npm install, replace "Common": "file:../Common" with "@oneuptime/common": "$package_version" in package.json
sed -i "s/\"Common\": \"file:..\/Common\"/\"@oneuptime\/common\": \"$package_version\"/g" package.json
sed -i "s/\"Common\": \"file:..\/Common\"/\"Common\": \"npm:@oneuptime\/common@$package_version\"/g" package.json
# Before npm install, replace "CommonServer": "file:../CommonServer" with "@oneuptime/common-server": "$package_version" in package.json
sed -i "s/\"CommonServer\": \"file:..\/CommonServer\"/\"@oneuptime\/common-server\": \"$package_version\"/g" package.json
sed -i "s/\"CommonServer\": \"file:..\/CommonServer\"/\"CommonServer\": \"npm:@oneuptime\/common-server@$package_version\"/g" package.json
# Before npm install, replace "Model": "file:../Model" with "@oneuptime/model": "$package_version" in package.json
sed -i "s/\"Model\": \"file:..\/Model\"/\"@oneuptime\/model\": \"$package_version\"/g" package.json
sed -i "s/\"Model\": \"file:..\/Model\"/\"Model\": \"npm:@oneuptime\/model@$package_version\"/g" package.json
# Before npm install, replace "CommonUI": "file:../CommonUI" with "@oneuptime/common-ui": "$package_version" in package.json
sed -i "s/\"CommonUI\": \"file:..\/CommonUI\"/\"@oneuptime\/common-ui\": \"$package_version\"/g" package.json
sed -i "s/\"CommonUI\": \"file:..\/CommonUI\"/\"CommonUI\": \"npm:@oneuptime\/common-ui@$package_version\"/g" package.json
npm install