Compare commits

...

54 Commits

Author SHA1 Message Date
Szilárd Dóró
ce1ea16981 Merge pull request #661 from nhost/changeset-release/main
chore: update versions
2022-06-02 12:50:27 +02:00
github-actions[bot]
7048eaf0bb chore: update versions 2022-06-02 10:47:48 +00:00
Szilárd Dóró
9c382a3773 Merge pull request #660 from nhost/fix/esm-rollback
chore: reverted ESM related changes
2022-06-02 12:46:57 +02:00
Johan Eliasson
7f07c75dc4 Merge pull request #659 from gdangelo/docs/quickstarts-nextjs
docs: Add skip option to useQuery call to skip query if id is falsy
2022-06-02 12:44:13 +02:00
Szilárd Dóró
ebad09364e added changeset 2022-06-02 12:43:40 +02:00
Szilárd Dóró
cbec4dbab6 chore: reverted ESM related changes
ESM gods didn't like me 😞 we'll come back to this in the future
2022-06-02 11:26:23 +02:00
Grégory D'Angelo
bcf2751625 docs: Add skip option to useQuery call to skip query if id is falsy 2022-06-02 09:20:53 +02:00
Szilárd Dóró
f7ddafdf05 Merge pull request #657 from nhost/changeset-release/main
chore: update versions
2022-06-01 15:26:43 +02:00
github-actions[bot]
f86b707d34 chore: update versions 2022-06-01 13:23:25 +00:00
Szilárd Dóró
d281665424 Merge pull request #655 from nhost/fix/missing-modules
fix: `@nhost/react-apollo` imports
2022-06-01 15:22:21 +02:00
Szilárd Dóró
24659b2979 fixed build warning related to unknown globals 2022-06-01 14:52:36 +02:00
Szilárd Dóró
ef8c8f9cd4 fixed @nhost/react-apollo imports 2022-06-01 14:47:04 +02:00
Johan Eliasson
bc526e70ef Merge pull request #651 from gdangelo/docs/quickstarts-redwoodjs
docs: Add skip option to useQuery call to skip query if id is falsy
2022-06-01 14:30:23 +02:00
Szilárd Dóró
35068d213f Merge pull request #652 from nhost/changeset-release/main
chore: update versions
2022-06-01 13:42:31 +02:00
Pilou
e732ea9aa5 Merge pull request #650 from gdangelo/docs/quickstarts-react
docs: Add skip option to useQuery call to skip query if id is falsy
2022-06-01 13:40:35 +02:00
github-actions[bot]
e8d5338aca chore: update versions 2022-06-01 11:39:36 +00:00
Szilárd Dóró
ac84f4d0e9 Merge pull request #648 from nhost/fix/next-esm-followup
ESM and build process improvements
2022-06-01 13:38:05 +02:00
Szilárd Dóró
12e9a572db activated import/extensions ESLint rule
- file extensions are mandatory for imported packages
- fixed general errors indicated by the linter
2022-06-01 13:31:09 +02:00
Grégory D'Angelo
c1c7ceb319 docs: Add skip option to useQuery call to skip query if id is falsy 2022-06-01 13:20:41 +02:00
Grégory D'Angelo
23a9f9f547 docs: Add skip option to useQuery call to skip query if id is falsy 2022-06-01 11:43:27 +02:00
Szilárd Dóró
1b37b9f62a added changeset 2022-06-01 10:37:25 +02:00
Szilárd Dóró
764ea72d60 fixed build warning about globals 2022-06-01 09:42:06 +02:00
Pilou
3efbbca136 Merge pull request #646 from nhost/plmercereau-patch-1
Remove AUTH_SMS_TWILIO_FROM from env var list
2022-06-01 09:01:24 +02:00
Pilou
93d8eec950 Remove AUTH_SMS_TWILIO_FROM from env var list 2022-06-01 08:46:49 +02:00
Szilárd Dóró
d4ea2fce6d fixed React ESM issues, simplified bundle copy 2022-05-31 23:08:48 +02:00
Johan Eliasson
5096456f78 Merge pull request #643 from nhost/elitan-patch-2
Light mode for now to match landing page and dashboard
2022-05-31 17:08:01 +02:00
Johan Eliasson
507d09861c Light mode for now to match landing page and dashboard 2022-05-31 16:32:25 +02:00
Szilárd Dóró
050cb288fc Merge pull request #642 from nhost/changeset-release/main
chore: update versions
2022-05-31 16:22:55 +02:00
github-actions[bot]
cd120c61fb chore: update versions 2022-05-31 14:19:38 +00:00
Szilárd Dóró
5ddb5a751b Merge pull request #640 from nhost/fix/next-esm-bundling 2022-05-31 16:18:20 +02:00
Johan Eliasson
92209b6690 Merge pull request #641 from nhost/contributors-readme-action-A3l1kugNkY
contributors readme action update
2022-05-31 16:04:08 +02:00
github-actions[bot]
bdb11c0fa4 contrib-readme-action has updated readme 2022-05-31 14:02:31 +00:00
Johan Eliasson
63c3e7cb2c Merge pull request #639 from nhost/contributors-readme-action-Dh3J_t5dMB
contributors readme action update
2022-05-31 16:02:09 +02:00
Szilárd Dóró
78341491cd fixed ESM related errors, updated ESM file names 2022-05-31 15:19:42 +02:00
github-actions[bot]
cd8560e6d3 contrib-readme-action has updated readme 2022-05-31 13:14:37 +00:00
Johan Eliasson
fced43f55d Merge pull request #638 from nhost/contributors-readme-action-bW8QNtGd78
contributors readme action update
2022-05-31 15:14:19 +02:00
github-actions[bot]
47cc5d1562 contrib-readme-action has updated readme 2022-05-31 12:42:26 +00:00
Johan Eliasson
9ab4d49421 Merge pull request #616 from mdp18/docs-react-nhost-fix
docs clarification for nhost instance
2022-05-31 14:42:12 +02:00
Johan Eliasson
4bdd29c2ea Merge branch 'main' into docs-react-nhost-fix 2022-05-31 14:41:48 +02:00
Johan Eliasson
a43fa284b4 Merge pull request #637 from nhost/docs-small-fixes
Docs: Small fixes
2022-05-31 14:40:59 +02:00
Johan Eliasson
e68ca9b0c8 Merge pull request #632 from nhost/docs-og-images
Docs: Open Graph Images
2022-05-31 14:40:40 +02:00
Johan Eliasson
ad26b8392f small fixes 2022-05-31 14:01:46 +02:00
Johan Eliasson
09ffcb961a slightly modified images 2022-05-31 13:56:43 +02:00
Johan Eliasson
42879a26da added img for all docs under platform 2022-05-31 13:49:26 +02:00
Johan Eliasson
cdba9aa5a0 no nextjs 2022-05-31 11:26:16 +02:00
Johan Eliasson
b092e13ba0 more images 2022-05-31 11:16:14 +02:00
Johan Eliasson
a2343c8ef2 small config updates 2022-05-31 10:57:03 +02:00
Johan Eliasson
2cbe8a5045 dynamic url 2022-05-31 10:39:35 +02:00
Johan Eliasson
a38ddeed5e update 2022-05-31 10:35:49 +02:00
Johan Eliasson
1fbf990c79 test image 2022-05-31 10:25:36 +02:00
Johan Eliasson
c5a9fc568b Merge branch 'main' into docs-react-nhost-fix 2022-05-31 09:31:22 +02:00
Max
0b79b4f492 end ticks fix
fixed ``` end ticks from protected routes
2022-05-30 09:07:29 -07:00
Max
832702ff45 docs clarification v2
added review comments
2022-05-30 09:05:51 -07:00
Max
1791452fc2 docs clarification for nhost instance
Clarifying where nhost client instance should be made for ease of following and understanding the documentation. I think ultimately it should follow the steps shown subsequently.
2022-05-29 10:53:59 -07:00
95 changed files with 472 additions and 392 deletions

View File

@@ -1,4 +1,4 @@
![Nhost](https://i.imgur.com/FrcdOZg.png)
![Nhost](https://i.imgur.com/ZenoUlM.png)
<div align="center">
@@ -199,21 +199,28 @@ Here are some ways of contributing to making Nhost better:
<sub><b>Vadim Smirnov</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/macmac49">
<img src="https://avatars.githubusercontent.com/u/831190?v=4" width="100;" alt="macmac49"/>
<br />
<sub><b>Macmac49</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/subhendukundu">
<img src="https://avatars.githubusercontent.com/u/20059141?v=4" width="100;" alt="subhendukundu"/>
<br />
<sub><b>Subhendu Kundu</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/heygambo">
<img src="https://avatars.githubusercontent.com/u/449438?v=4" width="100;" alt="heygambo"/>
<br />
<sub><b>Christian Gambardella</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/chrtze">
<img src="https://avatars.githubusercontent.com/u/3797215?v=4" width="100;" alt="chrtze"/>
@@ -248,15 +255,15 @@ Here are some ways of contributing to making Nhost better:
<br />
<sub><b>Jerry Jäppinen</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/mustafa-hanif">
<img src="https://avatars.githubusercontent.com/u/30019262?v=4" width="100;" alt="mustafa-hanif"/>
<br />
<sub><b>Mustafa Hanif</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/timpratim">
<img src="https://avatars.githubusercontent.com/u/32492961?v=4" width="100;" alt="timpratim"/>
@@ -291,15 +298,15 @@ Here are some ways of contributing to making Nhost better:
<br />
<sub><b>Animesh Pathak</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/rustyb">
<img src="https://avatars.githubusercontent.com/u/53086?v=4" width="100;" alt="rustyb"/>
<br />
<sub><b>Colin Broderick</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/dohomi">
<img src="https://avatars.githubusercontent.com/u/489221?v=4" width="100;" alt="dohomi"/>
@@ -334,15 +341,15 @@ Here are some ways of contributing to making Nhost better:
<br />
<sub><b>Hugh Caluscusin</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/jladuval">
<img src="https://avatars.githubusercontent.com/u/1935359?v=4" width="100;" alt="jladuval"/>
<br />
<sub><b>Jacob Duval</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/leothorp">
<img src="https://avatars.githubusercontent.com/u/12928449?v=4" width="100;" alt="leothorp"/>
@@ -377,15 +384,15 @@ Here are some ways of contributing to making Nhost better:
<br />
<sub><b>Quentin Decré</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/atapas">
<img src="https://avatars.githubusercontent.com/u/3633137?v=4" width="100;" alt="atapas"/>
<br />
<sub><b>Tapas Adhikary</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/komninoschat">
<img src="https://avatars.githubusercontent.com/u/29049104?v=4" width="100;" alt="komninoschat"/>

View File

@@ -6,5 +6,8 @@ module.exports = {
parserOptions: {
...base.parserOptions,
parser: '@typescript-eslint/parser'
},
rules: {
'vue/html-self-closing': 'off'
}
}

View File

@@ -14,9 +14,6 @@ const entry = fs.existsSync(tsEntry) ? tsEntry : tsEntry.replace('.ts', '.tsx')
const deps = [...Object.keys(Object.assign({}, pkg.peerDependencies, pkg.dependencies))]
export default defineConfig({
optimizeDeps: {
include: ['react/jsx-runtime']
},
plugins: [
tsconfigPaths(),
dts({
@@ -44,7 +41,7 @@ export default defineConfig({
lib: {
entry,
name: pkg.name,
fileName: (format) => (format === 'cjs' ? `index.cjs.js` : `index.mjs`),
fileName: (format) => (format === 'cjs' ? `index.cjs.js` : `index.esm.js`),
formats: ['cjs', 'es']
},
rollupOptions: {
@@ -55,6 +52,7 @@ export default defineConfig({
'@apollo/client': '@apollo/client',
'@apollo/client/core': '@apollo/client/core',
'@apollo/client/link/context': '@apollo/client/link/context',
'@apollo/client/react': '@apollo/client/react',
'@apollo/client/link/subscriptions': '@apollo/client/link/subscriptions',
'@apollo/client/utilities': '@apollo/client/utilities',
'graphql-ws': 'graphql-ws',

View File

@@ -6,5 +6,8 @@ import baseLibConfig from './vite.lib.config'
export default defineConfig({
...baseLibConfig,
plugins: [react(), ...baseLibConfig.plugins]
optimizeDeps: {
include: ['react/jsx-runtime']
},
plugins: [react({ jsxRuntime: 'classic' }), ...baseLibConfig.plugins]
})

View File

@@ -2,6 +2,7 @@
title: 'Introduction to Nhost'
sidebar_label: Introduction
sidebar_position: 1
image: /img/og/platform/introduction-to-nhost.png
---
Nhost is the open source GraphQL backend (Firebase Alternative) and a development platform. Nhost is doing for the backend, what [Netlify](https://netlify.com/) and [Vercel](https://vercel.com/) are doing for the frontend.

View File

@@ -2,6 +2,7 @@
title: Nhost Authentication
sidebar_label: Authentication
sidebar_position: 1
image: /img/og/platform/authentication.png
---
Nhost Authentication is a ready-to-use authentication service that is integrated with the [GraphQL API](/platform/graphql) and its permission system from Hasura.

View File

@@ -2,6 +2,7 @@
title: Sign In with Email and Password
sidebar_label: Email and Password
slug: /platform/authentication/sign-in-with-email-and-password
image: /img/og/platform/sign-in-with-email-and-password.png
---
Follow this guide to sign in users with email and password.

View File

@@ -2,6 +2,7 @@
title: Sign In with Magic Link
sidebar_label: Magic Link
slug: /platform/authentication/sign-in-with-magic-link
image: /img/og/platform/sign-in-with-magic-link.png
---
Follow this guide to sign in users with Magic Link, also called passwordless email.

View File

@@ -2,6 +2,7 @@
title: Sign In with Phone Number (SMS)
sidebar_label: Phone Number (SMS)
slug: /platform/authentication/sign-in-with-phone-number-sms
image: /img/og/platform/sign-in-with-phone-number-sms.png
---
Follow this guide to sign in users with a phone number (SMS).

View File

@@ -2,6 +2,7 @@
title: Sign In with Google
sidebar_label: Google
slug: /platform/authentication/sign-in-with-google
image: /img/og/platform/sign-in-with-google.png
---
Follow this guide to sign in users with Google with your Nhost App.

View File

@@ -2,6 +2,7 @@
title: Sign In with Facebook
sidebar_label: Facebook
slug: /platform/authentication/sign-in-with-facebook
image: /img/og/platform/sign-in-with-facebook.png
---
Follow this guide to sign in users with Facebook with your Nhost App.

View File

@@ -2,6 +2,7 @@
title: Sign In with GitHub
sidebar_label: GitHub
slug: /platform/authentication/sign-in-with-github
image: /img/og/platform/sign-in-with-github.png
---
Follow this guide to sign in users with GitHub with your Nhost App.

View File

@@ -2,6 +2,7 @@
title: Sign In with LinkedIn
sidebar_label: LinkedIn
slug: /platform/authentication/sign-in-with-linkedin
image: /img/og/platform/sign-in-with-linkedin.png
---
Follow this guide to sign in users with LinkedIn with your Nhost App.

View File

@@ -2,6 +2,7 @@
title: Sign In with Spotify
sidebar_label: Spotify
slug: /platform/authentication/sign-in-with-spotify
image: /img/og/platform/sign-in-with-spotify.png
---
Follow this guide to sign in users with Spotify with your Nhost App.

View File

@@ -1,6 +1,7 @@
---
title: 'Sign-In Methods'
slug: /platform/authentication/sign-in-methods
image: /img/og/platform/sign-in-methods.png
---
Nhost Authentication support the following sign-in methods:

View File

@@ -2,6 +2,7 @@
title: Tokens
sidebar_label: Tokens
sidebar_position: 10
image: /img/og/platform/tokens.png
---
Nhost Authentication makes use of two types of tokens:

View File

@@ -2,6 +2,7 @@
title: Users
sidebar_label: Users
sidebar_position: 1
image: /img/og/platform/users.png
---
Users are stored in the database in the `users` table in the `auth` schema.

View File

@@ -1,6 +1,7 @@
---
title: 'CLI'
sidebar_position: 11
image: /img/og/platform/cli.png
---
import Tabs from '@theme/Tabs'

View File

@@ -1,6 +1,7 @@
---
title: 'Event triggers'
sidebar_position: 2
image: /img/og/platform/event-triggers.png
---
Event Triggers enable you to invoke webhooks when a database event happens. Event Triggers are typically used to do post-processing tasks, using custom backend code, based on database events.

View File

@@ -1,6 +1,7 @@
---
title: 'Database'
sidebar_position: 1
image: /img/og/platform/database.png
---
import Tabs from '@theme/Tabs'

View File

@@ -1,6 +1,7 @@
---
title: 'Environment Variables'
sidebar_position: 9
image: /img/og/platform/environment-variables.png
---
Environment Variables are key-value pairs configured outside your source code. They are used to store environment-specific values such as API keys.

View File

@@ -1,6 +1,7 @@
---
title: 'GitHub Integration'
sidebar_position: 10
image: /img/og/platform/github-integration.png
---
The GitHub integration allows you to automatically deploy your Nhost app when on push and merge to a GitHub repository that is connected to your Nhost app.

View File

@@ -1,6 +1,7 @@
---
title: 'GraphQL'
sidebar_position: 1
image: /img/og/platform/graphql.png
---
A GraphQL API is automatically and instantly available based on the tables and columns in your [database](/platform/database).

View File

@@ -1,6 +1,7 @@
---
title: 'Permissions'
sidebar_position: 1
image: /img/og/platform/permissions.png
---
The GraphQL API is protected by a role-based permission system.

View File

@@ -1,6 +1,7 @@
---
title: 'Architecture'
sidebar_position: 2
image: /img/og/platform/architecture.png
---
Nhost is a backend as a service built with open source tools to provide developers the general building blocks required to build fantastic digital apps and products.

View File

@@ -1,6 +1,7 @@
---
title: 'Get Started with Nhost CLI'
sidebar_position: 2
image: /img/og/platform/get-started-with-nhost-cli.png
---
# Get started with Nhost CLI

View File

@@ -1,6 +1,7 @@
---
title: 'Quickstart: Next.js'
sidebar_position: 2
image: /img/og/platform/quickstart-nextjs.png
---
import Tabs from '@theme/Tabs'
@@ -672,7 +673,8 @@ export function UserProvider({ children = null }) {
const id = useUserId()
// highlight-start
const { loading, error, data } = useQuery(GET_USER_QUERY, {
variables: { id }
variables: { id },
skip: !id
})
const user = data?.user
// highlight-end

View File

@@ -1,6 +1,7 @@
---
title: 'Quickstart: React'
sidebar_position: 1
image: /img/og/platform/quickstart-react.png
---
import Tabs from '@theme/Tabs'
@@ -35,6 +36,7 @@ You'll need **Node.js** version 14 or later: [install it from here](https://node
import CreateApp from '@site/src/components/create-nhost-app.mdx'
<CreateApp />
:::info
You can also connect your Nhost app to a GitHub repository. When you do this, any updates you push to your code will automatically be deployed. [Learn more](https://docs.nhost.io/platform/github-integration).
:::
@@ -636,7 +638,8 @@ const Layout = () => {
const id = useUserId()
// highlight-start
const { loading, error, data } = useQuery(GET_USER_QUERY, {
variables: { id }
variables: { id },
skip: !id
})
const user = data?.user
// highlight-end

View File

@@ -1,6 +1,7 @@
---
title: 'Quickstart: RedwoodJS'
sidebar_position: 3
image: /img/og/platform/quickstart-redwoodjs.png
---
import Tabs from '@theme/Tabs'
@@ -1089,7 +1090,8 @@ export function UserProvider({ children = null }) {
const { userMetadata } = useAuth()
const { loading, error, data } = useQuery(GET_USER_QUERY, {
variables: { id: userMetadata?.id }
variables: { id: userMetadata?.id },
skip: !userMetadata?.id
})
const user = data?.user

View File

@@ -1,6 +1,7 @@
---
title: 'Quickstart: Vue'
sidebar_position: 3
image: /img/og/platform/quickstart-vue.png
---
import Tabs from '@theme/Tabs'

View File

@@ -1,6 +1,7 @@
---
title: 'Serverless Functions'
sidebar_position: 8
image: /img/og/platform/serverless-functions.png
---
import Tabs from '@theme/Tabs'

View File

@@ -1,6 +1,7 @@
---
title: 'Storage'
sidebar_position: 7
image: /img/og/platform/storage.png
---
Nhost stores and serves files of any type in your backend.

View File

@@ -43,7 +43,6 @@ sidebar_position: 3
| AUTH_SMS_TWILIO_ACCOUNT_SID | | |
| AUTH_SMS_TWILIO_AUTH_TOKEN | | |
| AUTH_SMS_TWILIO_MESSAGING_SERVICE_ID | | |
| AUTH_SMS_TWILIO_FROM | | |
| AUTH_EMAIL_SIGNIN_EMAIL_VERIFIED_REQUIRED | When enabled, any email-based authentication requires emails to be verified by a link sent to this email. | `true` |
| AUTH_ACCESS_CONTROL_ALLOWED_REDIRECT_URLS | | |
| AUTH_MFA_ENABLED | Enables users to use Multi Factor Authentication. | `false` |

View File

@@ -1,12 +1,12 @@
---
title: 'Overview'
title: 'JavaScript'
sidebar_position: 1
---
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
The Nhost client is the primary way of interacting with your Nhost app. It exposes a standard interface for each of the following services:
The Nhost JavaScript client is the primary way of interacting with your Nhost app. It exposes a standard interface for each of the following services:
- [Authentication](/reference/javascript/auth)
- [Storage](/reference/javascript/storage)
@@ -63,4 +63,4 @@ If the user is not signed in no authorization header is set. If no authorization
## TypeScript Support
The Nhost JS SDK has TypeScript typings included. You dont have to import types separately.
The Nhost JavaScript client is written in TypeScript and has full TypeScript support.

View File

@@ -1,5 +1,5 @@
---
title: 'Overview'
title: 'Next.js'
sidebar_position: 1
---

View File

@@ -1,5 +1,5 @@
---
title: 'Overview'
title: 'React'
sidebar_position: 1
---
@@ -31,20 +31,27 @@ yarn add @nhost/react graphql
## Initializing
Initialize a single `nhost` instance and wrap your app with the `NhostReactProvider`.
After installation, initialize a single Nhost Client (`nhost`) under `src/lib/nhost.js`.
```jsx title=src/lib/nhost.js
import { NhostClient } from '@nhost/react'
const nhost = new NhostClient({
backendUrl: '<Your Nhost Backend URL>'
})
export { nhost }
```
Import `nhost` and wrap your app with the `NhostReactProvider`.
```jsx title=src/App.tsx
import React from 'react'
import ReactDOM from 'react-dom'
import { NhostClient, NhostReactProvider } from '@nhost/react'
import { nhost } from './lib/nhost'
import App from './App'
const nhost = new NhostClient({
backendUrl: '<Your Nhost Backend URL>'
})
ReactDOM.render(
<React.StrictMode>
<NhostReactProvider nhost={nhost}>
@@ -53,8 +60,11 @@ ReactDOM.render(
</React.StrictMode>,
document.getElementById('root')
)
export { nhost }
```
:::info
The `nhost` instance created with the `NhostClient` above is the same as the [JavaScript Nhost client](/reference/javascript).

View File

@@ -1,5 +1,5 @@
---
title: 'Overview'
title: 'Vue'
sidebar_position: 1
---

View File

@@ -4,19 +4,28 @@
const lightCodeTheme = require('prism-react-renderer/themes/github')
const darkCodeTheme = require('prism-react-renderer/themes/dracula')
const getBaseUrl = () => {
if (process.env.VERCEL_ENV === 'production') {
return 'https://docs.nhost.io'
} else if (process.env.VERCEL_ENV === 'preview') {
return `https://${process.env.VERCEL_URL}`
} else {
return `http://localhost:3000`
}
}
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Nhost Docs',
tagline:
'Nhost is an open-source, real-time, server-less backend platform for building reliable apps that scale with your business.',
url: 'https://docs.nhost.io',
tagline: 'Nhost is an open source Firebase alternative with GraphQL.',
url: getBaseUrl(),
trailingSlash: false,
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.png',
organizationName: 'nhost', // Usually your GitHub org/user name.
projectName: 'docs', // Usually your repo name.
organizationName: 'nhost',
projectName: 'docs',
presets: [
[
@@ -33,7 +42,6 @@ const config = {
breadcrumbs: false,
sidebarPath: require.resolve('./sidebars.js'),
remarkPlugins: [require('mdx-mermaid')],
// Please change this to your repo.
editUrl: 'https://github.com/nhost/nhost/edit/main/docs/'
},
theme: {
@@ -46,17 +54,13 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
image: 'img/splash.png',
colorMode: {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: true
},
metadata: [
{
name: 'og:image',
content: 'https://docs.nhost.io/img/splash.png'
}
],
metadata: [{ name: 'robots', content: 'max-image-preview:large' }],
navbar: {
hideOnScroll: true,
logo: {

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

BIN
docs/static/img/og/platform/cli.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

BIN
docs/static/img/og/platform/database.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

BIN
docs/static/img/og/platform/graphql.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

BIN
docs/static/img/og/platform/storage.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

BIN
docs/static/img/og/platform/tokens.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

BIN
docs/static/img/og/platform/users.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

View File

@@ -0,0 +1,3 @@
module.exports = {
extends: ['../../config/.eslintrc.vue']
}

View File

@@ -18,7 +18,10 @@ const GET_USER_SUBSCRIPTION = gql`
`
const id = useUserId()
const { result } = useSubscription(GET_USER_SUBSCRIPTION, computed(() => ({ id: id.value })))
const { result } = useSubscription(
GET_USER_SUBSCRIPTION,
computed(() => ({ id: id.value }))
)
const user = computed(() => result.value?.user)
const UPDATE_USER_MUTATION = gql`
@@ -42,13 +45,12 @@ const updateUserProfile = async (event: Event) => {
displayName: `${firstName.value} ${lastName.value}`.trim(),
metadata: {
firstName: firstName.value,
lastName: lastName.value,
},
lastName: lastName.value
}
})
await nhost.auth.refreshSession()
}
}
</script>
<template>
@@ -59,15 +61,11 @@ const updateUserProfile = async (event: Event) => {
<em text-sm op75>Quickstart</em>
</p>
<div v-if="user" py-4>
<p>
Hello, {{ user.displayName }}. Your email is {{ user.email }}.
</p>
<p>Hello, {{ user.displayName }}. Your email is {{ user.email }}.</p>
<form @submit="updateUserProfile">
<input v-model="firstName" placeholder="First name" class="input"><br>
<input v-model="lastName" placeholder="Last name" class="input"><br>
<button class="btn-submit" :disabled="loading">
Save
</button>
<input v-model="firstName" placeholder="First name" class="input" /><br />
<input v-model="lastName" placeholder="Last name" class="input" /><br />
<button class="btn-submit" :disabled="loading">Save</button>
<div v-if="error">
{{ error.message }}
</div>

View File

@@ -11,12 +11,12 @@ import Unocss from 'unocss/vite'
export default defineConfig({
resolve: {
alias: {
'~/': `${path.resolve(__dirname, 'src')}/`,
},
'~/': `${path.resolve(__dirname, 'src')}/`
}
},
plugins: [
Vue({
reactivityTransform: true,
reactivityTransform: true
}),
// https://github.com/hannoeru/vite-plugin-pages
@@ -25,21 +25,21 @@ export default defineConfig({
// https://github.com/antfu/unplugin-auto-import
AutoImport({
imports: ['vue/macros', 'vue-router', '@vueuse/core'],
dts: true,
dts: true
}),
// https://github.com/antfu/vite-plugin-components
Components({
dts: true,
dts: true
}),
// https://github.com/antfu/unocss
// see unocss.config.ts for config
Unocss(),
Unocss()
],
// https://github.com/vitest-dev/vitest
test: {
environment: 'jsdom',
},
environment: 'jsdom'
}
})

View File

@@ -54,7 +54,6 @@
"@typescript-eslint/parser": "^5.22.0",
"@vitejs/plugin-react": "^1.3.2",
"c8": "^7.11.2",
"cpy-cli": "^4.1.0",
"eslint": "^8.14.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^8.0.3",

View File

@@ -1,5 +1,30 @@
# @nhost/apollo
## 0.5.12
### Patch Changes
- ebad0936: reverted ESM related changes
- Updated dependencies [ebad0936]
- @nhost/nhost-js@1.2.3
## 0.5.11
### Patch Changes
- 1b37b9f6: fix: ESM import path fixes
- Updated dependencies [1b37b9f6]
- @nhost/nhost-js@1.2.2
## 0.5.10
### Patch Changes
- 78341491: fix: Next.js and React issues with ESM packages
chore: Updated output bundle names
- Updated dependencies [78341491]
- @nhost/nhost-js@1.2.1
## 0.5.9
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@nhost/apollo",
"version": "0.5.9",
"version": "0.5.12",
"description": "Nhost Apollo Client library",
"license": "MIT",
"keywords": [
@@ -22,7 +22,7 @@
"url": "https://github.com/nhost/nhost.git"
},
"main": "dist/index.cjs.js",
"module": "dist/index.mjs",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"files": [
@@ -32,11 +32,8 @@
],
"exports": {
".": {
"node": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js"
},
"default": "./dist/index.es.js"
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
}
},
"publishConfig": {
@@ -45,7 +42,7 @@
"scripts": {
"dev": "vite build --config ../../config/vite.lib.dev.config.js",
"build": "run-p build:lib build:umd",
"build:lib": "vite build --config ../../config/vite.lib.config.js && cpy --flat dist/index.mjs dist --rename=index.es.js && cpy --flat dist/index.mjs.map dist --rename index.es.js.map",
"build:lib": "vite build --config ../../config/vite.lib.config.js",
"build:umd": "vite build --config ../../config/vite.lib.umd.config.js",
"test": "vitest run --config ../../config/vite.lib.config.js",
"test:watch": "vitest --config ../../config/vite.lib.config.js",

View File

@@ -1,5 +1,24 @@
# @nhost/core
## 0.6.4
### Patch Changes
- ebad0936: reverted ESM related changes
## 0.6.3
### Patch Changes
- 1b37b9f6: fix: ESM import path fixes
## 0.6.2
### Patch Changes
- 78341491: fix: Next.js and React issues with ESM packages
chore: Updated output bundle names
## 0.6.1
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@nhost/core",
"version": "0.6.1",
"version": "0.6.4",
"description": "Nhost core client library",
"license": "MIT",
"keywords": [
@@ -21,7 +21,7 @@
"url": "https://github.com/nhost/nhost.git"
},
"main": "dist/index.cjs.js",
"module": "dist/index.mjs",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"files": [
@@ -31,11 +31,8 @@
],
"exports": {
".": {
"node": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js"
},
"default": "./dist/index.es.js"
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
}
},
"publishConfig": {
@@ -44,7 +41,7 @@
"scripts": {
"dev": "vite build --config ../../config/vite.lib.dev.config.js",
"build": "run-p build:lib build:umd",
"build:lib": "vite build --config ../../config/vite.lib.config.js && cpy --flat dist/index.mjs dist --rename=index.es.js && cpy --flat dist/index.mjs.map dist --rename index.es.js.map",
"build:lib": "vite build --config ../../config/vite.lib.config.js",
"build:umd": "vite build --config ../../config/vite.lib.umd.config.js",
"test": "vitest run --config ../../config/vite.lib.config.js",
"test:watch": "vitest --config ../../config/vite.lib.config.js",

View File

@@ -1,5 +1,11 @@
# @nhost/docgen
## 0.1.2
### Patch Changes
- ebad0936: reverted ESM related changes
## 0.1.1
### Patch Changes

View File

@@ -2,7 +2,7 @@
"name": "@nhost/docgen",
"description": "Documentation generator for classes and functions",
"private": true,
"version": "0.1.1",
"version": "0.1.2",
"license": "MIT",
"main": "dist/index.cjs.js",
"types": "dist/index.d.ts",

View File

@@ -1,5 +1,30 @@
# @nhost/hasura-auth-js
## 1.1.13
### Patch Changes
- ebad0936: reverted ESM related changes
- Updated dependencies [ebad0936]
- @nhost/core@0.6.4
## 1.1.12
### Patch Changes
- 1b37b9f6: fix: ESM import path fixes
- Updated dependencies [1b37b9f6]
- @nhost/core@0.6.3
## 1.1.11
### Patch Changes
- 78341491: fix: Next.js and React issues with ESM packages
chore: Updated output bundle names
- Updated dependencies [78341491]
- @nhost/core@0.6.2
## 1.1.10
### Patch Changes

View File

@@ -1,31 +0,0 @@
const esbuild = require('esbuild')
// Automatically exclude all node_modules from the bundled version
const { nodeExternalsPlugin } = require('esbuild-node-externals')
esbuild
.build({
entryPoints: ['./src/index.ts'],
outfile: 'dist/index.cjs.js',
bundle: true,
minify: false,
platform: 'node',
format: 'cjs',
sourcemap: true,
target: 'node14',
plugins: [nodeExternalsPlugin()]
})
.catch(() => process.exit(1))
esbuild
.build({
entryPoints: ['./src/index.ts'],
outfile: 'dist/index.es.js',
bundle: true,
minify: false, // TODO
platform: 'browser',
format: 'esm',
sourcemap: true,
target: 'esnext'
})
.catch(() => process.exit(1))

View File

@@ -1,6 +1,6 @@
{
"name": "@nhost/hasura-auth-js",
"version": "1.1.10",
"version": "1.1.13",
"description": "Hasura-auth client",
"license": "MIT",
"keywords": [
@@ -20,7 +20,7 @@
"url": "https://github.com/nhost/nhost.git"
},
"main": "dist/index.cjs.js",
"module": "dist/index.mjs",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"files": [
@@ -30,11 +30,8 @@
],
"exports": {
".": {
"node": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js"
},
"default": "./dist/index.es.js"
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
}
},
"publishConfig": {
@@ -43,7 +40,7 @@
"scripts": {
"dev": "vite build --config ../../config/vite.lib.dev.config.js",
"build": "run-p build:lib build:umd",
"build:lib": "vite build && cpy --flat dist/index.mjs dist --rename=index.es.js && cpy --flat dist/index.mjs.map dist --rename index.es.js.map",
"build:lib": "vite build",
"build:umd": "vite build --config ../../config/vite.lib.umd.config.js",
"test": "vitest run",
"test:watch": "vitest",

View File

@@ -1,5 +1,24 @@
# @nhost/hasura-storage-js
## 0.3.3
### Patch Changes
- ebad0936: reverted ESM related changes
## 0.3.2
### Patch Changes
- 1b37b9f6: fix: ESM import path fixes
## 0.3.1
### Patch Changes
- 78341491: fix: Next.js and React issues with ESM packages
chore: Updated output bundle names
## 0.3.0
### Minor Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@nhost/hasura-storage-js",
"version": "0.3.0",
"version": "0.3.3",
"description": "Hasura-storage client",
"license": "MIT",
"keywords": [
@@ -18,7 +18,7 @@
"url": "https://github.com/nhost/hasura-storage-js.git"
},
"main": "dist/index.cjs.js",
"module": "dist/index.mjs",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"files": [
@@ -28,11 +28,8 @@
],
"exports": {
".": {
"node": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js"
},
"default": "./dist/index.es.js"
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
}
},
"publishConfig": {
@@ -41,7 +38,7 @@
"scripts": {
"dev": "vite build --config ../../config/vite.lib.dev.config.js",
"build": "run-p build:lib build:umd",
"build:lib": "vite build --config ../../config/vite.lib.config.js && cpy --flat dist/index.mjs dist --rename=index.es.js && cpy --flat dist/index.mjs.map dist --rename index.es.js.map",
"build:lib": "vite build --config ../../config/vite.lib.config.js",
"build:umd": "vite build --config ../../config/vite.lib.umd.config.js",
"test": "vitest run --config ../../config/vite.lib.config.js",
"test:watch": "vitest --config ../../config/vite.lib.config.js",

View File

@@ -1,5 +1,36 @@
# @nhost/nextjs
## 1.2.12
### Patch Changes
- ebad0936: reverted ESM related changes
- Updated dependencies [ebad0936]
- @nhost/core@0.6.4
- @nhost/nhost-js@1.2.3
- @nhost/react@0.7.12
## 1.2.11
### Patch Changes
- 1b37b9f6: fix: ESM import path fixes
- Updated dependencies [1b37b9f6]
- @nhost/core@0.6.3
- @nhost/nhost-js@1.2.2
- @nhost/react@0.7.11
## 1.2.10
### Patch Changes
- 78341491: fix: Next.js and React issues with ESM packages
chore: Updated output bundle names
- Updated dependencies [78341491]
- @nhost/core@0.6.2
- @nhost/nhost-js@1.2.1
- @nhost/react@0.7.10
## 1.2.9
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@nhost/nextjs",
"version": "1.2.9",
"version": "1.2.12",
"description": "Nhost NextJS library",
"license": "MIT",
"keywords": [
@@ -24,7 +24,7 @@
"url": "https://github.com/nhost/nhost.git"
},
"main": "dist/index.cjs.js",
"module": "dist/index.mjs",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"files": [
@@ -34,11 +34,8 @@
],
"exports": {
".": {
"node": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js"
},
"default": "./dist/index.es.js"
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
}
},
"publishConfig": {
@@ -47,7 +44,7 @@
"scripts": {
"dev": "vite build --config ../../config/vite.react.dev.config.js",
"build": "run-p build:lib build:umd",
"build:lib": "vite build --config ../../config/vite.react.config.js && cpy --flat dist/index.mjs dist --rename=index.es.js && cpy --flat dist/index.mjs.map dist --rename index.es.js.map",
"build:lib": "vite build --config ../../config/vite.react.config.js",
"build:umd": "vite build --config ../../config/vite.react.umd.config.js",
"test": "vitest run --config ../../config/vite.react.config.js",
"test:watch": "vitest --config ../../config/vite.react.config.js",

View File

@@ -1,5 +1,33 @@
# @nhost/nhost-js
## 1.2.3
### Patch Changes
- ebad0936: reverted ESM related changes
- Updated dependencies [ebad0936]
- @nhost/hasura-auth-js@1.1.13
- @nhost/hasura-storage-js@0.3.3
## 1.2.2
### Patch Changes
- 1b37b9f6: fix: ESM import path fixes
- Updated dependencies [1b37b9f6]
- @nhost/hasura-auth-js@1.1.12
- @nhost/hasura-storage-js@0.3.2
## 1.2.1
### Patch Changes
- 78341491: fix: Next.js and React issues with ESM packages
chore: Updated output bundle names
- Updated dependencies [78341491]
- @nhost/hasura-auth-js@1.1.11
- @nhost/hasura-storage-js@0.3.1
## 1.2.0
### Minor Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@nhost/nhost-js",
"version": "1.2.0",
"version": "1.2.3",
"description": "Nhost JavaScript SDK",
"license": "MIT",
"keywords": [
@@ -21,7 +21,7 @@
"url": "git+https://github.com/nhost/nhost.git"
},
"main": "dist/index.cjs.js",
"module": "dist/index.mjs",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"files": [
@@ -31,11 +31,8 @@
],
"exports": {
".": {
"node": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js"
},
"default": "./dist/index.es.js"
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
}
},
"publishConfig": {
@@ -44,7 +41,7 @@
"scripts": {
"dev": "vite build --config ../../config/vite.lib.dev.config.js",
"build": "run-p build:lib build:umd",
"build:lib": "vite build --config ../../config/vite.lib.config.js && cpy --flat dist/index.mjs dist --rename=index.es.js && cpy --flat dist/index.mjs.map dist --rename index.es.js.map",
"build:lib": "vite build --config ../../config/vite.lib.config.js",
"build:umd": "vite build --config ../../config/vite.lib.umd.config.js",
"test": "vitest run --config ../../config/vite.lib.config.js",
"test:watch": "vitest --config ../../config/vite.lib.config.js",

View File

@@ -1,5 +1,39 @@
# @nhost/react-apollo
## 4.2.14
### Patch Changes
- ebad0936: reverted ESM related changes
- Updated dependencies [ebad0936]
- @nhost/apollo@0.5.12
- @nhost/react@0.7.12
## 4.2.13
### Patch Changes
- ef8c8f9c: fixed imports in `@nhost/react-apollo`
## 4.2.12
### Patch Changes
- 1b37b9f6: fix: ESM import path fixes
- Updated dependencies [1b37b9f6]
- @nhost/apollo@0.5.11
- @nhost/react@0.7.11
## 4.2.11
### Patch Changes
- 78341491: fix: Next.js and React issues with ESM packages
chore: Updated output bundle names
- Updated dependencies [78341491]
- @nhost/apollo@0.5.10
- @nhost/react@0.7.10
## 4.2.10
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@nhost/react-apollo",
"version": "4.2.10",
"version": "4.2.14",
"description": "Nhost React Apollo client",
"license": "MIT",
"keywords": [
@@ -23,7 +23,7 @@
"url": "git+https://github.com/nhost/nhost.git"
},
"main": "dist/index.cjs.js",
"module": "dist/index.mjs",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"files": [
@@ -33,11 +33,8 @@
],
"exports": {
".": {
"node": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js"
},
"default": "./dist/index.es.js"
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
}
},
"publishConfig": {
@@ -46,7 +43,7 @@
"scripts": {
"dev": "vite build --config ../../config/vite.react.dev.config.js",
"build": "run-p build:lib build:umd",
"build:lib": "vite build --config ../../config/vite.react.config.js && cpy --flat dist/index.mjs dist --rename=index.es.js && cpy --flat dist/index.mjs.map dist --rename index.es.js.map",
"build:lib": "vite build --config ../../config/vite.react.config.js",
"build:umd": "vite build --config ../../config/vite.react.umd.config.js",
"test": "vitest run --config ../../config/vite.react.config.js",
"test:watch": "vitest --config ../../config/vite.react.config.js",

View File

@@ -1,5 +1,33 @@
# @nhost/react-auth
## 3.0.10
### Patch Changes
- ebad0936: reverted ESM related changes
- Updated dependencies [ebad0936]
- @nhost/hasura-auth-js@1.1.13
- @nhost/react@0.7.12
## 3.0.9
### Patch Changes
- 1b37b9f6: fix: ESM import path fixes
- Updated dependencies [1b37b9f6]
- @nhost/hasura-auth-js@1.1.12
- @nhost/react@0.7.11
## 3.0.8
### Patch Changes
- 78341491: fix: Next.js and React issues with ESM packages
chore: Updated output bundle names
- Updated dependencies [78341491]
- @nhost/hasura-auth-js@1.1.11
- @nhost/react@0.7.10
## 3.0.7
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@nhost/react-auth",
"version": "3.0.7",
"version": "3.0.10",
"description": "Nhost React client",
"license": "MIT",
"keywords": [
@@ -22,9 +22,9 @@
"url": "git+https://github.com/nhost/nhost.git"
},
"main": "dist/index.cjs.js",
"module": "dist/index.mjs",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"source": "src/index.tsx",
"source": "src/index.ts",
"files": [
"dist",
"umd",
@@ -32,11 +32,8 @@
],
"exports": {
".": {
"node": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js"
},
"default": "./dist/index.es.js"
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
}
},
"publishConfig": {
@@ -45,7 +42,7 @@
"scripts": {
"dev": "vite build --config ../../config/vite.react.dev.config.js",
"build": "run-p build:lib build:umd",
"build:lib": "vite build --config ../../config/vite.react.config.js && cpy --flat dist/index.mjs dist --rename=index.es.js && cpy --flat dist/index.mjs.map dist --rename index.es.js.map",
"build:lib": "vite build --config ../../config/vite.react.config.js",
"build:umd": "vite build --config ../../config/vite.react.umd.config.js",
"test": "vitest run --config ../../config/vite.react.config.js",
"test:watch": "vitest --config ../../config/vite.react.config.js",

View File

@@ -1,5 +1,33 @@
# @nhost/react
## 0.7.12
### Patch Changes
- ebad0936: reverted ESM related changes
- Updated dependencies [ebad0936]
- @nhost/core@0.6.4
- @nhost/nhost-js@1.2.3
## 0.7.11
### Patch Changes
- 1b37b9f6: fix: ESM import path fixes
- Updated dependencies [1b37b9f6]
- @nhost/core@0.6.3
- @nhost/nhost-js@1.2.2
## 0.7.10
### Patch Changes
- 78341491: fix: Next.js and React issues with ESM packages
chore: Updated output bundle names
- Updated dependencies [78341491]
- @nhost/core@0.6.2
- @nhost/nhost-js@1.2.1
## 0.7.9
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@nhost/react",
"version": "0.7.9",
"version": "0.7.12",
"description": "Nhost React library",
"license": "MIT",
"keywords": [
@@ -22,7 +22,7 @@
"url": "https://github.com/nhost/nhost.git"
},
"main": "dist/index.cjs.js",
"module": "dist/index.mjs",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"files": [
@@ -32,11 +32,8 @@
],
"exports": {
".": {
"node": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js"
},
"default": "./dist/index.es.js"
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
}
},
"publishConfig": {
@@ -45,7 +42,7 @@
"scripts": {
"dev": "vite build --config ../../config/vite.react.dev.config.js",
"build": "run-p build:lib build:umd",
"build:lib": "vite build --config ../../config/vite.react.config.js && cpy --flat dist/index.mjs dist --rename=index.es.js && cpy --flat dist/index.mjs.map dist --rename index.es.js.map",
"build:lib": "vite build --config ../../config/vite.react.config.js",
"build:umd": "vite build --config ../../config/vite.react.umd.config.js",
"test": "vitest run --config ../../config/vite.react.config.js",
"test:watch": "vitest --config ../../config/vite.react.config.js",
@@ -62,7 +59,7 @@
"@nhost/core": "workspace:*",
"@nhost/nhost-js": "workspace:*",
"@xstate/react": "^3.0.0",
"immer": "^9.0.12",
"immer": "^9.0.14",
"jwt-decode": "^3.1.2",
"xstate": "^4.31.0"
},

View File

@@ -1,5 +1,33 @@
# @nhost/vue
## 0.1.5
### Patch Changes
- ebad0936: reverted ESM related changes
- Updated dependencies [ebad0936]
- @nhost/core@0.6.4
- @nhost/nhost-js@1.2.3
## 0.1.4
### Patch Changes
- 1b37b9f6: fix: ESM import path fixes
- Updated dependencies [1b37b9f6]
- @nhost/core@0.6.3
- @nhost/nhost-js@1.2.2
## 0.1.3
### Patch Changes
- 78341491: fix: Next.js and React issues with ESM packages
chore: Updated output bundle names
- Updated dependencies [78341491]
- @nhost/core@0.6.2
- @nhost/nhost-js@1.2.1
## 0.1.2
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@nhost/vue",
"version": "0.1.2",
"version": "0.1.5",
"description": "Nhost Vue library",
"license": "MIT",
"keywords": [
@@ -22,7 +22,7 @@
"url": "https://github.com/nhost/nhost.git"
},
"main": "dist/index.cjs.js",
"module": "dist/index.mjs",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"files": [
@@ -32,11 +32,8 @@
],
"exports": {
".": {
"node": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js"
},
"default": "./dist/index.es.js"
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
}
},
"publishConfig": {
@@ -45,7 +42,7 @@
"scripts": {
"dev": "vite build --config ../../config/vite.vue.dev.config.js",
"build": "run-p build:lib build:umd",
"build:lib": "vite build --config ../../config/vite.vue.config.js && cpy --flat dist/index.mjs dist --rename=index.es.js && cpy --flat dist/index.mjs.map dist --rename index.es.js.map",
"build:lib": "vite build --config ../../config/vite.vue.config.js",
"build:umd": "vite build --config ../../config/vite.vue.umd.config.js",
"test": "vitest run --config ../../config/vite.vue.config.js",
"test:watch": "vitest --config ../../config/vite.vue.config.js",

232
pnpm-lock.yaml generated
View File

@@ -20,7 +20,6 @@ importers:
'@typescript-eslint/parser': ^5.22.0
'@vitejs/plugin-react': ^1.3.2
c8: ^7.11.2
cpy-cli: ^4.1.0
eslint: ^8.14.0
eslint-config-react-app: ^7.0.1
eslint-plugin-flowtype: ^8.0.3
@@ -60,7 +59,6 @@ importers:
'@typescript-eslint/parser': 5.22.0_eslint@8.14.0+typescript@4.5.5
'@vitejs/plugin-react': 1.3.2
c8: 7.11.2
cpy-cli: 4.1.0
eslint: 8.14.0
eslint-config-react-app: 7.0.1_4216ed3d2113f278f890275a29457e4c
eslint-plugin-flowtype: 8.0.3_0b52bfc9ba85ed2701108bc1502a1bef
@@ -549,7 +547,7 @@ importers:
'@nhost/nhost-js': workspace:*
'@types/react': ^18.0.8
'@xstate/react': ^3.0.0
immer: ^9.0.12
immer: ^9.0.14
jwt-decode: ^3.1.2
react: ^18.1.0
xstate: ^4.31.0
@@ -557,7 +555,7 @@ importers:
'@nhost/core': link:../core
'@nhost/nhost-js': link:../nhost-js
'@xstate/react': 3.0.0_65f3e99bcdc7699822790fc36fa14e77
immer: 9.0.12
immer: 9.0.14
jwt-decode: 3.1.2
xstate: 4.31.0
devDependencies:
@@ -4594,6 +4592,7 @@ packages:
url-regex-safe: 3.0.0_re2@1.17.4
video-extensions: 1.2.0
transitivePeerDependencies:
- bluebird
- bufferutil
- canvas
- supports-color
@@ -7003,14 +7002,6 @@ packages:
clean-stack: 2.2.0
indent-string: 4.0.0
/aggregate-error/4.0.1:
resolution: {integrity: sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==}
engines: {node: '>=12'}
dependencies:
clean-stack: 4.2.0
indent-string: 5.0.0
dev: true
/ajv-formats/2.1.1:
resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==}
peerDependenciesMeta:
@@ -7270,11 +7261,6 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
/arrify/3.0.0:
resolution: {integrity: sha512-tLkvA81vQG/XqE2mjDkGQHoOINtMHtysSnemrmoGe6PydDPMRbVugqyk4A6V/WDWEfm3l+0d8anA9r8cv/5Jaw==}
engines: {node: '>=12'}
dev: true
/asap/2.0.6:
resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==}
@@ -7896,6 +7882,8 @@ packages:
ssri: 8.0.1
tar: 6.1.11
unique-filename: 1.1.1
transitivePeerDependencies:
- bluebird
dev: true
/cacheable-request/6.1.0:
@@ -7940,16 +7928,6 @@ packages:
quick-lru: 4.0.1
dev: true
/camelcase-keys/7.0.2:
resolution: {integrity: sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==}
engines: {node: '>=12'}
dependencies:
camelcase: 6.3.0
map-obj: 4.3.0
quick-lru: 5.1.1
type-fest: 1.4.0
dev: true
/camelcase/5.3.1:
resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==}
engines: {node: '>=6'}
@@ -8213,13 +8191,6 @@ packages:
resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==}
engines: {node: '>=6'}
/clean-stack/4.2.0:
resolution: {integrity: sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==}
engines: {node: '>=12'}
dependencies:
escape-string-regexp: 5.0.0
dev: true
/cli-boxes/2.2.1:
resolution: {integrity: sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==}
engines: {node: '>=6'}
@@ -8598,39 +8569,6 @@ packages:
path-type: 4.0.0
yaml: 1.10.2
/cp-file/9.1.0:
resolution: {integrity: sha512-3scnzFj/94eb7y4wyXRWwvzLFaQp87yyfTnChIjlfYrVqp5lVO3E2hIJMeQIltUT0K2ZAB3An1qXcBmwGyvuwA==}
engines: {node: '>=10'}
dependencies:
graceful-fs: 4.2.10
make-dir: 3.1.0
nested-error-stacks: 2.1.1
p-event: 4.2.0
dev: true
/cpy-cli/4.1.0:
resolution: {integrity: sha512-JA6bth6/mxPCa19SrWkIuPEBrea8vO9g1v0qhmCLnAKOfTcsNk5/X3W1o9aZuOHgugRcxdyR67rO4Gw/DA+4Qg==}
engines: {node: '>=12.20'}
hasBin: true
dependencies:
cpy: 9.0.1
meow: 10.1.2
dev: true
/cpy/9.0.1:
resolution: {integrity: sha512-D9U0DR5FjTCN3oMTcFGktanHnAG5l020yvOCR1zKILmAyPP7I/9pl6NFgRbDcmSENtbK1sQLBz1p9HIOlroiNg==}
engines: {node: ^12.20.0 || ^14.17.0 || >=16.0.0}
dependencies:
arrify: 3.0.0
cp-file: 9.1.0
globby: 13.1.1
junk: 4.0.0
micromatch: 4.0.5
nested-error-stacks: 2.1.1
p-filter: 3.0.0
p-map: 5.4.0
dev: true
/create-require/1.1.1:
resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==}
dev: true
@@ -9506,11 +9444,6 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
/decamelize/5.0.1:
resolution: {integrity: sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==}
engines: {node: '>=10'}
dev: true
/decimal.js/10.3.1:
resolution: {integrity: sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==}
dev: true
@@ -10511,11 +10444,6 @@ packages:
resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
engines: {node: '>=10'}
/escape-string-regexp/5.0.0:
resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}
engines: {node: '>=12'}
dev: true
/escodegen/2.0.0:
resolution: {integrity: sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==}
engines: {node: '>=6.0'}
@@ -11997,17 +11925,6 @@ packages:
slash: 4.0.0
dev: false
/globby/13.1.1:
resolution: {integrity: sha512-XMzoDZbGZ37tufiv7g0N4F/zp3zkwdFtVbV3EHsVl1KQr4RPLfNoT068/97RPshz2J5xYNEjLKKBKaGHifBd3Q==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
dependencies:
dir-glob: 3.0.1
fast-glob: 3.2.11
ignore: 5.2.0
merge2: 1.4.1
slash: 4.0.0
dev: true
/globrex/0.1.2:
resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==}
dev: true
@@ -12321,13 +12238,6 @@ packages:
resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==}
dev: true
/hosted-git-info/4.1.0:
resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==}
engines: {node: '>=10'}
dependencies:
lru-cache: 6.0.0
dev: true
/hpack.js/2.1.6:
resolution: {integrity: sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=}
dependencies:
@@ -12419,6 +12329,7 @@ packages:
lodash: 4.17.21
matcher: 4.0.0
transitivePeerDependencies:
- bluebird
- bufferutil
- canvas
- supports-color
@@ -12629,6 +12540,10 @@ packages:
resolution: {integrity: sha512-lk7UNmSbAukB5B6dh9fnh5D0bJTOFKxVg2cyJWTYrWRfhLrLMBquONcUs3aFq507hNoIZEDDh8lb8UtOizSMhA==}
dev: false
/immer/9.0.14:
resolution: {integrity: sha512-ubBeqQutOSLIFCUBN03jGeOS6a3DoYlSYwYJTa+gSKEZKU5redJIqkIdZ3JVv/4RZpfcXdAWH5zCNLWPRv2WDw==}
dev: false
/immutable/3.7.6:
resolution: {integrity: sha1-E7TTyxK++hVIKib+Gy665kAHHks=}
engines: {node: '>=0.8.0'}
@@ -12678,11 +12593,6 @@ packages:
resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==}
engines: {node: '>=8'}
/indent-string/5.0.0:
resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==}
engines: {node: '>=12'}
dev: true
/infer-owner/1.0.4:
resolution: {integrity: sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==}
dev: true
@@ -13178,6 +13088,7 @@ packages:
re2: 1.17.4
url-regex-safe: 3.0.0_re2@1.17.4
transitivePeerDependencies:
- bluebird
- supports-color
dev: true
@@ -14150,11 +14061,6 @@ packages:
object.assign: 4.1.2
dev: true
/junk/4.0.0:
resolution: {integrity: sha512-ojtSU++zLJ3jQG9bAYjg94w+/DOJtRyD7nPaerMFrBhmdVmiV5/exYH5t4uHga4G/95nT6hr1OJoKIFbYbrW5w==}
engines: {node: '>=12.20'}
dev: true
/just-kebab-case/4.0.1:
resolution: {integrity: sha512-rl9p38LRKwwhE3THotBcOhHLbFzMBHdkyKl1oQrtvuXX/eMXJS0zukzAbyWG8jEntaaRaIveajHfpjOI4tjpbA==}
dev: false
@@ -14613,6 +14519,7 @@ packages:
socks-proxy-agent: 6.2.0
ssri: 8.0.1
transitivePeerDependencies:
- bluebird
- supports-color
dev: true
@@ -14737,24 +14644,6 @@ packages:
engines: {node: '>= 0.10.0'}
dev: true
/meow/10.1.2:
resolution: {integrity: sha512-zbuAlN+V/sXlbGchNS9WTWjUzeamwMt/BApKCJi7B0QyZstZaMx0n4Unll/fg0njGtMdC9UP5SAscvOCLYdM+Q==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
dependencies:
'@types/minimist': 1.2.2
camelcase-keys: 7.0.2
decamelize: 5.0.1
decamelize-keys: 1.1.0
hard-rejection: 2.1.0
minimist-options: 4.1.0
normalize-package-data: 3.0.3
read-pkg-up: 8.0.0
redent: 4.0.0
trim-newlines: 4.0.2
type-fest: 1.4.0
yargs-parser: 20.2.9
dev: true
/meow/6.1.1:
resolution: {integrity: sha512-3YffViIt2QWgTy6Pale5QpopX/IvU3LPL03jOTqp6pGj3VjesdO/U8CuHMKpnQr4shCNCM5fd5XFFvIIl6JBHg==}
engines: {node: '>=8'}
@@ -15118,10 +15007,6 @@ packages:
/neo-async/2.6.2:
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
/nested-error-stacks/2.1.1:
resolution: {integrity: sha512-9iN1ka/9zmX1ZvLV9ewJYEk9h7RyRRtqdK0woXcqohu8EWIerfPUjYJPg0ULy0UqP7cslmdGc8xKDJcojlKiaw==}
dev: true
/next/12.0.10_9b0027aae606c22bf55a7fd89836f009:
resolution: {integrity: sha512-1y3PpGzpb/EZzz1jgne+JfZXKAVJUjYXwxzrADf/LWN+8yi9o79vMLXpW3mevvCHkEF2sBnIdjzNn16TJrINUw==}
engines: {node: '>=12.22.0'}
@@ -15262,6 +15147,7 @@ packages:
tar: 6.1.11
which: 2.0.2
transitivePeerDependencies:
- bluebird
- supports-color
dev: true
@@ -15293,16 +15179,6 @@ packages:
validate-npm-package-license: 3.0.4
dev: true
/normalize-package-data/3.0.3:
resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==}
engines: {node: '>=10'}
dependencies:
hosted-git-info: 4.1.0
is-core-module: 2.9.0
semver: 7.3.7
validate-npm-package-license: 3.0.4
dev: true
/normalize-path/2.1.1:
resolution: {integrity: sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=}
engines: {node: '>=0.10.0'}
@@ -15574,13 +15450,6 @@ packages:
resolution: {integrity: sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==}
engines: {node: '>=6'}
/p-event/4.2.0:
resolution: {integrity: sha512-KXatOjCRXXkSePPb1Nbi0p0m+gQAwdlbhi4wQKJPI1HsMQS9g+Sqp2o+QHziPr7eYJyOZet836KoHEVM1mwOrQ==}
engines: {node: '>=8'}
dependencies:
p-timeout: 3.2.0
dev: true
/p-filter/2.1.0:
resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==}
engines: {node: '>=8'}
@@ -15588,18 +15457,6 @@ packages:
p-map: 2.1.0
dev: true
/p-filter/3.0.0:
resolution: {integrity: sha512-QtoWLjXAW++uTX67HZQz1dbTpqBfiidsB6VtQUC9iR85S120+s0T5sO6s+B5MLzFcZkrEd/DGMmCjR+f2Qpxwg==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
dependencies:
p-map: 5.4.0
dev: true
/p-finally/1.0.0:
resolution: {integrity: sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=}
engines: {node: '>=4'}
dev: true
/p-limit/1.3.0:
resolution: {integrity: sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==}
engines: {node: '>=4'}
@@ -15656,13 +15513,6 @@ packages:
dependencies:
aggregate-error: 3.1.0
/p-map/5.4.0:
resolution: {integrity: sha512-obHraaWkwl4y1NHR4vW5D5k+33+S5QrkFqsNrrvK0R7lilXdzo/DZgnloDvYUaRT+Sk6vVK47JUQMQY6cjPMXg==}
engines: {node: '>=12'}
dependencies:
aggregate-error: 4.0.1
dev: true
/p-retry/4.6.1:
resolution: {integrity: sha512-e2xXGNhZOZ0lfgR9kL34iGlU8N/KO0xZnQxVEwdeOvpqNDQfdnxIYizvWtK8RglUa3bGqI8g0R/BdfzLMxRkiA==}
engines: {node: '>=8'}
@@ -15671,13 +15521,6 @@ packages:
retry: 0.13.1
dev: false
/p-timeout/3.2.0:
resolution: {integrity: sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==}
engines: {node: '>=8'}
dependencies:
p-finally: 1.0.0
dev: true
/p-try/1.0.0:
resolution: {integrity: sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=}
engines: {node: '>=4'}
@@ -16506,6 +16349,11 @@ packages:
/promise-inflight/1.0.1:
resolution: {integrity: sha1-mEcocL8igTL8vdhoEputEsPAKeM=}
peerDependencies:
bluebird: '*'
peerDependenciesMeta:
bluebird:
optional: true
dev: true
/promise-retry/2.0.1:
@@ -16733,6 +16581,7 @@ packages:
/quick-lru/5.1.1:
resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==}
engines: {node: '>=10'}
dev: false
/randexp/0.5.3:
resolution: {integrity: sha512-U+5l2KrcMNOUPYvazA3h5ekF80FHTUG+87SEAmHZmolh1M+i/WyTCxVzmi+tidIa1tM4BSe8g2Y/D3loWDjj+w==}
@@ -16782,6 +16631,7 @@ packages:
nan: 2.15.0
node-gyp: 8.4.1
transitivePeerDependencies:
- bluebird
- supports-color
dev: true
@@ -17177,15 +17027,6 @@ packages:
type-fest: 0.8.1
dev: true
/read-pkg-up/8.0.0:
resolution: {integrity: sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==}
engines: {node: '>=12'}
dependencies:
find-up: 5.0.0
read-pkg: 6.0.0
type-fest: 1.4.0
dev: true
/read-pkg/3.0.0:
resolution: {integrity: sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=}
engines: {node: '>=4'}
@@ -17205,16 +17046,6 @@ packages:
type-fest: 0.6.0
dev: true
/read-pkg/6.0.0:
resolution: {integrity: sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==}
engines: {node: '>=12'}
dependencies:
'@types/normalize-package-data': 2.4.1
normalize-package-data: 3.0.3
parse-json: 5.2.0
type-fest: 1.4.0
dev: true
/read-yaml-file/1.1.0:
resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==}
engines: {node: '>=6'}
@@ -17295,14 +17126,6 @@ packages:
strip-indent: 3.0.0
dev: true
/redent/4.0.0:
resolution: {integrity: sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==}
engines: {node: '>=12'}
dependencies:
indent-string: 5.0.0
strip-indent: 4.0.0
dev: true
/redux-immutable/4.0.0_immutable@3.8.2:
resolution: {integrity: sha1-Ohoy32Y2ZGK2NpHw4dw15HK7yfM=}
peerDependencies:
@@ -17933,6 +17756,8 @@ packages:
escape-html: 1.0.3
parseurl: 1.3.3
send: 0.17.2
transitivePeerDependencies:
- supports-color
/set-blocking/2.0.0:
resolution: {integrity: sha1-BF+XgtARrppoA93TgrJDkrPYkPc=}
@@ -18064,6 +17889,7 @@ packages:
/slash/4.0.0:
resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==}
engines: {node: '>=12'}
dev: false
/slice-ansi/0.0.4:
resolution: {integrity: sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=}
@@ -18451,13 +18277,6 @@ packages:
min-indent: 1.0.1
dev: true
/strip-indent/4.0.0:
resolution: {integrity: sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==}
engines: {node: '>=12'}
dependencies:
min-indent: 1.0.1
dev: true
/strip-json-comments/2.0.1:
resolution: {integrity: sha1-PFMZQukIwml8DsNEhYwobHygpgo=}
engines: {node: '>=0.10.0'}
@@ -18956,11 +18775,6 @@ packages:
engines: {node: '>=8'}
dev: true
/trim-newlines/4.0.2:
resolution: {integrity: sha512-GJtWyq9InR/2HRiLZgpIKv+ufIKrVrvjQWEj7PxAXNc5dwbNJkqhAUoAGgzRmULAnoOM5EIpveYd3J2VeSAIew==}
engines: {node: '>=12'}
dev: true
/trim-trailing-lines/1.1.4:
resolution: {integrity: sha512-rjUWSqnfTNrjbB9NQWfPMH/xRK1deHeGsHoVfpxJ++XeYXE0d6B1En37AHfw3jtfTU7dzMzZL2jjpe8Qb5gLIQ==}
dev: false