@skriptfabrik/elements-cli 0.5.24 → 0.5.26

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.
@@ -24,7 +24,7 @@ jobs:
24
24
  fetch-depth: 0
25
25
 
26
26
  - name: Install Node.js
27
- uses: actions/setup-node@v5
27
+ uses: actions/setup-node@v6
28
28
  with:
29
29
  node-version-file: .node-version
30
30
 
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:25.0.0-alpine
1
+ FROM node:25.1.0-alpine
2
2
 
3
3
  LABEL maintainer="Daniel Schröder <daniel.schroeder@skriptfabrik.com>"
4
4
 
@@ -9,9 +9,11 @@ ENV NODE_ENV=production
9
9
 
10
10
  COPY . /opt/elements-cli-${ELEMENTS_CLI_VERSION}
11
11
 
12
- RUN set -eux; \
13
- npm --prefix /opt/elements-cli-${ELEMENTS_CLI_VERSION} install; \
14
- rm -Rf ~/.npm; \
12
+ RUN \
13
+ --mount=type=cache,target=/root/.npm \
14
+ --mount=type=cache,target=/tmp/node-compile-cache \
15
+ set -eux; \
16
+ npm --prefix /opt/elements-cli-${ELEMENTS_CLI_VERSION} install --omit=dev; \
15
17
  ln -s /opt/elements-cli-${ELEMENTS_CLI_VERSION}/elements-cli.mjs /usr/local/bin/elements
16
18
 
17
19
  WORKDIR /data
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skriptfabrik/elements-cli",
3
- "version": "0.5.24",
3
+ "version": "0.5.26",
4
4
  "description": "The missing CLI for beautiful, interactive API docs powered by with Stoplight Elements",
5
5
  "keywords": [
6
6
  "stoplight",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@stoplight/elements": "9.0.8",
24
+ "@stoplight/elements": "9.0.11",
25
25
  "chalk": "^5.2.0",
26
26
  "chokidar": "^4.0.0",
27
27
  "cors-anywhere": "~0.4.4",