Skip to content

Commit c114b01

Browse files
Release 1.0.0 (#22)
2 parents 8f5bc53 + 8b209c1 commit c114b01

File tree

4 files changed

+13
-43
lines changed

4 files changed

+13
-43
lines changed

presto-client/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
44

5+
## [1.0.0](https://github.com/prestodb/presto-js-client/compare/presto-client-0.1.1...presto-client-1.0.0) (2024-01-24)
6+
7+
8+
### Features
9+
10+
* **presto-client:** add get catalog, schema, table & column utility methods ([#18](https://github.com/prestodb/presto-js-client/issues/18)) ([a35bf9d](https://github.com/prestodb/presto-js-client/commit/a35bf9d5f48de188fe148354fa7e15996e6baed2))
11+
* **presto-client:** allow basic authentication ([#19](https://github.com/prestodb/presto-js-client/issues/19)) ([582c857](https://github.com/prestodb/presto-js-client/commit/582c857f8d6fb3dd527040ddb943e52a8572c8c2))
12+
* **presto-client:** include get query metadata method ([#20](https://github.com/prestodb/presto-js-client/issues/20)) ([8f5bc53](https://github.com/prestodb/presto-js-client/commit/8f5bc537a1827caffeb1ff098d3d70ac37380b87))
13+
* **presto-client:** return back the whole error object ([#17](https://github.com/prestodb/presto-js-client/issues/17)) ([8221bdc](https://github.com/prestodb/presto-js-client/commit/8221bdc76798e10fa2ef5579e3b62a0f9b484c0a))
14+
515
## [0.1.1](https://github.com/prestodb/presto-js-client/compare/presto-client-0.1.0...presto-client-0.1.1) (2023-11-28)
616

717

presto-client/CONTRIBUTING.md

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ To publish a new version to NPM, follow these steps:
6868

6969
#### Pre-requisites
7070

71-
- Have a valid `NPM_TOKEN` with write permissions to [prestodb NPM organization](https://www.npmjs.com/settings/prestodb/packages).
71+
- Have a valid `NPM_TOKEN` with write permissions to [prestodb NPM organization](https://www.npmjs.com/settings/prestodb/packages) and log-in to NPM using that token by running `npm adduser`.
7272
- Install [GitHub CLI](https://cli.github.com/) on your machine.
7373

7474
#### Steps
@@ -98,43 +98,3 @@ To publish a new version to NPM, follow these steps:
9898
4. As part of the previous command, a draft GitHub release is also created. Go to [GitHub Releases](https://github.com/prestodb/presto-js-client/releases), review and edit it if necessary, and then click "Publish release" to make it public.
9999

100100
\*If you published the package as a Pre-release version, please also mark the GitHub release as a "Pre-release."
101-
102-
## Testing
103-
104-
To test the library using [Jest](https://jestjs.io), run the following command:
105-
106-
```bash
107-
npm run test presto-client
108-
```
109-
110-
## Sample apps
111-
112-
You can run the sample apps to check the client still works properly.
113-
114-
### NestJS Server
115-
116-
Run the server with
117-
118-
```sh
119-
npx nx serve nest-server
120-
```
121-
122-
Check the server is live and you can make queries on this URL:
123-
124-
```
125-
http://localhost:3000/api/query-test
126-
```
127-
128-
### NextJS Server Side Rendered app
129-
130-
Run the application with
131-
132-
```sh
133-
npx nx serve nextjs
134-
```
135-
136-
Check the app is running on your browser:
137-
138-
```
139-
http://localhost:4200/
140-
```

presto-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prestodb/presto-js-client",
3-
"version": "0.1.1",
3+
"version": "1.0.0",
44
"keywords": [
55
"database",
66
"presto",

tools/scripts/npm.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ invariant(
5252
process.chdir(outputPath)
5353

5454
// Execute "npm publish" to publish
55-
execSync(`npm publish --access public --tag ${tag}`)
55+
execSync(`npm publish --access public`)

0 commit comments

Comments
 (0)