dargstack_rgen 0.8.8 → 0.9.0
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.yml +6 -5
- package/.github/workflows/release-schedule.yml +1 -1
- package/CHANGELOG.md +14 -0
- package/Dockerfile +6 -6
- package/README.md +8 -8
- package/package.json +9 -9
- package/src/generator.cjs +1 -1
- package/test/example_stack/README.md +3 -3
- package/test/example_stack/src/development/stack.yml +1 -1
- package/test/example_stack/src/production/production.yml +1 -1
package/.github/workflows/ci.yml
CHANGED
|
@@ -9,14 +9,15 @@ on:
|
|
|
9
9
|
jobs:
|
|
10
10
|
build:
|
|
11
11
|
name: Build
|
|
12
|
-
uses: dargmuesli/github-actions/.github/workflows/docker.yml@0.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
uses: dargmuesli/github-actions/.github/workflows/docker-ghcr.yml@0.35.3
|
|
13
|
+
permissions:
|
|
14
|
+
packages: write
|
|
15
|
+
with:
|
|
16
|
+
ARTIFACT_PATH: .output/public
|
|
16
17
|
release-semantic:
|
|
17
18
|
needs: build
|
|
18
19
|
name: Release (semantic)
|
|
19
|
-
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@0.
|
|
20
|
+
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@0.35.3
|
|
20
21
|
secrets:
|
|
21
22
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
22
23
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -7,7 +7,7 @@ on:
|
|
|
7
7
|
jobs:
|
|
8
8
|
release-schedule:
|
|
9
9
|
name: Release (scheduled)
|
|
10
|
-
uses: dargmuesli/github-actions/.github/workflows/release-schedule.yml@0.
|
|
10
|
+
uses: dargmuesli/github-actions/.github/workflows/release-schedule.yml@0.35.3
|
|
11
11
|
secrets:
|
|
12
12
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
13
13
|
with:
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [0.9.0](https://github.com/dargstack/dargstack_rgen/compare/0.8.9...0.9.0) (2023-03-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* migrate to new organization name ([78f5f61](https://github.com/dargstack/dargstack_rgen/commit/78f5f61703f244c2c15d13f448f8a970323e5cd0))
|
|
7
|
+
|
|
8
|
+
## [0.8.9](https://github.com/dargmuesli/dargstack_rgen/compare/0.8.8...0.8.9) (2023-03-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **release:** schedule release ([6d35d77](https://github.com/dargmuesli/dargstack_rgen/commit/6d35d777bd03af0567678d7192d91765c1ff65d4))
|
|
14
|
+
|
|
1
15
|
## [0.8.8](https://github.com/dargmuesli/dargstack_rgen/compare/0.8.7...0.8.8) (2023-03-07)
|
|
2
16
|
|
|
3
17
|
|
package/Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
FROM node:19.
|
|
1
|
+
FROM node:19.8.1-alpine@sha256:a67a33f791d1c86ced985f339fa160f6188f590ebbe963fe11cc00adc971fa41 AS development
|
|
2
2
|
|
|
3
3
|
WORKDIR /srv/app/
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ VOLUME /srv/app
|
|
|
7
7
|
ENTRYPOINT ["node", "./src/generator.cjs"]
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
FROM node:19.
|
|
10
|
+
FROM node:19.8.1-alpine@sha256:a67a33f791d1c86ced985f339fa160f6188f590ebbe963fe11cc00adc971fa41 AS prepare
|
|
11
11
|
|
|
12
12
|
WORKDIR /srv/app/
|
|
13
13
|
|
|
@@ -21,7 +21,7 @@ COPY ./ ./
|
|
|
21
21
|
RUN pnpm install --offline
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
FROM node:19.
|
|
24
|
+
FROM node:19.8.1-alpine@sha256:a67a33f791d1c86ced985f339fa160f6188f590ebbe963fe11cc00adc971fa41 AS build
|
|
25
25
|
|
|
26
26
|
WORKDIR /srv/app/
|
|
27
27
|
|
|
@@ -33,7 +33,7 @@ RUN npm install -g pnpm && \
|
|
|
33
33
|
pnpm install --offline
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
FROM node:19.
|
|
36
|
+
FROM node:19.8.1-alpine@sha256:a67a33f791d1c86ced985f339fa160f6188f590ebbe963fe11cc00adc971fa41 AS test
|
|
37
37
|
|
|
38
38
|
WORKDIR /srv/app/
|
|
39
39
|
|
|
@@ -43,7 +43,7 @@ RUN npm install -g pnpm && \
|
|
|
43
43
|
pnpm run test
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
FROM node:19.
|
|
46
|
+
FROM node:19.8.1-alpine@sha256:a67a33f791d1c86ced985f339fa160f6188f590ebbe963fe11cc00adc971fa41 AS collect
|
|
47
47
|
|
|
48
48
|
WORKDIR /srv/app/
|
|
49
49
|
|
|
@@ -51,7 +51,7 @@ COPY --from=build /srv/app/ /srv/app/
|
|
|
51
51
|
COPY --from=test /srv/app/package.json /tmp/package.json
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
FROM node:19.
|
|
54
|
+
FROM node:19.8.1-alpine@sha256:a67a33f791d1c86ced985f339fa160f6188f590ebbe963fe11cc00adc971fa41 AS production
|
|
55
55
|
|
|
56
56
|
WORKDIR /srv/app/
|
|
57
57
|
|
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
[](https://github.com/dargstack/dargstack_rgen/actions/workflows/ci.yml)
|
|
2
2
|
|
|
3
3
|
# DargStack RGen
|
|
4
4
|
|
|
5
|
-
[DargStack](https://github.com/
|
|
5
|
+
[DargStack](https://github.com/dargstack/dargstack)'s README.md generator.
|
|
6
6
|
|
|
7
|
-
Run the script using `node ./src/generator.js` or [`dargstack rgen`](https://github.com/
|
|
7
|
+
Run the script using `node ./src/generator.js` or [`dargstack rgen`](https://github.com/dargstack/dargstack).
|
|
8
8
|
|
|
9
9
|
## Help
|
|
10
10
|
|
|
@@ -35,7 +35,7 @@ secrets:
|
|
|
35
35
|
file: ./path/to/password.secret
|
|
36
36
|
services:
|
|
37
37
|
adminer:
|
|
38
|
-
# You can access the service's frontend at [service.
|
|
38
|
+
# You can access the service's frontend at [service.localhost](https://service.localhost/).
|
|
39
39
|
# This information is required for login:
|
|
40
40
|
#
|
|
41
41
|
# | | |
|
|
@@ -67,7 +67,7 @@ Markdown output:
|
|
|
67
67
|
|
|
68
68
|
The Docker stack configuration for [example.com](https://example.com/).
|
|
69
69
|
|
|
70
|
-
This project is deployed in accordance to the [DargStack template](https://github.com/
|
|
70
|
+
This project is deployed in accordance to the [DargStack template](https://github.com/dargstack/dargstack_template/) to make deployment a breeze. It is closely related to [example's source code](https://github.com/example/example/).
|
|
71
71
|
|
|
72
72
|
## Table of Contents
|
|
73
73
|
|
|
@@ -102,7 +102,7 @@ This project is deployed in accordance to the [DargStack template](https://githu
|
|
|
102
102
|
|
|
103
103
|
- ### `adminer`
|
|
104
104
|
|
|
105
|
-
You can access the service's frontend at [service.
|
|
105
|
+
You can access the service's frontend at [service.localhost](https://service.localhost/).
|
|
106
106
|
This information is required for login:
|
|
107
107
|
|
|
108
108
|
| | |
|
|
@@ -129,7 +129,7 @@ Markdown rendered:
|
|
|
129
129
|
> # example_stack
|
|
130
130
|
> The Docker stack configuration for [example.com](https://example.com/).
|
|
131
131
|
>
|
|
132
|
-
>This project is deployed in accordance to the [DargStack template](https://github.com/
|
|
132
|
+
>This project is deployed in accordance to the [DargStack template](https://github.com/dargstack/dargstack_template/) to make deployment a breeze. It is closely related to [example's source code](https://github.com/example/example/).
|
|
133
133
|
>
|
|
134
134
|
>## Table of Contents
|
|
135
135
|
>
|
|
@@ -164,7 +164,7 @@ Markdown rendered:
|
|
|
164
164
|
>
|
|
165
165
|
>- ### `adminer`
|
|
166
166
|
>
|
|
167
|
-
> You can access the service's frontend at [service.
|
|
167
|
+
> You can access the service's frontend at [service.localhost]>(https://service.localhost/).
|
|
168
168
|
> This information is required for login:
|
|
169
169
|
>
|
|
170
170
|
> | | |
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dargstack_rgen",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"scheduleVersion": "0.8.
|
|
3
|
+
"version": "0.9.0",
|
|
4
|
+
"scheduleVersion": "0.8.9",
|
|
5
5
|
"description": "Generates a DargStack stack project readme.",
|
|
6
6
|
"main": "src/generator.cjs",
|
|
7
|
-
"repository": "https://github.com/
|
|
7
|
+
"repository": "https://github.com/dargstack/dargstack_rgen.git",
|
|
8
8
|
"author": "Jonas Thelemann <e-mail@jonas-thelemann.de>",
|
|
9
9
|
"license": "GPL-3.0-only",
|
|
10
10
|
"bin": {
|
|
@@ -14,28 +14,28 @@
|
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": "19"
|
|
16
16
|
},
|
|
17
|
-
"packageManager": "pnpm@7.
|
|
17
|
+
"packageManager": "pnpm@7.30.3",
|
|
18
18
|
"scripts": {
|
|
19
19
|
"lint": "eslint --ext .js,.cjs .",
|
|
20
20
|
"prepare": "if [ \"$NODE_ENV\" != \"production\" ]; then husky install && shx rm -rf .git/hooks && shx ln -s ../.husky .git/hooks; fi",
|
|
21
21
|
"test": "node src/generator.cjs -p test/example_stack -v"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"deepmerge": "4.3.
|
|
24
|
+
"deepmerge": "4.3.1",
|
|
25
25
|
"diff": "5.1.0",
|
|
26
26
|
"json2md": "2.0.0",
|
|
27
27
|
"yaml": "2.2.1",
|
|
28
28
|
"yargs": "17.7.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@commitlint/cli": "17.
|
|
31
|
+
"@commitlint/cli": "17.5.0",
|
|
32
32
|
"@commitlint/config-conventional": "17.4.4",
|
|
33
|
-
"eslint": "8.
|
|
34
|
-
"eslint-config-prettier": "8.
|
|
33
|
+
"eslint": "8.36.0",
|
|
34
|
+
"eslint-config-prettier": "8.8.0",
|
|
35
35
|
"eslint-plugin-node": "11.1.0",
|
|
36
36
|
"eslint-plugin-prettier": "4.2.1",
|
|
37
37
|
"husky": "8.0.3",
|
|
38
|
-
"prettier": "2.8.
|
|
38
|
+
"prettier": "2.8.7",
|
|
39
39
|
"shx": "0.3.4"
|
|
40
40
|
}
|
|
41
41
|
}
|
package/src/generator.cjs
CHANGED
|
@@ -191,7 +191,7 @@ const mdjson = [
|
|
|
191
191
|
{
|
|
192
192
|
p: [
|
|
193
193
|
`The Docker stack configuration for [${webName}](${webUrl}).`,
|
|
194
|
-
`This project is deployed in accordance to the [DargStack template](https://github.com/
|
|
194
|
+
`This project is deployed in accordance to the [DargStack template](https://github.com/dargstack/dargstack_template/) to make deployment a breeze. It is closely related to [${sourceName}'s source code](${sourceUrl}).`,
|
|
195
195
|
],
|
|
196
196
|
},
|
|
197
197
|
{ h2: 'Table of Contents' },
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
The Docker stack configuration for [example.de](https://example.de/).
|
|
5
5
|
|
|
6
|
-
This project is deployed in accordance to the [DargStack template](https://github.com/
|
|
6
|
+
This project is deployed in accordance to the [DargStack template](https://github.com/dargstack/dargstack_template/) to make deployment a breeze. It is closely related to [example's source code](https://github.com/dargmuesli/example/).
|
|
7
7
|
|
|
8
8
|
## Table of Contents
|
|
9
9
|
|
|
@@ -54,7 +54,7 @@ This project is deployed in accordance to the [DargStack template](https://githu
|
|
|
54
54
|
|
|
55
55
|
- ### `adminer`
|
|
56
56
|
|
|
57
|
-
You can access the database's frontend at [adminer.
|
|
57
|
+
You can access the database's frontend at [adminer.localhost](https://adminer.localhost/).
|
|
58
58
|
This information is required for login:
|
|
59
59
|
|
|
60
60
|
| | |
|
|
@@ -77,7 +77,7 @@ This project is deployed in accordance to the [DargStack template](https://githu
|
|
|
77
77
|
|
|
78
78
|
- ### `traefik_certs-dumper` 
|
|
79
79
|
|
|
80
|
-
See [DargStack template: certificates](https://github.com/
|
|
80
|
+
See [DargStack template: certificates](https://github.com/dargstack/dargstack_template/#certificates).
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
## volumes
|
|
@@ -19,7 +19,7 @@ secrets:
|
|
|
19
19
|
file: ./secrets/postgres/user.secret
|
|
20
20
|
services:
|
|
21
21
|
adminer:
|
|
22
|
-
# You can access the database's frontend at [adminer.
|
|
22
|
+
# You can access the database's frontend at [adminer.localhost](https://adminer.localhost/).
|
|
23
23
|
# This information is required for login:
|
|
24
24
|
#
|
|
25
25
|
# | | |
|
|
@@ -19,7 +19,7 @@ services:
|
|
|
19
19
|
volumes:
|
|
20
20
|
- postgres_data:/var/lib/postgresql/data/
|
|
21
21
|
traefik_certs-dumper:
|
|
22
|
-
# See [DargStack template: certificates](https://github.com/
|
|
22
|
+
# See [DargStack template: certificates](https://github.com/dargstack/dargstack_template/#certificates).
|
|
23
23
|
image: ldez/traefik-certs-dumper:v2.8.1@sha256:2734462fc8290feab0e34a00d5f3e4992ba74f8e3712d74efff7ae703d0e7e87
|
|
24
24
|
volumes:
|
|
25
25
|
- acme_data:/etc/traefik/acme/
|