dargstack_rgen 0.8.0 → 0.8.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/docker.yml +3 -3
- package/.github/workflows/release-schedule.yml +1 -1
- package/CHANGELOG.md +14 -0
- package/Dockerfile +16 -3
- package/package.json +2 -2
|
@@ -9,18 +9,18 @@ on:
|
|
|
9
9
|
jobs:
|
|
10
10
|
build:
|
|
11
11
|
name: Build
|
|
12
|
-
uses: dargmuesli/github-actions/.github/workflows/docker.yml@0.
|
|
12
|
+
uses: dargmuesli/github-actions/.github/workflows/docker.yml@0.22.1
|
|
13
13
|
secrets:
|
|
14
14
|
DOCKER_HUB_ACCESS_TOKEN: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
|
15
15
|
DOCKER_HUB_USER_NAME: ${{ secrets.DOCKER_HUB_USER_NAME }}
|
|
16
16
|
release-semantic:
|
|
17
17
|
needs: build
|
|
18
18
|
name: Release (semantic)
|
|
19
|
-
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@0.
|
|
19
|
+
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@0.22.1
|
|
20
20
|
secrets:
|
|
21
21
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
22
22
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
23
23
|
release-assets:
|
|
24
24
|
needs: release-semantic
|
|
25
25
|
name: Release (assets)
|
|
26
|
-
uses: dargmuesli/github-actions/.github/workflows/release-assets.yml@0.
|
|
26
|
+
uses: dargmuesli/github-actions/.github/workflows/release-assets.yml@0.22.1
|
|
@@ -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.22.1
|
|
11
11
|
secrets:
|
|
12
12
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
13
13
|
with:
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [0.8.2](https://github.com/dargmuesli/dargstack_rgen/compare/0.8.1...0.8.2) (2022-12-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **docker:** only include production dependencies ([5a1fc63](https://github.com/dargmuesli/dargstack_rgen/commit/5a1fc634677123978b429f7fafd03576ff732b93))
|
|
7
|
+
|
|
8
|
+
## [0.8.1](https://github.com/dargmuesli/dargstack_rgen/compare/0.8.0...0.8.1) (2022-12-27)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **docker:** correct build stage name ([ea0def1](https://github.com/dargmuesli/dargstack_rgen/commit/ea0def13de476b2c616863793446a1644eac349c))
|
|
14
|
+
|
|
1
15
|
# [0.8.0](https://github.com/dargmuesli/dargstack_rgen/compare/0.7.16...0.8.0) (2022-12-27)
|
|
2
16
|
|
|
3
17
|
|
package/Dockerfile
CHANGED
|
@@ -7,7 +7,7 @@ VOLUME /srv/app
|
|
|
7
7
|
ENTRYPOINT ["node", "./src/generator.cjs"]
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
FROM node:19.3.0-alpine@sha256:3ed634e0f15d3e05a1918c3949963508f7ed56350cf94156e6d804ae577849fa AS
|
|
10
|
+
FROM node:19.3.0-alpine@sha256:3ed634e0f15d3e05a1918c3949963508f7ed56350cf94156e6d804ae577849fa AS prepare
|
|
11
11
|
|
|
12
12
|
WORKDIR /srv/app/
|
|
13
13
|
|
|
@@ -21,11 +21,24 @@ COPY ./ ./
|
|
|
21
21
|
RUN pnpm install --offline
|
|
22
22
|
|
|
23
23
|
|
|
24
|
+
FROM node:19.3.0-alpine@sha256:3ed634e0f15d3e05a1918c3949963508f7ed56350cf94156e6d804ae577849fa AS build
|
|
25
|
+
|
|
26
|
+
WORKDIR /srv/app/
|
|
27
|
+
|
|
28
|
+
COPY --from=prepare /srv/app/ ./
|
|
29
|
+
|
|
30
|
+
ENV CI=1
|
|
31
|
+
ENV NODE_ENV=production
|
|
32
|
+
|
|
33
|
+
RUN npm install -g pnpm && \
|
|
34
|
+
pnpm install --offline
|
|
35
|
+
|
|
36
|
+
|
|
24
37
|
FROM node:19.3.0-alpine@sha256:3ed634e0f15d3e05a1918c3949963508f7ed56350cf94156e6d804ae577849fa AS test
|
|
25
38
|
|
|
26
39
|
WORKDIR /srv/app/
|
|
27
40
|
|
|
28
|
-
COPY --from=
|
|
41
|
+
COPY --from=prepare /srv/app/ ./
|
|
29
42
|
|
|
30
43
|
RUN npm install -g pnpm && \
|
|
31
44
|
pnpm run test
|
|
@@ -35,7 +48,7 @@ FROM node:19.3.0-alpine@sha256:3ed634e0f15d3e05a1918c3949963508f7ed56350cf94156e
|
|
|
35
48
|
|
|
36
49
|
WORKDIR /srv/app/
|
|
37
50
|
|
|
38
|
-
COPY --from=
|
|
51
|
+
COPY --from=build /srv/app/ /srv/app/
|
|
39
52
|
COPY --from=test /srv/app/package.json /tmp/package.json
|
|
40
53
|
|
|
41
54
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dargstack_rgen",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"scheduleVersion": "0.7.17",
|
|
5
5
|
"description": "Generates a DargStack stack project readme.",
|
|
6
6
|
"main": "src/generator.cjs",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"packageManager": "pnpm@7.20.0",
|
|
18
18
|
"scripts": {
|
|
19
|
-
"postinstall": "if [
|
|
19
|
+
"postinstall": "if [ ! \"$CI\" ]; then husky install && shx rm -rf .git/hooks && shx ln -s ../.husky .git/hooks; fi",
|
|
20
20
|
"test": "node src/generator.cjs -p test/example_stack -v"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|