Skip to content

Commit

Permalink
changesets
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolabovolato committed Mar 29, 2024
1 parent 1be7511 commit 39fc149
Show file tree
Hide file tree
Showing 30 changed files with 1,525 additions and 273 deletions.
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/chatty-phones-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@basica/fastify": patch
"@basica/ioredis": patch
"@basica/kysely": patch
"@basica/pg": patch
"@basica/telemetry": patch
"@basica/config": patch
"@basica/core": patch
---

Initial version
10 changes: 10 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/changelog-github",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"updateInternalDependencies": "patch",
"ignore": []
}
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- master
pull_request:
concurrency: ${{ github.workflow }}-${{ github.ref }}
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/docs.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Release
on:
workflow_run:
workflows: ["CI"]
types: [completed]
branches:
- master
concurrency: ${{ github.workflow }}-${{ github.ref }}
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
jobs:
changesets:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/base
- run: pnpm build
- uses: changesets/action@v1
with:
publish: pnpm build && pnpm exec changesets publish
env:
GITHUB_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
docs:
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/base
- run: pnpm build --filter docs
- uses: actions/configure-pages@v4
- uses: actions/upload-pages-artifact@v3
with:
path: packages/docs/build
- uses: actions/deploy-pages@v4
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@
"packageManager": "[email protected]",
"engines": {
"node": ">=18"
},
"dependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1"
}
}
}
4 changes: 2 additions & 2 deletions packages/basica/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@basica/config",
"version": "0.0.1",
"version": "0.0.0",
"author": "Nicola Bovolato",
"license": "MIT",
"files": [
Expand Down Expand Up @@ -45,4 +45,4 @@
"typescript": "^5.3.3",
"vitest": "^1.2.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/basica/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@basica/core",
"version": "0.0.1",
"version": "0.0.0",
"author": "Nicola Bovolato",
"license": "MIT",
"files": [
Expand Down Expand Up @@ -77,4 +77,4 @@
"typescript": "^5.3.3",
"vitest": "^1.2.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/basica/plugins/bentocache/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@basica/bentocache",
"version": "0.0.1",
"version": "0.0.0",
"author": "Nicola Bovolato",
"license": "MIT",
"files": [
Expand Down Expand Up @@ -47,4 +47,4 @@
"typescript": "^5.3.3",
"vitest": "^1.2.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/basica/plugins/fastify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@basica/fastify",
"version": "0.0.1",
"version": "0.0.0",
"author": "Nicola Bovolato",
"license": "MIT",
"files": [
Expand Down Expand Up @@ -48,4 +48,4 @@
"undici": "^6.6.2",
"vitest": "^1.2.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/basica/plugins/ioredis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@basica/ioredis",
"version": "0.0.1",
"version": "0.0.0",
"author": "Nicola Bovolato",
"license": "MIT",
"files": [
Expand Down Expand Up @@ -51,4 +51,4 @@
"dependencies": {
"@opentelemetry/api": "^1.8.0"
}
}
}
4 changes: 2 additions & 2 deletions packages/basica/plugins/kysely/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@basica/kysely",
"version": "0.0.1",
"version": "0.0.0",
"author": "Nicola Bovolato",
"license": "MIT",
"files": [
Expand Down Expand Up @@ -48,4 +48,4 @@
"typescript": "^5.3.3",
"vitest": "^1.2.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/basica/plugins/pg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@basica/pg",
"version": "0.0.1",
"version": "0.0.0",
"author": "Nicola Bovolato",
"license": "MIT",
"files": [
Expand Down Expand Up @@ -48,4 +48,4 @@
"typescript": "^5.3.3",
"vitest": "^1.2.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/basica/telemetry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@basica/telemetry",
"version": "0.0.1",
"version": "0.0.0",
"author": "Nicola Bovolato",
"license": "MIT",
"files": [
Expand Down Expand Up @@ -51,4 +51,4 @@
"typescript": "^5.3.3",
"vitest": "^1.2.2"
}
}
}
76 changes: 38 additions & 38 deletions packages/benchmarks/crud/basica-fastify/package.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
{
"name": "bench-crud-basica-fastify",
"version": "0.0.1",
"private": true,
"author": "Nicola Bovolato",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"start": "node dist/src/index.js",
"dev": "DB_CONNECTIONTIMEOUTMILLIS=1000 DB_CONNECTIONSTRING=postgres://postgres:postgres@localhost:5432/postgres tsx watch --inspect src/index.ts | pino-pretty -c -t",
"build": "tsup-node src/index.ts migrations/*.ts",
"lint": "tsc --noEmit && eslint \"{src,migrations}/**/*.ts\""
},
"dependencies": {
"@basica/config": "workspace:^",
"@basica/core": "workspace:*",
"@basica/fastify": "workspace:*",
"@basica/kysely": "workspace:^",
"@basica/pg": "workspace:^",
"@fastify/type-provider-typebox": "^4.0.0",
"@sinclair/typebox": "^0.32.16",
"fastify": "^4.26.2",
"kysely": "^0.27.2",
"pg": "^8.11.3"
},
"devDependencies": {
"@basica/eslint-config": "workspace:*",
"@basica/typescript-config": "workspace:*",
"@types/node": "^20.11.17",
"@types/pg": "^8.11.0",
"eslint": "^8.56.0",
"pino-pretty": "^10.3.1",
"tsup": "^8.0.2",
"tsx": "^4.7.1",
"typescript": "^5.3.3"
}
}
"name": "bench-crud-basica-fastify",
"version": "0.0.0",
"private": true,
"author": "Nicola Bovolato",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"start": "node dist/src/index.js",
"dev": "DB_CONNECTIONTIMEOUTMILLIS=1000 DB_CONNECTIONSTRING=postgres://postgres:postgres@localhost:5432/postgres tsx watch --inspect src/index.ts | pino-pretty -c -t",
"build": "tsup-node src/index.ts migrations/*.ts",
"lint": "tsc --noEmit && eslint \"{src,migrations}/**/*.ts\""
},
"dependencies": {
"@basica/config": "workspace:^",
"@basica/core": "workspace:*",
"@basica/fastify": "workspace:*",
"@basica/kysely": "workspace:^",
"@basica/pg": "workspace:^",
"@fastify/type-provider-typebox": "^4.0.0",
"@sinclair/typebox": "^0.32.16",
"fastify": "^4.26.2",
"kysely": "^0.27.2",
"pg": "^8.11.3"
},
"devDependencies": {
"@basica/eslint-config": "workspace:*",
"@basica/typescript-config": "workspace:*",
"@types/node": "^20.11.17",
"@types/pg": "^8.11.0",
"eslint": "^8.56.0",
"pino-pretty": "^10.3.1",
"tsup": "^8.0.2",
"tsx": "^4.7.1",
"typescript": "^5.3.3"
}
}
64 changes: 32 additions & 32 deletions packages/benchmarks/crud/fastify/package.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{
"name": "bench-crud-fastify",
"version": "0.0.1",
"private": true,
"author": "Nicola Bovolato",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"start": "node dist/src/index.js",
"dev": "DB_CONNECTIONTIMEOUTMILLIS=1000 DB_CONNECTIONSTRING=postgres://postgres:postgres@localhost:5432/postgres tsx watch --inspect src/index.ts | pino-pretty -c -t",
"build": "tsup-node src/index.ts migrations/*.ts",
"lint": "tsc --noEmit && eslint \"{src,migrations}/**/*.ts\""
},
"dependencies": {
"@fastify/type-provider-typebox": "^4.0.0",
"fastify": "^4.26.2",
"kysely": "^0.27.2",
"pg": "^8.11.3"
},
"devDependencies": {
"@basica/eslint-config": "workspace:*",
"@basica/typescript-config": "workspace:*",
"@types/node": "^20.11.17",
"@types/pg": "^8.11.0",
"eslint": "^8.56.0",
"pino-pretty": "^10.3.1",
"tsup": "^8.0.2",
"tsx": "^4.7.1",
"typescript": "^5.3.3"
}
}
"name": "bench-crud-fastify",
"version": "0.0.0",
"private": true,
"author": "Nicola Bovolato",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"start": "node dist/src/index.js",
"dev": "DB_CONNECTIONTIMEOUTMILLIS=1000 DB_CONNECTIONSTRING=postgres://postgres:postgres@localhost:5432/postgres tsx watch --inspect src/index.ts | pino-pretty -c -t",
"build": "tsup-node src/index.ts migrations/*.ts",
"lint": "tsc --noEmit && eslint \"{src,migrations}/**/*.ts\""
},
"dependencies": {
"@fastify/type-provider-typebox": "^4.0.0",
"fastify": "^4.26.2",
"kysely": "^0.27.2",
"pg": "^8.11.3"
},
"devDependencies": {
"@basica/eslint-config": "workspace:*",
"@basica/typescript-config": "workspace:*",
"@types/node": "^20.11.17",
"@types/pg": "^8.11.0",
"eslint": "^8.56.0",
"pino-pretty": "^10.3.1",
"tsup": "^8.0.2",
"tsx": "^4.7.1",
"typescript": "^5.3.3"
}
}
Loading

0 comments on commit 39fc149

Please sign in to comment.