Skip to content

Commit

Permalink
add preerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePresman committed Dec 18, 2023
1 parent e956574 commit f6ddcd9
Show file tree
Hide file tree
Showing 4 changed files with 4,467 additions and 1 deletion.
9 changes: 9 additions & 0 deletions js/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
# DateiLager JS Client

Prerelease:


run `yarn run prerelrease`

grab that value (e.g. @gadgetinc/dateilager-v0.7.2-gitpkg-e956574)

https://codeload.github.com/gadget-inc/js-clients/tar.gz/`<aboveval>`
5 changes: 5 additions & 0 deletions js/gitpkg.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const { execSync } = require("child_process");

module.exports = () => ({
getTagName: (pkg) => `${pkg.name}-v${pkg.version}-gitpkg-${execSync("git rev-parse --short HEAD", { encoding: "utf-8" }).trim()}`,
});
4 changes: 3 additions & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"build": "rm -rf dist && tsc --project tsconfig.cjs.json && tsc --project tsconfig.esm.json",
"fmt": "prettier --write . && eslint --fix .",
"lint": "prettier --check . && eslint . && tsc --project tsconfig.eslint.json && tsc --project spec/tsconfig.json",
"test": "DL_SKIP_SSL_VERIFICATION=1 NODE_EXTRA_CA_CERTS=\"$(mkcert -CAROOT)/rootCA.pem\" jest --runInBand"
"test": "DL_SKIP_SSL_VERIFICATION=1 NODE_EXTRA_CA_CERTS=\"$(mkcert -CAROOT)/rootCA.pem\" jest --runInBand",
"prerelease": "gitpkg publish"
},
"dependencies": {
"@grpc/grpc-js": "^1.9.12",
Expand All @@ -37,6 +38,7 @@
"execa": "^5.1.1"
},
"devDependencies": {
"gitpkg": "^1.0.0-beta.4",
"@gadgetinc/prettier-config": "*",
"@protobuf-ts/plugin": "^2.9.2",
"@swc/core": "^1.3.100",
Expand Down
Loading

0 comments on commit f6ddcd9

Please sign in to comment.