Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.2/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
7 changes: 7 additions & 0 deletions .changeset/thin-mangos-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@flippercloud/flipper': patch
'@flippercloud/flipper-cache': patch
'@flippercloud/flipper-redis': patch
---

Update README.md for each package to standardize on same structure and style as @flippercloud/flipper-sequelize README.md
38 changes: 38 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Install Dependencies
run: bun install --frozen-lockfile

- name: Build packages
run: bun run build

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: bun run release
title: "chore: version packages"
commit: "chore: version packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
159 changes: 145 additions & 14 deletions bun.lock

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@
"type-check": "bun --workspaces run type-check",
"format": "prettier --write \"packages/**/src/**/*.{ts,tsx,json,md}\"",
"format:check": "prettier --check \"packages/**/src/**/*.{ts,tsx,json,md}\"",
"clean": "bun --workspaces run clean"
"clean": "bun --workspaces run clean",
"changeset": "changeset",
"version": "changeset version",
"release": "bun run build && changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.29.8",
"@eslint/js": "^9.15.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.10.0",
Expand Down
11 changes: 11 additions & 0 deletions packages/flipper-cache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# @flippercloud/flipper-cache

## 0.0.1

Initial pre-release of generic cache wrapper for Flipper TypeScript adapters.

### Features

- Read-through cache support
- Write-through cache support
- Configurable TTL and cache layers
11 changes: 11 additions & 0 deletions packages/flipper-redis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# @flippercloud/flipper-redis

## 0.0.1

Initial pre-release of Redis adapter for Flipper feature flags.

### Features

- Redis adapter for feature flag storage
- Support for ioredis client
- TTL management
11 changes: 11 additions & 0 deletions packages/flipper-sequelize/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# @flippercloud/flipper-sequelize

## 1.0.0

Initial release of Sequelize adapter for Flipper feature flags.

### Features

- Sequelize adapter for relational databases
- Support for SQLite, PostgreSQL, MySQL, and other Sequelize-supported databases
- Full feature flag management through database
12 changes: 12 additions & 0 deletions packages/flipper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# @flippercloud/flipper

## 1.0.0

Initial release of Flipper feature flags for TypeScript/JavaScript.

### Features

- Feature flag evaluation engine
- Support for actors, groups, percentages, and expressions
- Memory adapter for development
- TypeScript support with full type safety