From 19f533057f97434bb801e4e1c81251ac2232f7d8 Mon Sep 17 00:00:00 2001 From: mohiit1502 Date: Thu, 5 Sep 2024 17:37:40 +0530 Subject: [PATCH] Added configs package --- .gitmodules | 4 + package-lock.json | 446 ++++++++++++++++++++++++++++++++++++++++++-- packages/configs | 1 + submodule-remove.sh | 35 ++++ 4 files changed, 468 insertions(+), 18 deletions(-) create mode 160000 packages/configs create mode 100755 submodule-remove.sh diff --git a/.gitmodules b/.gitmodules index 4a70e59..3fafec3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -46,3 +46,7 @@ path = packages/lottify url = https://github.com/ReStruct-Corporate-Advantage/lottify branch = main +[submodule "packages/configs"] + path = packages/configs + url = https://github.com/ReStruct-Corporate-Advantage/configs + branch = main diff --git a/package-lock.json b/package-lock.json index 3b53192..66b73d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -68,13 +68,21 @@ "link": true }, "node_modules/@armco/armory-react-components": { - "resolved": "packages/armory-react-components", + "resolved": "packages/components", + "link": true + }, + "node_modules/@armco/configs": { + "resolved": "packages/configs", "link": true }, "node_modules/@armco/confitronclient": { "resolved": "packages/confitronclient", "link": true }, + "node_modules/@armco/font-spot": { + "resolved": "packages/font-spot", + "link": true + }, "node_modules/@armco/foreseer": { "resolved": "packages/ForeSeer", "link": true @@ -83,6 +91,18 @@ "resolved": "packages/iamclient", "link": true }, + "node_modules/@armco/icon-spot": { + "resolved": "packages/icon-spot", + "link": true + }, + "node_modules/@armco/lottify": { + "resolved": "packages/lottify", + "link": true + }, + "node_modules/@armco/platform": { + "resolved": "packages/platform", + "link": true + }, "node_modules/@armco/sampadak": { "resolved": "packages/sampadak", "link": true @@ -34781,6 +34801,7 @@ "packages/armory-react-components": { "name": "@armco/armory-react-components", "version": "0.0.47", + "extraneous": true, "license": "ISC", "dependencies": { "@armco/analytics": "^0.2.8", @@ -34878,7 +34899,107 @@ "react-router-dom": "^6.13.0" } }, - "packages/armory-react-components/node_modules/brace-expansion": { + "packages/components": { + "name": "@armco/armory-react-components", + "version": "0.0.47", + "license": "ISC", + "dependencies": { + "@armco/analytics": "^0.2.8", + "@lottiefiles/react-lottie-player": "^3.5.3", + "@popperjs/core": "^2.11.8", + "@reduxjs/toolkit": "^1.8.1", + "@storybook/cli": "^7.0.23", + "bootstrap": "^5.3.0", + "classnames": "^2.3.2", + "d3": "^7.9.0", + "highcharts": "^11.2.0", + "highcharts-react-official": "^3.2.1", + "highlight.js": "^11.8.0", + "js-cookie": "^3.0.5", + "lottie-react": "^2.4.0", + "lottie-web": "^5.12.2", + "moment": "^2.29.4", + "react-app-polyfill": "^3.0.0", + "react-bootstrap": "^2.7.4", + "react-dev-utils": "^12.0.1", + "react-dnd": ">=16.0.0", + "react-dnd-html5-backend": ">=16.0.0", + "react-dnd-touch-backend": ">=16.0.0", + "react-draggable": "^4.4.6", + "react-redux": "^8.0.1", + "react-resizable": "^3.0.5", + "react-router-dom": "^6.13.0", + "react-table": "^7.8.0", + "resize-observer-polyfill": "^1.5.1", + "svgpath": "^2.6.0", + "uuid": "^9.0.0", + "vite-plugin-svgr": "^3.2.0" + }, + "devDependencies": { + "@armco/types": "^0.0.6", + "@babel/preset-env": "^7.24.5", + "@babel/preset-react": "^7.24.1", + "@babel/preset-typescript": "^7.24.1", + "@storybook/addon-essentials": "^7.0.23", + "@storybook/addon-interactions": "^7.0.23", + "@storybook/addon-links": "^7.0.23", + "@storybook/blocks": "^7.0.23", + "@storybook/react": "^7.0.23", + "@storybook/react-vite": "^7.0.23", + "@storybook/testing-library": "^0.0.14-next.2", + "@testing-library/dom": "^9.2.0", + "@testing-library/jest-dom": "^5.11.4", + "@testing-library/react": "^14.0.0", + "@testing-library/user-event": "^14.2.5", + "@types/bootstrap": "^5.2.6", + "@types/d3": "^7.4.0", + "@types/js-cookie": "^3.0.3", + "@types/react": "^18.0.15", + "@types/react-dom": "^18.2.18", + "@types/react-resizable": "^3.0.7", + "@types/react-table": "^7.7.19", + "@types/testing-library__jest-dom": "^5.14.5", + "@types/uuid": "^9.0.2", + "@vitejs/plugin-react": "^4.0.0", + "chalk": "^5.3.0", + "cherry-pick": "^0.5.0", + "cpy-cli": "^5.0.0", + "eslint": "^8.0.0", + "eslint-config-react-app": "^7.0.1", + "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-storybook": "^0.6.12", + "execa": "^8.0.1", + "fs-extra": "^11.2.0", + "glob": "^10.3.10", + "jest": "^29.7.0", + "jest-environment-jsdom": "^29.7.0", + "jsdom": "^21.1.0", + "plop": "^3.1.2", + "prettier": "^2.7.1", + "prettier-config-nick": "^1.0.2", + "prop-types": "^15.8.1", + "react": ">=16.8.0", + "react-dom": "^18.2.0", + "rollup-plugin-visualizer": "^5.12.0", + "sass": "^1.63.4", + "storybook": "^7.0.23", + "ts-jest": "^29.2.3", + "ts-node": "^10.9.2", + "typescript": "^5.0.2", + "vite": "^4.0.0", + "vite-plugin-dts": "^3.7.1", + "vitest": "^0.30.1" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dnd": ">=16.0.0", + "react-dnd-html5-backend": ">=16.0.0", + "react-dnd-touch-backend": ">=16.0.0", + "react-redux": "^8.0.1", + "react-router-dom": "^6.13.0" + } + }, + "packages/components/node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", @@ -34888,7 +35009,7 @@ "balanced-match": "^1.0.0" } }, - "packages/armory-react-components/node_modules/chalk": { + "packages/components/node_modules/chalk": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", @@ -34901,7 +35022,7 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "packages/armory-react-components/node_modules/execa": { + "packages/components/node_modules/execa": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", @@ -34925,7 +35046,7 @@ "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "packages/armory-react-components/node_modules/fs-extra": { + "packages/components/node_modules/fs-extra": { "version": "11.2.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", @@ -34940,7 +35061,7 @@ "node": ">=14.14" } }, - "packages/armory-react-components/node_modules/get-stream": { + "packages/components/node_modules/get-stream": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", @@ -34953,7 +35074,7 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/armory-react-components/node_modules/glob": { + "packages/components/node_modules/glob": { "version": "10.4.5", "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", @@ -34974,7 +35095,7 @@ "url": "https://github.com/sponsors/isaacs" } }, - "packages/armory-react-components/node_modules/human-signals": { + "packages/components/node_modules/human-signals": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", @@ -34984,7 +35105,7 @@ "node": ">=16.17.0" } }, - "packages/armory-react-components/node_modules/is-stream": { + "packages/components/node_modules/is-stream": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", @@ -34997,7 +35118,7 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/armory-react-components/node_modules/mimic-fn": { + "packages/components/node_modules/mimic-fn": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", @@ -35010,7 +35131,7 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/armory-react-components/node_modules/minimatch": { + "packages/components/node_modules/minimatch": { "version": "9.0.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", @@ -35026,7 +35147,7 @@ "url": "https://github.com/sponsors/isaacs" } }, - "packages/armory-react-components/node_modules/npm-run-path": { + "packages/components/node_modules/npm-run-path": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", @@ -35042,7 +35163,7 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/armory-react-components/node_modules/onetime": { + "packages/components/node_modules/onetime": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", @@ -35058,7 +35179,7 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/armory-react-components/node_modules/path-key": { + "packages/components/node_modules/path-key": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", @@ -35071,7 +35192,7 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/armory-react-components/node_modules/signal-exit": { + "packages/components/node_modules/signal-exit": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", @@ -35084,7 +35205,7 @@ "url": "https://github.com/sponsors/isaacs" } }, - "packages/armory-react-components/node_modules/strip-final-newline": { + "packages/components/node_modules/strip-final-newline": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", @@ -35097,7 +35218,7 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/armory-react-components/node_modules/uuid": { + "packages/components/node_modules/uuid": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", @@ -35110,6 +35231,14 @@ "uuid": "dist/bin/uuid" } }, + "packages/configs": { + "name": "@armco/configs", + "version": "0.0.0", + "license": "ISC", + "devDependencies": { + "typescript": "^5.0.2" + } + }, "packages/confitronclient": { "name": "@armco/confitronclient", "version": "0.0.0", @@ -35146,6 +35275,41 @@ "vitest": "^0.30.1" } }, + "packages/font-spot": { + "name": "@armco/font-spot", + "version": "0.0.0", + "license": "ISC", + "dependencies": { + "@reduxjs/toolkit": "^1.8.1", + "react": "^18.2.0", + "react-app-polyfill": "^3.0.0", + "react-dev-utils": "^12.0.1", + "react-dom": "^18.2.0", + "react-redux": "^8.0.1", + "react-router-dom": "^6.13.0" + }, + "devDependencies": { + "@testing-library/dom": "^9.2.0", + "@testing-library/jest-dom": "^5.11.4", + "@testing-library/react": "^14.0.0", + "@testing-library/user-event": "^14.2.5", + "@types/react": "^18.0.15", + "@types/react-dom": "^18.0.6", + "@types/testing-library__jest-dom": "^5.14.5", + "@vitejs/plugin-react": "^4.0.0", + "eslint": "^8.0.0", + "eslint-config-react-app": "^7.0.1", + "eslint-plugin-prettier": "^4.2.1", + "jsdom": "^21.1.0", + "plop": "^3.1.2", + "prettier": "^2.7.1", + "prettier-config-nick": "^1.0.2", + "sass": "^1.63.4", + "typescript": "^5.0.2", + "vite": "^4.0.0", + "vitest": "^0.30.1" + } + }, "packages/ForeSeer": { "name": "@armco/foreseer", "version": "0.0.0", @@ -35221,6 +35385,111 @@ "vitest": "^0.30.1" } }, + "packages/icon-spot": { + "name": "@armco/icon-spot", + "version": "0.0.0", + "license": "ISC", + "dependencies": { + "@reduxjs/toolkit": "^1.8.1", + "react": "^18.2.0", + "react-app-polyfill": "^3.0.0", + "react-dev-utils": "^12.0.1", + "react-dom": "^18.2.0", + "react-redux": "^8.0.1", + "react-router-dom": "^6.13.0" + }, + "devDependencies": { + "@testing-library/dom": "^9.2.0", + "@testing-library/jest-dom": "^5.11.4", + "@testing-library/react": "^14.0.0", + "@testing-library/user-event": "^14.2.5", + "@types/react": "^18.0.15", + "@types/react-dom": "^18.0.6", + "@types/testing-library__jest-dom": "^5.14.5", + "@vitejs/plugin-react": "^4.0.0", + "eslint": "^8.0.0", + "eslint-config-react-app": "^7.0.1", + "eslint-plugin-prettier": "^4.2.1", + "jsdom": "^21.1.0", + "plop": "^3.1.2", + "prettier": "^2.7.1", + "prettier-config-nick": "^1.0.2", + "sass": "^1.63.4", + "typescript": "^5.0.2", + "vite": "^4.0.0", + "vitest": "^0.30.1" + } + }, + "packages/lottify": { + "name": "@armco/lottify", + "version": "0.0.0", + "license": "ISC", + "dependencies": { + "@reduxjs/toolkit": "^1.8.1", + "react": "^18.2.0", + "react-app-polyfill": "^3.0.0", + "react-dev-utils": "^12.0.1", + "react-dom": "^18.2.0", + "react-redux": "^8.0.1", + "react-router-dom": "^6.13.0" + }, + "devDependencies": { + "@testing-library/dom": "^9.2.0", + "@testing-library/jest-dom": "^5.11.4", + "@testing-library/react": "^14.0.0", + "@testing-library/user-event": "^14.2.5", + "@types/react": "^18.0.15", + "@types/react-dom": "^18.0.6", + "@types/testing-library__jest-dom": "^5.14.5", + "@vitejs/plugin-react": "^4.0.0", + "eslint": "^8.0.0", + "eslint-config-react-app": "^7.0.1", + "eslint-plugin-prettier": "^4.2.1", + "jsdom": "^21.1.0", + "plop": "^3.1.2", + "prettier": "^2.7.1", + "prettier-config-nick": "^1.0.2", + "sass": "^1.63.4", + "typescript": "^5.0.2", + "vite": "^4.0.0", + "vitest": "^0.30.1" + } + }, + "packages/platform": { + "name": "@armco/platform", + "version": "0.0.0", + "license": "ISC", + "dependencies": { + "@reduxjs/toolkit": "^1.8.1", + "react": "^18.2.0", + "react-app-polyfill": "^3.0.0", + "react-dev-utils": "^12.0.1", + "react-dom": "^18.2.0", + "react-redux": "^8.0.1", + "react-router-dom": "^6.13.0" + }, + "devDependencies": { + "@testing-library/dom": "^9.2.0", + "@testing-library/jest-dom": "^5.11.4", + "@testing-library/react": "^14.0.0", + "@testing-library/user-event": "^14.2.5", + "@types/react": "^18.0.15", + "@types/react-dom": "^18.0.6", + "@types/testing-library__jest-dom": "^5.14.5", + "@vitejs/plugin-react": "^4.0.0", + "eslint": "^8.0.0", + "eslint-config-react-app": "^7.0.1", + "eslint-plugin-prettier": "^4.2.1", + "jsdom": "^21.1.0", + "plop": "^3.1.2", + "prettier": "^2.7.1", + "prettier-config-nick": "^1.0.2", + "sass": "^1.63.4", + "typescript": "^5.0.2", + "vite": "^4.0.0", + "vitest": "^0.30.1" + } + }, "packages/sampadak": { "name": "@armco/sampadak", "version": "0.0.0", @@ -36926,12 +37195,14 @@ } }, "packages/sampadak/packages/collaboration": { + "name": "@sampadak/collaboration", "version": "1.0.0", "devDependencies": { "jest": "^26.0.0" } }, "packages/sampadak/packages/core": { + "name": "@sampadak/core", "version": "1.0.0", "devDependencies": { "jest": "^26.0.0" @@ -36942,12 +37213,14 @@ } }, "packages/sampadak/packages/event-manager": { + "name": "@sampadak/event-manager", "version": "1.0.0", "devDependencies": { "jest": "^26.0.0" } }, "packages/sampadak/packages/formatter": { + "name": "@sampadak/formatter", "version": "1.0.0", "devDependencies": { "jest": "^26.0.0" @@ -36958,18 +37231,21 @@ } }, "packages/sampadak/packages/history": { + "name": "@sampadak/history", "version": "1.0.0", "devDependencies": { "jest": "^26.0.0" } }, "packages/sampadak/packages/persistence": { + "name": "@sampadak/persistence", "version": "1.0.0", "devDependencies": { "jest": "^26.0.0" } }, "packages/sampadak/packages/plugin-manager": { + "name": "@sampadak/plugin-manager", "version": "1.0.0", "devDependencies": { "jest": "^26.0.0" @@ -36980,18 +37256,21 @@ } }, "packages/sampadak/packages/selection-manager": { + "name": "@sampadak/selection-manager", "version": "1.0.0", "devDependencies": { "jest": "^26.0.0" } }, "packages/sampadak/packages/syntax-highlighter": { + "name": "@sampadak/syntax-highlighter", "version": "1.0.0", "devDependencies": { "jest": "^26.0.0" } }, "packages/sampadak/packages/toolbar": { + "name": "@sampadak/toolbar", "version": "1.0.0", "devDependencies": { "jest": "^26.0.0" @@ -37002,6 +37281,7 @@ } }, "packages/sampadak/packages/ui": { + "name": "@sampadak/ui", "version": "1.0.0", "devDependencies": { "jest": "^26.0.0" @@ -37214,7 +37494,7 @@ } }, "@armco/armory-react-components": { - "version": "file:packages/armory-react-components", + "version": "file:packages/components", "requires": { "@armco/analytics": "^0.2.8", "@armco/types": "^0.0.6", @@ -37434,6 +37714,12 @@ } } }, + "@armco/configs": { + "version": "file:packages/configs", + "requires": { + "typescript": "^5.0.2" + } + }, "@armco/confitronclient": { "version": "file:packages/confitronclient", "requires": { @@ -37466,6 +37752,37 @@ "vitest": "^0.30.1" } }, + "@armco/font-spot": { + "version": "file:packages/font-spot", + "requires": { + "@reduxjs/toolkit": "^1.8.1", + "@testing-library/dom": "^9.2.0", + "@testing-library/jest-dom": "^5.11.4", + "@testing-library/react": "^14.0.0", + "@testing-library/user-event": "^14.2.5", + "@types/react": "^18.0.15", + "@types/react-dom": "^18.0.6", + "@types/testing-library__jest-dom": "^5.14.5", + "@vitejs/plugin-react": "^4.0.0", + "eslint": "^8.0.0", + "eslint-config-react-app": "^7.0.1", + "eslint-plugin-prettier": "^4.2.1", + "jsdom": "^21.1.0", + "plop": "^3.1.2", + "prettier": "^2.7.1", + "prettier-config-nick": "^1.0.2", + "react": "^18.2.0", + "react-app-polyfill": "^3.0.0", + "react-dev-utils": "^12.0.1", + "react-dom": "^18.2.0", + "react-redux": "^8.0.1", + "react-router-dom": "^6.13.0", + "sass": "^1.63.4", + "typescript": "^5.0.2", + "vite": "^4.0.0", + "vitest": "^0.30.1" + } + }, "@armco/foreseer": { "version": "file:packages/ForeSeer", "requires": { @@ -37533,6 +37850,99 @@ "zxcvbn": "^4.4.2" } }, + "@armco/icon-spot": { + "version": "file:packages/icon-spot", + "requires": { + "@reduxjs/toolkit": "^1.8.1", + "@testing-library/dom": "^9.2.0", + "@testing-library/jest-dom": "^5.11.4", + "@testing-library/react": "^14.0.0", + "@testing-library/user-event": "^14.2.5", + "@types/react": "^18.0.15", + "@types/react-dom": "^18.0.6", + "@types/testing-library__jest-dom": "^5.14.5", + "@vitejs/plugin-react": "^4.0.0", + "eslint": "^8.0.0", + "eslint-config-react-app": "^7.0.1", + "eslint-plugin-prettier": "^4.2.1", + "jsdom": "^21.1.0", + "plop": "^3.1.2", + "prettier": "^2.7.1", + "prettier-config-nick": "^1.0.2", + "react": "^18.2.0", + "react-app-polyfill": "^3.0.0", + "react-dev-utils": "^12.0.1", + "react-dom": "^18.2.0", + "react-redux": "^8.0.1", + "react-router-dom": "^6.13.0", + "sass": "^1.63.4", + "typescript": "^5.0.2", + "vite": "^4.0.0", + "vitest": "^0.30.1" + } + }, + "@armco/lottify": { + "version": "file:packages/lottify", + "requires": { + "@reduxjs/toolkit": "^1.8.1", + "@testing-library/dom": "^9.2.0", + "@testing-library/jest-dom": "^5.11.4", + "@testing-library/react": "^14.0.0", + "@testing-library/user-event": "^14.2.5", + "@types/react": "^18.0.15", + "@types/react-dom": "^18.0.6", + "@types/testing-library__jest-dom": "^5.14.5", + "@vitejs/plugin-react": "^4.0.0", + "eslint": "^8.0.0", + "eslint-config-react-app": "^7.0.1", + "eslint-plugin-prettier": "^4.2.1", + "jsdom": "^21.1.0", + "plop": "^3.1.2", + "prettier": "^2.7.1", + "prettier-config-nick": "^1.0.2", + "react": "^18.2.0", + "react-app-polyfill": "^3.0.0", + "react-dev-utils": "^12.0.1", + "react-dom": "^18.2.0", + "react-redux": "^8.0.1", + "react-router-dom": "^6.13.0", + "sass": "^1.63.4", + "typescript": "^5.0.2", + "vite": "^4.0.0", + "vitest": "^0.30.1" + } + }, + "@armco/platform": { + "version": "file:packages/platform", + "requires": { + "@reduxjs/toolkit": "^1.8.1", + "@testing-library/dom": "^9.2.0", + "@testing-library/jest-dom": "^5.11.4", + "@testing-library/react": "^14.0.0", + "@testing-library/user-event": "^14.2.5", + "@types/react": "^18.0.15", + "@types/react-dom": "^18.0.6", + "@types/testing-library__jest-dom": "^5.14.5", + "@vitejs/plugin-react": "^4.0.0", + "eslint": "^8.0.0", + "eslint-config-react-app": "^7.0.1", + "eslint-plugin-prettier": "^4.2.1", + "jsdom": "^21.1.0", + "plop": "^3.1.2", + "prettier": "^2.7.1", + "prettier-config-nick": "^1.0.2", + "react": "^18.2.0", + "react-app-polyfill": "^3.0.0", + "react-dev-utils": "^12.0.1", + "react-dom": "^18.2.0", + "react-redux": "^8.0.1", + "react-router-dom": "^6.13.0", + "sass": "^1.63.4", + "typescript": "^5.0.2", + "vite": "^4.0.0", + "vitest": "^0.30.1" + } + }, "@armco/sampadak": { "version": "file:packages/sampadak", "requires": { diff --git a/packages/configs b/packages/configs new file mode 160000 index 0000000..fbd22cf --- /dev/null +++ b/packages/configs @@ -0,0 +1 @@ +Subproject commit fbd22cf4da72db011a6bfe5faa6f2c18a4ec5bc5 diff --git a/submodule-remove.sh b/submodule-remove.sh new file mode 100755 index 0000000..003035d --- /dev/null +++ b/submodule-remove.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +# Check if the correct number of arguments is provided +if [ "$#" -ne 1 ]; then + echo "Usage: $0 " + exit 1 +fi + +SUBMODULE_PATH=$1 + +# Navigate to the main repository +cd "$(git rev-parse --show-toplevel)" + +# Remove the submodule entry from .gitmodules +git config -f .gitmodules --remove-section "submodule.$SUBMODULE_PATH" + +# Deinitialize the submodule +git submodule deinit -f -- "$SUBMODULE_PATH" + +# Remove the submodule directory from the Git configuration +git rm -f "$SUBMODULE_PATH" + +# Remove the submodule from the Git configuration +git config --remove-section "submodule.$SUBMODULE_PATH" + +# Remove the submodule directory from the file system +rm -rf ".git/modules/$SUBMODULE_PATH" +rm -rf "$SUBMODULE_PATH" + +# Commit the changes +git add .gitmodules +git commit -m "Remove submodule $SUBMODULE_PATH" +git push origin main + +echo "Submodule $SUBMODULE_PATH has been removed." \ No newline at end of file