@decafhub/decaf-client-extras 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.envrc +1 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +26 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +19 -0
- package/.github/workflows/release-please.yml +10 -9
- package/.github/workflows/test.yml +2 -3
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +22 -0
- package/flake.lock +61 -0
- package/flake.nix +24 -0
- package/package.json +28 -28
- package/shell.nix +0 -11
package/.envrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
use flake .
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report
|
|
3
|
+
about: Create a report to help us improve
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
**Describe the bug**
|
|
10
|
+
A clear and concise description of what the bug is.
|
|
11
|
+
|
|
12
|
+
**To Reproduce**
|
|
13
|
+
Steps to reproduce the behavior:
|
|
14
|
+
|
|
15
|
+
**Expected behavior**
|
|
16
|
+
A clear and concise description of what you expected to happen.
|
|
17
|
+
|
|
18
|
+
**Screenshots**
|
|
19
|
+
If applicable, add screenshots to help explain your problem.
|
|
20
|
+
|
|
21
|
+
**Environment (please complete the following information):**
|
|
22
|
+
- OS: [e.g. MacOS, Linux]
|
|
23
|
+
- Node version
|
|
24
|
+
|
|
25
|
+
**Additional context**
|
|
26
|
+
Add any other context about the problem here.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature request
|
|
3
|
+
about: Suggest an idea for this project
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
**Is your feature request related to a problem? Please describe.**
|
|
10
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
11
|
+
|
|
12
|
+
**Describe the solution you'd like**
|
|
13
|
+
A clear and concise description of what you want to happen.
|
|
14
|
+
|
|
15
|
+
**Describe alternatives you've considered**
|
|
16
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
|
17
|
+
|
|
18
|
+
**Additional context**
|
|
19
|
+
Add any other context or screenshots about the feature request here.
|
|
@@ -3,25 +3,28 @@ on:
|
|
|
3
3
|
branches:
|
|
4
4
|
- main
|
|
5
5
|
|
|
6
|
+
permissions:
|
|
7
|
+
id-token: write # Required for OIDC
|
|
8
|
+
contents: write
|
|
9
|
+
issues: write
|
|
10
|
+
pull-requests: write
|
|
11
|
+
|
|
6
12
|
name: release-please
|
|
7
13
|
jobs:
|
|
8
14
|
release-please:
|
|
9
15
|
runs-on: ubuntu-latest
|
|
10
16
|
steps:
|
|
11
|
-
- uses:
|
|
17
|
+
- uses: googleapis/release-please-action@v4
|
|
12
18
|
id: release
|
|
13
|
-
with:
|
|
14
|
-
command: manifest
|
|
15
|
-
release-type: node
|
|
16
19
|
|
|
17
20
|
- uses: actions/checkout@v4
|
|
18
21
|
if: ${{ steps.release.outputs.release_created }}
|
|
19
22
|
|
|
20
23
|
- uses: actions/setup-node@v4
|
|
21
24
|
with:
|
|
22
|
-
node-version:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
+
node-version: "lts/*"
|
|
26
|
+
cache: "npm"
|
|
27
|
+
registry-url: "https://registry.npmjs.org"
|
|
25
28
|
if: ${{ steps.release.outputs.release_created }}
|
|
26
29
|
|
|
27
30
|
- name: Install dependencies
|
|
@@ -43,6 +46,4 @@ jobs:
|
|
|
43
46
|
publish_dir: ./docs
|
|
44
47
|
|
|
45
48
|
- run: npm publish --access=public
|
|
46
|
-
env:
|
|
47
|
-
NODE_AUTH_TOKEN: ${{secrets.DECAFHUB_NPM_TOKEN}}
|
|
48
49
|
if: ${{ steps.release.outputs.release_created }}
|
|
@@ -12,7 +12,7 @@ jobs:
|
|
|
12
12
|
runs-on: ${{ matrix.os }}
|
|
13
13
|
strategy:
|
|
14
14
|
matrix:
|
|
15
|
-
node: [
|
|
15
|
+
node: [22, 24, 25]
|
|
16
16
|
os: [ubuntu-latest]
|
|
17
17
|
steps:
|
|
18
18
|
- uses: actions/checkout@v4
|
|
@@ -20,8 +20,7 @@ jobs:
|
|
|
20
20
|
- uses: actions/setup-node@v4
|
|
21
21
|
with:
|
|
22
22
|
node-version: ${{ matrix.node }}
|
|
23
|
-
registry-url:
|
|
24
|
-
cache: 'npm'
|
|
23
|
+
registry-url: "https://registry.npmjs.org"
|
|
25
24
|
|
|
26
25
|
- name: Install dependencies
|
|
27
26
|
run: npm ci
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.0](https://github.com/teloscube/decaf-client-javascript-extras/compare/v0.7.0...v0.8.0) (2025-12-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* Drop support for Node 20. Minimum version is now 22
|
|
9
|
+
|
|
10
|
+
### Miscellaneous Chores
|
|
11
|
+
|
|
12
|
+
* upgrade node version ([3b9ca9c](https://github.com/teloscube/decaf-client-javascript-extras/commit/3b9ca9c43a0e0432d520a736f749556d242b5358))
|
|
13
|
+
|
|
14
|
+
## [0.7.0](https://github.com/teloscube/decaf-client-javascript-extras/compare/v0.6.0...v0.7.0) (2025-04-28)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### ⚠ BREAKING CHANGES
|
|
18
|
+
|
|
19
|
+
* drop support for Node 18
|
|
20
|
+
|
|
21
|
+
### Miscellaneous Chores
|
|
22
|
+
|
|
23
|
+
* upgrade dependencies ([c61009b](https://github.com/teloscube/decaf-client-javascript-extras/commit/c61009b1b948f76057c4a1b846f80b861dacedb4))
|
|
24
|
+
|
|
3
25
|
## [0.6.0](https://github.com/teloscube/decaf-client-javascript-extras/compare/v0.5.2...v0.6.0) (2024-12-31)
|
|
4
26
|
|
|
5
27
|
|
package/flake.lock
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nodes": {
|
|
3
|
+
"flake-utils": {
|
|
4
|
+
"inputs": {
|
|
5
|
+
"systems": "systems"
|
|
6
|
+
},
|
|
7
|
+
"locked": {
|
|
8
|
+
"lastModified": 1731533236,
|
|
9
|
+
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
10
|
+
"owner": "numtide",
|
|
11
|
+
"repo": "flake-utils",
|
|
12
|
+
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
13
|
+
"type": "github"
|
|
14
|
+
},
|
|
15
|
+
"original": {
|
|
16
|
+
"owner": "numtide",
|
|
17
|
+
"repo": "flake-utils",
|
|
18
|
+
"type": "github"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"nixpkgs": {
|
|
22
|
+
"locked": {
|
|
23
|
+
"lastModified": 1767002052,
|
|
24
|
+
"narHash": "sha256-03pMmkgzwv9epytF+Ib1P/K0c1R6jy4zzniWjjeCroE=",
|
|
25
|
+
"owner": "nixos",
|
|
26
|
+
"repo": "nixpkgs",
|
|
27
|
+
"rev": "07d224fb9efbf075e672b06323d4f724f32f297f",
|
|
28
|
+
"type": "github"
|
|
29
|
+
},
|
|
30
|
+
"original": {
|
|
31
|
+
"owner": "nixos",
|
|
32
|
+
"ref": "release-25.11",
|
|
33
|
+
"repo": "nixpkgs",
|
|
34
|
+
"type": "github"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"root": {
|
|
38
|
+
"inputs": {
|
|
39
|
+
"flake-utils": "flake-utils",
|
|
40
|
+
"nixpkgs": "nixpkgs"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"systems": {
|
|
44
|
+
"locked": {
|
|
45
|
+
"lastModified": 1681028828,
|
|
46
|
+
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
47
|
+
"owner": "nix-systems",
|
|
48
|
+
"repo": "default",
|
|
49
|
+
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
50
|
+
"type": "github"
|
|
51
|
+
},
|
|
52
|
+
"original": {
|
|
53
|
+
"owner": "nix-systems",
|
|
54
|
+
"repo": "default",
|
|
55
|
+
"type": "github"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"root": "root",
|
|
60
|
+
"version": 7
|
|
61
|
+
}
|
package/flake.nix
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
description = "Nix Development Shell";
|
|
3
|
+
|
|
4
|
+
inputs = {
|
|
5
|
+
nixpkgs.url = "github:nixos/nixpkgs/release-25.11";
|
|
6
|
+
flake-utils.url = "github:numtide/flake-utils";
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
outputs = inputs:
|
|
10
|
+
inputs.flake-utils.lib.eachDefaultSystem (system:
|
|
11
|
+
let
|
|
12
|
+
nixpkgs = import inputs.nixpkgs { inherit system; };
|
|
13
|
+
in
|
|
14
|
+
{
|
|
15
|
+
devShell = nixpkgs.mkShell {
|
|
16
|
+
buildInputs = [
|
|
17
|
+
nixpkgs.nodejs_24
|
|
18
|
+
nixpkgs.nodePackages.typescript-language-server
|
|
19
|
+
];
|
|
20
|
+
NODE_OPTIONS = "--max-old-space-size=4096";
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decafhub/decaf-client-extras",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "DECAF Client Extras",
|
|
5
5
|
"author": "Teloscube Pte Ltd",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,42 +23,42 @@
|
|
|
23
23
|
"prepare": "npm run build && ./postinstall.sh"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
26
|
-
"node": ">=
|
|
26
|
+
"node": ">=22"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@decafhub/decaf-client": "^0.
|
|
29
|
+
"@decafhub/decaf-client": "^0.8"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@telostat/prelude": "^0.
|
|
33
|
-
"dayjs": "^1.11.
|
|
32
|
+
"@telostat/prelude": "^0.7",
|
|
33
|
+
"dayjs": "^1.11.19"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@commitlint/cli": "^
|
|
37
|
-
"@commitlint/config-conventional": "^
|
|
38
|
-
"@decafhub/decaf-client": "^0.
|
|
39
|
-
"@eslint/eslintrc": "^3.
|
|
40
|
-
"@eslint/js": "^9.
|
|
41
|
-
"@types/jest": "^
|
|
42
|
-
"@types/node": "^
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
44
|
-
"@typescript-eslint/parser": "^8.
|
|
45
|
-
"dotenv": "^
|
|
46
|
-
"eslint": "^9.
|
|
47
|
-
"eslint-config-prettier": "^
|
|
48
|
-
"eslint-plugin-n": "^17.
|
|
49
|
-
"eslint-plugin-prettier": "^5.
|
|
36
|
+
"@commitlint/cli": "^20.2.0",
|
|
37
|
+
"@commitlint/config-conventional": "^20.2.0",
|
|
38
|
+
"@decafhub/decaf-client": "^0.8.0",
|
|
39
|
+
"@eslint/eslintrc": "^3.3.3",
|
|
40
|
+
"@eslint/js": "^9.39.2",
|
|
41
|
+
"@types/jest": "^30.0.0",
|
|
42
|
+
"@types/node": "^25.0.3",
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^8.50.1",
|
|
44
|
+
"@typescript-eslint/parser": "^8.50.1",
|
|
45
|
+
"dotenv": "^17.2.3",
|
|
46
|
+
"eslint": "^9.39.2",
|
|
47
|
+
"eslint-config-prettier": "^10.1.8",
|
|
48
|
+
"eslint-plugin-n": "^17.23.1",
|
|
49
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
50
50
|
"eslint-plugin-promise": "^7.2.1",
|
|
51
51
|
"eslint-plugin-standard": "^5.0.0",
|
|
52
|
-
"gh-pages": "^6.
|
|
53
|
-
"globals": "^
|
|
52
|
+
"gh-pages": "^6.3.0",
|
|
53
|
+
"globals": "^16.5.0",
|
|
54
54
|
"husky": "^9.1.7",
|
|
55
|
-
"jest": "^
|
|
56
|
-
"lint-staged": "^
|
|
57
|
-
"prettier": "^3.4
|
|
58
|
-
"prettier-plugin-organize-imports": "^4.
|
|
59
|
-
"ts-jest": "^29.
|
|
60
|
-
"typedoc": "^0.
|
|
61
|
-
"typescript": "^5.
|
|
55
|
+
"jest": "^30.2.0",
|
|
56
|
+
"lint-staged": "^16.2.7",
|
|
57
|
+
"prettier": "^3.7.4",
|
|
58
|
+
"prettier-plugin-organize-imports": "^4.3.0",
|
|
59
|
+
"ts-jest": "^29.4.6",
|
|
60
|
+
"typedoc": "^0.28.15",
|
|
61
|
+
"typescript": "^5.9.3"
|
|
62
62
|
},
|
|
63
63
|
"lint-staged": {
|
|
64
64
|
"src/**/*.{ts,tsx}": [
|
package/shell.nix
DELETED