Skip to content

Commit

Permalink
Refactor single repo (#103)
Browse files Browse the repository at this point in the history
* refactor to single repo

* fix all typecheck

* setup workflow

* remove all pnpm
  • Loading branch information
invisal authored Jun 21, 2024
1 parent ebebcf2 commit 7c82905
Show file tree
Hide file tree
Showing 342 changed files with 21,466 additions and 17,319 deletions.
File renamed without changes.
32 changes: 2 additions & 30 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,43 +14,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.13.1
run_install: false

- uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Cache pnpm
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Cache turbo tasks
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-

- name: Install dependencies
run: pnpm install
run: npm install

- name: Run Check
run: pnpm run staged
run: npm run staged

- name: Log success
run: echo "✅ Success!"
46 changes: 0 additions & 46 deletions blocknote/.gitignore

This file was deleted.

File renamed without changes.
63 changes: 0 additions & 63 deletions config/eslint/base.js

This file was deleted.

6 changes: 0 additions & 6 deletions config/eslint/next.js

This file was deleted.

19 changes: 0 additions & 19 deletions config/eslint/package.json

This file was deleted.

25 changes: 0 additions & 25 deletions config/eslint/react.js

This file was deleted.

4 changes: 0 additions & 4 deletions config/eslint/tsconfig.json

This file was deleted.

93 changes: 0 additions & 93 deletions config/tailwind/index.ts

This file was deleted.

17 changes: 0 additions & 17 deletions config/tailwind/package.json

This file was deleted.

Loading

0 comments on commit 7c82905

Please sign in to comment.