Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
willybrauner committed Nov 13, 2023
1 parent 91aa854 commit f974146
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"/examples/basic",
"/examples/with-router"
],
"node": "16"
"node": "18"
}
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: CI
name: tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
version: 8

- name: Install dependencies
run: pnpm install
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ tsconfig-build.tsbuildinfo
out*
.husky
.DS_Store
.turbo
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,10 @@ clear()
pnpm i
```

Start dev server for specific example
Start dev server for all examples

```shell
pnpm run dev:basic
pnpm run dev
```


Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,16 @@
"@types/node": "^20.9.0",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@types/testing-library__jest-dom": "^6.0.0",
"jsdom": "^22.1.0",
"prettier": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.5.0",
"vite-plugin-dts": "^3.6.3",
"tsup": "^7.2.0",
"turbo": "^1.10.16",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite-plugin-dts": "^3.6.3",
"vitest": "^0.34.6"
},
"pnpm": {
Expand Down
15 changes: 15 additions & 0 deletions pnpm-lock.yaml

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

4 changes: 3 additions & 1 deletion test/TransitionsManager.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import * as React from "react";
import { vi, beforeEach, expect, describe, it } from "vitest";
import { act, render } from "@testing-library/react";
import matchers from "@testing-library/jest-dom/matchers";

// @ts-ignore
import matchers from '@testing-library/jest-dom/matchers';

import {
TransitionsHoc,
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
"lib": ["es2015.promise", "es6", "dom", "esnext"],
"jsx": "react",
"moduleResolution": "node",
"types": ["node"],
"declaration": true,
"isolatedModules": false,
"noImplicitAny": false,
"esModuleInterop": true,
"preserveConstEnums": true,
"strictNullChecks": false
"strictNullChecks": false,
"types": ["node","vitest/globals", "@testing-library/jest-dom"]

},
"include": ["./src/**/*", "./test/**/*"],
"exclude": ["node_modules", "dist", "test"]
Expand Down

0 comments on commit f974146

Please sign in to comment.