open-index/open-npm huggingface dataset:
npm package: @sbc-connect/nuxt-auth
Description: [![License](https://img.shields.io/badge/License-BSD%203%20Clause-blue.svg)](LICENSE) [![pkg.pr.new](https://pkg.pr.new/badge/OWNER/REPO)](https://pkg.pr.new/~/bcgov/connect-nuxt)
Latest version: 0.9.2

[![License](https://img.shields.io/badge/License-BSD%203%20Clause-blue.svg)](LICENSE) [![pkg.pr.new](https://pkg.pr.new/badge/OWNER/REPO)](https://pkg.pr.new/~/bcgov/connect-nuxt)

# @sbc-connect/nuxt-auth
A Nuxt layer for handling user authentication and session management within the Connect ecosystem.

This package provides the necessary composables, plugins, and logic to integrate authentication into a Nuxt application, offering a secure and standardized login experience.

## Features
### Authentication & Session Management
- Integration with the BC Government authentication provider.
- User session management.
- User account management.

### Core Development Assets
- useConnectAuth() composable to access user information and token state.
- login() and logout() helper functions.
- Automatic token refreshing and session validation.

For detailed usage and documentation, please see the [Auth Layer Docs](../../../docs/packages/layers/auth/overview.md).

## Usage

### Install

```bash
pnpm install @sbc-connect/nuxt-auth
```

### Configure
Then add the dependency to `extends` in `nuxt.config`:

> [!NOTE]
> `@sbc-connect/nuxt-auth` already includes `@sbc-connect/nuxt-base`, it is not necessary to install `@sbc-connect/nuxt-base`.

```ts
defineNuxtConfig({
  extends: '@sbc-connect/nuxt-auth'
})
```

## Environment Variables
This project requires certain environment variables to be set to run correctly.

Create a file named .env in the root of the project.

Copy the contents of the .env.example file into your new .env file.

### Local Development
Copy the contents of the **.env.example** file into your new .env file.

### Production Environments
> [!IMPORTANT]
> The values for staging and production environments are managed securely and should not be stored in this file.

To obtain the correct values for a production build or deployment, please contact the Connect Platform Team.

## Contributing
We welcome contributions to this package! Please see the main [Contribution Guidelines](../../../CONTRIBUTING.md) for information on our branching strategy, commit conventions, and pull request process.
npm package: @sbc-connect/nuxt-base
Description: [![License](https://img.shields.io/badge/License-BSD%203%20Clause-blue.svg)](LICENSE) [![pkg.pr.new](https://pkg.pr.new/badge/OWNER/REPO)](https://pkg.pr.new/~/bcgov/connect-nuxt)
Latest version: 0.7.2

[![License](https://img.shields.io/badge/License-BSD%203%20Clause-blue.svg)](LICENSE) [![pkg.pr.new](https://pkg.pr.new/badge/OWNER/REPO)](https://pkg.pr.new/~/bcgov/connect-nuxt)

# @sbc-connect/nuxt-base
The foundational Nuxt layer for all Connect applications.

This package contains the core UI components, styling, and utilities for the Connect ecosystem. Extend this layer in your Nuxt project to get a consistent, on-brand starting point with zero configuration.

## Features

### BC Government Branding
- Official color theme and design tokens
- BCSans font family with pre-configured @font-face rules
- BC Government logos and favicon assets

### Core Development Assets
- A library of reusable base components
- Essential composables for common application logic
- Standard utility functions
- Pre-configured for Internationalization (i18n)

For detailed usage and documentation, please see the [Base Layer Docs](../../../docs/packages/layers/base/overview.md)

## Usage

### Install
```bash
pnpm install @sbc-connect/nuxt-base
```

### Configure
Then add the dependency to `extends` in `nuxt.config`:

```ts
defineNuxtConfig({
  extends: '@sbc-connect/nuxt-base'
})
```

### Environment Variables
This project requires certain environment variables to be set to run correctly.

Create a file named .env in the root of the project.

#### Local Development
Copy the contents of the **.env.example** file into your new .env file.

#### Production Environments
> [!IMPORTANT]
> The values for staging and production environments are managed securely and should not be stored in this file.

To obtain the correct values for a production build or deployment, please contact the Connect Platform Team.

## Contributing

We welcome contributions to this package! Please see the main [Contribution Guidelines](../../../CONTRIBUTING.md) for information on our branching strategy, commit conventions, and pull request process.
npm package: @sbc-connect/nuxt-forms
Description: [![License](https://img.shields.io/badge/License-BSD%203%20Clause-blue.svg)](LICENSE) [![pkg.pr.new](https://pkg.pr.new/badge/OWNER/REPO)](https://pkg.pr.new/~/bcgov/connect-nuxt)
Latest version: 0.7.1

[![License](https://img.shields.io/badge/License-BSD%203%20Clause-blue.svg)](LICENSE) [![pkg.pr.new](https://pkg.pr.new/badge/OWNER/REPO)](https://pkg.pr.new/~/bcgov/connect-nuxt)

# @sbc-connect/nuxt-forms
A Nuxt layer for building and managing complex forms within the Connect ecosystem.

This package provides a library of reusable form components, integrated validation logic, and composables to standardize form creation and handling across all filings.

## Features

### Form Management
- A comprehensive set of accessible, pre-styled form input components.
- Standardized validation schemas using Zod for consistent error handling.

### Core Development Assets
- Pre-built components for common inputs like addresses, postal codes, names, emails and phone numbers.
- Reusable Zod schemas to manage the input validations.

For detailed usage and API documentation, please see the [Forms Layer Docs](../../../docs/packages/layers/forms/overview.md).

## Usage

### Install

```bash
pnpm install @sbc-connect/nuxt-forms
```

### Configure
Then add the dependency to `extends` in `nuxt.config`:

> [!NOTE]
> `@sbc-connect/nuxt-forms` already includes `@sbc-connect/nuxt-base`, it is not necessary to install `@sbc-connect/nuxt-base`.

```ts
defineNuxtConfig({
  extends: '@sbc-connect/nuxt-forms'
})
```

## Environment Variables
This project requires certain environment variables to be set to run correctly.

Create a file named .env in the root of the project.

Copy the contents of the .env.example file into your new .env file.

### Local Development
Copy the contents of the **.env.example** file into your new .env file.

### Production Environments
> [!IMPORTANT]
> The values for staging and production environments are managed securely and should not be stored in this file.

To obtain the correct values for a production build or deployment, please contact the Connect Platform Team.

## Contributing
We welcome contributions to this package! Please see the main [Contribution Guidelines](../../../CONTRIBUTING.md) for information on our branching strategy, commit conventions, and pull request process.
npm package: @sbc-connect/nuxt-pay
Description: A Nuxt layer for handling fee calculation and payment processing within the Connect ecosystem.
Latest version: 0.3.6

# @sbc-connect/nuxt-pay
A Nuxt layer for handling fee calculation and payment processing within the Connect ecosystem.

This package provides the necessary components, composables, and service integrations to use the Connect payment flow, offering a standardized payment experience for all applications.

## Features

### Payment Integration
- Utilities for fetching fees by payment code.
- Components for displaying fee summaries and handling payment actions.


### Core Development Assets
- useConnectFeeStore() Pinia store for managing filing fees and payment status.
- Composables for interacting with the payment API.
- Pre-configured for handling different payment methods (Credit Card, PAD, etc.).

For detailed usage and documentation, please see the [Pay Layer Docs](../../../docs/packages/layers/pay/overview.md).

## Usage

### Install

```bash
pnpm install @sbc-connect/nuxt-pay
```

### Configure
Then add the dependency to `extends` in `nuxt.config`:

> [!NOTE]
> `@sbc-connect/nuxt-pay` already includes `@sbc-connect/nuxt-auth`, it is not necessary to install `@sbc-connect/nuxt-auth`.

```ts
defineNuxtConfig({
  extends: '@sbc-connect/nuxt-pay'
})
```

## Environment Variables
This project requires certain environment variables to be set to run correctly.

Create a file named .env in the root of the project.

Copy the contents of the .env.example file into your new .env file.

### Local Development
For local development, you will need credentials for the interacting with the Pay services.

```
# .env
NUXT_PUBLIC_PAY_API_URL="https://test.api.connect.gov.bc.ca/pay-dev"
NUXT_PUBLIC_PAY_API_VERSION="/api/v1"
NUXT_PUBLIC_X_API_KEY="your-dev-api-key"
```

### Production Environments
> [!IMPORTANT]
> The values for staging and production environments are managed securely and should not be stored in this file.

To obtain the correct values for a production build or deployment, please contact the Connect Platform Team.

## Contributing
We welcome contributions to this package! Please see the main [Contribution Guidelines](../../../CONTRIBUTING.md) for information on our branching strategy, commit conventions, and pull request process.