@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.
- package/CHANGELOG.md +4 -0
- package/README.md +40 -13
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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
|
[](https://www.npmjs.com/package/codemirror-lang-raku)
|
|
4
37
|
[](https://github.com/kan/codemirror-lang-raku/actions/workflows/test.yml)
|
|
5
38
|
[](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
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
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
|
|