You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,26 @@ cd tutorialkit
24
24
25
25
5. Run `pnpm run test` to run core tests
26
26
27
+
The monorepo consists of multiple packages that are grouped into following groups:
28
+
29
+
### Core Packages
30
+
31
+
These packages will be installed by the end-users in their `package.json`.
32
+
33
+
-`@tutorialkit/astro`
34
+
-`@tutorialkit/components-react`
35
+
-`@tutorialkit/runtime`
36
+
-`@tutorialkit/theme`
37
+
-`@tutorialkit/types`
38
+
39
+
### CLI Packages
40
+
41
+
The CLI packages are expected to be run by users using `npm create tutorial` and `npx tutorialkit` commands.
42
+
These should not be added to `package.json`.
43
+
44
+
-`@tutorialkit/cli`
45
+
-`create-tutorial`
46
+
27
47
## Testing TutorialKit against external packages
28
48
29
49
You may wish to test your locally-modified copy of TutorialKit against another package that is using it. For pnpm, after building TutorialKit, you can use [`pnpm.overrides`](https://pnpm.io/package_json#pnpmoverrides). Please note that `pnpm.overrides` must be specified in the root `package.json` and you must first list the package as a dependency in the root `package.json`:
0 commit comments