Topic: Leave personal access token in package.json under dependencies?
yyandyceo free asked 1 year ago
Is it fine to leave my personal access token in package.json file under dependencies like the following and push it onto github? This is an app I'm working on and it is being hosted.
[I tried ssh but couldn't make it work.]
I think the best approach is to set this token as an environmental variable (using i.e. dotenv) and use it inside your package.json file :)
bump ... I have this problem as well. Cannot add git.mdbootstrap.com to known_hosts
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: MDB5 1.0.0-beta5
- Device: MBP
- Browser: Google
- OS: OSX
- Provided sample code: No
- Provided link: No