Skip to content

Commit

Permalink
fix: publish compiled module
Browse files Browse the repository at this point in the history
  • Loading branch information
nimrodkor committed Oct 11, 2024
1 parent 688bca5 commit 73e8fce
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
version: 9
- name: install dependencies
run: pnpm install
- name: build
run: pnpm build
- name: publish to npm
run: pnpm publish --provenance --access public
env:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.eslintcache
.idea
dist
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ node_modules
prettier.config.mjs
tsconfig.json
test
src
release-please-config.json
.release-please-manifest.json
eslint.config.mjs
Expand Down
15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
{
"name": "@baz-scm/pgmq-ts",
"version": "0.2.2",
"main": "index.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc",
"prepare": "pnpm run lint && pnpm run format:fix",
"lint": "eslint src --cache",
"format:fix": "prettier --write \"**/*.{ts,tsx}\"",
"format:check": "prettier --check \"**/*.{ts,tsx}\"",
"test": "mocha --require ts-node/register test/**/*.spec.ts --exit"
},
"keywords": [],
"keywords": [
"postgres",
"postgresql",
"message-queue",
"queues",
"postgresql-extension",
"pgmq"
],
"author": "Baz",
"license": "MIT",
"description": "Typescript wrapper equivalent for pgmq-rs",
Expand All @@ -27,9 +36,11 @@
"chai": "^5.1.1",
"eslint": "^9.12.0",
"mocha": "^10.7.3",
"pgmq-js": "^1.3.0",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"tsx": "^4.19.1",
"typescript": "^5.6.3",
"typescript-eslint": "^8.8.1"
}
}
16 changes: 16 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 73e8fce

Please sign in to comment.