breviarium 0.2.0 → 0.2.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.
- package/.github/workflows/ci-package.yml +20 -11
- package/README.md +11 -16
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name: Publish NPM Package
|
|
1
|
+
name: Publish NPM Package
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
@@ -6,33 +6,42 @@ on:
|
|
|
6
6
|
- main
|
|
7
7
|
|
|
8
8
|
permissions:
|
|
9
|
-
contents:
|
|
9
|
+
contents: write
|
|
10
10
|
packages: write
|
|
11
11
|
|
|
12
12
|
jobs:
|
|
13
13
|
build-and-publish:
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
|
-
|
|
16
15
|
steps:
|
|
17
|
-
- name: Checkout repository
|
|
16
|
+
- name: Checkout repository 👋🏼
|
|
18
17
|
uses: actions/checkout@v4
|
|
19
18
|
|
|
20
19
|
- name: Setup Node.js
|
|
21
20
|
uses: actions/setup-node@v4
|
|
22
21
|
with:
|
|
23
|
-
node-version:
|
|
22
|
+
node-version: 20
|
|
24
23
|
registry-url: 'https://registry.npmjs.org/'
|
|
25
24
|
|
|
26
|
-
- name: Install dependencies
|
|
25
|
+
- name: Install dependencies 🔨
|
|
27
26
|
run: npm ci
|
|
28
27
|
|
|
29
|
-
- name: Update
|
|
30
|
-
run: npm version
|
|
28
|
+
- name: Update patch version
|
|
29
|
+
run: npm version patch --no-git-tag-version
|
|
30
|
+
|
|
31
|
+
- name: Commit version bump ⚙️
|
|
32
|
+
run: |
|
|
33
|
+
git config --global user.name 'github-actions'
|
|
34
|
+
git config --global user.email 'github-actions@github.com'
|
|
35
|
+
git add package.json package-lock.json
|
|
36
|
+
git commit -m "chore: bump patch version"
|
|
37
|
+
git push
|
|
38
|
+
env:
|
|
39
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
31
40
|
|
|
32
|
-
- name: Build package
|
|
41
|
+
- name: Build package 📦
|
|
33
42
|
run: npm run build
|
|
34
43
|
|
|
35
|
-
- name: Publish package
|
|
44
|
+
- name: Publish package 🚀
|
|
36
45
|
run: npm publish --access public
|
|
37
46
|
env:
|
|
38
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
47
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/README.md
CHANGED
|
@@ -13,11 +13,6 @@
|
|
|
13
13
|
<p align="center">
|
|
14
14
|
<a href="LICENSE">
|
|
15
15
|
<img alt="License" src="https://img.shields.io/badge/license-MIT-blue?color=blue&style=flat"></a>
|
|
16
|
-
<a href="https://www.npmjs.com/package/breviarium" target="_blank" rel="noopener noreferrer">
|
|
17
|
-
<img alt="Downloads" src="https://img.shields.io/npm/dm/breviariaum?color=blue&style=flat"></a>
|
|
18
|
-
</p>
|
|
19
|
-
|
|
20
|
-
<p align="center">
|
|
21
16
|
<a href="https://www.npmjs.com/package/breviarium/v/latest" target="_blank" rel="noopener noreferrer"><img alt="latest" src="https://img.shields.io/npm/v/breviarium/latest?style=flat&logo=npm"></a>
|
|
22
17
|
|
|
23
18
|
</p>
|
|
@@ -26,14 +21,14 @@
|
|
|
26
21
|
|
|
27
22
|
The prayers and the functions to retrieve the information
|
|
28
23
|
|
|
29
|
-
| **Prayer** | **Function** |
|
|
30
|
-
|
|
31
|
-
| Laudes | `getLaudes()` |
|
|
32
|
-
| Office | `getOfficium()` |
|
|
33
|
-
| Tercia | `getTertia()` |
|
|
34
|
-
| Sixth | `getSexta()` |
|
|
35
|
-
| Nona | `getNona()` |
|
|
36
|
-
| Vesperas | `getVesperae()` |
|
|
37
|
-
| Compline | `getCompletorium()` |
|
|
38
|
-
| Gospel | `getEvangelium()` |
|
|
39
|
-
| Mass Readings | `getLectiones()` |
|
|
24
|
+
| **Prayer** | **Function** | **🇪🇸** |
|
|
25
|
+
|---------------|---------------------|--|
|
|
26
|
+
| Laudes | `getLaudes()` | ✅ |
|
|
27
|
+
| Office | `getOfficium()` | ✅ |
|
|
28
|
+
| Tercia | `getTertia()` | ✅ |
|
|
29
|
+
| Sixth | `getSexta()` | ✅ |
|
|
30
|
+
| Nona | `getNona()` | ✅ |
|
|
31
|
+
| Vesperas | `getVesperae()` | ✅ |
|
|
32
|
+
| Compline | `getCompletorium()` | ✅ |
|
|
33
|
+
| Gospel | `getEvangelium()` | ✅ |
|
|
34
|
+
| Mass Readings | `getLectiones()` | ✅ |
|