Skip to content

Commit 72621a2

Browse files
docs(api): rename ILGS to ILDGS in description without breaking API
1 parent e738d97 commit 72621a2

8 files changed

Lines changed: 14 additions & 18 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
runs-on: ubuntu-latest
1919
permissions:
2020
contents: write
21-
id-token: write
2221

2322
steps:
2423
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -42,6 +41,7 @@ jobs:
4241
yarn tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
4342
env:
4443
INPUT_PATH: ${{ github.event.inputs.path }}
44+
NPM_TOKEN: ${{ secrets.ISAACUS_NPM_TOKEN || secrets.NPM_TOKEN }}
4545

4646
- name: Upload MCP Server DXT GitHub release asset
4747
run: |

.github/workflows/release-doctor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ jobs:
1717
- name: Check release environment
1818
run: |
1919
bash ./bin/check-release-environment
20+
env:
21+
NPM_TOKEN: ${{ secrets.ISAACUS_NPM_TOKEN || secrets.NPM_TOKEN }}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ dist-deno
1111
.eslintcache
1212
dist-bundle
1313
*.mcpb
14-
oidc

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus/isaacus-40ed912911fcd13dff2efeccc6be812469029d210eafe746c5f928eec6db959e.yml
3-
openapi_spec_hash: 5992dd036e090cc43fa15ea5ff985f77
4-
config_hash: c2dabc5b28858404bc25dfc9fea08a25
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus/isaacus-6d99da2f60d8e64d82f99ff705a89038698a2410845bfa3a7e5738d821616727.yml
3+
openapi_spec_hash: 155f43207a56a7b282f2bfdc8e098668
4+
config_hash: 9040e7359f066240ad536041fb2c5185

bin/check-release-environment

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
errors=()
44

5+
if [ -z "${NPM_TOKEN}" ]; then
6+
errors+=("The NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
7+
fi
8+
59
lenErrors=${#errors[@]}
610

711
if [[ lenErrors -gt 0 ]]; then

bin/publish-npm

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22

33
set -eux
44

5-
if [[ ${NPM_TOKEN:-} ]]; then
6-
npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"
7-
elif [[ ! ${ACTIONS_ID_TOKEN_REQUEST_TOKEN:-} ]]; then
8-
echo "ERROR: NPM_TOKEN must be set if not running in a Github Action with id-token permission"
9-
exit 1
10-
fi
5+
npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"
116

127
yarn build
138
cd dist
@@ -62,9 +57,5 @@ else
6257
TAG="latest"
6358
fi
6459

65-
# Install OIDC compatible npm version
66-
npm install --prefix ../oidc/ npm@11.6.2
67-
6860
# Publish with the appropriate tag
69-
export npm_config_registry='https://registry.npmjs.org'
70-
../oidc/node_modules/.bin/npm publish --tag "$TAG"
61+
yarn publish --tag "$TAG"

src/resources/enrichments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export namespace EnrichmentResponse {
5353

5454
/**
5555
* The document enriched into version 1.0.0 of the
56-
* [Isaacus Legal Graph Schema (ILGS)](https://docs.isaacus.com/ilgs).
56+
* [Isaacus Legal Document Graph Schema (ILDGS)](https://docs.isaacus.com/ildgs).
5757
*
5858
* All spans in an enriched document graph are indexed into the Unicode code point
5959
* space of a source document.

src/resources/ilgs/v1/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export interface Date {
120120

121121
/**
122122
* The document enriched into version 1.0.0 of the
123-
* [Isaacus Legal Graph Schema (ILGS)](https://docs.isaacus.com/ilgs).
123+
* [Isaacus Legal Document Graph Schema (ILDGS)](https://docs.isaacus.com/ildgs).
124124
*
125125
* All spans in an enriched document graph are indexed into the Unicode code point
126126
* space of a source document.

0 commit comments

Comments
 (0)