@exercism/codemirror-lang-raku 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +40 -13
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.0.1
2
+
3
+ The README is restructured. This release is the first published from GitHub Actions, with npm provenance.
4
+
1
5
  # Changelog
2
6
 
3
7
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -1,17 +1,42 @@
1
1
  # codemirror-lang-raku
2
2
 
3
+ ## Exercism's fork
4
+
5
+ This is Exercism's fork of [kan/codemirror-lang-raku](https://github.com/kan/codemirror-lang-raku), by Kan Fushihara.
6
+ Exercism uses it in the Raku editor on [exercism.org](https://exercism.org).
7
+ It is published on npm as `@exercism/codemirror-lang-raku`.
8
+ Our changes are on the `exercism` branch, and the `main` branch follows upstream.
9
+ Below this section, the README is upstream's.
10
+
11
+ The fork adds snippets for the common constructs (`sub`, `class`, `if`, `for`, `given` and others) to the completion.
12
+
13
+ ### Install
14
+
15
+ ```sh
16
+ npm install @exercism/codemirror-lang-raku
17
+ ```
18
+
19
+ ### Building and testing
20
+
21
+ Run `npm install`, then `npm test`, which builds the package and runs the tests in `test/`.
22
+
23
+ ### Releasing
24
+
25
+ To release from the `exercism` branch, set the version in `package.json` and push a tag of the same version (`v1.0.0`, say).
26
+ The tag starts `.github/workflows/publish.yml`.
27
+ The workflow checks that the tag matches `package.json`, builds and tests the package, and publishes it to npm as `@exercism/codemirror-lang-raku`.
28
+
29
+ ### Contributing
30
+
31
+ Contributions to this fork follow the Exercism [Code of Conduct](https://exercism.org/docs/using/legal/code-of-conduct).
32
+ Please read about how to [contribute to Exercism](https://exercism.org/docs/building).
33
+
34
+ ---
35
+
3
36
  [![npm version](https://img.shields.io/npm/v/codemirror-lang-raku)](https://www.npmjs.com/package/codemirror-lang-raku)
4
37
  [![Test](https://github.com/kan/codemirror-lang-raku/actions/workflows/test.yml/badge.svg)](https://github.com/kan/codemirror-lang-raku/actions/workflows/test.yml)
5
38
  [![License: MIT](https://img.shields.io/npm/l/codemirror-lang-raku)](LICENSE)
6
39
 
7
- > This is Exercism's fork of
8
- > [kan/codemirror-lang-raku](https://github.com/kan/codemirror-lang-raku) by
9
- > Kan Fushihara, used in the editor on [exercism.org](https://exercism.org).
10
- > Our changes are on the `exercism` branch, where the package is named
11
- > `@exercism/codemirror-lang-raku`. The branch adds snippets for the
12
- > common constructs (`sub`, `class`, `if`, `for`, `given` and others) to
13
- > the completion. Everything else follows upstream.
14
-
15
40
  [Raku](https://raku.org/) (formerly Perl 6) language support for the
16
41
  [CodeMirror 6](https://codemirror.net/) code editor: syntax highlighting,
17
42
  indentation, code folding, bracket matching and completion, built on a
@@ -334,11 +359,13 @@ that adds a feature also adds a sample of it to
334
359
  `test/fixtures/new-in-<next minor version>.raku` (`new-in-0.5.raku`, say),
335
360
  and is labelled `enhancement` to make the next release a minor one.
336
361
 
337
- To release from the `exercism` branch, set the version in `package.json`
338
- and push a tag of the same version (`v1.0.0`, say).
339
- The tag starts `.github/workflows/publish.yml`. It checks that the
340
- tag matches `package.json`, builds and tests the package, and publishes it to npm as
341
- `@exercism/codemirror-lang-raku`.
362
+ Releases are made with [tagpr](https://github.com/Songmu/tagpr). It keeps
363
+ a release pull request open that bumps the version and turns
364
+ `## [Unreleased]` into the version's section. Merging it tags the merge
365
+ commit, and a workflow then stages the version on npm with Trusted
366
+ Publishing and creates the GitHub release from the section of
367
+ `CHANGELOG.md`. The staged version is public once the maintainer approves
368
+ it.
342
369
 
343
370
  ## License
344
371
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exercism/codemirror-lang-raku",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Raku (formerly Perl 6) language support for CodeMirror",
5
5
  "keywords": [
6
6
  "codemirror",