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.0.3/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
32 changes: 32 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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@v3

- name: Setup Node.js 23.1
uses: actions/setup-node@v3
with:
node-version: 23.1

- name: Install Dependencies
run: bun install

- name: Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: bun release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,24 @@ By setting up the logger, you can monitor the internal operations of `jseql`, wh

Contributions are welcome! Please open an issue or submit a pull request on the [GitHub repository](https://github.com/cipherstash/jseql).

## Changelog

We use [Changesets](https://github.com/changesets/changesets) to manage our changelog.
To create a new release, run the following command:

```bash
bun changeset
```

This will open a new editor where you can write a changelog entry.
Once you're done, run the following command to create a new release:

```bash
bun changeset:version
```

Create a pull request and merge it into the `main` branch, which will trigger the release workflow to publish the new version to npm.

## License

This project is licensed under the MIT License.
3 changes: 2 additions & 1 deletion apps/drizzle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "drizzle-eql",
"module": "index.ts",
"private": true,
"type": "module",
"devDependencies": {
"@types/bun": "latest",
Expand All @@ -13,7 +14,7 @@
"peerDependencies": {
"typescript": "^5.0.0",
"@cipherstash/jseql": "workspace:*",
"@cipherstash/utils": "workspace:*"
"@cipherstash/utils": "workspace:*"
},
"dependencies": {
"drizzle-orm": "^0.33.0",
Expand Down
1 change: 1 addition & 0 deletions apps/prisma/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "prisma-eql",
"module": "index.ts",
"private": true,
"type": "module",
"devDependencies": {
"@types/bun": "latest",
Expand Down
Binary file modified bun.lockb
Binary file not shown.
23 changes: 14 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,29 @@
"name": "cipherstash",
"description": "Encrypted Query Language JavaScript/TypeScript Library",
"author": "CipherStash <hello@cipherstash.com>",
"keywords": ["encrypted", "query", "language", "typescript", "ts", "eql"],
"bugs": {
"url": "https://github.com/cipherstash/jseql/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cipherstash/jseql.git"
},
"license": "MIT",
"keywords": ["encrypted", "query", "language", "typescript", "ts", "eql"],
"bugs": {
"url": "https://github.com/cipherstash/jseql/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cipherstash/jseql.git"
},
"license": "MIT",
"workspaces": ["apps/*", "packages/*"],
"scripts": {
"build": "turbo build",
"changeset": "changeset",
"changeset:version": "changeset version",
"changeset:publish": "changeset publish",
"dev": "turbo dev",
"code:fix": "biome check --write",
"release": "turbo run build && changeset publish",
"test": "turbo test"
},
"devDependencies": {
"@biomejs/biome": "^1.9.3",
"@changesets/cli": "^2.27.9",
"turbo": "2.1.1"
},
"packageManager": "bun@1.1.27",
Expand Down
7 changes: 7 additions & 0 deletions packages/jseql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @cipherstash/jseql

## 1.0.0

### Major Changes

- Released the initial version of jseql.
11 changes: 9 additions & 2 deletions packages/jseql/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
{
"name": "@cipherstash/jseql",
"version": "0.0.0",
"version": "1.0.0",
"description": "Encrypted Query Language JavaScript Library",
"keywords": ["encrypted", "query", "language", "typescript", "ts", "eql"],
"keywords": [
"encrypted",
"query",
"language",
"typescript",
"ts",
"eql"
],
"bugs": {
"url": "https://github.com/cipherstash/jseql/issues"
},
Expand Down
1 change: 1 addition & 0 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@cipherstash/utils",
"version": "0.0.0",
"private": true,
"description": "jseql shared utility functions",
"license": "MIT",
"author": "CipherStash <hello@cipherstash.com>",
Expand Down