Skip to content

Commit

Permalink
Merge pull request #266 from zazuko/cli-command-help
Browse files Browse the repository at this point in the history
Cli command help
  • Loading branch information
tpluscode authored Jun 13, 2024
2 parents 5867c79 + a94c893 commit c86f900
Show file tree
Hide file tree
Showing 12 changed files with 221 additions and 200 deletions.
5 changes: 5 additions & 0 deletions .changeset/itchy-snakes-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"barnard59": patch
---

Suggest package to install when a CLI command is not found
8 changes: 8 additions & 0 deletions .changeset/lucky-kangaroos-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"barnard59-graph-store": patch
"barnard59-shacl": patch
"barnard59-core": patch
"barnard59": patch
---

Type annotations: remove references to `rdf-js`, using `@rdfjs/types` instead
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- validation
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm ci
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
Expand All @@ -56,7 +56,7 @@ jobs:
- "20"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm ci
Expand All @@ -73,7 +73,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
- run: npm ci
- run: npm run lint

Expand All @@ -91,7 +91,7 @@ jobs:
runs-on: ${{ matrix.env.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.env.node }}
cache: npm
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
runs-on: ${{ matrix.env.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.env.node }}
cache: npm
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/fig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Fig integration

on:
push:
branches:
- cli-command-help

jobs:
push-autocomplete-spec:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Dependencies
run: npm ci
- run: npm run generate-autocomplete-spec
working-directory: packages/cli

- name: Create Autocomplete PR
uses: withfig/push-to-fig-autocomplete-action@v2
with:
token: ${{ secrets.FIG_PAT }}
autocomplete-spec-name: barnard59
spec-path: packages/cli/fig-spec.ts
integration: commander
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20

Expand Down
Loading

0 comments on commit c86f900

Please sign in to comment.