Skip to content
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
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"baseBranch": "beta",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/mean-tools-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@stackoverflow/stacks-editor": patch
---

Add beta publishing information to README
11 changes: 11 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"mode": "pre",
"tag": "beta",
"initialVersions": {
"@stackoverflow/stacks-editor": "0.15.3"
},
"changesets": [
"mean-tools-hammer",
"wise-horses-wear"
]
}
5 changes: 5 additions & 0 deletions .changeset/wise-horses-wear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@stackoverflow/stacks-editor": major
---

enter prerelease mode for project shine
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions .husky/commit-msg

This file was deleted.

3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.vscode/
stats.json
dist/
test-results/
test-results/
.changeset/
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 1.0.0-beta.1

### Patch Changes

- [#475](https://github.com/StackExchange/Stacks-Editor/pull/475) [`73e4b6e`](https://github.com/StackExchange/Stacks-Editor/commit/73e4b6e0191b25518b52e015d63b4853ea330f34) Thanks [@ttaylor-stack](https://github.com/ttaylor-stack)! - Add beta publishing information to README

## 1.0.0-beta.0

### Major Changes

- enter prerelease mode for project shine

## 0.15.3

### Patch Changes
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,20 @@ We use [changesets](https://github.com/changesets/changesets) to automatize the
_The release github workflow only run if the CI workflow (running linter, formatter and tests) is successful: CI is blocking accidental releases_.

_Despite using changesets to communicate the intent of creating releases in a more explicit way, we still follow [conventional commits standards](https://www.conventionalcommits.org/en/v1.0.0/) for keeping our git history easily parseable by the human eye._

### Beta publishing

We use Changesets in prerelease mode to manage publishing to the beta branch. For more information, please refer to the official [Changesets prerelease documentation](https://github.com/changesets/changesets/blob/main/docs/prereleases.md).

To prepare a beta release, follow these steps:

1. Create a pull request (PR) targeting the beta branch.

2. Ensure your PR includes a changeset.

3. Merging the PR will trigger the release-beta workflow. This workflow creates or updates a chore(new-beta-release) PR.

4. To cut a new beta release, merge the chore(new-beta-release) PR and wait for the `Release Beta` workflow to complete.

Consumers can install the beta package by targeting the beta tag:
`npm install @stackoverflow/stacks-editor@beta`
21 changes: 2 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stackoverflow/stacks-editor",
"version": "0.15.3",
"version": "1.0.0-beta.1",
"description": "",
"repository": {
"type": "git",
Expand Down Expand Up @@ -45,8 +45,7 @@
"test:e2e": "npx playwright test --config config/playwright.config.ts",
"release": "npm run build && changeset publish",
"version": "changeset version && npm install --package-lock-only",
"prepublishOnly": "npm run build && tsc --module ES6 --sourceMap false",
"prepare": "husky install"
"prepublishOnly": "npm run build && tsc --module ES6 --sourceMap false"
},
"keywords": [],
"author": "Stack Exchange Inc",
Expand All @@ -65,10 +64,10 @@
]
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.28.1",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@playwright/test": "^1.42.1",
"@stackoverflow/commitlint-config": "^1.0.0",
"@stackoverflow/prettier-config": "^1.0.0",
Expand All @@ -88,7 +87,6 @@
"highlight.js": "^11.9.0",
"html-loader": "^5.0.0",
"html-webpack-plugin": "^5.6.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"liquidjs-loader": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion site/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Stacks Editor</title>
<title>[BETA] Stacks Editor</title>
<link
rel="icon"
href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🐸</text></svg>"
Expand Down
2 changes: 1 addition & 1 deletion site/views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
| And *rows* | 9000 | ✅ |
| and different alignment | 9001 | 🔥 |
</textarea>
<h1>Stacks Editor</h1>
<h1>Stacks Editor <span class="s-badge s-badge__new">Beta</span></h1>
<h3>Showcasing our new editing experience for Stack Overflow</h3>
<div id="example-1"></div>
{% endblock %}