Skip to content

Commit

Permalink
add changeset (#12198)
Browse files Browse the repository at this point in the history
* add changeset

* update README about changesets based on suggestion
  • Loading branch information
momentmaker authored Mar 7, 2024
1 parent f38b936 commit a33612a
Show file tree
Hide file tree
Showing 6 changed files with 2,047 additions and 0 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)
20 changes: 20 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{
"repo": "smartcontractkit/chainlink"
}
],
"commit": false,
"fixed": [],
"linked": [],
"privatePackages": {
"version": true,
"tag": true
},
"access": "restricted",
"baseBranch": "develop",
"updateInternalDependencies": "patch",
"ignore": []
}
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
auto-install-peers=true
exclude-links-from-lockfile=true
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,18 @@ createuser --superuser --password chainlink -h localhost
Now you can run tests or compile code as usual.
5. When you're done, stop it: `cd $PGDATA; pg_ctl -o "--unix_socket_directories='$PWD'" stop`

### Changesets

We use [changesets](https://github.com/changesets/changesets) to manage versioning for libs and the services.

Every PR that modifies any configuration or code, should most likely accompanied by a changeset file.

To install `changesets`:
1. Install `pnpm` if it is not already installed - [docs](https://pnpm.io/installation).
2. Run `pnpm install`.

Either after or before you create a commit, run the `pnpm changeset` command to create an accompanying changeset entry which will reflect on the CHANGELOG for the next release.

### Tips

For more tips on how to build and test Chainlink, see our [development tips page](https://github.com/smartcontractkit/chainlink/wiki/Development-Tips).
Expand Down
22 changes: 22 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "chainlink",
"version": "2.9.0",
"description": "node of the decentralized oracle network, bridging on and off-chain computation",
"main": "index.js",
"private": true,
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/smartcontractkit/chainlink.git"
},
"author": "smartcontractkit",
"license": "MIT",
"bugs": {
"url": "https://github.com/smartcontractkit/chainlink/issues"
},
"homepage": "https://github.com/smartcontractkit/chainlink#readme",
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "~2.26.2",
"semver": "^7.5.4"
}
}
Loading

0 comments on commit a33612a

Please sign in to comment.