diff --git a/docs/development-guide/01-repository-structure.md b/docs/development-guide/01-repository-structure.md index fee00a5cc03..a8b5caa2c0c 100644 --- a/docs/development-guide/01-repository-structure.md +++ b/docs/development-guide/01-repository-structure.md @@ -59,8 +59,6 @@ A few notable directories in the root level of the manager package: - end-to-end tests - **/e2e** - old end-to-end tests [deprecated] -- **/patches** - - patches applied to dependencies via patch-package - **/public** - assets, fonts, HTML, and third-party JS - **/scripts** diff --git a/package.json b/package.json index 2804917ccba..1ab0fb56d7b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "devDependencies": { "husky": "^3.0.1", "npm-run-all": "^4.1.5", - "patch-package": "^7.0.0", "postinstall": "^0.6.0", "typescript": "^5.4.5" }, @@ -19,7 +18,6 @@ "cost-of-modules": "yarn global add cost-of-modules && cost-of-modules --less --no-install --include-dev", "install:all": "yarn install --frozen-lockfile", "upgrade:sdk": "yarn workspace @linode/api-v4 version --no-git-tag-version --no-commit-hooks && yarn workspace linode-manager upgrade @linode/api-v4", - "postinstall": "echo \"Skipping Patching: yarn workspaces run postinstall && patch-package\"", "build:sdk": "yarn workspace @linode/api-v4 build", "build:validation": "yarn workspace @linode/validation build", "build": "yarn build:validation && yarn build:sdk && yarn workspace linode-manager build", diff --git a/packages/manager/.changeset/pr-10800-tech-stories-1724094117438.md b/packages/manager/.changeset/pr-10800-tech-stories-1724094117438.md new file mode 100644 index 00000000000..0886b75b4b2 --- /dev/null +++ b/packages/manager/.changeset/pr-10800-tech-stories-1724094117438.md @@ -0,0 +1,5 @@ +--- +"@linode/manager": Tech Stories +--- + +Remove `patch-package` package ([#10800](https://github.com/linode/manager/pull/10800)) diff --git a/packages/manager/package.json b/packages/manager/package.json index 5598b70c01d..fc4d0f1a5bc 100644 --- a/packages/manager/package.json +++ b/packages/manager/package.json @@ -55,7 +55,6 @@ "markdown-it": "^12.3.2", "md5": "^2.2.1", "notistack": "^3.0.1", - "patch-package": "^7.0.0", "qrcode.react": "^0.8.0", "ramda": "~0.25.0", "react": "^18.2.0", @@ -87,7 +86,6 @@ "zxcvbn": "^4.4.2" }, "scripts": { - "postinstall": "patch-package", "start": "concurrently --raw \"vite\" \"tsc --watch --preserveWatchOutput\"", "start:expose": "concurrently --raw \"vite --host\" \"tsc --watch --preserveWatchOutput\"", "start:ci": "yarn serve ./build -p 3000 -s --cors", diff --git a/yarn.lock b/yarn.lock index ae496788710..16d2b5e1b57 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11041,26 +11041,6 @@ parseurl@~1.3.3: resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== -patch-package@^7.0.0: - version "7.0.2" - resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-7.0.2.tgz#c01589bb6964854b5210506a5845d47900641f5a" - integrity sha512-PMYfL8LXxGIRmxXLqlEaBxzKPu7/SdP13ld6GSfAUJUZRmBDPp8chZs0dpzaAFn9TSPnFiMwkC6PJt6pBiAl8Q== - dependencies: - "@yarnpkg/lockfile" "^1.1.0" - chalk "^4.1.2" - ci-info "^3.7.0" - cross-spawn "^7.0.3" - find-yarn-workspace-root "^2.0.0" - fs-extra "^9.0.0" - klaw-sync "^6.0.0" - minimist "^1.2.6" - open "^7.4.2" - rimraf "^2.6.3" - semver "^7.5.3" - slash "^2.0.0" - tmp "^0.0.33" - yaml "^2.2.2" - patch-package@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-8.0.0.tgz#d191e2f1b6e06a4624a0116bcb88edd6714ede61"