https://github.com/terran-source/node-pkgs
Holds all the public Node packages (npm) for `@Terran-Source`
https://github.com/terran-source/node-pkgs
Last synced: 3 months ago
JSON representation
Holds all the public Node packages (npm) for `@Terran-Source`
- Host: GitHub
- URL: https://github.com/terran-source/node-pkgs
- Owner: Terran-Source
- Created: 2022-07-13T11:39:49.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-27T16:09:58.000Z (almost 3 years ago)
- Last Synced: 2024-10-31T21:36:19.477Z (8 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-pkgs
Holds all the public Node packages (npm) for `@terran-source`## How to use any of these packages
Create an _.npmrc_ file inside the same folder as _package.json_ (if it's not already there).
```bash
my-project
|- package.json
|- .npmrc // ☚
|- ... (others)
```
Then, add the following line inside _.npmrc_:
#### If it's public package
```
@terran-source:registry=https://npm.pkg.github.com/
always-auth=false
```
#### If it's private package
```
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
@terran-source:registry=https://npm.pkg.github.com/
always-auth=true
```Now, add the package as dependency to your project
#### via `npm`
`npm install @terran-source/hooks`
#### via `yarn`
`yarn add @terran-source/hooks`