Skip to content

Commit 43f6153

Browse files
authored
publish: v1.1.1
* add: scripts for clean, build and publish * fix: readme badges * change: version to 1.1.1 * add: test execution before publishing
1 parent 0fc0007 commit 43f6153

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
Library for building RSQL query strings in TypeScript and JavaScript.
44

5-
[![NPM Version][npm-image]][npm-url]
5+
[![NPM Version][npm-version-image]][npm-url]
6+
[![NPM License][npm-license-image]][npm-url]
67
[![Coverage][coveralls-image]][coveralls-url]
78

89
## Installation
@@ -84,7 +85,8 @@ export default RSQLBuilderSample;
8485

8586
[MIT](LICENSE)
8687

87-
[npm-image]: https://img.shields.io/npm/v/rsql-mongodb.svg
88-
[npm-url]: https://npmjs.org/package/rsql-mongodb
88+
[npm-version-image]: https://img.shields.io/npm/v/rsql-query-builder
89+
[npm-url]: https://npmjs.org/package/rsql-query-builder
90+
[npm-license-image]: https://img.shields.io/npm/l/rsql-query-builder
8991
[coveralls-image]: https://coveralls.io/repos/github/woigl/rsql-query-builder/badge.svg?branch=main
90-
[coveralls-url]: https://coveralls.io/github/woigl/rsql-query-builder?branch=main
92+
[coveralls-url]: https://coveralls.io/github/woigl/rsql-query-builder?branch=main

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
{
22
"name": "rsql-query-builder",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Library for building RSQL query strings.",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",
77
"browser": "dist/index.global.js",
88
"types": "dist/index.d.ts",
99
"scripts": {
10-
"build": "tsup",
10+
"clean": "rm -rf dist",
11+
"build": "npm run clean && tsup",
12+
"publish": "npm run test && npm run build && npm publish",
1113
"test": "vitest run"
1214
},
1315
"files": [

0 commit comments

Comments
 (0)