@ribbon-studios/ribbon 1.1.1 → 1.1.2

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.
@@ -0,0 +1,80 @@
1
+ name: Deploy
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ push:
8
+ branches:
9
+ - main
10
+
11
+ jobs:
12
+ lint:
13
+ name: Lint
14
+ runs-on: docker
15
+ steps:
16
+ - uses: actions/checkout@v6
17
+ - uses: oven-sh/setup-bun@v2
18
+
19
+ - run: bun ci
20
+ - run: bun lint
21
+
22
+ test:
23
+ name: Test
24
+ runs-on: docker
25
+ steps:
26
+ - uses: actions/checkout@v6
27
+ - uses: oven-sh/setup-bun@v2
28
+
29
+ - run: bun ci
30
+ - run: bun test:coverage
31
+ - run: bun badges
32
+
33
+ - uses: actions/git-pages@v2
34
+ with:
35
+ site: https://${{ forge.repository_owner }}.codeberg.page/${{ forge.event.repository.name }}/
36
+ token: ${{ forgejo.token }}
37
+ source: coverage/
38
+
39
+ build:
40
+ name: Build
41
+ runs-on: docker
42
+ steps:
43
+ - uses: actions/checkout@v6
44
+ - uses: oven-sh/setup-bun@v2
45
+
46
+ - run: bun ci
47
+ - run: bun run build
48
+
49
+ - uses: actions/upload-artifact@v3
50
+ with:
51
+ name: build
52
+ path: dist
53
+
54
+ deploy:
55
+ name: Deploy
56
+ runs-on: docker
57
+ needs: [lint, test, build]
58
+ concurrency:
59
+ group: deploy
60
+ cancel-in-progress: false
61
+ steps:
62
+ - uses: actions/checkout@v6
63
+ with:
64
+ # Necessary for Semantic Release to work
65
+ fetch-depth: 0
66
+
67
+ - uses: oven-sh/setup-bun@v2
68
+
69
+ - run: bun ci
70
+
71
+ - uses: actions/download-artifact@v3
72
+ with:
73
+ name: build
74
+ path: dist
75
+
76
+ - run: bun x semantic-release
77
+ env:
78
+ FORGEJO_URL: ${{ forgejo.server_url }}
79
+ FORGEJO_TOKEN: ${{ forgejo.token }}
80
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 18
1
+ 22
package/.releaserc.yml CHANGED
@@ -1,2 +1,8 @@
1
1
  branches:
2
2
  - main
3
+
4
+ plugins:
5
+ - '@semantic-release/commit-analyzer'
6
+ - '@semantic-release/release-notes-generator'
7
+ - '@semantic-release/npm'
8
+ - '@ribbon-studios/semantic-release-forgejo'
package/README.md CHANGED
@@ -1,13 +1,12 @@
1
1
  [![NPM Version][npm-version-image]][npm-url]
2
2
  [![NPM Downloads][npm-downloads-image]][npm-url]
3
- [![Coveralls][coveralls-image]][coveralls-url]
3
+ [![Coverage][coverage-image]][coverage-url]
4
4
 
5
- [![CI Build][github-actions-image]][github-actions-url]
6
- [![Maintainability][maintainability-image]][maintainability-url]
5
+ [![CI Build][build-image]][build-url]
7
6
  [![Semantic Release][semantic-release-image]][semantic-release-url]
8
7
  [![Code Style: Prettier][code-style-image]][code-style-url]
9
8
 
10
- # `@ribbon-studios/ribbon`
9
+ # Ribbon
11
10
 
12
11
  ### Preview
13
12
 
@@ -42,13 +41,11 @@ export function MyApp() {
42
41
  [npm-version-image]: https://img.shields.io/npm/v/@ribbon-studios/ribbon.svg
43
42
  [npm-downloads-image]: https://img.shields.io/npm/dm/@ribbon-studios/ribbon.svg
44
43
  [npm-url]: https://npmjs.org/package/@ribbon-studios/ribbon
45
- [github-actions-image]: https://img.shields.io/github/actions/workflow/status/ribbon-studios/ribbon/ci.yml?event=push
46
- [github-actions-url]: https://github.com/ribbon-studios/ribbon/actions/workflows/ci.yml?query=branch%3Amain
47
- [coveralls-image]: https://img.shields.io/coveralls/ribbon-studios/ribbon.svg
48
- [coveralls-url]: https://coveralls.io/github/ribbon-studios/ribbon?branch=main
44
+ [build-image]: https://codeberg.org/ribbon-studios/ribbon/badges/workflows/ci.yml/badge.svg?branch=main
45
+ [build-url]: https://codeberg.org/ribbon-studios/ribbon/actions?workflow=ci.yml&branch=main
46
+ [coverage-image]: https://ribbon-studios.codeberg.page/ribbon/badge.svg
47
+ [coverage-url]: https://ribbon-studios.codeberg.page/ribbon
49
48
  [code-style-image]: https://img.shields.io/badge/code%20style-prettier-ff69b4.svg
50
49
  [code-style-url]: https://prettier.io
51
- [maintainability-image]: https://img.shields.io/codeclimate/maintainability/ribbon-studios/ribbon
52
- [maintainability-url]: https://codeclimate.com/github/ribbon-studios/ribbon/maintainability
53
50
  [semantic-release-url]: https://github.com/semantic-release/semantic-release
54
51
  [semantic-release-image]: https://img.shields.io/badge/%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079