2023-05-03 16:45:20 -04:00
|
|
|
repeating the short npm solution
|
|
|
|
|
2023-05-10 14:42:48 -04:00
|
|
|
```bash
|
|
|
|
# Add into your .npmrc
|
2023-05-11 16:57:48 -04:00
|
|
|
@tornado:registry=https://development.tornadocash.community/api/packages/T-Hax/npm/
|
2023-05-10 14:42:48 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# Add into your .npmrc
|
2023-05-11 16:57:48 -04:00
|
|
|
@tornado:registry=https://git.tornado.ws/api/packages/tornado-packages/npm/
|
2023-05-03 16:45:20 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
otherwise if ready to use yarn 3:
|
|
|
|
|
2023-04-28 13:40:24 -04:00
|
|
|
install
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# first deinstall yarn to be safe
|
|
|
|
npm i -g corepack
|
|
|
|
corepack prepare yarn@<version> --activate
|
|
|
|
yarn --version
|
|
|
|
# Should print 3.X.X or above
|
|
|
|
```
|
|
|
|
|
|
|
|
for node <16.10
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# first deinstall yarn to be safe
|
|
|
|
corepack enable
|
|
|
|
corepack prepare yarn@stable --activate
|
|
|
|
yarn --version
|
|
|
|
# Should print 3.X.X or above
|
|
|
|
```
|
|
|
|
|
|
|
|
for node >=16.10
|
|
|
|
|
|
|
|
then to setup a project
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cp yarnrc.yml your-project-dir/.yarnrc.yml
|
2023-05-10 14:45:53 -04:00
|
|
|
cp gitea.env.example your-project-dir/.gitea.env
|
|
|
|
cp gitignore your-project-dir/.gitignore
|
2023-04-28 13:40:24 -04:00
|
|
|
# Then uncomment one of the possibilities in gitignore
|
2023-05-10 14:45:53 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
and then head over to [config](./gitea.env.example)
|