Skip to content

Commit 00e90eb

Browse files
author
Petr Konecny
committed
chore: switched to yarn
1 parent 889d179 commit 00e90eb

File tree

10 files changed

+14083
-22952
lines changed

10 files changed

+14083
-22952
lines changed

.github/workflows/ci-code-quality.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
- uses: ./.github/actions/setup
1313

1414
- name: Run ESLint
15-
run: pnpm lint
15+
run: yarn lint
1616

1717
- name: Run Prettier
18-
run: pnpm format:check
18+
run: yarn format:check
1919

2020
- name: Run TypeScript
21-
run: pnpm type:check
21+
run: yarn type:check
2222

2323
- name: Run Tests
24-
run: pnpm test
24+
run: yarn test

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ jobs:
3737
cache: 'npm'
3838
- run: npm ci
3939
- env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
4141
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4242
run: npx auto shipit

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
pnpm type:check
4+
yarn type:check

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ We provide a comprehensive example app showcasing all the carousel features. You
208208

209209
```bash
210210
cd example
211-
pnpm install
212-
pnpm start
211+
yarn install
212+
yarn start
213213
```
214214

215215
Then scan the QR code with Expo Go or run on simulator. See the [example app README](./example/README.md) for detailed setup instructions.

example/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,16 @@ This example app demonstrates all the features and capabilities of the `@strv/re
1616
1. **Install dependencies**
1717

1818
```bash
19-
pnpm install
19+
yarn install
2020
```
2121

2222
2. **Start the development server**
2323

2424
```bash
25-
pnpm start
25+
yarn start
2626
```
2727

2828
3. **Run on your preferred platform**
29-
3029
- **iOS Simulator**: Press `i` in the terminal or scan QR with Expo Go
3130
- **Android Emulator**: Press `a` in the terminal or scan QR with Expo Go
3231
- **Physical Device**: Install [Expo Go](https://expo.dev/go) and scan the QR code
@@ -163,7 +162,7 @@ The example app includes custom hooks that you can reference:
163162
**Metro bundler issues:**
164163

165164
```bash
166-
pnpm start --clear-cache
165+
yarn start --clear-cache
167166
```
168167

169168
**iOS build issues:**
@@ -175,7 +174,7 @@ cd ios && pod install && cd ..
175174
**Android build issues:**
176175

177176
```bash
178-
pnpm android --clear
177+
yarn android --clear
179178
```
180179

181180
**Video not playing:**

example/pnpm-lock.yaml

Lines changed: 0 additions & 11370 deletions
This file was deleted.

example/yarn.lock

Lines changed: 6888 additions & 0 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"private": true,
1919
"scripts": {
2020
"prepare": "husky install",
21-
"example": "cd example && pnpm start",
21+
"example": "cd example && yarn start",
2222
"type:check": "tsc --noEmit",
2323
"format:check": "prettier --check '**/*.{ts,tsx,md,json}'",
2424
"format:fix": "prettier --write '**/*.{ts,tsx,md,json}'",

0 commit comments

Comments
 (0)