Skip to content

Commit f203f52

Browse files
committed
🔧 Added --skip-worktree to postinstall
This will run `git update-index --skip-worktree ./src/utils/config.js` after `npm install`. This keeps the local changes in `./src/utils/config.js` (such as ones API KEY) from being tracked and accidentally uploaded to GitHub, etc. This might help with #16, but it isn't a complete solution.
1 parent c248b7f commit f203f52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "n. - A storage pile accumulated for future use",
55
"author": "tommy-carlos williams <tommy@devgeeks.org>",
66
"scripts": {
7+
"postinstall": "git update-index --skip-worktree ./src/utils/config.js",
78
"dev": "node build/dev-server.js",
89
"start": "node build/dev-server.js",
910
"build": "node build/build.js",

0 commit comments

Comments
 (0)