Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
0d252ff
Reorganize modules/exports and auto-generate docs
DocDvorak Jun 7, 2026
929c5a7
Update guides and example code
DocDvorak Jun 11, 2026
adc5321
Fix docs workflow permissions
DocDvorak Jun 11, 2026
3f293d2
Add `id-token: write` permission to deploy job
DocDvorak Jun 11, 2026
b9efab3
Docs and examples
DocDvorak Jun 11, 2026
7ef52b8
Fix ScreepsConfigManager bug and add more details to debug logs
DocDvorak Jun 11, 2026
dded65f
Fix/Improve ScreepsSocketClient
DocDvorak Jun 11, 2026
6139a6e
Add text-client example script
DocDvorak Jun 11, 2026
86f04d8
docs: Update README
DocDvorak Jun 11, 2026
c6f12be
Workflow tweaks
DocDvorak Jun 11, 2026
87aa2b8
docs: Fix example and guide doc grouping/categorization
DocDvorak Jun 11, 2026
5d869ff
docs: Disable entrypoint module
DocDvorak Jun 11, 2026
ce9c4a4
docs: Generate links for error types in @throws tags
DocDvorak Jun 11, 2026
acf5091
docs: Add favicon
DocDvorak Jun 11, 2026
db9ae7e
docs: Fix typo
DocDvorak Jun 11, 2026
77cdd8c
docs: Hide ScreepsSocketClient constructor
DocDvorak Jun 11, 2026
53d6cb0
Rename RateLimitTracker to ScreepsRateLimitTracker
DocDvorak Jun 11, 2026
e6d0aa9
Refactor union type aliases into object const enums
DocDvorak Jun 11, 2026
e876010
Define constants and add docblocks for ScreepsSocketClient events
DocDvorak Jun 11, 2026
c6acf5b
Make UserFindResponse.gcl optional and document undefined condition
DocDvorak Jun 12, 2026
b1660c3
docs: Update README
DocDvorak Jun 12, 2026
f62c0ca
docs: Fix favicon
DocDvorak Jun 12, 2026
710ec13
docs: Group typedoc options by category and alphabetize
DocDvorak Jun 12, 2026
3ce09d1
docs: Group top-level reflections
DocDvorak Jun 12, 2026
c74f582
Renamed src/common/rooms for better internal consistency
DocDvorak Jun 12, 2026
c4dedce
fix: Fix examples
DocDvorak Jun 13, 2026
915b1f1
docs: Add ScreepsHttpClient.setServer docblock
DocDvorak Jun 13, 2026
57c125a
Implement LLM review feedback
DocDvorak Jun 13, 2026
748249c
Implement tiennou review feedback
DocDvorak Jun 13, 2026
a2c6697
Fix: Follow-up fixes revealed by tiennou doc feedback
DocDvorak Jun 13, 2026
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
43 changes: 43 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Deploy Docs Site
on:
push:
branches:
- master

# Prohibit concurrent workflows
concurrency:
group: pages
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- run: corepack enable
- uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: yarn
- run: yarn install --immutable
- run: yarn build:docs
- id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: ./docs

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
permissions:
id-token: write
pages: write
needs: build
steps:
- id: deployment
uses: actions/deploy-pages@v4
18 changes: 9 additions & 9 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ on:
- master

jobs:
build:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- run: corepack enable
- uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: yarn
- run: yarn install --immutable
- run: yarn lint
- uses: actions/checkout@v6
- run: corepack enable
- uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: yarn
- run: yarn install --immutable
- run: yarn lint
25 changes: 13 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
name: Publish
name: Publish to NPM
on:
# Trigger when a new release is published on the Github repo
release:
types: [published]

jobs:
build:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- run: corepack enable
- uses: actions/setup-node@v6
with:
node-version-file: .node-version
registry-url: https://registry.npmjs.org/
cache: yarn
- run: yarn install --immutable
- run: yarn test
- run: yarn npm publish --access public
- uses: actions/checkout@v6
- run: corepack enable
- uses: actions/setup-node@v6
with:
node-version-file: .node-version
registry-url: https://registry.npmjs.org/
cache: yarn
- run: yarn install --immutable
- run: yarn test
- run: yarn npm publish --access public
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ on:
- master

jobs:
build:
test:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- run: corepack enable
- uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: yarn
- run: yarn install --immutable
- run: yarn test
- uses: actions/checkout@v6
- run: corepack enable
- uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: yarn
- run: yarn install --immutable
- run: yarn test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
node_modules
auth.js
dist
docs
npm-debug.log

screeps.json
Expand Down
Loading