Skip to content

Commit

Permalink
chore: 🤖 introduce changesets handler
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Jun 24, 2024
1 parent ee59d09 commit b256c95
Show file tree
Hide file tree
Showing 5 changed files with 699 additions and 10 deletions.
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/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/rare-flies-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fleek-platform/cli": patch
---

Introduce the changeset commands
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ fleek

Learn the Fleek-platform CLI basic commands [here](#basic-commands). For extended documentation visit our [documentation site](https://fleek.xyz/docs).

### Changeset

Manage the versioning of changelog entries.

Declare an intent to release by executing the command and answering the wizard's questions:

```sh
pnpm changeset:add
```

## Basic commands

The Fleek CLI command has the following structure:
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"build": "pnpm clean:dist && pnpm transpile && pnpm bundle && pnpm cp:polyfills",
"build:ci": "pnpm run build",
"bundle": "ts-node -r dotenv/config bundle.ts",
"changeset:add": "npx changeset",
"clean": "pnpm \"/^clean:.*/\"",
"clean:dist": "rm -rf dist",
"clean:generated": "rm -rf generated",
Expand Down Expand Up @@ -55,6 +56,7 @@
"update-notifier-cjs": "^5.1.6"
},
"devDependencies": {
"@changesets/cli": "^2.27.6",
"@fleek-platform/errors": "^2.1.1",
"@fleek-platform/sdk": "^2.1.4",
"@fleek-platform/tester": "^2.3.0",
Expand All @@ -63,6 +65,7 @@
"@fleek-platform/utils-ipfs": "^0.4.2",
"@fleek-platform/utils-ipns": "^0.1.2",
"@fleek-platform/utils-validation": "^2.1.0",
"@tsconfig/node16": "^16.1.3",
"@types/ansi-escapes": "3.0.1",
"@types/cli-progress": "^3.11.5",
"@types/eslint": "8.56.2",
Expand All @@ -74,7 +77,6 @@
"@types/prompts": "^2.4.2",
"@types/semver": "^7.3.13",
"@types/update-notifier": "^6.0.8",
"@tsconfig/node16": "^16.1.3",
"@vitest/coverage-v8": "1.3.1",
"concurrently": "^7.6.0",
"dotenv": "^16.4.5",
Expand Down
Loading

0 comments on commit b256c95

Please sign in to comment.