Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run build
- run: npm publish
- run: npm run build --workspaces --if-present
- run: npm publish --workspaces
if: "!github.event.release.prerelease"
# npm requires explicitly specifying a "tag" like `next` if the semantic version is a prerelease like `2.0.0-alpha1`
- run: npm publish --tag next
- run: npm publish --workspaces --tag next
if: github.event.release.prerelease
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
- name: Install
run: npm ci
- name: Generate docs
run: npm run doc
run: npm run doc --workspace packages/roslib
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v4
with:
path: docs/
path: packages/roslib/docs/

deploy:
needs: build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
run: npm ci

- name: Build JavaScript library
run: npm run build
run: npm run build --workspaces --if-present

- name: Run tests
run: npm test
run: npm test --workspaces --if-present

docs:
uses: ./.github/workflows/docs.yml
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Robot Web Tools JavaScript Client Libraries

This is the monorepo for RobotWebTools JavaScript client libraries.
See the READMEs of individual packages for more information.

## Packages

- [roslibjs](./packages/roslib/README.md)
98 changes: 53 additions & 45 deletions packages/roslib/package-lock.json → package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "@robot-web-tools/workspace",
"workspaces": [
"packages/*"
]
}