@mintlify/cli 4.0.1566 → 4.0.1568
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -0
- package/CONTRIBUTING.md +3 -3
- package/bin/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +12 -12
package/.turbo/turbo-build.log
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$ tsc --project tsconfig.build.json && node scripts/bundle-converter.mjs
|
package/CONTRIBUTING.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Running CLI Locally
|
|
2
2
|
|
|
3
|
-
Note: contributing requires `
|
|
3
|
+
Note: contributing requires `pnpm` and it's recommended you install it as a global installation. If you don't have pnpm installed already run `npm install -g pnpm` in your terminal.
|
|
4
4
|
|
|
5
|
-
Run
|
|
5
|
+
Run `./scripts/with-registry-auth.sh pnpm install` from the repository root to install dependencies. Then, run `npm link` once to link to your local version of the CLI in the npm global namespace (`npm list -g`). Make sure you are working in `packages/cli` and not its alias package, `packages/mintlify`.
|
|
6
6
|
|
|
7
7
|
If you already have a non-local version of the CLI, you will need to uninstall it (`npm uninstall -g mint`) or force overwrite the executable file. Otherwise, you will get an `EEXIST` error on the mintlify binary. You can overwrite the file using the `--force` flag (`npm link --force`), but always double check the file(s) you are overwriting.
|
|
8
8
|
|
|
9
|
-
Make sure to build the CLI using `
|
|
9
|
+
Make sure to build the CLI using `pnpm build` or `pnpm watch` to see your local changes reflected. Tip: keep `pnpm watch` running in a separate terminal for changes to be quickly and continuously reflected while developing.
|
|
10
10
|
|
|
11
11
|
To uninstall locally, run `npm uninstall -g @mintlify/cli`.
|
|
12
12
|
|