@travetto/pack 6.0.0 → 6.0.1

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/README.md CHANGED
@@ -140,7 +140,7 @@ Options:
140
140
  -wr, --include-workspace-resources Include workspace resources (default: false)
141
141
  -np, --npm-package <string> External NPM Packages (default: [])
142
142
  -df, --docker-factory <string> Docker Factory source (default: "@travetto/pack/support/pack.dockerfile.ts")
143
- -di, --docker-image <string> Docker Image to extend (default: "node:23-alpine")
143
+ -di, --docker-image <string> Docker Image to extend (default: "node:24-alpine")
144
144
  -dn, --docker-name <string> Docker Image Name (default: "travetto_pack")
145
145
  -ru, --runtime-user <string> Docker Runtime user
146
146
  -rp, --runtime-package <string> Docker Runtime Packages (default: [])
@@ -244,21 +244,21 @@ cd $TRV_OUT
244
244
  npx rollup -c $TRV_OUT/node_modules/@travetto/pack/support/rollup/build.js
245
245
  cd $ROOT
246
246
 
247
- # Pulling Docker Base Image node:23-alpine
247
+ # Pulling Docker Base Image node:24-alpine
248
248
 
249
- echo "Pulling Docker Base Image node:23-alpine"
249
+ echo "Pulling Docker Base Image node:24-alpine"
250
250
 
251
- docker pull node:23-alpine
251
+ docker pull node:24-alpine
252
252
 
253
- # Detected Image OS node:23-alpine as alpine
253
+ # Detected Image OS node:24-alpine as alpine
254
254
 
255
- echo "Detected Image OS node:23-alpine as alpine"
255
+ echo "Detected Image OS node:24-alpine as alpine"
256
256
 
257
257
  # Generating Docker File $DIST/Dockerfile @travetto/pack/support/pack.dockerfile.ts
258
258
 
259
259
  echo "Generating Docker File $DIST/Dockerfile @travetto/pack/support/pack.dockerfile.ts"
260
260
 
261
- echo "FROM node:23-alpine" > $DIST/Dockerfile
261
+ echo "FROM node:24-alpine" > $DIST/Dockerfile
262
262
  echo "RUN addgroup -g 2000 app && adduser -D -G app -u 2000 app" >> $DIST/Dockerfile
263
263
  echo "RUN mkdir /app && chown app:app /app" >> $DIST/Dockerfile
264
264
  echo "COPY --chown=\"app:app\" . /app" >> $DIST/Dockerfile
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/pack",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "Code packing utilities",
5
5
  "keywords": [
6
6
  "travetto",
@@ -25,16 +25,16 @@
25
25
  "directory": "module/pack"
26
26
  },
27
27
  "dependencies": {
28
- "@rollup/plugin-commonjs": "^28.0.3",
28
+ "@rollup/plugin-commonjs": "^28.0.6",
29
29
  "@rollup/plugin-json": "^6.1.0",
30
- "@rollup/plugin-node-resolve": "^16.0.1",
30
+ "@rollup/plugin-node-resolve": "^16.0.2",
31
31
  "@rollup/plugin-terser": "^0.4.4",
32
- "@travetto/runtime": "^6.0.0",
33
- "@travetto/terminal": "^6.0.0",
34
- "rollup": "^4.40.0"
32
+ "@travetto/runtime": "^6.0.1",
33
+ "@travetto/terminal": "^6.0.1",
34
+ "rollup": "^4.52.4"
35
35
  },
36
36
  "peerDependencies": {
37
- "@travetto/cli": "^6.0.0"
37
+ "@travetto/cli": "^6.0.1"
38
38
  },
39
39
  "peerDependenciesMeta": {
40
40
  "@travetto/cli": {
@@ -161,7 +161,6 @@ export class PackOperation {
161
161
  const title = 'Writing entry scripts';
162
162
  for (const sh of [ShellCommands.posix, ShellCommands.win32]) {
163
163
  const { ext, contents } = sh.script(
164
-
165
164
  sh.callCommandWithAllArgs('node', cfg.mainFile, ...cfg.entryArguments), true
166
165
  );
167
166
  const file = `${cfg.mainName}${ext}`;
@@ -76,7 +76,6 @@ export class PackUtil {
76
76
  static async runCommand(cmd: string[], opts: SpawnOptions = {}): Promise<string> {
77
77
  const { valid, code, stderr, message, stdout } = await ExecUtil.getResult(spawn(cmd[0], cmd.slice(1), {
78
78
  stdio: [0, 'pipe', 'pipe'],
79
- shell: false,
80
79
  ...opts,
81
80
  }), { catch: true });
82
81