Skip to content

Commit

Permalink
chore: setup corepack + cleanup tsconfig (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa authored Mar 6, 2024
1 parent 1e2914d commit 04da86a
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 48 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@ on:
push:
jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
node-version: 20
- run: corepack enable
- run: pnpm i
- run: pnpm lint-check
- run: pnpm build
Expand Down
1 change: 0 additions & 1 deletion .tool-versions

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# unocss-preset-antd

Simplified [unocss](https://github.com/unocss/unocss) port of [ant-design](https://github.com/ant-design/ant-design)
[UnoCSS](https://github.com/unocss/unocss) port of [Ant Design](https://github.com/ant-design/ant-design)

```sh
pnpm i
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"name": "@hiogawa/unocss-preset-antd-monorepo",
"private": true,
"scripts": {
"build": "pnpm -r build",
"test": "pnpm -r test",
"tsc": "tsc -b",
"dev:tsc": "tsc -b --watch --preserveWatchOutput",
"tsc": "tsc -b packages/*/tsconfig.json",
"dev:tsc": "pnpm tsc --watch --preserveWatchOutput",
"lint": "pnpm run --seq /^lint:/",
"lint-check": "pnpm run --seq /^lint-check:/",
"lint-check:icheck": "icheck-ts --cache $(git grep -l --untracked --exclude-standard . 'packages/app/src/*.ts' 'packages/app/src/*.tsx' 'packages/app-solid/src/*.ts' 'packages/app-solid/src/*.tsx')",
Expand Down Expand Up @@ -32,12 +34,13 @@
"prettier": "^2.8.8",
"tsup": "^7.2.0",
"tsx": "^3.13.0",
"typescript": "^5.2.2",
"typescript": "^5.3.3",
"unocss": "^0.55.7",
"vite": "^4.4.9",
"vitest": "^0.34.4"
},
"packageManager": "pnpm@8.15.4+sha256.cea6d0bdf2de3a0549582da3983c70c92ffc577ff4410cbf190817ddc35137c2",
"volta": {
"node": "18.16.0"
"node": "20.11.1"
}
}
28 changes: 14 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 0 additions & 20 deletions tsconfig.json

This file was deleted.

0 comments on commit 04da86a

Please sign in to comment.