Skip to content

Commit

Permalink
Bump dependencies and remove Typedoc configurations.
Browse files Browse the repository at this point in the history
Updated package versions across multiple modules, including `nats-core`, `jetstream`, `kv`, `nkeys`, and `nuid`. Removed doc scripts and configuration from packages while centralizing documentation generation in a new `docs/package.json` file. These changes aim to simplify dependency management and streamline the documentation process.

Signed-off-by: Alberto Ricart <[email protected]>
  • Loading branch information
aricart committed Jan 16, 2025
1 parent 5a4accf commit be70677
Show file tree
Hide file tree
Showing 18 changed files with 79 additions and 75 deletions.
6 changes: 3 additions & 3 deletions core/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/nats-core",
"version": "3.0.0-48",
"version": "3.0.0-49",
"exports": {
".": "./src/mod.ts",
"./internal": "./src/internal_mod.ts"
Expand Down Expand Up @@ -35,7 +35,7 @@
"test": "deno test -A --parallel --reload tests/ --import-map=./import_map.json"
},
"imports": {
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.0-3",
"@nats-io/nuid": "jsr:@nats-io/[email protected].1-2"
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.2",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.3"
}
}
12 changes: 5 additions & 7 deletions core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/nats-core",
"version": "3.0.0-48",
"version": "3.0.0-49",
"files": [
"lib/",
"LICENSE",
Expand All @@ -23,7 +23,6 @@
"pre-process": "npm run clean && deno run -A ../bin/cjs-fix-imports.ts -o ./build/src ./src",
"build-cjs": "npm run pre-process && tsc",
"build": "npm run build-cjs",
"doc": "npm run build && typedoc --out ../docs/core && touch ../docs/core/.nojekyll",
"prepack": "npm run build",
"bump-qualifier": "npm version prerelease --no-commit-hooks --no-git-tag-version",
"bump-release": "npm version patch --no-commit-hooks --no-git-tag-version"
Expand All @@ -34,13 +33,12 @@
},
"description": "nats-core library - this library implements all the base functionality for NATS javascript clients",
"dependencies": {
"@nats-io/nkeys": "2.0.0-3",
"@nats-io/nuid": "2.0.1-2"
"@nats-io/nkeys": "2.0.2",
"@nats-io/nuid": "2.0.3"
},
"devDependencies": {
"@types/node": "^22.7.6",
"@types/node": "22.10.7",
"shx": "^0.3.4",
"typedoc": "^0.26.10",
"typescript": "^5.5.4"
"typescript": "5.6.3"
}
}
2 changes: 1 addition & 1 deletion core/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// This file is generated - do not edit
export const version = "3.0.0-48";
export const version = "3.0.0-49";
14 changes: 14 additions & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"scripts": {
"doc": "npm run core; npm run jetstream; npm run kv; npm run obj; npm run services",
"core": "(cd ../core; npm run build && typedoc --out ../docs/core && touch ../docs/core/.nojekyll)",
"jetstream": "(cd ../jetstream; npm run build && typedoc --out ../docs/jetstream && touch ../docs/jetstream/.nojekyll)",
"kv": "(cd ../kv; npm run build && typedoc --out ../docs/kv && touch ../docs/kv/.nojekyll)",
"obj": "(cd ../obj; npm run build && typedoc --out ../docs/obj && touch ../docs/obj/.nojekyll)",
"services": "(cd ../services; npm run build && typedoc --out ../docs/services && touch ../docs/services/.nojekyll)"
},
"devDependencies": {
"typescript": "5.6.3",
"typedoc": "^0.27.6"
}
}
4 changes: 2 additions & 2 deletions jetstream/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/jetstream",
"version": "3.0.0-35",
"version": "3.0.0-36",
"exports": {
".": "./src/mod.ts",
"./internal": "./src/internal_mod.ts"
Expand Down Expand Up @@ -33,6 +33,6 @@
"test": "deno test -A --parallel --reload --trace-leaks --quiet tests/ --import-map=import_map.json"
},
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-48"
"@nats-io/nats-core": "jsr:@nats-io/[email protected]49"
}
}
10 changes: 5 additions & 5 deletions jetstream/import_map.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"imports": {
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.0-3",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.1-2",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-48",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-48/internal",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.2",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.3",
"@nats-io/nats-core": "jsr:@nats-io/[email protected]49",
"@nats-io/nats-core/internal": "jsr:@nats-io/[email protected]49/internal",
"test_helpers": "../test_helpers/mod.ts",
"@std/io": "jsr:@std/io@0.224.0"
"@std/io": "jsr:@std/io@0.225.0"
}
}
10 changes: 4 additions & 6 deletions jetstream/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/jetstream",
"version": "3.0.0-35",
"version": "3.0.0-36",
"files": [
"lib/",
"LICENSE",
Expand All @@ -23,7 +23,6 @@
"pre-process": "npm run clean && deno run -A ../bin/cjs-fix-imports.ts -o ./build/src ./src",
"build-cjs": "npm run pre-process && tsc",
"build": "npm run build-cjs",
"doc": "npm run build && typedoc --out ../docs/jetstream && touch ../docs/jetstream/.nojekyll",
"prepack": "npm run build",
"bump-qualifier": "npm version prerelease --no-commit-hooks --no-git-tag-version",
"bump-release": "npm version patch --no-commit-hooks --no-git-tag-version"
Expand All @@ -34,12 +33,11 @@
},
"description": "jetstream library - this library implements all the base functionality for NATS JetStream for javascript clients",
"dependencies": {
"@nats-io/nats-core": "3.0.0-48"
"@nats-io/nats-core": "3.0.0-49"
},
"devDependencies": {
"@types/node": "^22.7.6",
"@types/node": "^22.10.7",
"shx": "^0.3.4",
"typedoc": "^0.26.10",
"typescript": "^5.6.3"
"typescript": "5.6.3"
}
}
6 changes: 3 additions & 3 deletions kv/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/kv",
"version": "3.0.0-29",
"version": "3.0.0-30",
"exports": {
".": "./src/mod.ts",
"./internal": "./src/internal_mod.ts"
Expand Down Expand Up @@ -33,7 +33,7 @@
"test": "deno test -A --parallel --reload --quiet tests/ --import-map=import_map.json"
},
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-48",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-35"
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-49",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-36"
}
}
14 changes: 7 additions & 7 deletions kv/import_map.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-48",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-48/internal",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-35",
"@nats-io/jetstream/internal": "jsr:@nats-io/jetstream@~3.0.0-35/internal",
"@nats-io/nats-core": "jsr:@nats-io/[email protected]49",
"@nats-io/nats-core/internal": "jsr:@nats-io/[email protected]49/internal",
"@nats-io/jetstream": "jsr:@nats-io/[email protected]36",
"@nats-io/jetstream/internal": "jsr:@nats-io/[email protected]36/internal",
"test_helpers": "../test_helpers/mod.ts",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.0-3",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.1-2",
"@std/io": "jsr:@std/io@0.224.0"
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.2",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.3",
"@std/io": "jsr:@std/io@0.225.0"
}
}
12 changes: 5 additions & 7 deletions kv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/kv",
"version": "3.0.0-29",
"version": "3.0.0-30",
"files": [
"lib/",
"LICENSE",
Expand All @@ -23,7 +23,6 @@
"pre-process": "npm run clean && deno run -A ../bin/cjs-fix-imports.ts -o ./build/src ./src",
"build-cjs": "npm run pre-process && tsc",
"build": "npm run build-cjs",
"doc": "npm run build && typedoc --out ../docs/kv && touch ../docs/kv/.nojekyll",
"prepack": "npm run build",
"bump-qualifier": "npm version prerelease --no-commit-hooks --no-git-tag-version",
"bump-release": "npm version patch --no-commit-hooks --no-git-tag-version"
Expand All @@ -34,13 +33,12 @@
},
"description": "kv library - this library implements all the base functionality for NATS KV javascript clients",
"dependencies": {
"@nats-io/jetstream": "3.0.0-35",
"@nats-io/nats-core": "3.0.0-48"
"@nats-io/jetstream": "3.0.0-36",
"@nats-io/nats-core": "3.0.0-49"
},
"devDependencies": {
"@types/node": "^22.7.6",
"@types/node": "^22.10.7",
"shx": "^0.3.4",
"typedoc": "^0.26.10",
"typescript": "^5.6.3"
"typescript": "5.6.3"
}
}
4 changes: 2 additions & 2 deletions obj/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"test": "deno test -A --parallel --reload --quiet tests/ --import-map=import_map.json"
},
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-48",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-35"
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-49",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-36"
}
}
14 changes: 7 additions & 7 deletions obj/import_map.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-48",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-48/internal",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-35",
"@nats-io/jetstream/internal": "jsr:@nats-io/jetstream@~3.0.0-35/internal",
"@nats-io/nats-core": "jsr:@nats-io/[email protected]49",
"@nats-io/nats-core/internal": "jsr:@nats-io/[email protected]49/internal",
"@nats-io/jetstream": "jsr:@nats-io/[email protected]36",
"@nats-io/jetstream/internal": "jsr:@nats-io/[email protected]36/internal",
"test_helpers": "../test_helpers/mod.ts",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.0-3",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.1-2",
"@std/io": "jsr:@std/io@0.224.0"
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.2",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.3",
"@std/io": "jsr:@std/io@0.225.0"
}
}
10 changes: 4 additions & 6 deletions obj/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"pre-process": "npm run clean && deno run -A ../bin/cjs-fix-imports.ts -o ./build/src ./src",
"build-cjs": "npm run pre-process && tsc",
"build": "npm run build-cjs",
"doc": "npm run build && typedoc --out ../docs/obj && touch ../docs/obj/.nojekyll",
"prepack": "npm run build",
"bump-qualifier": "npm version prerelease --no-commit-hooks --no-git-tag-version",
"bump-release": "npm version patch --no-commit-hooks --no-git-tag-version"
Expand All @@ -34,13 +33,12 @@
},
"description": "obj library - this library implements all the base functionality for NATS objectstore for javascript clients",
"dependencies": {
"@nats-io/jetstream": "3.0.0-35",
"@nats-io/nats-core": "3.0.0-48"
"@nats-io/jetstream": "3.0.0-36",
"@nats-io/nats-core": "3.0.0-49"
},
"devDependencies": {
"@types/node": "^22.7.6",
"@types/node": "22.10.7",
"shx": "^0.3.4",
"typedoc": "^0.26.10",
"typescript": "^5.6.3"
"typescript": "5.6.3"
}
}
2 changes: 1 addition & 1 deletion services/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"test": "deno test -A --parallel --reload --quiet tests/ --import-map=import_map.json"
},
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-48"
"@nats-io/nats-core": "jsr:@nats-io/[email protected]49"
}
}
8 changes: 4 additions & 4 deletions services/import_map.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-48",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-48/internal",
"@nats-io/nats-core": "jsr:@nats-io/[email protected]49",
"@nats-io/nats-core/internal": "jsr:@nats-io/[email protected]49/internal",
"test_helpers": "../test_helpers/mod.ts",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.0-3",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.1-2",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.2",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.3",
"@std/io": "jsr:@std/[email protected]"
}
}
8 changes: 3 additions & 5 deletions services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"pre-process": "npm run clean && deno run -A ../bin/cjs-fix-imports.ts -o ./build/src ./src",
"build-cjs": "npm run pre-process && tsc",
"build": "npm run build-cjs",
"doc": "npm run build && typedoc --out ../docs/services && touch ../docs/services/.nojekyll",
"prepack": "npm run build",
"bump-qualifier": "npm version prerelease --no-commit-hooks --no-git-tag-version",
"bump-release": "npm version patch --no-commit-hooks --no-git-tag-version"
Expand All @@ -34,12 +33,11 @@
},
"description": "services library - this library implements all the base functionality for NATS services for javascript clients",
"dependencies": {
"@nats-io/nats-core": "3.0.0-48"
"@nats-io/nats-core": "3.0.0-49"
},
"devDependencies": {
"@types/node": "^22.7.6",
"@types/node": "22.10.7",
"shx": "^0.3.4",
"typedoc": "^0.26.10",
"typescript": "^5.6.3"
"typescript": "5.6.3"
}
}
6 changes: 3 additions & 3 deletions transport-deno/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"imports": {
"@std/io": "jsr:@std/[email protected]",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-48",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.0-3",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.1-2"
"@nats-io/nats-core": "jsr:@nats-io/[email protected]49",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.2",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.3"
}
}
12 changes: 6 additions & 6 deletions transport-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,17 @@
"node": ">= 18.0.0"
},
"dependencies": {
"@nats-io/nats-core": "3.0.0-48",
"@nats-io/nkeys": "2.0.0-3",
"@nats-io/nuid": "2.0.1-2"
"@nats-io/nats-core": "3.0.0-49",
"@nats-io/nkeys": "2.0.2",
"@nats-io/nuid": "2.0.3"
},
"devDependencies": {
"@types/node": "^22.7.6",
"@types/node": "22.10.7",
"minimist": "^1.2.8",
"shx": "^0.3.3",
"typescript": "5.6.3",
"@nats-io/jetstream": "3.0.0-35",
"@nats-io/kv": "3.0.0-29",
"@nats-io/jetstream": "3.0.0-36",
"@nats-io/kv": "3.0.0-30",
"@nats-io/obj": "3.0.0-31"
}
}

0 comments on commit be70677

Please sign in to comment.