Skip to content

Commit

Permalink
release(js): v0.3.4 (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh authored Mar 15, 2024
2 parents 68d83ef + 41a6975 commit 30aa7c2
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ build-client-js:
sed -i -e "s|_this|this|g" ${CLIENTS_OUTPUT_DIR}/fga-js-sdk/*.ts
sed -i -e "s|_this|this|g" ${CLIENTS_OUTPUT_DIR}/fga-js-sdk/*.md
rm -rf ${CLIENTS_OUTPUT_DIR}/fga-js-sdk/*-e
make run-in-docker sdk_language=js image=node:${NODE_DOCKER_TAG} command="/bin/sh -c 'npm i && npm run lint:fix -- --quiet'"
make run-in-docker sdk_language=js image=node:${NODE_DOCKER_TAG} command="/bin/sh -c 'npm i --lockfile-version 2 && npm run lint:fix -- --quiet'"
make run-in-docker sdk_language=js image=busybox:${BUSYBOX_DOCKER_TAG} command="/bin/sh -c 'patch -p1 /module/api.ts /config/clients/js/patches/add-missing-first-param.patch'"
make run-in-docker sdk_language=js image=node:${NODE_DOCKER_TAG} command="/bin/sh -c 'npm run lint:fix && npm run build;'"

Expand Down
7 changes: 7 additions & 0 deletions config/clients/js/CHANGELOG.md.mustache
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v0.3.4

### [0.3.4](https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}/compare/v0.3.3...v0.3.4) (2024-03-15)

- chore: bump deps. resolves [CVE-2024-28849](https://nvd.nist.gov/vuln/detail/CVE-2024-28849) in
[follow-redirects](https://www.npmjs.com/package/follow-redirects)

## v0.3.3

### [0.3.3](https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}/compare/v0.3.2...v0.3.3) (2024-02-26)
Expand Down
6 changes: 1 addition & 5 deletions config/clients/js/config.overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"sdkId": "js",
"gitRepoId": "js-sdk",
"packageName": "@openfga/sdk",
"packageVersion": "0.3.3",
"packageVersion": "0.3.4",
"packageDescription": "JavaScript and Node.js SDK for OpenFGA",
"packageDetailedDescription": "This is an autogenerated JavaScript SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api), and includes TS typings.",
"npmRegistry": "https://registry.npmjs.org/",
Expand Down Expand Up @@ -101,10 +101,6 @@
"destinationFilename": "package.json",
"templateType": "SupportingFiles"
},
"package-lock.mustache": {
"destinationFilename": "package-lock.json",
"templateType": "SupportingFiles"
},
"npmrc.mustache": {
"destinationFilename": ".npmrc",
"templateType": "SupportingFiles"
Expand Down
10 changes: 5 additions & 5 deletions config/clients/js/template/package.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.11.20",
"@types/node": "^20.11.28",
"@types/tiny-async-pool": "^2.0.3",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"nock": "^13.5.3",
"nock": "^13.5.4",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
"typescript": "^5.4.2"
},
"files": [
"CHANGELOG.md",
Expand Down
2 changes: 1 addition & 1 deletion config/common/files/.github/CODEOWNERS.mustache
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* @{{gitUserId}}/dx
README.md @{{gitUserId}}/product @{{gitUserId}}/community @{{gitUserId}}/community
README.md @{{gitUserId}}/product @{{gitUserId}}/community @{{gitUserId}}/dx

0 comments on commit 30aa7c2

Please sign in to comment.