@skriptfabrik/json-schema-bundler 0.4.0 → 0.4.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,33 +9,27 @@ registries:
9
9
  replaces-base: true
10
10
 
11
11
  updates:
12
- - package-ecosystem: 'github-actions'
12
+ - package-ecosystem: 'docker'
13
13
  directory: '/'
14
14
  reviewers:
15
- - 'skriptfabrik/developers'
15
+ - 'skriptfabrik/docker-maintainers'
16
+ registries:
17
+ - 'dockerhub'
16
18
  schedule:
17
19
  interval: 'weekly'
18
- time: '08:00'
19
- timezone: 'Europe/Berlin'
20
20
 
21
- - package-ecosystem: 'npm'
21
+ - package-ecosystem: 'github-actions'
22
22
  directory: '/'
23
- ignore:
24
- - dependency-name: '@types/*'
25
23
  reviewers:
26
- - 'skriptfabrik/developers'
24
+ - 'skriptfabrik/github-actions-maintainers'
27
25
  schedule:
28
26
  interval: 'weekly'
29
- time: '08:00'
30
- timezone: 'Europe/Berlin'
31
27
 
32
- - package-ecosystem: 'docker'
28
+ - package-ecosystem: 'npm'
33
29
  directory: '/'
30
+ ignore:
31
+ - dependency-name: '@types/*'
34
32
  reviewers:
35
- - 'skriptfabrik/developers'
36
- registries:
37
- - 'dockerhub'
33
+ - 'skriptfabrik/npm-maintainers'
38
34
  schedule:
39
35
  interval: 'weekly'
40
- time: '08:00'
41
- timezone: 'Europe/Berlin'
@@ -20,12 +20,12 @@ jobs:
20
20
 
21
21
  steps:
22
22
  - name: Checkout
23
- uses: actions/checkout@v3
23
+ uses: actions/checkout@v4
24
24
  with:
25
25
  fetch-depth: 0
26
26
 
27
27
  - name: Install Node.js version ${{ env.NODE_VERSION }}
28
- uses: actions/setup-node@v3
28
+ uses: actions/setup-node@v4
29
29
  with:
30
30
  node-version: ${{ env.NODE_VERSION }}
31
31
 
@@ -49,27 +49,27 @@ jobs:
49
49
  npm version from-git --no-git-tag-version
50
50
 
51
51
  - name: Publish package
52
- uses: JS-DevTools/npm-publish@v1
52
+ uses: JS-DevTools/npm-publish@v3
53
53
  if: github.ref_type == 'tag'
54
54
  with:
55
55
  access: public
56
56
  token: ${{ secrets.NPM_TOKEN }}
57
57
 
58
58
  - name: Log in to DockerHub
59
- uses: docker/login-action@v2
59
+ uses: docker/login-action@v3
60
60
  with:
61
61
  username: ${{ secrets.DOCKERHUB_USERNAME }}
62
62
  password: ${{ secrets.DOCKERHUB_TOKEN }}
63
63
 
64
64
  - name: Set up QEMU
65
- uses: docker/setup-qemu-action@v2
65
+ uses: docker/setup-qemu-action@v3
66
66
 
67
67
  - name: Set up Docker Buildx
68
- uses: docker/setup-buildx-action@v2
68
+ uses: docker/setup-buildx-action@v3
69
69
 
70
70
  - name: Build and Push latest Docker image
71
71
  if: github.ref_name == 'main'
72
- uses: docker/build-push-action@v4
72
+ uses: docker/build-push-action@v6
73
73
  with:
74
74
  build-args: |-
75
75
  BUILDKIT_INLINE_CACHE=${{ env.DOCKER_BUILDKIT_INLINE_CACHE }}
@@ -91,7 +91,7 @@ jobs:
91
91
 
92
92
  - name: Build and Push Docker image release version
93
93
  if: github.ref_type == 'tag'
94
- uses: docker/build-push-action@v4
94
+ uses: docker/build-push-action@v6
95
95
  with:
96
96
  build-args: |-
97
97
  BUILDKIT_INLINE_CACHE=${{ env.DOCKER_BUILDKIT_INLINE_CACHE }}
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:18.14.0-alpine
1
+ FROM node:18.15.0-alpine
2
2
 
3
3
  LABEL maintainer="Daniel Schröder <daniel.schroeder@skriptfabrik.com>"
4
4
 
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
+ # JSON Schema Bundler
2
+
1
3
  [![NPM Version](https://img.shields.io/npm/v/@skriptfabrik/json-schema-bundler)](https://www.npmjs.com/package/@skriptfabrik/json-schema-bundler)
2
4
  [![NPM Downloads](https://img.shields.io/npm/dt/@skriptfabrik/json-schema-bundler)](https://www.npmjs.com/package/@skriptfabrik/json-schema-bundler)
3
5
  [![Continuous Integration](https://img.shields.io/github/actions/workflow/status/skriptfabrik/json-schema-bundler/ci.yml)](https://github.com/skriptfabrik/json-schema-bundler/actions/workflows/ci.yml)
4
6
 
5
- # JSON Schema Bundler
6
-
7
7
  > The missing CLI for the [JSON Schema $Ref Parser](https://github.com/APIDevTools/json-schema-ref-parser)
8
8
 
9
9
  ## Installation
@@ -35,6 +35,7 @@ Options:
35
35
  -p, --pretty Pretty print output
36
36
  -s, --silent Silent mode
37
37
  -v, --version Print version number
38
+ -y, --yaml Output as YAML document instead of JSON
38
39
 
39
40
  Examples:
40
41
  Bundle all references in schema.json with internal $ref pointers and print output to stdout:
@@ -32,7 +32,7 @@ if (argv.v) {
32
32
 
33
33
  if (argv.h || argv._.length < 1) {
34
34
  console.error(
35
- `JSON Schema Bundler\n\n${chalk.yellow('Usage:')}\n %s\n\n${chalk.yellow('Arguments:')}\n %s\n\n${chalk.yellow('Options:')}\n %s\n\n${chalk.yellow('Examples:')}\n %s`,
35
+ `JSON Schema Bundler\n\n${chalk.yellow('Usage:')}\n%s\n\n${chalk.yellow('Arguments:')}\n%s\n\n${chalk.yellow('Options:')}\n%s\n\n${chalk.yellow('Examples:')}\n%s`,
36
36
  ` ${path.basename(process.argv[1])} [options] <input>`,
37
37
  ` ${chalk.green('input')} The path of the input schema file`,
38
38
  [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skriptfabrik/json-schema-bundler",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "The missing CLI for the JSON Schema $Ref Parser",
5
5
  "keywords": [
6
6
  "json",
@@ -22,10 +22,10 @@
22
22
  },
23
23
  "license": "MIT",
24
24
  "dependencies": {
25
- "@apidevtools/json-schema-ref-parser": "^10.1.0",
25
+ "@apidevtools/json-schema-ref-parser": "^11.1.0",
26
26
  "chalk": "^5.2.0",
27
- "js-yaml": "~4.0.0",
28
- "minimist": "^1.2.7"
27
+ "js-yaml": "^4.1.0",
28
+ "minimist": "^1.2.8"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/js-yaml": "~4.0.0"