@upstash/qstash 2.7.4 → 2.7.6-canary
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/chunk-B3NB4QLV.mjs +2920 -0
- package/chunk-IJ3475FO.mjs +403 -0
- package/chunk-IJ5AEYLN.js +1 -0
- package/chunk-NMSGEGBP.js +403 -0
- package/chunk-S7JMIMW4.mjs +0 -0
- package/chunk-WQZ4U6LJ.js +2920 -0
- package/{dist/workflow/index.d.mts → client-aUVEwn93.d.mts} +867 -795
- package/{dist/nextjs/index.d.mts → client-aUVEwn93.d.ts} +869 -737
- package/cloudflare.d.mts +33 -0
- package/cloudflare.d.ts +33 -0
- package/cloudflare.js +37 -0
- package/cloudflare.mjs +37 -0
- package/h3.d.mts +17 -0
- package/h3.d.ts +17 -0
- package/h3.js +10 -0
- package/h3.mjs +10 -0
- package/hono.d.mts +25 -0
- package/hono.d.ts +25 -0
- package/hono.js +22 -0
- package/hono.mjs +22 -0
- package/index.d.mts +54 -0
- package/index.d.ts +54 -0
- package/index.js +41 -0
- package/index.mjs +41 -0
- package/nextjs.d.mts +38 -0
- package/nextjs.d.ts +38 -0
- package/nextjs.js +178 -0
- package/nextjs.mjs +178 -0
- package/nuxt.d.mts +12 -0
- package/nuxt.d.ts +12 -0
- package/nuxt.js +11 -0
- package/nuxt.mjs +11 -0
- package/package.json +1 -1
- package/solidjs.d.mts +22 -0
- package/solidjs.d.ts +22 -0
- package/solidjs.js +56 -0
- package/solidjs.mjs +56 -0
- package/svelte.d.mts +24 -0
- package/svelte.d.ts +24 -0
- package/svelte.js +53 -0
- package/svelte.mjs +53 -0
- package/workflow.d.mts +2 -0
- package/workflow.d.ts +2 -0
- package/workflow.js +18 -0
- package/workflow.mjs +18 -0
- package/dist/base/index.d.mts +0 -1279
- package/dist/base/index.mjs +0 -2
- package/dist/cloudflare/index.d.mts +0 -1648
- package/dist/cloudflare/index.mjs +0 -10
- package/dist/h3/index.d.mts +0 -1633
- package/dist/h3/index.mjs +0 -10
- package/dist/hono/index.d.mts +0 -1641
- package/dist/hono/index.mjs +0 -10
- package/dist/nextjs/index.mjs +0 -10
- package/dist/solidjs/index.d.mts +0 -1638
- package/dist/solidjs/index.mjs +0 -10
- package/dist/svelte/index.d.mts +0 -1640
- package/dist/svelte/index.mjs +0 -10
- package/dist/workflow/index.mjs +0 -10
package/README.md
CHANGED
|
@@ -131,29 +131,36 @@ const result = await client.publishJSON({
|
|
|
131
131
|
See [the documentation](https://docs.upstash.com/qstash) for details.
|
|
132
132
|
|
|
133
133
|
## Contributing
|
|
134
|
+
|
|
134
135
|
### Setup
|
|
136
|
+
|
|
135
137
|
This project requires [Bun](https://bun.sh/) to be installed. Please see the [Bun installation documentation](https://bun.sh/docs/installation) for further instructions.
|
|
136
138
|
|
|
137
139
|
Once you have cloned the project, you will need to install the dependencies and then you can run the project.
|
|
140
|
+
|
|
138
141
|
```sh
|
|
139
142
|
bun install
|
|
140
143
|
bun run build
|
|
141
144
|
```
|
|
142
145
|
|
|
143
146
|
### Testing
|
|
147
|
+
|
|
144
148
|
To begin testing, environment variables will need to be setup. First, create a `.env` file in the root of the project. [`.env.template`](/.env.template) can be used as a template. Your values can be found in the [Qstash Console](https://console.upstash.com/qstash).
|
|
149
|
+
|
|
145
150
|
```sh
|
|
146
151
|
bun run test
|
|
147
152
|
```
|
|
148
153
|
|
|
149
154
|
### Committing
|
|
150
|
-
This project uses [commitlint](https://commitlint.js.org/). When committing, please ensure your commit message is formatted to include an appropriate prefix with the message.
|
|
151
155
|
|
|
152
|
-
|
|
156
|
+
This project uses [commitlint](https://commitlint.js.org/). When committing, please ensure your commit message is formatted to include an appropriate prefix with the message.
|
|
157
|
+
|
|
158
|
+
#### Examples
|
|
159
|
+
|
|
153
160
|
```
|
|
154
161
|
fix: typescript bug
|
|
155
162
|
feat: use new logger
|
|
156
163
|
perf: refactor cache
|
|
157
164
|
```
|
|
158
|
-
For a full list of options, please see the [`commitlint.config.js`](/commitlint.config.js) file.
|
|
159
165
|
|
|
166
|
+
For a full list of options, please see the [`commitlint.config.js`](/commitlint.config.js) file.
|