Skip to content

Commit 17ef4ff

Browse files
committed
refactor(repo): use turbo + rollup + vite
1 parent 7b30931 commit 17ef4ff

File tree

154 files changed

+8024
-11222
lines changed

Some content is hidden

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

154 files changed

+8024
-11222
lines changed

Diff for: .eslintrc.json

-31
This file was deleted.

Diff for: .gitignore

+2-7
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,5 @@ stats.html
1111
.idea
1212
.log
1313

14-
.yarn/*
15-
!.yarn/patches
16-
!.yarn/releases
17-
!.yarn/plugins
18-
!.yarn/sdks
19-
!.yarn/versions
20-
.pnp.*
14+
.turbo
15+
.rollup.cache

Diff for: .npmrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
registry = "https://registry.npmjs.com/"
2-
legacy-peer-deps = true
2+
legacy-peer-deps = true
3+
strict-peer-dependencies=false

Diff for: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

-28
This file was deleted.

Diff for: .yarnrc.yml

-5
This file was deleted.

Diff for: README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ You can find more information in our [React Flow Pro FAQs](https://pro.reactflow
3333

3434
## Installation
3535

36-
The easiest way to get the latest version of React Flow is to install it via npm:
36+
The easiest way to get the latest version of React Flow is to install it via npm, yarn or pnpm:
3737

3838
```bash
3939
npm install reactflow
@@ -64,16 +64,16 @@ function Flow({ nodes, edges, onNodesChange, onEdgesChange, onConnect }) {
6464

6565
## Development
6666

67-
Before you can start developing please make sure that you have yarn classic installed (`npm i -g yarn`). Then install the dependencies using yarn: `yarn`.
67+
Before you can start developing please make sure that you have [pnpm](https://pnpm.io/) installed (`npm i -g pnpm`). Then install the dependencies using pnpm: `pnpm install`.
6868

69-
For local development, you can use `yarn dev`. This will run preconstruct and build all the packages.
69+
For local development, you can use `pnpm dev`.
7070

7171
## Testing
7272

73-
Testing is done with cypress. You can find the tests in the [`integration/flow`](/cypress/integration/flow) folder. In order to run the tests do:
73+
Testing is done with cypress. You can find the tests in the [`examples/cypress`](/examples/cypress/) folder. In order to run the tests do:
7474

7575
```sh
76-
npm run test
76+
pnpm test
7777
```
7878

7979
## Maintainers
@@ -93,7 +93,7 @@ You can also use our [contact form](https://pro.reactflow.dev/contact) or join t
9393

9494
## Credits
9595

96-
React Flow was initially developed for [datablocks](https://datablocks.pro), a graph-based editor for transforming, analyzing and visualizing data in your browser. Under the hood, React Flow depends on these great libraries:
96+
React Flow was initially developed for [datablocks](https://datablocks.pro), a graph-based editor for transforming, analyzing and visualizing data in the browser. Under the hood, React Flow depends on these great libraries:
9797

9898
- [d3-zoom](https://github.com/d3/d3-zoom) - used for zoom, pan and drag interactions with the graph canvas
9999
- [d3-drag](https://github.com/d3/d3-drag) - used for making the nodes draggable

Diff for: examples/nextjs/.eslintrc.json

-3
This file was deleted.

Diff for: examples/nextjs/.gitignore

-32
This file was deleted.

Diff for: examples/nextjs/.prettierrc.json

-5
This file was deleted.

Diff for: examples/nextjs/CHANGELOG.md

-8
This file was deleted.

Diff for: examples/nextjs/README.md

-34
This file was deleted.

Diff for: examples/nextjs/cypress/support/component-index.html

-14
This file was deleted.

Diff for: examples/nextjs/next-env.d.ts

-5
This file was deleted.

Diff for: examples/nextjs/next.config.js

-16
This file was deleted.

Diff for: examples/nextjs/package.json

-39
This file was deleted.

Diff for: examples/nextjs/pages/_app.tsx

-77
This file was deleted.

Diff for: examples/nextjs/postcss.config.json

-19
This file was deleted.

Diff for: examples/nextjs/public/favicon.ico

-33.7 KB
Binary file not shown.

Diff for: examples/nextjs/styles/Home.module.css

-3
This file was deleted.

0 commit comments

Comments
 (0)