From d04f3c6be317557532a91d38c8df07d28898dedc Mon Sep 17 00:00:00 2001 From: Nicholas Narmada <36405403+nichnarmada@users.noreply.github.com> Date: Thu, 22 Jun 2023 16:18:59 +0700 Subject: [PATCH] Feature: Remove bit from npmrc (#431) * fix: remove bit details from npmrc * fix: remove bit portion of readme --- README.md | 37 ------------------------------------- apps/campus/.npmrc | 2 -- apps/career/.npmrc | 2 -- apps/feeds/.npmrc | 2 -- apps/root/.npmrc | 2 -- apps/syllabus/.npmrc | 2 -- 6 files changed, 47 deletions(-) diff --git a/README.md b/README.md index d9c694f6f..f1b8a3111 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/apps/campus/.npmrc b/apps/campus/.npmrc index f3a544971..5d3205443 100644 --- a/apps/campus/.npmrc +++ b/apps/campus/.npmrc @@ -1,4 +1,2 @@ -@bit:registry=https://node.bit.dev -//node.bit.dev/:_authToken=${BIT_TOKEN} always-auth=true recursive-install=false \ No newline at end of file diff --git a/apps/career/.npmrc b/apps/career/.npmrc index f3a544971..5d3205443 100644 --- a/apps/career/.npmrc +++ b/apps/career/.npmrc @@ -1,4 +1,2 @@ -@bit:registry=https://node.bit.dev -//node.bit.dev/:_authToken=${BIT_TOKEN} always-auth=true recursive-install=false \ No newline at end of file diff --git a/apps/feeds/.npmrc b/apps/feeds/.npmrc index f3a544971..5d3205443 100644 --- a/apps/feeds/.npmrc +++ b/apps/feeds/.npmrc @@ -1,4 +1,2 @@ -@bit:registry=https://node.bit.dev -//node.bit.dev/:_authToken=${BIT_TOKEN} always-auth=true recursive-install=false \ No newline at end of file diff --git a/apps/root/.npmrc b/apps/root/.npmrc index f3a544971..5d3205443 100644 --- a/apps/root/.npmrc +++ b/apps/root/.npmrc @@ -1,4 +1,2 @@ -@bit:registry=https://node.bit.dev -//node.bit.dev/:_authToken=${BIT_TOKEN} always-auth=true recursive-install=false \ No newline at end of file diff --git a/apps/syllabus/.npmrc b/apps/syllabus/.npmrc index f3a544971..5d3205443 100644 --- a/apps/syllabus/.npmrc +++ b/apps/syllabus/.npmrc @@ -1,4 +1,2 @@ -@bit:registry=https://node.bit.dev -//node.bit.dev/:_authToken=${BIT_TOKEN} always-auth=true recursive-install=false \ No newline at end of file