dargstack_rgen 0.8.1 → 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.
@@ -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.22.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.22.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.22.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.22.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,10 @@
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
+
1
8
  ## [0.8.1](https://github.com/dargmuesli/dargstack_rgen/compare/0.8.0...0.8.1) (2022-12-27)
2
9
 
3
10
 
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 build
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=build /srv/app/ ./
41
+ COPY --from=prepare /srv/app/ ./
29
42
 
30
43
  RUN npm install -g pnpm && \
31
44
  pnpm run test
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dargstack_rgen",
3
- "version": "0.8.1",
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 [ -d '.git' ] && [ -d '.husky' ]; then husky install && shx rm -rf .git/hooks && shx ln -s ../.husky .git/hooks; fi",
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": {