Skip to content

Commit

Permalink
chore: update package namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-vd committed Dec 6, 2024
1 parent 81e4e3c commit 6fb03e7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 21 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ This repository provides a set of pre-built strategies for use with Remix Auth,
Install the package using your preferred package manager:

```bash
npm install @vd-tech/remix-auth-strategies
npm install @vdtech/remix-auth-strategies
# or
yarn add @vd-tech/remix-auth-strategies
yarn add @vdtech/remix-auth-strategies
```

## Usage

### Azure AD B2C Strategy

```typescript
import { AzureB2CStrategy } from "@vd-tech/remix-auth-strategies";
import { AzureB2CStrategy } from "@vdtech/remix-auth-strategies";

const azureStrategy = new AzureB2CStrategy(
{
Expand All @@ -49,7 +49,7 @@ const azureStrategy = new AzureB2CStrategy(
### Auth0 Strategy

```typescript
import { Auth0Strategy } from "@vd-tech/remix-auth-strategies";
import { Auth0Strategy } from "@vdtech/remix-auth-strategies";

const auth0Strategy = new Auth0Strategy(
{
Expand Down
22 changes: 5 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"name": "@vd-tech/remix-auth-strategies",
"version": "0.0.1",
"name": "@vdtech/remix-auth-strategies",
"version": "0.0.0",
"description": "A collection of authentication strategies for Remix Auth, designed to simplify the integration of various OAuth2 providers.",
"license": "MIT",
"funding": [
"https://github.com/sponsors/paul-vd"
],
"funding": ["https://github.com/sponsors/paul-vd"],
"author": {
"name": "Paul van Dyk",
"email": "paul@vandyk.fr",
Expand All @@ -19,13 +17,7 @@
"bugs": {
"url": "https://github.com/vd-tech/remix-auth-strategies/issues"
},
"keywords": [
"remix",
"remix-auth",
"auth",
"authentication",
"strategy"
],
"keywords": ["remix", "remix-auth", "auth", "authentication", "strategy"],
"scripts": {
"build": "tsc",
"typecheck": "tsc --noEmit",
Expand All @@ -38,11 +30,7 @@
"engines": {
"node": ">=20.0.0"
},
"files": [
"build",
"package.json",
"README.md"
],
"files": ["build", "package.json", "README.md"],
"exports": {
"./azure": "./build/azure.js",
"./auth0": "./build/auth0.js",
Expand Down

0 comments on commit 6fb03e7

Please sign in to comment.