Skip to content

Commit 1203e0e

Browse files
authored
docs: update README, LICENSE and fix outdated (#5197)
1 parent d5766c8 commit 1203e0e

File tree

3 files changed

+16
-28
lines changed

3 files changed

+16
-28
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(The MIT License)
22

3-
Copyright (c) 2011-2022 OpenJS Foundation and contributors, https://openjsf.org
3+
Copyright (c) 2011-2024 OpenJS Foundation and contributors, https://openjsf.org
44

55
Permission is hereby granted, free of charge, to any person obtaining
66
a copy of this software and associated documentation files (the

README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
<p align="center">
2-
<img src="https://cldup.com/xFVFxOioAU.svg" alt="Mocha test framework logo"/>
2+
<img src="assets/mocha-logo.svg" alt="Mocha test framework logo"/>
33
</p>
44

55
<p align="center">☕️ Simple, flexible, fun JavaScript test framework for Node.js & The Browser ☕️</p>
66

7-
<p align="center">
8-
<a href="https://github.com/mochajs/mocha/actions?query=workflow%3ATests+branch%3Amain"><img src="https://github.com/mochajs/mocha/workflows/Tests/badge.svg?branch=main" alt="GitHub Actions Build Status"></a>
9-
<a href="https://coveralls.io/github/mochajs/mocha"><img src="https://coveralls.io/repos/github/mochajs/mocha/badge.svg" alt="Coverage Status"></a>
10-
<a href="https://discord.gg/KeDn2uXhER"><img alt="Chat - Discord" src="https://img.shields.io/badge/chat-Discord-5765F2.svg" /></a>
11-
<a href="https://github.com/mochajs/mocha#sponsors"><img src="https://opencollective.com/mochajs/tiers/sponsors/badge.svg" alt="OpenCollective Sponsors"></a>
12-
<a href="https://github.com/mochajs/mocha#backers"><img src="https://opencollective.com/mochajs/tiers/backers/badge.svg" alt="OpenCollective Backers"></a>
13-
</p>
7+
<div align="center">
148

15-
<p align="center">
169
<a href="https://www.npmjs.com/package/mocha"><img src="https://img.shields.io/npm/v/mocha.svg" alt="NPM Version"></a>
1710
<a href="https://github.com/mochajs/mocha"><img src="https://img.shields.io/node/v/mocha.svg" alt="Node Version"></a>
18-
</p>
11+
[![GitHub Actions Build Status](https://github.com/mochajs/mocha/actions/workflows/mocha.yml/badge.svg)](https://github.com/mochajs/mocha/actions/workflows/mocha.yml)
12+
<a href="https://coveralls.io/github/mochajs/mocha"><img src="https://coveralls.io/repos/github/mochajs/mocha/badge.svg" alt="Coverage Status"></a>
13+
14+
</div>
1915

20-
<p align="center"><br><img alt="Mocha Browser Support h/t SauceLabs" src="https://saucelabs.com/browser-matrix/mochajs.svg" width="354"></p>
16+
<div align="center">
17+
18+
<a href="https://discord.gg/KeDn2uXhER"><img alt="Chat - Discord" src="https://img.shields.io/badge/Chat-Discord-5765F2.svg" /></a>
19+
<a href="https://github.com/mochajs/mocha#sponsors"><img src="https://opencollective.com/mochajs/tiers/sponsors/badge.svg" alt="OpenCollective Sponsors"></a>
20+
<a href="https://github.com/mochajs/mocha#backers"><img src="https://opencollective.com/mochajs/tiers/backers/badge.svg" alt="OpenCollective Backers"></a>
21+
22+
</div>
2123

2224
## Links
2325

@@ -68,6 +70,4 @@ Finally, come [chat with the maintainers on Discord](https://discord.gg/KeDn2uXh
6870

6971
## License
7072

71-
Copyright 2011-2022 OpenJS Foundation and contributors. Licensed [MIT](https://github.com/mochajs/mocha/blob/main/LICENSE).
72-
73-
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmochajs%2Fmocha.svg?type=large)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmochajs%2Fmocha?ref=badge_large)
73+
Copyright 2011-2024 OpenJS Foundation and contributors. Licensed [MIT](https://github.com/mochajs/mocha/blob/main/LICENSE).

docs/README.md

+1-13
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@ _So you wanna build the site?_
44

55
[mochajs.org](https://mochajs.org) is built using [Eleventy](https://www.11ty.io/), a simple static site generator.
66

7-
## Prerequisites
8-
9-
- Node.js v10.12.0 or greater
10-
117
## Development
128

13-
1. Run `npm install` from working copy root to get Node.js deps.
9+
1. Run `npm install` / `npm ci` from working copy root to get Node.js deps.
1410
1. To serve the site and rebuild as changes are made, execute `npm run docs-watch`.
1511
1. To rebuild the site _once_, execute `npm run docs`.
1612

@@ -19,11 +15,3 @@ _So you wanna build the site?_
1915
- The content lives in `docs/index.md`; everything else is markup, scripts, assets, etc.
2016
- This file (`docs/README.md`) should _not_ be included in the build.
2117
- `docs/_site_` is where the deployed site lives. This directories are _not_ under version control.
22-
23-
## License
24-
25-
:copyright: 2016-2018 [JS Foundation](https://js.foundation) and contributors.
26-
27-
Content licensed [CC-BY-4.0](https://raw.githubusercontent.com/mochajs/mocha/main/docs/LICENSE-CC-BY-4.0).
28-
29-
Code licensed [MIT](https://raw.githubusercontent.com/mochajs/mocha/main/LICENSE-MIT).

0 commit comments

Comments
 (0)