mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 14:49:07 +00:00
refactor: Remove node_modules from the Common project
This commit is contained in:
parent
21047e77b1
commit
4e81ed92f2
79
Accounts/package-lock.json
generated
79
Accounts/package-lock.json
generated
@ -10,12 +10,10 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Common": "file:../Common",
|
"Common": "file:../Common",
|
||||||
"CommonServer": "file:../CommonServer",
|
"CommonServer": "file:../CommonServer",
|
||||||
"CommonUI": "file:../CommonUI",
|
|
||||||
"css-loader": "^6.11.0",
|
"css-loader": "^6.11.0",
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.4.5",
|
||||||
"express": "^4.19.2",
|
"express": "^4.19.2",
|
||||||
"file-loader": "^6.2.0",
|
"file-loader": "^6.2.0",
|
||||||
"Model": "file:../Model",
|
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-dom": "^18.3.1",
|
"react-dom": "^18.3.1",
|
||||||
"react-router-dom": "^6.23.1",
|
"react-router-dom": "^6.23.1",
|
||||||
@ -39,25 +37,81 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@babel/runtime": "^7.24.6",
|
||||||
|
"@monaco-editor/react": "^4.4.6",
|
||||||
|
"@nivo/core": "^0.87.0",
|
||||||
|
"@nivo/line": "^0.87.0",
|
||||||
|
"@opentelemetry/api": "^1.9.0",
|
||||||
|
"@opentelemetry/context-zone": "^1.25.0",
|
||||||
|
"@opentelemetry/exporter-trace-otlp-http": "^0.52.0",
|
||||||
|
"@opentelemetry/instrumentation": "^0.52.0",
|
||||||
|
"@opentelemetry/instrumentation-fetch": "^0.52.1",
|
||||||
|
"@opentelemetry/instrumentation-xml-http-request": "^0.52.1",
|
||||||
|
"@opentelemetry/resources": "^1.25.0",
|
||||||
|
"@opentelemetry/sdk-trace-web": "^1.23.0",
|
||||||
|
"@opentelemetry/semantic-conventions": "^1.25.0",
|
||||||
|
"@tippyjs/react": "^4.2.6",
|
||||||
"@types/crypto-js": "^4.2.2",
|
"@types/crypto-js": "^4.2.2",
|
||||||
|
"@types/qrcode": "^1.5.5",
|
||||||
|
"@types/react-highlight": "^0.12.8",
|
||||||
|
"@types/react-syntax-highlighter": "^15.5.13",
|
||||||
"@types/uuid": "^8.3.4",
|
"@types/uuid": "^8.3.4",
|
||||||
"axios": "^1.7.2",
|
"axios": "^1.7.2",
|
||||||
|
"Common": "file:../Common",
|
||||||
"crypto-js": "^4.1.1",
|
"crypto-js": "^4.1.1",
|
||||||
|
"formik": "^2.4.6",
|
||||||
|
"history": "^5.3.0",
|
||||||
"json5": "^2.2.3",
|
"json5": "^2.2.3",
|
||||||
|
"jwt-decode": "^4.0.0",
|
||||||
|
"lodash": "^4.17.21",
|
||||||
"moment": "^2.30.1",
|
"moment": "^2.30.1",
|
||||||
"moment-timezone": "^0.5.45",
|
"moment-timezone": "^0.5.45",
|
||||||
"posthog-js": "^1.139.6",
|
"posthog-js": "^1.139.6",
|
||||||
|
"prop-types": "^15.8.1",
|
||||||
|
"qrcode": "^1.5.3",
|
||||||
|
"react": "^18.3.1",
|
||||||
|
"react-beautiful-dnd": "^13.1.1",
|
||||||
|
"react-big-calendar": "^1.13.0",
|
||||||
|
"react-color": "^2.19.3",
|
||||||
|
"react-dom": "^18.3.1",
|
||||||
|
"react-dropzone": "^14.2.2",
|
||||||
|
"react-error-boundary": "^4.0.13",
|
||||||
|
"react-highlight": "^0.15.0",
|
||||||
|
"react-markdown": "^8.0.3",
|
||||||
|
"react-router-dom": "^6.24.1",
|
||||||
|
"react-select": "^5.4.0",
|
||||||
|
"react-spinners": "^0.14.1",
|
||||||
|
"react-syntax-highlighter": "^15.5.0",
|
||||||
|
"react-toggle": "^4.1.3",
|
||||||
|
"reactflow": "^11.11.4",
|
||||||
"reflect-metadata": "^0.2.2",
|
"reflect-metadata": "^0.2.2",
|
||||||
|
"remark-gfm": "^3.0.1",
|
||||||
"slugify": "^1.6.5",
|
"slugify": "^1.6.5",
|
||||||
|
"socket.io-client": "^4.7.5",
|
||||||
|
"tippy.js": "^6.3.7",
|
||||||
"typeorm": "^0.3.20",
|
"typeorm": "^0.3.20",
|
||||||
|
"universal-cookie": "^4.0.4",
|
||||||
|
"use-async-effect": "^2.2.6",
|
||||||
"uuid": "^8.3.2"
|
"uuid": "^8.3.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@faker-js/faker": "^8.0.2",
|
"@faker-js/faker": "^8.0.2",
|
||||||
"@types/jest": "^27.5.2",
|
"@testing-library/jest-dom": "^5.16.5",
|
||||||
"@types/node": "^17.0.22",
|
"@testing-library/react": "^13.3.0",
|
||||||
"jest": "^27.5.1",
|
"@testing-library/user-event": "^14.4.3",
|
||||||
"ts-jest": "^27.1.4"
|
"@types/jest": "^28.1.4",
|
||||||
|
"@types/lodash": "^4.14.202",
|
||||||
|
"@types/node": "^17.0.45",
|
||||||
|
"@types/react": "^18.2.38",
|
||||||
|
"@types/react-beautiful-dnd": "^13.1.2",
|
||||||
|
"@types/react-big-calendar": "^1.8.5",
|
||||||
|
"@types/react-color": "^3.0.6",
|
||||||
|
"@types/react-test-renderer": "^18.0.0",
|
||||||
|
"@types/react-toggle": "^4.0.3",
|
||||||
|
"jest": "^28.1.1",
|
||||||
|
"jest-environment-jsdom": "^29.7.0",
|
||||||
|
"react-test-renderer": "^18.2.0",
|
||||||
|
"ts-jest": "^28.0.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"../CommonServer": {
|
"../CommonServer": {
|
||||||
@ -83,7 +137,6 @@
|
|||||||
"airtable": "^0.12.2",
|
"airtable": "^0.12.2",
|
||||||
"bullmq": "^5.3.3",
|
"bullmq": "^5.3.3",
|
||||||
"Common": "file:../Common",
|
"Common": "file:../Common",
|
||||||
"CommonProject": "file:../CommonProject",
|
|
||||||
"cookie-parser": "^1.4.6",
|
"cookie-parser": "^1.4.6",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"cron-parser": "^4.8.1",
|
"cron-parser": "^4.8.1",
|
||||||
@ -95,9 +148,9 @@
|
|||||||
"json2csv": "^5.0.7",
|
"json2csv": "^5.0.7",
|
||||||
"jsonwebtoken": "^9.0.0",
|
"jsonwebtoken": "^9.0.0",
|
||||||
"marked": "^12.0.2",
|
"marked": "^12.0.2",
|
||||||
"Model": "file:../Model",
|
|
||||||
"node-cron": "^3.0.3",
|
"node-cron": "^3.0.3",
|
||||||
"nodemailer": "^6.9.10",
|
"nodemailer": "^6.9.10",
|
||||||
|
"otpauth": "^9.3.1",
|
||||||
"pg": "^8.7.3",
|
"pg": "^8.7.3",
|
||||||
"redis-semaphore": "^5.5.1",
|
"redis-semaphore": "^5.5.1",
|
||||||
"socket.io": "^4.7.4",
|
"socket.io": "^4.7.4",
|
||||||
@ -126,6 +179,7 @@
|
|||||||
"../CommonUI": {
|
"../CommonUI": {
|
||||||
"name": "@oneuptime/common-ui",
|
"name": "@oneuptime/common-ui",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
|
"extraneous": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.24.6",
|
"@babel/runtime": "^7.24.6",
|
||||||
@ -197,6 +251,7 @@
|
|||||||
"../Model": {
|
"../Model": {
|
||||||
"name": "@oneuptime/model",
|
"name": "@oneuptime/model",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
|
"extraneous": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Common": "file:../Common",
|
"Common": "file:../Common",
|
||||||
@ -905,10 +960,6 @@
|
|||||||
"resolved": "../CommonServer",
|
"resolved": "../CommonServer",
|
||||||
"link": true
|
"link": true
|
||||||
},
|
},
|
||||||
"node_modules/CommonUI": {
|
|
||||||
"resolved": "../CommonUI",
|
|
||||||
"link": true
|
|
||||||
},
|
|
||||||
"node_modules/concat-map": {
|
"node_modules/concat-map": {
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
||||||
@ -1749,10 +1800,6 @@
|
|||||||
"node": "*"
|
"node": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/Model": {
|
|
||||||
"resolved": "../Model",
|
|
||||||
"link": true
|
|
||||||
},
|
|
||||||
"node_modules/ms": {
|
"node_modules/ms": {
|
||||||
"version": "2.1.3",
|
"version": "2.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
||||||
|
79
AdminDashboard/package-lock.json
generated
79
AdminDashboard/package-lock.json
generated
@ -10,10 +10,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Common": "file:../Common",
|
"Common": "file:../Common",
|
||||||
"CommonServer": "file:../CommonServer",
|
"CommonServer": "file:../CommonServer",
|
||||||
"CommonUI": "file:../CommonUI",
|
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.4.5",
|
||||||
"file-loader": "^6.2.0",
|
"file-loader": "^6.2.0",
|
||||||
"Model": "file:../Model",
|
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-dom": "^18.3.1",
|
"react-dom": "^18.3.1",
|
||||||
"react-router-dom": "^6.23.1",
|
"react-router-dom": "^6.23.1",
|
||||||
@ -39,25 +37,81 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@babel/runtime": "^7.24.6",
|
||||||
|
"@monaco-editor/react": "^4.4.6",
|
||||||
|
"@nivo/core": "^0.87.0",
|
||||||
|
"@nivo/line": "^0.87.0",
|
||||||
|
"@opentelemetry/api": "^1.9.0",
|
||||||
|
"@opentelemetry/context-zone": "^1.25.0",
|
||||||
|
"@opentelemetry/exporter-trace-otlp-http": "^0.52.0",
|
||||||
|
"@opentelemetry/instrumentation": "^0.52.0",
|
||||||
|
"@opentelemetry/instrumentation-fetch": "^0.52.1",
|
||||||
|
"@opentelemetry/instrumentation-xml-http-request": "^0.52.1",
|
||||||
|
"@opentelemetry/resources": "^1.25.0",
|
||||||
|
"@opentelemetry/sdk-trace-web": "^1.23.0",
|
||||||
|
"@opentelemetry/semantic-conventions": "^1.25.0",
|
||||||
|
"@tippyjs/react": "^4.2.6",
|
||||||
"@types/crypto-js": "^4.2.2",
|
"@types/crypto-js": "^4.2.2",
|
||||||
|
"@types/qrcode": "^1.5.5",
|
||||||
|
"@types/react-highlight": "^0.12.8",
|
||||||
|
"@types/react-syntax-highlighter": "^15.5.13",
|
||||||
"@types/uuid": "^8.3.4",
|
"@types/uuid": "^8.3.4",
|
||||||
"axios": "^1.7.2",
|
"axios": "^1.7.2",
|
||||||
|
"Common": "file:../Common",
|
||||||
"crypto-js": "^4.1.1",
|
"crypto-js": "^4.1.1",
|
||||||
|
"formik": "^2.4.6",
|
||||||
|
"history": "^5.3.0",
|
||||||
"json5": "^2.2.3",
|
"json5": "^2.2.3",
|
||||||
|
"jwt-decode": "^4.0.0",
|
||||||
|
"lodash": "^4.17.21",
|
||||||
"moment": "^2.30.1",
|
"moment": "^2.30.1",
|
||||||
"moment-timezone": "^0.5.45",
|
"moment-timezone": "^0.5.45",
|
||||||
"posthog-js": "^1.139.6",
|
"posthog-js": "^1.139.6",
|
||||||
|
"prop-types": "^15.8.1",
|
||||||
|
"qrcode": "^1.5.3",
|
||||||
|
"react": "^18.3.1",
|
||||||
|
"react-beautiful-dnd": "^13.1.1",
|
||||||
|
"react-big-calendar": "^1.13.0",
|
||||||
|
"react-color": "^2.19.3",
|
||||||
|
"react-dom": "^18.3.1",
|
||||||
|
"react-dropzone": "^14.2.2",
|
||||||
|
"react-error-boundary": "^4.0.13",
|
||||||
|
"react-highlight": "^0.15.0",
|
||||||
|
"react-markdown": "^8.0.3",
|
||||||
|
"react-router-dom": "^6.24.1",
|
||||||
|
"react-select": "^5.4.0",
|
||||||
|
"react-spinners": "^0.14.1",
|
||||||
|
"react-syntax-highlighter": "^15.5.0",
|
||||||
|
"react-toggle": "^4.1.3",
|
||||||
|
"reactflow": "^11.11.4",
|
||||||
"reflect-metadata": "^0.2.2",
|
"reflect-metadata": "^0.2.2",
|
||||||
|
"remark-gfm": "^3.0.1",
|
||||||
"slugify": "^1.6.5",
|
"slugify": "^1.6.5",
|
||||||
|
"socket.io-client": "^4.7.5",
|
||||||
|
"tippy.js": "^6.3.7",
|
||||||
"typeorm": "^0.3.20",
|
"typeorm": "^0.3.20",
|
||||||
|
"universal-cookie": "^4.0.4",
|
||||||
|
"use-async-effect": "^2.2.6",
|
||||||
"uuid": "^8.3.2"
|
"uuid": "^8.3.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@faker-js/faker": "^8.0.2",
|
"@faker-js/faker": "^8.0.2",
|
||||||
"@types/jest": "^27.5.2",
|
"@testing-library/jest-dom": "^5.16.5",
|
||||||
"@types/node": "^17.0.22",
|
"@testing-library/react": "^13.3.0",
|
||||||
"jest": "^27.5.1",
|
"@testing-library/user-event": "^14.4.3",
|
||||||
"ts-jest": "^27.1.4"
|
"@types/jest": "^28.1.4",
|
||||||
|
"@types/lodash": "^4.14.202",
|
||||||
|
"@types/node": "^17.0.45",
|
||||||
|
"@types/react": "^18.2.38",
|
||||||
|
"@types/react-beautiful-dnd": "^13.1.2",
|
||||||
|
"@types/react-big-calendar": "^1.8.5",
|
||||||
|
"@types/react-color": "^3.0.6",
|
||||||
|
"@types/react-test-renderer": "^18.0.0",
|
||||||
|
"@types/react-toggle": "^4.0.3",
|
||||||
|
"jest": "^28.1.1",
|
||||||
|
"jest-environment-jsdom": "^29.7.0",
|
||||||
|
"react-test-renderer": "^18.2.0",
|
||||||
|
"ts-jest": "^28.0.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"../CommonServer": {
|
"../CommonServer": {
|
||||||
@ -83,7 +137,6 @@
|
|||||||
"airtable": "^0.12.2",
|
"airtable": "^0.12.2",
|
||||||
"bullmq": "^5.3.3",
|
"bullmq": "^5.3.3",
|
||||||
"Common": "file:../Common",
|
"Common": "file:../Common",
|
||||||
"CommonProject": "file:../CommonProject",
|
|
||||||
"cookie-parser": "^1.4.6",
|
"cookie-parser": "^1.4.6",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"cron-parser": "^4.8.1",
|
"cron-parser": "^4.8.1",
|
||||||
@ -95,9 +148,9 @@
|
|||||||
"json2csv": "^5.0.7",
|
"json2csv": "^5.0.7",
|
||||||
"jsonwebtoken": "^9.0.0",
|
"jsonwebtoken": "^9.0.0",
|
||||||
"marked": "^12.0.2",
|
"marked": "^12.0.2",
|
||||||
"Model": "file:../Model",
|
|
||||||
"node-cron": "^3.0.3",
|
"node-cron": "^3.0.3",
|
||||||
"nodemailer": "^6.9.10",
|
"nodemailer": "^6.9.10",
|
||||||
|
"otpauth": "^9.3.1",
|
||||||
"pg": "^8.7.3",
|
"pg": "^8.7.3",
|
||||||
"redis-semaphore": "^5.5.1",
|
"redis-semaphore": "^5.5.1",
|
||||||
"socket.io": "^4.7.4",
|
"socket.io": "^4.7.4",
|
||||||
@ -126,6 +179,7 @@
|
|||||||
"../CommonUI": {
|
"../CommonUI": {
|
||||||
"name": "@oneuptime/common-ui",
|
"name": "@oneuptime/common-ui",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
|
"extraneous": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.24.6",
|
"@babel/runtime": "^7.24.6",
|
||||||
@ -197,6 +251,7 @@
|
|||||||
"../Model": {
|
"../Model": {
|
||||||
"name": "@oneuptime/model",
|
"name": "@oneuptime/model",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
|
"extraneous": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Common": "file:../Common",
|
"Common": "file:../Common",
|
||||||
@ -6881,10 +6936,6 @@
|
|||||||
"resolved": "../CommonServer",
|
"resolved": "../CommonServer",
|
||||||
"link": true
|
"link": true
|
||||||
},
|
},
|
||||||
"node_modules/CommonUI": {
|
|
||||||
"resolved": "../CommonUI",
|
|
||||||
"link": true
|
|
||||||
},
|
|
||||||
"node_modules/compressible": {
|
"node_modules/compressible": {
|
||||||
"version": "2.0.18",
|
"version": "2.0.18",
|
||||||
"resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz",
|
"resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz",
|
||||||
@ -14257,10 +14308,6 @@
|
|||||||
"mkdirp": "bin/cmd.js"
|
"mkdirp": "bin/cmd.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/Model": {
|
|
||||||
"resolved": "../Model",
|
|
||||||
"link": true
|
|
||||||
},
|
|
||||||
"node_modules/ms": {
|
"node_modules/ms": {
|
||||||
"version": "2.1.3",
|
"version": "2.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
||||||
|
13069
Dashboard/package-lock.json
generated
13069
Dashboard/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -22,4 +22,4 @@ No such file or directory for /var/lib/docker/overlay2
|
|||||||
|
|
||||||
Solution:
|
Solution:
|
||||||
|
|
||||||
Remove node_modules from the Common, CommonServer, Model, CommonUI project.
|
Remove node_modules from the Common project.
|
||||||
|
@ -29,13 +29,6 @@ publish_to_npm() {
|
|||||||
# Before npm install, replace "Common": "file:../Common" with "@oneuptime/common": "$package_version" in package.json
|
# Before npm install, replace "Common": "file:../Common" with "@oneuptime/common": "$package_version" in package.json
|
||||||
sed -i "s/\"Common\": \"file:..\/Common\"/\"Common\": \"npm:@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\"/\"CommonServer\": \"npm:@oneuptime\/common-server@$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\"/\"CommonUI\": \"npm:@oneuptime\/common-ui@$package_version\"/g" package.json
|
|
||||||
|
|
||||||
|
|
||||||
npm install
|
npm install
|
||||||
npm run compile
|
npm run compile
|
||||||
npm publish --access public
|
npm publish --access public
|
||||||
@ -45,5 +38,3 @@ publish_to_npm() {
|
|||||||
|
|
||||||
|
|
||||||
publish_to_npm "Common"
|
publish_to_npm "Common"
|
||||||
publish_to_npm "CommonServer"
|
|
||||||
publish_to_npm "CommonUI"
|
|
||||||
|
12011
StatusPage/package-lock.json
generated
12011
StatusPage/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user