Loading...
If you happen to see this article, you must want to contribute to this project
"My code level is not good", "Will I be despised?", "Will it be bad?", don't worry, it doesn't exist!
We welcome any form of contribution, whether it is a typo modification, or a friendly suggestion, whether it is by submitting an Issue or a cool pull request , or a discussion in the DingTalk group, participate in discussions in discussions, and look forward to contributing See your avatar in the list of contributors.
At present, we are developing based on the next
branch. If there is any modification, please pull a branch based on the next
, and then in the form of PR
, we have integrated the DingTalk robot, which will review your PR for the first time and give feedback
I'm sorry to write some bugs again, but please kindly submit a meaningful bug feedback. No one wants to report bugs like this:
There is no version information, no steps to reproduce, no description of the problem, no code snippets, the opening sentence, the content is all guesswork.
First select [Bug report]
Fill in the relevant information according to the Issue template. Yes, these steps are a little cumbersome, but they are necessary. Each user has different scenarios, system environment, software version, or some specific steps are required to reproduce the bug. Saying it clearly at this time can save everyone's time!
Example PR (pr description reference)
pnpm install
or pnpm bootstrap
close #issue 号
after the submission information, so that the corresponding issue can be automatically closed after the pr is merged, such as fix: render bug close #123
We use pnpm@v7
for package management
npm i -g pnpm
pnpm install
installation dependenciespnpm site:start
starts the local S2
websitepnpm core:start
uses a visual way to debug the single test of the core layer (based on jest-electron)pnpm react:start
can debug the unit test of the React version in a visual way (based on jest-electron)pnpm react:playground
starts a local interactive React version Demo (based on vite)pnpm vue:playground
starts a local interactive Vue3 version Demo (based on vite)pnpm build
builds @antv/s2
, @antv/s2-react
and @antv/s2-vue
3 packages, and outputs umd
, esm
and lib
directories respectivelypnpm test
runs unit testspnpm lint
static code detection