From ad7e83c2d741a4482e7dffbe86ce0a37d9bbaf41 Mon Sep 17 00:00:00 2001 From: Jiayee Lim Date: Thu, 29 Aug 2024 14:37:56 +0800 Subject: [PATCH] fix: move peer dep to fe --- frontend/package-lock.json | 23 +++++++++++++++++++++-- frontend/package.json | 1 + package-lock.json | 5 ++++- package.json | 1 - 4 files changed, 26 insertions(+), 4 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 6121a51bd..11440250d 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -22,6 +22,7 @@ "draft-js-import-html": "^1.4.1", "draftjs-filters": "^3.0.1", "draftjs-to-html": "0.9.1", + "enquirer": "^2.4.1", "escape-html": "1.0.3", "html-to-draftjs": "1.5.0", "immutable": "3.8.2", @@ -6295,6 +6296,14 @@ "ajv": "^6.9.1" } }, + "node_modules/ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "engines": { + "node": ">=6" + } + }, "node_modules/ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", @@ -6326,7 +6335,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, "engines": { "node": ">=8" } @@ -9160,6 +9168,18 @@ "node": ">=10.13.0" } }, + "node_modules/enquirer": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", + "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==", + "dependencies": { + "ansi-colors": "^4.1.1", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8.6" + } + }, "node_modules/entities": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", @@ -21394,7 +21414,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, diff --git a/frontend/package.json b/frontend/package.json index b3b3641cb..04887a8be 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -35,6 +35,7 @@ "draft-js-import-html": "^1.4.1", "draftjs-filters": "^3.0.1", "draftjs-to-html": "0.9.1", + "enquirer": "^2.4.1", "escape-html": "1.0.3", "html-to-draftjs": "1.5.0", "immutable": "3.8.2", diff --git a/package-lock.json b/package-lock.json index b2e51c12f..c9663d6d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,6 @@ }, "devDependencies": { "concurrently": "^7.2.1", - "enquirer": "^2.4.1", "husky": "^8.0.1", "lint-staged": "^13.0.0", "prettier": "^2.6.2", @@ -104,6 +103,8 @@ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", "dev": true, + "optional": true, + "peer": true, "engines": { "node": ">=6" } @@ -373,6 +374,8 @@ "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "ansi-colors": "^4.1.1", "strip-ansi": "^6.0.1" diff --git a/package.json b/package.json index 5d46d4f72..10747f339 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,6 @@ "homepage": "https://github.com/opengovsg/postmangovsg#readme", "devDependencies": { "concurrently": "^7.2.1", - "enquirer": "^2.4.1", "husky": "^8.0.1", "lint-staged": "^13.0.0", "prettier": "^2.6.2",