Skip to content

Commit a024cd0

Browse files
committed
fix: build and pub errors
1 parent 18ac263 commit a024cd0

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
with:
2525
node-version: 16
2626
registry-url: https://registry.npmjs.org/
27+
- run: npm version patch
2728
- run: npm publish
2829
env:
2930
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,16 +100,11 @@ dist
100100
# DynamoDB Local files
101101
.dynamodb/
102102

103-
dist/
104-
105-
# TernJS port file
106-
.tern-port
107103

108104
yarn.lock
109105

110106
pack-lock.json
111107

112-
IDE and editor files
113108
.idea
114109

115110

.husky/pre-commit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
# npm lint
4+
5+
npm lint

.husky/pre-push

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
5+
npm run build

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ndzhwr/json-base",
3-
"version": "0.1.4",
3+
"version": "0.1.3",
44
"main": "dist/index.js",
55
"description": "A simple json-as-db tool with an orm, for nodejs, compatible with js and ts.",
66
"files": [

0 commit comments

Comments
 (0)