Skip to content

Commit e0cbfc3

Browse files
committed
dev: Add mono-repo information to project info
1 parent 3a818b1 commit e0cbfc3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.prompts/project-info.prompttemplate

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ The JSON Forms mono repository consists of these packages:
2020
- For React we maintain two renderer sets: The `@jsonforms/material-renderers` in `packages/material-renderers`, which are based on the popular Material-UI framework and `@jsonforms/vanilla-renderers` in `packages/vanilla-renderers` which provides pure HTML5 renderers.
2121
For Angular we provide an Angular Material based renderer set (`@jsonforms/angular-material` in `packages/angular-material`). For Vue we provide a HTML5 based renderer set `@jsonforms/vue-vanilla` in `packages/vue-vanilla` and a Vuetify based one `@jsonforms/vue-vuetify` in `packages/vue-vuetify`.
2222

23+
### Mono-repo Setup
24+
25+
- Package Manager: pnpm with lerna for orchestration
26+
- Dependency Management: Each package declares all its dependencies explicitly (no hoisting assumptions). We aim to use the same dependency versions across packages (e.g. for Typescript or Jest)
27+
- Testing: Independent test setup per package. Tests are implemented in separate folder `test` or `tests` within a package.
28+
- Build: Each package has its own build configuration. Rollup is the default tool except if there are other typical tools for the respective technology (e.g. Angular)
29+
- Linting and Formatting: Each package has its own `.eslintrc.js` and `.prettierrc.js` config
30+
- Typescript: Packages extend common base config `tsconfig.base.js`
31+
2332
### Core principles
2433

2534
JSON Forms uses a reducer-style approach for its state management.

0 commit comments

Comments
 (0)