From 5ec5f3b858eac2ec3bf32f3958f202d8772f5e29 Mon Sep 17 00:00:00 2001
From: Benjamin Franzke <bfr@qbus.de>
Date: Tue, 6 Sep 2022 22:15:31 +0200
Subject: [PATCH] [TASK] Drop unneeded file .cache/.npmrc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

`unsafe-perm = true` is not available in npm v8 documentation,
and TYPO3 core requires npm =>v8.
The file has been introduced with #96355 during yarn to npm
migration, it has been added during early patchsets that
targeted npm v6. Now that we use npm v8 it is no longer
needed.

Releases: main
Resolves: #98270
Related: #96355
Change-Id: Ide7eea24f6b78da2f83a8d6303021e734bdcb47b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75625
Tested-by: core-ci <typo3@b13.com>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
---
 .cache/.npmrc | 3 ---
 .gitignore    | 3 +--
 2 files changed, 1 insertion(+), 5 deletions(-)
 delete mode 100644 .cache/.npmrc

diff --git a/.cache/.npmrc b/.cache/.npmrc
deleted file mode 100644
index d7af508f4e6b..000000000000
--- a/.cache/.npmrc
+++ /dev/null
@@ -1,3 +0,0 @@
-# Required for Docker builds on CI (Gitlab)
-# https://github.com/ds300/patch-package/issues/185
-unsafe-perm = true
diff --git a/.gitignore b/.gitignore
index 4ee6d6617eef..9e92d0d00ffd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,8 +25,7 @@ nbproject
 .webprj
 #
 # Temporary files and folders
-/.cache/*
-!/.cache/.npmrc
+/.cache
 .php_cs.cache
 .php-cs-fixer.cache
 .sass-cache
-- 
GitLab