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
2 changes: 2 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"Bash(npm install)",
"Bash(npm install:*)",
"Bash(npm run build:*)",
"Bash(npm run docs:*)",
"Bash(npm run lint:*)",
"Bash(npm run lint:fix:*)",
"Bash(npm show:*)",
Expand All @@ -38,6 +39,7 @@
"Bash(nvm use:*)",
"Bash(tail:*)",
"Bash(tree:*)",
"WebFetch(domain:devblogs.microsoft.com)",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this here? It does not seem like dependency documentation

"WebFetch(domain:docs.slack.dev)",
"WebFetch(domain:github.com)",
"WebFetch(domain:npmjs.com)",
Expand Down
8 changes: 7 additions & 1 deletion .github/maintainers_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ Remove cached project dependencies with `rm -r node_modules package-lock.json` b

The reference docs for each package is independent of the others. They're generated using the `typedoc` and `typedoc-plugin-markdown` packages with the configurations of the package's `typedoc.json` file.

Each package has a script to these generate reference docs. For example:
Generate reference docs for all packages:

```sh
npm run docs
```

Or generate docs for a specific package. For example:

```sh
npm run docs --workspace packages/web-api
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
npm run build --workspace=@slack/socket-mode
- name: Lint
run: npm run lint
- name: Build docs
run: npm run docs
- name: Run tests (Node 18/20)
if: matrix.node-version != '22.x'
shell: bash
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
],
"scripts": {
"changeset": "npx @changesets/cli",
"docs": "npm run docs --workspaces --if-present",
"lint": "npx @biomejs/biome check packages",
"lint:fix": "npx @biomejs/biome check --write packages",
"test": "npm test --workspaces --if-present"
Expand All @@ -30,6 +31,8 @@
"@types/node": "^18.19.130",
"shx": "^0.4.0",
"tsx": "^4.20.6",
"typedoc": "^0.28.7",
"typedoc-plugin-markdown": "^4.7.1",
"typescript": "5.9.3"
}
}
4 changes: 1 addition & 3 deletions packages/cli-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
"devDependencies": {
"@types/sinon": "^21.0.0",
"cross-env": "^10.0.0",
"sinon": "^21.0.0",
"typedoc": "^0.28.7",
"typedoc-plugin-markdown": "^4.7.1"
"sinon": "^21.0.0"
}
}
4 changes: 0 additions & 4 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,5 @@
"test": "npm run test:unit",
"test:node18": "npm run build && node --test --test-reporter=spec --import tsx --test src/index.test.ts",
"test:unit": "npm run build && node --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=lcov.info --test-reporter=junit --test-reporter-destination=test-results.xml --import tsx --test src/index.test.ts"
},
"devDependencies": {
"typedoc": "^0.28.7",
"typedoc-plugin-markdown": "^4.7.1"
}
}
4 changes: 1 addition & 3 deletions packages/oauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@
"devDependencies": {
"@types/sinon": "^21",
"rewiremock": "^3",
"sinon": "^21",
"typedoc": "^0.28.7",
"typedoc-plugin-markdown": "^4.7.0"
"sinon": "^21"
}
}
4 changes: 1 addition & 3 deletions packages/rtm-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@
"devDependencies": {
"@types/sinon": "^17",
"@types/ws": "^8",
"sinon": "^21",
"typedoc": "^0.28.7",
"typedoc-plugin-markdown": "^4.7.1"
"sinon": "^21"
}
}
4 changes: 1 addition & 3 deletions packages/socket-mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@
"@types/sinon": "^21",
"nodemon": "^3.1.0",
"proxyquire": "^2.1.3",
"sinon": "^21",
"typedoc": "^0.28.7",
"typedoc-plugin-markdown": "^4.7.0"
"sinon": "^21"
}
}
4 changes: 1 addition & 3 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@
"test:types": "tsd"
},
"devDependencies": {
"tsd": "^0.33.0",
"typedoc": "^0.28.7",
"typedoc-plugin-markdown": "^4.7.1"
"tsd": "^0.33.0"
},
"tsd": {
"directory": "test"
Expand Down
4 changes: 1 addition & 3 deletions packages/web-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@
"busboy": "^1",
"nock": "^14",
"sinon": "^21",
"tsd": "^0.33.0",
"typedoc": "^0.28.7",
"typedoc-plugin-markdown": "^4.7.1"
"tsd": "^0.33.0"
},
"tsd": {
"directory": "test/types"
Expand Down
4 changes: 1 addition & 3 deletions packages/webhook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
"axios": "^1.13.5"
},
"devDependencies": {
"nock": "^14.0.6",
"typedoc": "^0.28.7",
"typedoc-plugin-markdown": "^4.7.1"
"nock": "^14.0.6"
}
}