Skip to content

Commit

Permalink
Merge pull request #75 from gadget-inc/export/errors
Browse files Browse the repository at this point in the history
export typescript error for dateilager clients + add prerelease command for future testing on clients
  • Loading branch information
MikePresman authored Dec 18, 2023
2 parents 68ea155 + b30d2e2 commit 0dcd4c6
Show file tree
Hide file tree
Showing 6 changed files with 847 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ module.exports = {
"import/extensions": [".js", ".jsx", ".ts", ".tsx"],
jsdoc: { ignoreInternal: true },
},
ignorePatterns: ["/node_modules/", "/dist/"],
ignorePatterns: ["/node_modules/", "/dist/", "gitpkg.config.js"],
};
6 changes: 6 additions & 0 deletions js/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# DateiLager JS Client

Prerelease:

1. run `npm run prerelrease`
2. grab that value (e.g. `@gadgetinc/dateilager-v0.7.2-gitpkg-e956574`)
3. https://codeload.github.com/gadget-inc/dateilager/tar.gz/`<value from 2>`
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()}`,
});
Loading

0 comments on commit 0dcd4c6

Please sign in to comment.