Skip to content

Commit a621d41

Browse files
committed
fix: allow cache.js in templateoss
1 parent f65542c commit a621d41

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@
4040
!/test/
4141
!/tsconfig.json
4242
!/webpack.config.js
43+
!cache.json
4344
tap-testdir*/
4445
!/cli/

cache.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@
106106
"templateOSS": {
107107
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
108108
"version": "4.23.5",
109-
"content": "./scripts/template-oss"
109+
"content": "./scripts/template-oss",
110+
"allowPaths": [
111+
"cache.json"
112+
]
110113
}
111114
}

0 commit comments

Comments
 (0)