Comments (3)
Great job! 🥳 🥳 🥳
from mocha.
https://www.npmjs.com/package/mocha/v/10.3.0-preminor.0: is released under the next
tag. You can install it with npm i mocha@next
. 🚀
from mocha.
Tried it out and I don't have publish permissions. Jotting down the steps I took here for future reference...
First, I visited https://github.com/mochajs/mocha/pulls?q=is%3Apr+is%3Amerged+merged%3A%3E2022-12-04 to get the PRs merged since the last release. This script generates a changelog list based on those PR names:
function printPullRequestLine(element) {
// [#5069](https://github.com/mochajs/mocha/pull/5069): chore: remove unnecessary canvas dependency ([**@JoshuaKGoldberg**](https://github.com/JoshuaKGoldberg))
const href = element.getAttribute("href");
const id = href.split("/").at(-1);
const author = element.parentElement.querySelector(`[data-hovercard-type="user"]`).textContent;
return `- [#${id}](https://github.com${href}): ${element.textContent} ([**@${author}**](https://github.com/${author}))`
}
Array.from(document.querySelectorAll(`[data-hovercard-type="pull_request"]`))
.map(printPullRequestLine)
.join("\n")
I then added those in CHANGELOG.md
:
# 10.3.0-prerelease / 2024-01-18
This is a prerelease version to test our ability to release.
Other than removing or updating dependencies, it contains no intended user-facing changes.
## :nut_and_bolt: Other
- [#5069](https://github.com/mochajs/mocha/pull/5069): chore: remove unnecessary canvas dependency ([**@JoshuaKGoldberg**](https://github.com/JoshuaKGoldberg))
- [#5068](https://github.com/mochajs/mocha/pull/5068): fix: add alt text to Built with Netlify badge ([**@JoshuaKGoldberg**](https://github.com/JoshuaKGoldberg))
- [#5056](https://github.com/mochajs/mocha/pull/5056): chore: inline nyan reporter's write function ([**@JoshuaKGoldberg**](https://github.com/JoshuaKGoldberg))
- [#5050](https://github.com/mochajs/mocha/pull/5050): docs: touchups to labels and a template title post-revamp ([**@JoshuaKGoldberg**](https://github.com/JoshuaKGoldberg))
- [#5038](https://github.com/mochajs/mocha/pull/5038): docs: overhaul contributing and maintenance docs for end-of-year 2023 ([**@JoshuaKGoldberg**](https://github.com/JoshuaKGoldberg))
- [#5029](https://github.com/mochajs/mocha/pull/5029): chore: remove stale workflow ([**@JoshuaKGoldberg**](https://github.com/JoshuaKGoldberg))
- [#5024](https://github.com/mochajs/mocha/pull/5024): chore: remove nanoid as dependency ([**@Uzlopak**](https://github.com/Uzlopak))
- [#5023](https://github.com/mochajs/mocha/pull/5023): chore: remove touch as dev dependency ([**@Uzlopak**](https://github.com/Uzlopak))
- [#5022](https://github.com/mochajs/mocha/pull/5022): chore: remove uuid dev dependency ([**@Uzlopak**](https://github.com/Uzlopak))
- [#5021](https://github.com/mochajs/mocha/pull/5021): update can-i-use ([**@Uzlopak**](https://github.com/Uzlopak))
- [#5020](https://github.com/mochajs/mocha/pull/5020): chore: fix the ci ([**@Uzlopak**](https://github.com/Uzlopak))
- [#4974](https://github.com/mochajs/mocha/pull/4974): Add Node v19 to test matrix ([**@juergba**](https://github.com/juergba))
- [#4970](https://github.com/mochajs/mocha/pull/4970): fix [#4837](https://github.com/mochajs/mocha/issues/4837) Update glob due to vulnerability in dep ([**@jb2311**](https://github.com/jb2311))
- [#4962](https://github.com/mochajs/mocha/pull/4962): Fix deprecated warn gh actions ([**@outsideris**](https://github.com/outsideris))
- [#4927](https://github.com/mochajs/mocha/pull/4927): docs: use mocha.js instead of mocha in the example run ([**@nikolas**](https://github.com/nikolas))
- [#4918](https://github.com/mochajs/mocha/pull/4918): docs: fix fragment ID for yargs' "extends" documentation ([**@Spencer-Doak**](https://github.com/Spencer-Doak))
- [#4886](https://github.com/mochajs/mocha/pull/4886): docs: fix jsdoc return type of titlePath method ([**@F3n67u**](https://github.com/F3n67u))
These scripts created a preminor version and then tried to release:
npm version preminor -m "Release v%s" --preid preminor
npm publish --tag prerelease
Result: 403 permission denied. I'll need to find a previous maintainer-person to give publish permissions to my joshuakgoldberg
on npm.
from mocha.
Related Issues (20)
- 🚀 Feature: Allow passing in a "target object" for the JSON reporter HOT 1
- 🚀 Feature: Add file path to xunit reporter
- 🚀 Feature: Switch from <canvas> to native <progress> element in browser reporter
- 📦 Package: Switch dependency versions to ^ ranges HOT 11
- 🐛 Bug: Eleventy template builds crash with 'unexpected token at ": string, msg..."' HOT 1
- 🐛 Bug: mocha does not compatible with node.js test runner HOT 1
- 📝 Docs: Remove Matomo from the website HOT 1
- 🐛 Bug: Failed to run tests with a large tests count HOT 1
- 🛠 Repo: Tests broken on main for xunit after conflicting merge
- 🛠 Repo: Remove `husky` for now HOT 3
- 🛠 Repo: Replace `nps` with ordinary npm scripts
- 🐛 Bug: Audit and fix accessibility for browser reporter
- 🚀 Feature: Unify `--ignore` and `--watch-ignore` and make the patterns recursive
- 🐛 Bug: Unit test cases taking too much time to execute HOT 1
- 🐛 Bug: <short description of the bug>
- `skip` shows "pending" instead of "skipped"
- 🐛 Bug: Test titles not shown for ES dynamic imports
- 🐛 Bug: mocha fails silently on invalid `package.json` section
- Bump chokidar HOT 3
- 🐛 Bug: [email protected] has a performance bug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mocha.