diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2021-05-08 15:27:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-08 15:27:30 +0000 |
commit | 699a803f174662a8ec62442438bb0807e41d3971 (patch) | |
tree | f9b8e2a121e2fc8c4e91005ac97241922bc309ad /etc/profile-m-z/npm.profile | |
parent | revert comment changes from #4257 (#4258) (diff) | |
download | firejail-699a803f174662a8ec62442438bb0807e41d3971.tar.gz firejail-699a803f174662a8ec62442438bb0807e41d3971.tar.zst firejail-699a803f174662a8ec62442438bb0807e41d3971.zip |
Node.js stack refactoring (#4255)
* Create node.profile
* Create node-gyp.profile
* refactor npm as redirect
* Create npx.profile
* Create nvm.profile
* Create semver.profile
* refactor yarn as redirect
* collect node.js stack configuration in common profile
* add ~/.nvm to node section
* account for node-gyp python dependency
* read-only ~/.nvm for node.js stack
* blacklist ~/.nvm for node.js stack
* move env var comment cfr. profile.template
* Delete node-gyp.profile
node-gyp is a shell script with a node shebang. We've got that covered via node.profile.
* Delete npx.profile
npx is a shell script with a node shebang. We've got that covered via node.profile.
* Delete semver.profile
semver is a shell script that calls node. We've got that covered via node.profile.
* add node and nvm to new profiles section
Diffstat (limited to 'etc/profile-m-z/npm.profile')
-rw-r--r-- | etc/profile-m-z/npm.profile | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/etc/profile-m-z/npm.profile b/etc/profile-m-z/npm.profile index f51d58782..4d8beea5a 100644 --- a/etc/profile-m-z/npm.profile +++ b/etc/profile-m-z/npm.profile | |||
@@ -7,23 +7,5 @@ include npm.local | |||
7 | # Persistent global definitions | 7 | # Persistent global definitions |
8 | include globals.local | 8 | include globals.local |
9 | 9 | ||
10 | ignore read-only ${HOME}/.npm-packages | ||
11 | ignore read-only ${HOME}/.npmrc | ||
12 | |||
13 | noblacklist ${HOME}/.node-gyp | ||
14 | noblacklist ${HOME}/.npm | ||
15 | noblacklist ${HOME}/.npmrc | ||
16 | |||
17 | # If you want whitelisting, change ${HOME}/Projects below to your npm projects directory | ||
18 | # and add the next lines to your npm.local. | ||
19 | #mkdir ${HOME}/.node-gyp | ||
20 | #mkdir ${HOME}/.npm | ||
21 | #mkfile ${HOME}/.npmrc | ||
22 | #whitelist ${HOME}/.node-gyp | ||
23 | #whitelist ${HOME}/.npm | ||
24 | #whitelist ${HOME}/.npmrc | ||
25 | #whitelist ${HOME}/Projects | ||
26 | #include whitelist-common.inc | ||
27 | |||
28 | # Redirect | 10 | # Redirect |
29 | include nodejs-common.profile | 11 | include nodejs-common.profile |