Skip to content

Commit

Permalink
Merge pull request #22 from palantir/tl/update-release-docs
Browse files Browse the repository at this point in the history
Update docs about changelog/release process
  • Loading branch information
mfedderly authored Feb 6, 2024
2 parents 6aa8409 + c2f0b4b commit 0387a28
Show file tree
Hide file tree
Showing 29 changed files with 37 additions and 43 deletions.
7 changes: 1 addition & 6 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# 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)
This repository no longer uses changesets for versioning. It currently does continue to use the [changesets publish](https://github.com/changesets/changesets/blob/main/docs/command-line-options.md#publish) command in order to publish new package versions to NPM.
3 changes: 2 additions & 1 deletion .monorepolint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ function standardPackageRules(shared, options) {
files: [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",

Expand Down
23 changes: 4 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,7 @@
3. `pnpm install`
4. Start dev mode: `pnpm dev`
5. Add your code
6. Add a changeset

> 📘 Note
>
> **Follow semver rules here.**
1. Assuming you've run `pnpm install`, run `changeset` (or `pnpm exec changeset`).
2. The tool will split things into changed vs unchanged packages (which you may need if you decide to add changeset logs in a future PR for past features)
3. Select the packages you want the changeset applied to using the arrow keys (up/down) and spacebar to "select" the package.
4. Press enter to continue.
5. The CLI will go through a progression of asking you which pacakges you previously selected need a major bump? Then a minor bump? Patch bumps assumed for remaining packages changed. Arrows and space bar to select. Enter to continue (even if you selected nothing).
6. Enter a change (or press enter on empty to open your editor.)

> Info
>
> Full docs on the `changesets` tool can be found at the [changesets/changests github repo](https://github.com/changesets/changesets).
7. If you're curious what the final build output might look like you can run `pnpm build` from root.
8. Run all lint rules and tests with `pnpm check` from root.
6. If you're curious what the final build output might look like you can run `pnpm build` from root.
7. Run all lint rules and tests with `pnpm check` from root.
8. Open a PR
9. Add a changelog for affected packages through the PR bot comment
3 changes: 2 additions & 1 deletion examples/basic/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"files": [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",
"*.d.ts"
Expand Down
5 changes: 3 additions & 2 deletions examples/basic/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@
"publishConfig": {
"access": "public"
},
"keywords": [ ],
"keywords": [],
"files": [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",
"*.d.ts"
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion examples/one_dot_one/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"files": [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",
"*.d.ts"
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"files": [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",
"*.d.ts"
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
"files": [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",
"*.d.ts"
Expand Down
File renamed without changes.
5 changes: 3 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@
"publishConfig": {
"access": "public"
},
"keywords": [ ],
"keywords": [],
"files": [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",
"*.d.ts"
Expand Down
File renamed without changes.
5 changes: 3 additions & 2 deletions packages/foundry-sdk-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,15 @@
"publishConfig": {
"access": "public"
},
"keywords": [ ],
"keywords": [],
"bin": {
"foundry-sdk-generator": "./bin/foundry-sdk-generator"
},
"files": [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",
"*.d.ts"
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion packages/gateway-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"files": [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",
"*.d.ts"
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion packages/gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"files": [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",
"*.d.ts"
Expand Down
File renamed without changes.
5 changes: 3 additions & 2 deletions packages/generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@
"publishConfig": {
"access": "public"
},
"keywords": [ ],
"keywords": [],
"files": [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",
"*.d.ts"
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion packages/legacy-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"files": [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",
"*.d.ts"
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion packages/shared.net/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"files": [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",
"*.d.ts"
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion packages/shared.test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"files": [
"build/types",
"build/js",
"CHANGELOG.md",
"changelog",
"CHANGELOG_OLD.md",
"package.json",
"templates",
"*.d.ts"
Expand Down
File renamed without changes.

0 comments on commit 0387a28

Please sign in to comment.