Skip to content

Commit 658b12f

Browse files
committed
chore: init
1 parent 6ca7d1d commit 658b12f

File tree

7 files changed

+8667
-11889
lines changed

7 files changed

+8667
-11889
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/config@3.0.5/schema.json",
3-
"changelog": ["@changesets/changelog-github", { "repo": "fe-dudu/react-native-horizontal-picker2" }],
3+
"changelog": ["@changesets/changelog-github", { "repo": "fe-dudu/expo-horizontal-picker" }],
44
"commit": false,
55
"fixed": [],
66
"linked": [],

.github/actions/pnpm-setup-node/action.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: setup yarn & node
2+
description: setup yarn & node
3+
runs:
4+
using: composite
5+
steps:
6+
- uses: actions/setup-node@v4
7+
with:
8+
cache: "yarn"
9+
cache-dependency-path: "yarn.lock"
10+
node-version-file: ".nvmrc"
11+
12+
- name: Install Yarn
13+
shell: bash
14+
run: corepack enable && corepack prepare yarn@stable --activate

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- uses: ./.github/actions/pnpm-setup-node
13-
- run: pnpm install --frozen-lockfile --ignore-script
12+
- uses: ./.github/actions/yarn-setup-node
13+
- run: yarn install --frozen-lockfile --ignore-scripts
1414
- run: |
1515
git config --global user.name "fe-dudu"
1616
git config --global user.email "ehehwhdwhd@naver.com"
@@ -20,8 +20,8 @@ jobs:
2020
with:
2121
title: "chore: version packages"
2222
commit: "chore: version packages"
23-
version: pnpm changeset:version
24-
publish: pnpm changeset:publish
23+
version: yarn changeset:version
24+
publish: yarn changeset:publish
2525
setupGitUser: false
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
{
22
"name": "expo-horizontal-picker",
33
"version": "0.1.0",
4-
"description": "My new module",
4+
"description": "expo-horizontal-picker",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",
77
"scripts": {
88
"build": "expo-module build",
99
"changeset": "changeset",
10-
"changeset:publish": "pnpm build && changeset publish",
10+
"changeset:publish": "yarn build && changeset publish",
1111
"changeset:version": "changeset version && pnpm i --lockfile-only",
1212
"clean": "expo-module clean",
1313
"lint": "expo-module lint",
1414
"test": "expo-module test",
15-
"prepare": "expo-module prepare",
1615
"prepublishOnly": "expo-module prepublishOnly",
1716
"expo-module": "expo-module",
1817
"open:ios": "xed example/ios",
@@ -55,5 +54,9 @@
5554
"react": "*",
5655
"react-native": "*",
5756
"react-native-reanimated": ">=2.10.0"
58-
}
57+
},
58+
"publishConfig": {
59+
"access": "public"
60+
},
61+
"packageManager": "yarn@1.22.22"
5962
}

0 commit comments

Comments
 (0)