Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: examples to demonstrate the usage of changeset #2

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "ruanyl/OpenSearch-Dashboards" }],
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
16 changes: 16 additions & 0 deletions .changeset/heavy-tigers-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
'opensearch-dashboards': minor
---

This is an example of using changeset

In this example, there are some changes to `opensearch-dashboards`. But this is
just for demo, there is no changes to the actual files.

This is a example to demonstrate the idea of using changeset to manage
changelog without tears.

The changeset file is a regular markdown file, we can use markdown syntax:
```
yarn changeset add
```
10 changes: 10 additions & 0 deletions .changeset/lucky-pears-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@osd/opensearch': patch
---

Another example to demonstrate changes to workspace packages

In this example, there are some changes to package `@osd/opensearch`. But this is
just for demo, there is no changes to the actual files.

Ideally, we want to document each and every changes clearly of each package.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
},
"workspaces": {
"packages": [
".",
"packages/*",
"examples/*",
"test/plugin_functional/plugins/*",
Expand All @@ -116,6 +117,8 @@
},
"dependencies": {
"@aws-crypto/client-node": "^3.1.1",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.0",
"@elastic/datemath": "5.0.3",
"@elastic/eui": "npm:@opensearch-project/oui@1.0.0",
"@elastic/good": "^9.0.1-kibana3",
Expand Down
Loading