Skip to content

Commit e35e4d8

Browse files
committed
chore: rename
Signed-off-by: Mark Phelps <[email protected]>
1 parent 86d6554 commit e35e4d8

File tree

4 files changed

+49
-10
lines changed

4 files changed

+49
-10
lines changed

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
validate:
11+
name: Validate
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
node-version: [18.x, 20.x]
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
cache: 'npm'
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Check formatting
30+
run: npm run format:check
31+
32+
- name: Lint
33+
run: npm run lint
34+
35+
- name: Test
36+
run: npm run test
37+
38+
- name: Build
39+
run: npm run build

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# Vercel Flipt SDK
1+
# Vercel Flags Adapter for Flipt
22

33
A Vercel Flags adapter for [Flipt](https://flipt.io).
44

55
## Installation
66

77
```bash
8-
npm install vercel-flipt-sdk
8+
npm install @flipt-io/vercel-adapter
99
```
1010

1111
## Usage
1212

1313
### Basic Setup
1414

1515
```typescript
16-
import { createFliptAdapter } from 'vercel-flipt-sdk';
16+
import { createFliptAdapter } from '@flipt-io/vercel-adapter';
1717

1818
const adapter = createFliptAdapter({
1919
url: process.env.FLIPT_URL,
@@ -28,7 +28,7 @@ const adapter = createFliptAdapter({
2828

2929
```typescript
3030
import { flag, dedupe } from 'flags/next';
31-
import { createFliptAdapter } from 'vercel-flipt-sdk';
31+
import { createFliptAdapter } from '@flipt-io/vercel-adapter';
3232

3333
const adapter = createFliptAdapter({
3434
url: process.env.FLIPT_URL,

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "vercel-flipt-sdk",
3-
"version": "0.1.0",
2+
"name": "@flipt-io/vercel-adapter",
3+
"version": "0.0.1",
44
"description": "Vercel Flags adapter for Flipt",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

0 commit comments

Comments
 (0)