Added changesets to the project

This commit is contained in:
Matt Aitken
2023-01-13 14:37:27 +00:00
parent cdffc9093d
commit 09896e4252
7 changed files with 545 additions and 97 deletions
+8
View File
@@ -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
View File
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.2.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "dev",
"updateInternalDependencies": "patch",
"ignore": ["wss", "webapp", "docs"]
}
+17
View File
@@ -0,0 +1,17 @@
# Changesets
Trigger.dev uses [changesets](https://github.com/changesets/changesets) to manage updated our packages and releasing them to npm.
## Release instructions
Based on the instructions [here](https://github.com/changesets/changesets/blob/main/docs/intro-to-using-changesets.md)
1. Run `pnpm run changeset:version`
2. Run `pnpm run changeset:release`
## Adding a changeset
To add a changeset, use `pnpm run changeset:add` and follow the instructions [here](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). Please only ever select one of our public packages when adding a changeset, which currently are:
- `@trigger.dev/sdk`
- `@trigger.dev/integrations`
+9 -3
View File
@@ -34,7 +34,10 @@
"test:e2e:dev": "turbo run test:e2e:dev",
"test:e2e:ci": "turbo run test:e2e:ci",
"setup": "turbo run generate db:migrate:force db:seed",
"env:pull": "turbo run env:pull"
"env:pull": "turbo run env:pull",
"changeset:add": "changeset",
"changeset:version": "changeset version",
"changeset:release": "pnpm run build --filter @trigger.dev/integrations --filter @trigger.dev/sdk && changeset publish"
},
"devDependencies": {
"@manypkg/cli": "^0.19.2",
@@ -48,5 +51,8 @@
"tsx": "^3.7.1",
"turbo": "^1.5.5"
},
"packageManager": "pnpm@7.13.5"
}
"packageManager": "pnpm@7.13.5",
"dependencies": {
"@changesets/cli": "^2.26.0"
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@trigger.dev/integrations",
"version": "0.0.1",
"version": "0.1.0",
"description": "trigger.dev integrations",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
+2 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@trigger.dev/sdk",
"version": "0.0.1",
"version": "0.1.0",
"description": "trigger.dev Node.JS SDK",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
@@ -12,11 +12,7 @@
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./package.json": "./package.json",
"./internal": {
"import": "./dist/internal/index.js",
"require": "./dist/internal/index.js"
}
"./package.json": "./package.json"
},
"devDependencies": {
"@trigger.dev/common-schemas": "workspace:*",
+497 -87
View File
File diff suppressed because it is too large Load Diff