-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from yarn to pnpm and make other DX improvements
- Loading branch information
Showing
62 changed files
with
12,974 additions
and
204,431 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
# Unignore dotfiles | ||
!.* | ||
|
||
# Node.js | ||
# dependencies | ||
**/node_modules/ | ||
|
||
# Generated files | ||
# temporary files | ||
**/temp/ | ||
|
||
# generated files | ||
**/__generated__/ | ||
|
||
# Jest snapshot files | ||
# jest | ||
*.snap | ||
|
||
# App builds | ||
/apps/next/.next | ||
# next.js | ||
/apps/next/.next/ | ||
/apps/next/out/ | ||
|
||
# vim: set filetype=ignore: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,30 +8,35 @@ jobs: | |
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node | ||
uses: actions/setup-node@v2 | ||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16.10.0' | ||
cache: yarn | ||
cache-dependency-path: '**/yarn.lock' | ||
node-version: 16 | ||
|
||
- uses: pnpm/[email protected] | ||
name: Install pnpm | ||
id: pnpm-install | ||
with: | ||
version: 7 | ||
run_install: false | ||
|
||
# - name: Set up tmate session | ||
# uses: mxschmitt/action-tmate@v2 | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile --check-files | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Run type checks | ||
run: npm run typecheck | ||
run: pnpm run typecheck | ||
|
||
- name: Run lint | ||
run: npm run lint | ||
run: pnpm run lint | ||
|
||
- name: Run tests | ||
run: npm run test::ci | ||
run: pnpm run test::ci | ||
|
||
- name: Send Slack notification for job status | ||
uses: 8398a7/action-slack@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
./node_modules/.bin/lint-staged --config config/lint-staged.config.js | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
public-hoist-pattern[]=@jest/types | ||
public-hoist-pattern[]=@trpc/server | ||
public-hoist-pattern[]=cac | ||
public-hoist-pattern[]=chrono-node | ||
public-hoist-pattern[]=firebase | ||
public-hoist-pattern[]=js-combinatorics | ||
public-hoist-pattern[]=micro-memoize | ||
public-hoist-pattern[]=plaid | ||
public-hoist-pattern[]=remeda | ||
public-hoist-pattern[]=timm | ||
public-hoist-pattern[]=zod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
# Node.js | ||
# dependencies | ||
**/node_modules/ | ||
|
||
# Temporary files | ||
# temporary files | ||
**/temp/ | ||
|
||
# Generated files | ||
# generated files | ||
**/__generated__/ | ||
|
||
# Jest snapshot files | ||
# jest | ||
*.snap | ||
|
||
# App builds | ||
/apps/next/.next | ||
# next.js | ||
/apps/next/.next/ | ||
/apps/next/out/ | ||
|
||
# pnpm | ||
pnpm-lock.yaml | ||
|
||
# vim: set filetype=ignore: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.