@20syldev/api 3.4.6 → 3.4.7
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/README.md +2 -2
- package/app.js +1 -1
- package/package.json +4 -1
- package/.github/workflows/publish.yml +0 -27
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<a href="https://api.sylvain.sh"><img src="https://api.sylvain.sh/favicon.ico" alt="Logo" width="25%" height="auto"/></a>
|
|
3
3
|
|
|
4
4
|
# API Personnelle
|
|
5
|
-
[](https://github.com/20syldev/api/releases/latest)
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
8
|
---
|
|
@@ -72,7 +72,7 @@ Enfin, **exécutez** le script de build, qui installera les **dépendances** et
|
|
|
72
72
|
$ npm run build
|
|
73
73
|
```
|
|
74
74
|
```console
|
|
75
|
-
> @20syldev/api@3.4.
|
|
75
|
+
> @20syldev/api@3.4.7 build
|
|
76
76
|
> npm install && node app.js
|
|
77
77
|
|
|
78
78
|
[...]
|
package/app.js
CHANGED
|
@@ -640,7 +640,7 @@ app.get('/:version/website', async (req, res) => {
|
|
|
640
640
|
donut: process.env.DONUT,
|
|
641
641
|
drawio_plugin: process.env.DRAWIO_PLUGIN,
|
|
642
642
|
flowers: process.env.FLOWERS,
|
|
643
|
-
|
|
643
|
+
2048: process.env["2048"],
|
|
644
644
|
gemsync: process.env.GEMSYNC,
|
|
645
645
|
gft: process.env.GFT,
|
|
646
646
|
gitsite: process.env.GITSITE,
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.4.
|
|
2
|
+
"version": "3.4.7",
|
|
3
3
|
"name": "@20syldev/api",
|
|
4
4
|
"description": "Node.js API with multiple features. Check the documentation at https://docs.sylvain.sh",
|
|
5
5
|
"main": "app.js",
|
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
"npm-check-updates": "latest",
|
|
35
35
|
"prettier": "latest"
|
|
36
36
|
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
37
40
|
"repository": {
|
|
38
41
|
"type": "git",
|
|
39
42
|
"url": "git+https://github.com/20syldev/api.git"
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
name: 20syldev/api package publish
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
release:
|
|
5
|
-
types: [created]
|
|
6
|
-
|
|
7
|
-
jobs:
|
|
8
|
-
build:
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
steps:
|
|
11
|
-
- uses: actions/checkout@v4
|
|
12
|
-
- uses: actions/setup-node@v4
|
|
13
|
-
with:
|
|
14
|
-
node-version: 20
|
|
15
|
-
|
|
16
|
-
publish-npm:
|
|
17
|
-
needs: build
|
|
18
|
-
runs-on: ubuntu-latest
|
|
19
|
-
steps:
|
|
20
|
-
- uses: actions/checkout@v4
|
|
21
|
-
- uses: actions/setup-node@v4
|
|
22
|
-
with:
|
|
23
|
-
node-version: 20
|
|
24
|
-
registry-url: https://registry.npmjs.org/
|
|
25
|
-
- run: npm publish
|
|
26
|
-
env:
|
|
27
|
-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|