Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
RELEASE_BRANCHES: main
- name: Create release
uses: softprops/action-gh-release@v2
if: ${{ (steps.version.outputs.new_tag != '') }}
with:
tag_name: ${{ steps.version.outputs.new_tag }}
name: Release ${{ steps.version.outputs.new_tag }}
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ version: '2'
plugins:
- name: ts
wasm:
url: https://downloads.sqlc.dev/plugin/sqlc-gen-typescript_0.1.3.wasm
sha256: 287df8f6cc06377d67ad5ba02c9e0f00c585509881434d15ea8bd9fc751a9368
url: https://github.com/reload/sqlc-gen-typescript/releases/download/v0.0.6/plugin.wasm
sha256: e9a87231ce3c27092cd219347a9942d3d1a8b22c4f2e881fa804104e31708d5c
sql:
- schema: "schema.sql"
queries: "query.sql"
Expand Down Expand Up @@ -69,8 +69,8 @@ cloud:
plugins:
- name: ts
wasm:
url: https://downloads.sqlc.dev/plugin/sqlc-gen-typescript_0.1.3.wasm
sha256: 287df8f6cc06377d67ad5ba02c9e0f00c585509881434d15ea8bd9fc751a9368
url: https://github.com/reload/sqlc-gen-typescript/releases/download/v0.0.6/plugin.wasm
sha256: e9a87231ce3c27092cd219347a9942d3d1a8b22c4f2e881fa804104e31708d5c
sql:
- engine: "postgresql"
queries: "query.sql"
Expand Down Expand Up @@ -197,7 +197,7 @@ async function main() {
// create an author
const author = await createAuthor(client, {
name: "Anders Hejlsberg",
bio: "Original author of Turbo Pascal and co-creator of TypeScript",
bio: "Original author of Turbo Pascal and co-creator of TypeScript",
});
if (author === null) {
throw new Error("author not created");
Expand Down Expand Up @@ -256,8 +256,8 @@ version: '2'
plugins:
- name: ts
wasm:
url: https://downloads.sqlc.dev/plugin/sqlc-gen-typescript_0.1.3.wasm
sha256: 287df8f6cc06377d67ad5ba02c9e0f00c585509881434d15ea8bd9fc751a9368
url: https://github.com/reload/sqlc-gen-typescript/releases/download/v0.0.6/plugin.wasm
sha256: e9a87231ce3c27092cd219347a9942d3d1a8b22c4f2e881fa804104e31708d5c
sql:
- schema: "schema.sql"
queries: "query.sql"
Expand All @@ -277,8 +277,8 @@ version: '2'
plugins:
- name: ts
wasm:
url: https://downloads.sqlc.dev/plugin/sqlc-gen-typescript_0.1.3.wasm
sha256: 287df8f6cc06377d67ad5ba02c9e0f00c585509881434d15ea8bd9fc751a9368
url: https://github.com/reload/sqlc-gen-typescript/releases/download/v0.0.6/plugin.wasm
sha256: e9a87231ce3c27092cd219347a9942d3d1a8b22c4f2e881fa804104e31708d5c
sql:
- schema: "schema.sql"
queries: "query.sql"
Expand All @@ -299,8 +299,8 @@ version: '2'
plugins:
- name: ts
wasm:
url: https://downloads.sqlc.dev/plugin/sqlc-gen-typescript_0.1.3.wasm
sha256: 287df8f6cc06377d67ad5ba02c9e0f00c585509881434d15ea8bd9fc751a9368
url: https://github.com/reload/sqlc-gen-typescript/releases/download/v0.0.6/plugin.wasm
sha256: e9a87231ce3c27092cd219347a9942d3d1a8b22c4f2e881fa804104e31708d5c
sql:
- schema: "schema.sql"
queries: "query.sql"
Expand All @@ -320,8 +320,8 @@ version: '2'
plugins:
- name: ts
wasm:
url: https://downloads.sqlc.dev/plugin/sqlc-gen-typescript_0.1.3.wasm
sha256: 287df8f6cc06377d67ad5ba02c9e0f00c585509881434d15ea8bd9fc751a9368
url: https://github.com/reload/sqlc-gen-typescript/releases/download/v0.0.6/plugin.wasm
sha256: e9a87231ce3c27092cd219347a9942d3d1a8b22c4f2e881fa804104e31708d5c
sql:
- schema: "schema.sql"
queries: "query.sql"
Expand All @@ -340,7 +340,7 @@ If you want to build and test sqlc-gen-typescript locally, follow these steps:

1. Clone the repository and install dependencies:
```
git clone https://github.com/sqlc-dev/sqlc-gen-typescript.git
git clone https://github.com/reload/sqlc-gen-typescript.git
cd sqlc-gen-typescript
npm install
```
Expand Down Expand Up @@ -390,4 +390,4 @@ Check the `Makefile` for details.
```

For more details on sqlc development, refer to the sqlc core development guide. This guide provides additional information on setting up and working with sqlc in general, which may be useful for contributors to this project.
https://docs.sqlc.dev/en/latest/guides/development.html
https://docs.sqlc.dev/en/latest/guides/development.html