dargstack_rgen 0.8.2 → 0.8.4

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.
File without changes
package/.eslintrc.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": [
3
+ "eslint:recommended",
4
+ "plugin:@typescript-eslint/recommended",
5
+ "plugin:jest/recommended",
6
+ "plugin:jest/style",
7
+ "plugin:prettier/recommended"
8
+ ],
9
+ "parser": "@typescript-eslint/parser"
10
+ }
@@ -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.1
12
+ uses: dargmuesli/github-actions/.github/workflows/docker.yml@0.23.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.1
19
+ uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@0.23.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.1
26
+ uses: dargmuesli/github-actions/.github/workflows/release-assets.yml@0.23.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.1
10
+ uses: dargmuesli/github-actions/.github/workflows/release-schedule.yml@0.23.1
11
11
  secrets:
12
12
  GH_TOKEN: ${{ secrets.GH_TOKEN }}
13
13
  with:
package/.husky/commit-msg CHANGED
@@ -2,4 +2,4 @@
2
2
  # shellcheck source=./_/husky.sh
3
3
  . "$(dirname "$0")/_/husky.sh"
4
4
 
5
- pnpm commitlint --edit "$1"
5
+ pnpm commitlint --config .commitlintrc.cjs --edit "$1"
package/.releaserc ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "plugins": [
3
+ "@semantic-release/commit-analyzer",
4
+ "@semantic-release/release-notes-generator",
5
+ "@semantic-release/changelog",
6
+ "@semantic-release/npm",
7
+ "@semantic-release/github",
8
+ "@semantic-release/git"
9
+ ],
10
+ "tagFormat": "${version}"
11
+ }
File without changes
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [0.8.4](https://github.com/dargmuesli/dargstack_rgen/compare/0.8.3...0.8.4) (2023-01-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **release:** schedule release ([7e2578d](https://github.com/dargmuesli/dargstack_rgen/commit/7e2578da5f4f177667f89218549410e11a558358))
7
+
8
+ ## [0.8.3](https://github.com/dargmuesli/dargstack_rgen/compare/0.8.2...0.8.3) (2023-01-03)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** add pinst ([c60ee22](https://github.com/dargmuesli/dargstack_rgen/commit/c60ee227c163a0cb617e8cf3f0d64c99e0518b6a))
14
+ * **package:** install husky only out of production ([c6bba57](https://github.com/dargmuesli/dargstack_rgen/commit/c6bba579d49bd2a44c70898005064f72ca241f1a))
15
+ * **package:** use prepare ([98a3490](https://github.com/dargmuesli/dargstack_rgen/commit/98a349018008ccb2ded576407af72c1b7f8ffc85))
16
+
1
17
  ## [0.8.2](https://github.com/dargmuesli/dargstack_rgen/compare/0.8.1...0.8.2) (2022-12-27)
2
18
 
3
19
 
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:19.3.0-alpine@sha256:3ed634e0f15d3e05a1918c3949963508f7ed56350cf94156e6d804ae577849fa AS development
1
+ FROM node:19.4.0-alpine@sha256:ab3603cb7934b21f1ffb522b1a1d538809516c6e4cd73b144716bc1830aad1a6 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.3.0-alpine@sha256:3ed634e0f15d3e05a1918c3949963508f7ed56350cf94156e6d804ae577849fa AS prepare
10
+ FROM node:19.4.0-alpine@sha256:ab3603cb7934b21f1ffb522b1a1d538809516c6e4cd73b144716bc1830aad1a6 AS prepare
11
11
 
12
12
  WORKDIR /srv/app/
13
13
 
@@ -21,20 +21,19 @@ COPY ./ ./
21
21
  RUN pnpm install --offline
22
22
 
23
23
 
24
- FROM node:19.3.0-alpine@sha256:3ed634e0f15d3e05a1918c3949963508f7ed56350cf94156e6d804ae577849fa AS build
24
+ FROM node:19.4.0-alpine@sha256:ab3603cb7934b21f1ffb522b1a1d538809516c6e4cd73b144716bc1830aad1a6 AS build
25
25
 
26
26
  WORKDIR /srv/app/
27
27
 
28
28
  COPY --from=prepare /srv/app/ ./
29
29
 
30
- ENV CI=1
31
30
  ENV NODE_ENV=production
32
31
 
33
32
  RUN npm install -g pnpm && \
34
33
  pnpm install --offline
35
34
 
36
35
 
37
- FROM node:19.3.0-alpine@sha256:3ed634e0f15d3e05a1918c3949963508f7ed56350cf94156e6d804ae577849fa AS test
36
+ FROM node:19.4.0-alpine@sha256:ab3603cb7934b21f1ffb522b1a1d538809516c6e4cd73b144716bc1830aad1a6 AS test
38
37
 
39
38
  WORKDIR /srv/app/
40
39
 
@@ -44,7 +43,7 @@ RUN npm install -g pnpm && \
44
43
  pnpm run test
45
44
 
46
45
 
47
- FROM node:19.3.0-alpine@sha256:3ed634e0f15d3e05a1918c3949963508f7ed56350cf94156e6d804ae577849fa AS collect
46
+ FROM node:19.4.0-alpine@sha256:ab3603cb7934b21f1ffb522b1a1d538809516c6e4cd73b144716bc1830aad1a6 AS collect
48
47
 
49
48
  WORKDIR /srv/app/
50
49
 
@@ -52,7 +51,7 @@ COPY --from=build /srv/app/ /srv/app/
52
51
  COPY --from=test /srv/app/package.json /tmp/package.json
53
52
 
54
53
 
55
- FROM node:19.3.0-alpine@sha256:3ed634e0f15d3e05a1918c3949963508f7ed56350cf94156e6d804ae577849fa AS production
54
+ FROM node:19.4.0-alpine@sha256:ab3603cb7934b21f1ffb522b1a1d538809516c6e4cd73b144716bc1830aad1a6 AS production
56
55
 
57
56
  WORKDIR /srv/app/
58
57
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dargstack_rgen",
3
- "version": "0.8.2",
4
- "scheduleVersion": "0.7.17",
3
+ "version": "0.8.4",
4
+ "scheduleVersion": "0.8.4",
5
5
  "description": "Generates a DargStack stack project readme.",
6
6
  "main": "src/generator.cjs",
7
7
  "repository": "https://github.com/dargmuesli/dargstack_rgen.git",
@@ -14,28 +14,28 @@
14
14
  "engines": {
15
15
  "node": "19"
16
16
  },
17
- "packageManager": "pnpm@7.20.0",
17
+ "packageManager": "pnpm@7.25.0",
18
18
  "scripts": {
19
- "postinstall": "if [ ! \"$CI\" ]; then husky install && shx rm -rf .git/hooks && shx ln -s ../.husky .git/hooks; fi",
19
+ "lint": "eslint --ext .js,.cjs .",
20
+ "prepare": "if [ \"$NODE_ENV\" != \"production\" ]; then husky install && shx rm -rf .git/hooks && shx ln -s ../.husky .git/hooks; fi",
20
21
  "test": "node src/generator.cjs -p test/example_stack -v"
21
22
  },
22
23
  "dependencies": {
23
24
  "deepmerge": "4.2.2",
24
25
  "diff": "5.1.0",
25
26
  "json2md": "2.0.0",
26
- "yaml": "2.2.0",
27
+ "yaml": "2.2.1",
27
28
  "yargs": "17.6.2"
28
29
  },
29
30
  "devDependencies": {
30
- "@commitlint/cli": "17.3.0",
31
- "@commitlint/config-conventional": "17.3.0",
32
- "eslint": "8.30.0",
33
- "eslint-config-standard": "17.0.0",
34
- "eslint-plugin-import": "2.26.0",
35
- "eslint-plugin-n": "15.6.0",
31
+ "@commitlint/cli": "17.4.2",
32
+ "@commitlint/config-conventional": "17.4.2",
33
+ "eslint": "8.32.0",
34
+ "eslint-config-prettier": "8.6.0",
36
35
  "eslint-plugin-node": "11.1.0",
37
- "eslint-plugin-promise": "6.1.1",
38
- "husky": "8.0.2",
36
+ "eslint-plugin-prettier": "4.2.1",
37
+ "husky": "8.0.3",
38
+ "prettier": "2.8.3",
39
39
  "shx": "0.3.4"
40
40
  }
41
41
  }