Debian Codegraph @

CONTRIBUTING.md

raw symbols SCIP
1 # Contributing to some autocomplete package
2 Hey there! We are glad you want to contribute to some autocomplete package, hereby are mentioned some generic instructions, but you should refer to each package CONTRIBUTING.md file to learn more.
3
4 - [`create-completion-spec`](cli/create-completion-spec/CONTRIBUTING.md)
5 - [`@fig/publish-spec`](cli/publih-spec-to-team/CONTRIBUTING.md)
6 - [`@withfig/autocomplete-tools`](cli/tools-cli/CONTRIBUTING.md)
7 - [`@fig/eslint-config-autocomplete`](eslint/config-autocomplete/CONTRIBUTING.md)
8 - [`@withfig/eslint-plugin-fig-linter`](eslint/plugin-fig-linter/CONTRIBUTING.md)
9 - [`@fig/autocomplete-generators`](generators/CONTRIBUTING.md)
10 - [`@fig/autocomplete-helpers`](helpers/CONTRIBUTING.md)
11 - [`argparse_complete_fig`](integrations/argparse/CONTRIBUTING.md)
12 - [`cement_complete_fig`](integrations/cement/CONTRIBUTING.md)
13 - [`clap_complete_fig`](integrations/clap/CONTRIBUTING.md)
14 - [`click_complete_fig`](integrations/click/CONTRIBUTING.md)
15 - [`cobracompletefig`](integrations/cobra/CONTRIBUTING.md)
16 - [`@fig/complete-commander`](integrations/commander/CONTRIBUTING.md)
17 - [`@fig/complete-oclif`](integrations/oclif/CONTRIBUTING.md)
18 - [`swift-argument-parser`](integrations/swift-argument-parser/CONTRIBUTING.md)
19 - [`@fig/autocomplete-merge`](merge/CONTRIBUTING.md)
20 - [`@fig/autocomplete-shared`](shared/CONTRIBUTING.md)
21 - [`@withfig/autocomplete-types`](types/CONTRIBUTING.md)
22
23 ## Generic workflow
24
25 1. Open an issue to get some feedback from the Fig team on your problem so that you don't risk to waste hours of work
26 2. Once you got some feedback you can fork the repo and clone in on your machine
27 3. Run `pnpm install` in the root of the monorepo to get the deps installed
28 4. Work on the new feature/fix, be sure to follow conventions
29 5. Add tests for the edits done , (run all the tests from the root of the repo using `pnpm test` or from each specific package using `pnpm run --filter ./<package name> test`)
30 6. Push to your fork
31 7. Open a PR
32 8. Enjoy the feat/fix live!
33
34 ## Structure of the repo
35
36 We are using pnpm workspaces in this repo. All CLIs are under the cli/ folder, while most of the other packages are in the root of the repo.
37 Concerning `npm` commands there are some global ones available from the root of the monorepo and some other relative to the packages.
38
39 ## What is a good PR?
40
41 A good PR should have tests if applicable and some kind of description telling what changes were done.