-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56c3d3b
commit 0653e2d
Showing
2 changed files
with
108 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
tests/snapshots/generate_plan_tests__node_nvmrc_invalid_lts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
source: tests/generate_plan_tests.rs | ||
expression: plan | ||
--- | ||
{ | ||
"providers": [], | ||
"buildImage": "[build_image]", | ||
"variables": { | ||
"CI": "true", | ||
"NIXPACKS_METADATA": "node", | ||
"NODE_ENV": "production", | ||
"NPM_CONFIG_PRODUCTION": "false" | ||
}, | ||
"phases": { | ||
"build": { | ||
"name": "build", | ||
"dependsOn": [ | ||
"install" | ||
], | ||
"cacheDirectories": [ | ||
"node_modules/.cache" | ||
] | ||
}, | ||
"install": { | ||
"name": "install", | ||
"dependsOn": [ | ||
"setup" | ||
], | ||
"cmds": [ | ||
"npm ci" | ||
], | ||
"cacheDirectories": [ | ||
"/root/.npm" | ||
], | ||
"paths": [ | ||
"/app/node_modules/.bin" | ||
] | ||
}, | ||
"setup": { | ||
"name": "setup", | ||
"nixPkgs": [ | ||
"nodejs_18", | ||
"npm-8_x" | ||
], | ||
"nixOverlays": [ | ||
"https://github.com/railwayapp/nix-npm-overlay/archive/main.tar.gz" | ||
], | ||
"nixpkgsArchive": "[archive]" | ||
} | ||
}, | ||
"start": { | ||
"cmd": "npm run start" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
source: tests/generate_plan_tests.rs | ||
expression: plan | ||
--- | ||
{ | ||
"providers": [], | ||
"buildImage": "[build_image]", | ||
"variables": { | ||
"CI": "true", | ||
"NIXPACKS_METADATA": "node", | ||
"NODE_ENV": "production", | ||
"NPM_CONFIG_PRODUCTION": "false" | ||
}, | ||
"phases": { | ||
"build": { | ||
"name": "build", | ||
"dependsOn": [ | ||
"install" | ||
], | ||
"cacheDirectories": [ | ||
"node_modules/.cache" | ||
] | ||
}, | ||
"install": { | ||
"name": "install", | ||
"dependsOn": [ | ||
"setup" | ||
], | ||
"cmds": [ | ||
"npm ci" | ||
], | ||
"cacheDirectories": [ | ||
"/root/.npm" | ||
], | ||
"paths": [ | ||
"/app/node_modules/.bin" | ||
] | ||
}, | ||
"setup": { | ||
"name": "setup", | ||
"nixPkgs": [ | ||
"nodejs_20", | ||
"npm-8_x" | ||
], | ||
"nixOverlays": [ | ||
"https://github.com/railwayapp/nix-npm-overlay/archive/main.tar.gz" | ||
], | ||
"nixpkgsArchive": "[archive]" | ||
} | ||
}, | ||
"start": { | ||
"cmd": "npm run start" | ||
} | ||
} |