Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Remove bit from npmrc #431

Merged
merged 2 commits into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,43 +73,6 @@ sudo npm install -g pnpm
```
Installation with other ways: https://pnpm.io/installation

### Bit

1. Create a [Bit.dev](https://bit.dev) account if you haven't.
2. If you are a member of our development team, tell me your username or email so that I can add you to our Bit team.

3. Then install Bit on your computer (local): https://docs.bit.dev/docs/installation

4. Login to Bit on your terminal
```
bit login
```

5. Check your Bit authentication token with the following command:
```
bit config
```
and add the token to your environment variable with the following steps:

**Mac/Linux**
1. Add the following to file `~/.bash_profile`
```
export BIT_TOKEN=XXXXXXXXXXXXX
// replace XXXXXXXXXXXXX to your token
```
2. If you are using Z shell (check if there is a text `zsh` on top of your terminal), add the following in file `~/.zshrc`
```
if [ -f ~/.bash_profile ]; then
. ~/.bash_profile;
fi
```
3. Either restart your terminal or run the following:
```
source ~/.bash_profile
```
**Windows**
https://www3.ntu.edu.sg/home/ehchua/programming/howto/Environment_Variables.html

### Clone WasedaTime
```
// By HTTP
Expand Down
2 changes: 0 additions & 2 deletions apps/campus/.npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
@bit:registry=https://node.bit.dev
//node.bit.dev/:_authToken=${BIT_TOKEN}
always-auth=true
recursive-install=false
2 changes: 0 additions & 2 deletions apps/career/.npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
@bit:registry=https://node.bit.dev
//node.bit.dev/:_authToken=${BIT_TOKEN}
always-auth=true
recursive-install=false
2 changes: 0 additions & 2 deletions apps/feeds/.npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
@bit:registry=https://node.bit.dev
//node.bit.dev/:_authToken=${BIT_TOKEN}
always-auth=true
recursive-install=false
2 changes: 0 additions & 2 deletions apps/root/.npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
@bit:registry=https://node.bit.dev
//node.bit.dev/:_authToken=${BIT_TOKEN}
always-auth=true
recursive-install=false
2 changes: 0 additions & 2 deletions apps/syllabus/.npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
@bit:registry=https://node.bit.dev
//node.bit.dev/:_authToken=${BIT_TOKEN}
always-auth=true
recursive-install=false