Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ jobs:
uses: ./.github/actions/setup-cli-deps
with:
node-version: "22"
# typedoc is needed only to generate the cli-kit API docs published to
# GitHub Pages. It's installed here just-in-time rather than tracked as a
# cli-kit devDependency so it doesn't generate Dependabot churn. Left
# unpinned so docs track the latest typedoc (and stay compatible with the
# repo's TypeScript) automatically; nothing here is committed.
- name: Install typedoc (docs generation only)
run: pnpm --filter @shopify/cli-kit add --save-dev typedoc
Comment on lines +41 to +47
- name: Build TSDoc docs
run: pnpm build-api-docs --output-style=stream
- name: Build Markdown files into HTML
Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The list below contains valuable resources for people interested in contributing

The [`@shopify/cli-kit`](https://www.npmjs.com/package/@shopify/cli-kit) NPM package provides utilities to abstract away interactions with the Shopify platform (e.g., authentication, API requests) and ensures experiences are consistent across the board. If you are creating a new plugin or contributing to an existing one, we recommend checking out the following resources:

- [API reference](https://shopify.github.io/cli/api/cli-kit/)
- [Creating a new command or flag](cli-kit/command-guidelines.md)
- [Content and UI guidelines](cli-kit/ui-kit/guidelines.md)
- [Using UI Kit](cli-kit/ui-kit/readme.md)
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,9 @@
"**/graphql/**/generated/*.ts"
],
"project": "**/*.{ts,tsx}!",
"ignoreBinaries": [
"open"
],
"ignoreDependencies": [
"@graphql-typed-document-node/core"
"@graphql-typed-document-node/core",
"typedoc"
],
"vite": {
"config": [
Expand Down
4 changes: 1 addition & 3 deletions packages/cli-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"build": "nx build",
"clean": "nx clean",
"build-api-docs": "nx build-api-docs",
"open-api-docs": "nx open-api-docs",
"lint": "nx lint",
"lint:fix": "nx lint:fix",
"prepack": "NODE_ENV=production pnpm nx build && cp ../../README.md README.md",
Expand Down Expand Up @@ -170,8 +169,7 @@
"@vitest/coverage-istanbul": "^3.1.4",
"msw": "^2.7.1",
"node-stream-zip": "^1.15.0",
"ts-morph": "^17.0.1",
"typedoc": "^0.28.17"
"ts-morph": "^17.0.1"
},
"engines": {
"node": ">=22.12.0"
Expand Down
10 changes: 0 additions & 10 deletions packages/cli-kit/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,6 @@
"cwd": "packages/cli-kit"
}
},
"open-api-docs": {
"executor": "nx:run-commands",
"dependsOn": [
"build-api-docs"
],
"options": {
"command": "open ../../docs/api/cli-kit/index.html",
"cwd": "packages/cli-kit"
}
},
"lint": {
"executor": "nx:run-commands",
"options": {
Expand Down
Loading
Loading