Skip to content

Commit ed119d1

Browse files
committed
Move to pnpm
1 parent a962219 commit ed119d1

File tree

132 files changed

+10583
-11451
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+10583
-11451
lines changed

.github/workflows/workflow.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,39 +7,37 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout Repo
10-
uses: actions/checkout@v3
10+
uses: actions/checkout@v4
1111
- name: Use Node.js
12-
uses: actions/setup-node@v3
12+
uses: actions/setup-node@v4
1313
with:
14-
node-version: '18'
14+
node-version: '22'
1515
registry-url: 'https://registry.npmjs.org'
16+
- name: Use PNPM
17+
uses: pnpm/action-setup@v4
18+
with:
19+
version: 9.4.0
1620
- name: Deploy Info
1721
env:
1822
GITHUB_CONTEXT: ${{ toJson(github) }}
1923
run: echo "$GITHUB_CONTEXT"
2024
- name: Install
21-
run: yarn install
25+
run: pnpm install
2226
- name: Build
23-
run: yarn build
27+
run: pnpm build
2428
- name: Test
25-
run: yarn test
26-
- name: Install Prod
27-
run: yarn install --prod
28-
- name: Install Demo
29-
run: yarn --cwd demo install
29+
run: pnpm test
3030
- name: Build Demo
31-
run: yarn --cwd demo build
32-
- name: Test Demo
33-
run: yarn --cwd demo test
31+
run: pnpm build-site
3432
- name: Publish
3533
if: startsWith(github.ref, 'refs/tags/')
36-
run: yarn publish --access public
34+
run: pnpm package
3735
env:
3836
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
3937
- name: Publish Demo
4038
if: startsWith(github.ref, 'refs/tags/')
4139
uses: JamesIves/github-pages-deploy-action@v4.3.0
4240
with:
4341
branch: gh-pages
44-
folder: demo/build/react-sheet-slide
42+
folder: packages/website/build/react-sheet-slide
4543
commit-message: Updates

.gitignore

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,3 @@ dist
2020
npm-debug.log*
2121
yarn-debug.log*
2222
yarn-error.log*
23-
24-
lib/*.d.ts
25-
lib/*.css
26-
lib/hooks/*.js
27-
lib/hooks/*.ts
28-
lib/hooks/*.tsx
29-
lib/utils/*.ts
30-
lib/utils/*.tsx
31-
lib/utils/*.js
32-
/style.css
33-
lib/react-sheet-slide.cjs
34-
lib/react-sheet-slide.dev.cjs
35-
lib/react-sheet-slide.dev.js
36-
lib/react-sheet-slide.js

README.md

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

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
./packages/react-sheet-slide/README.md

0 commit comments

Comments
 (0)