Skip to content

Commit 92fd8fd

Browse files
Switch to PNPM, Add extensions, update default template, remove vite template (#290)
* Add extensions, update default template, remove vite template - Removed vite template - Added extensions - Updated docs - Updated default templates - Updated package versions - Added mantine UI * Added changeset * updated lockfile * Update packages/create-sei/templates/next-template/src/app/globals.css Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/create-sei/templates/next-template/package.json Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update install state * Update github actions to use newer versions - Move submodules to just be in the registry package - Exclude .next files * Switch to pnpm --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2df51c5 commit 92fd8fd

92 files changed

Lines changed: 19998 additions & 28424 deletions

File tree

Some content is hidden

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

.changeset/sour-tables-hear.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@sei-js/create-sei": major
3+
---
4+
5+
Updated default template and added extensions

.github/workflows/checks.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,25 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0 # Fetch the full history instead of a shallow clone
1313

14-
- uses: actions/setup-node@v3
14+
- uses: actions/setup-node@v4
1515
with:
16-
node-version: 20
16+
node-version-file: '.nvmrc'
1717

18-
- name: Enable Corepack
19-
run: corepack enable
18+
- name: Install pnpm
19+
uses: pnpm/action-setup@v4
2020

21-
- name: Yarn Install
22-
run: yarn
21+
- name: Install system dependencies
22+
run: sudo apt-get update && sudo apt-get install -y rsync
23+
24+
- name: Install dependencies
25+
run: pnpm install --frozen-lockfile
2326

2427
- name: Build All Packages
25-
run: yarn build:all
28+
run: pnpm build:all
2629

2730
- name: Test
28-
run: yarn test:all
31+
run: pnpm test:all

.github/workflows/coverage.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,34 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0 # Fetch the full history instead of a shallow clone
2121
- name: Use Node.js
22-
uses: actions/setup-node@v2
22+
uses: actions/setup-node@v4
2323
with:
24-
node-version: 18
24+
node-version-file: '.nvmrc'
2525

2626
- uses: browser-actions/setup-chrome@v1
2727
- run: chrome --version
2828

29-
- name: Enable Corepack
30-
run: corepack enable
29+
- name: Install pnpm
30+
uses: pnpm/action-setup@v4
31+
32+
- name: Install system dependencies
33+
run: sudo apt-get update && sudo apt-get install -y rsync
3134

3235
- name: Install dependencies
33-
run: yarn install
36+
run: pnpm install --frozen-lockfile
3437

3538
- name: Build packages
36-
run: yarn build:all
39+
run: pnpm build:all
3740

3841
- name: Run Jest tests
39-
run: yarn test:coverage
42+
run: pnpm test:coverage
4043

4144
- name: Upload coverage reports to Codecov
42-
uses: codecov/codecov-action@v3
45+
uses: codecov/codecov-action@v4
4346
with:
4447
files: '**/coverage-final.json'
4548
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/notify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Check out code
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0 # Fetch the full history instead of a shallow clone
2323

.github/workflows/release.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,33 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout Repo
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
18-
fetch-depth: 0 # Fetch the full history instead of a shallow clone
19-
- name: Setup Node.js 18.x
20-
uses: actions/setup-node@v3
18+
fetch-depth: 0
19+
submodules: recursive
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v4
2122
with:
22-
node-version: 18
23+
node-version-file: '.nvmrc'
2324

24-
- name: Enable Corepack
25-
run: corepack enable
25+
- name: Install pnpm
26+
uses: pnpm/action-setup@v4
27+
28+
- name: Install system dependencies
29+
run: sudo apt-get update && sudo apt-get install -y rsync
2630

2731
- name: Install Dependencies
28-
run: yarn
32+
run: pnpm install --frozen-lockfile
2933

3034
- name: Build Packages
31-
run: yarn build:all
35+
run: pnpm build:all
3236

3337
- name: Create Release Pull Request or Publish to npm
3438
id: changesets
3539
uses: changesets/action@v1
3640
with:
3741
# Release builds the packages and calls changeset publish
38-
publish: yarn release
42+
publish: pnpm release
3943
env:
4044
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4145
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.yarn/install-state.gz

-1.45 MB
Binary file not shown.

.yarn/releases/yarn-4.7.0.cjs

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

.yarnrc.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ The correct Yarn version will be automatically used thanks to the `packageManage
3939

4040
### Building
4141

42-
To build all packages and docs, run `yarn install` then `yarn build:all`
42+
To build all packages and docs, run `pnpm install` then `pnpm build:all`

docs/contributing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Before you begin, ensure you have:
6464
Build all packages in the correct order:
6565

6666
```bash
67-
yarn build:all
67+
pnpm build:all
6868
```
6969

7070
<Check>

0 commit comments

Comments
 (0)