Skip to content

Commit ab81db9

Browse files
Merge pull request #81 from contentstack/staging
Fix issue regarding skipping env variables, suppressing non-dev error messages, parsing URL-formatted env values, update form-data version and handling empty server command inputs.
2 parents 7cb60fe + fb88241 commit ab81db9

File tree

13 files changed

+1194
-61
lines changed

13 files changed

+1194
-61
lines changed

AGENTS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Testing instructions
2+
3+
- Follow the Arrange, Act, Assert structure when writing unit tests.
4+
- When writing unit tests, create individual unit tests that cover each logical branching in the code.
5+
- For the happy path, can we have a single unit test where all the top level if conditions are executed? This might help with reducing the number of total unit tests created and still give same test coverage.
6+
- For the tests for edge cases do not create separate describe blocks, keep the hierarchy flat.
7+
- For the tests for edge cases, do not skip assertions, its still worth adding all assertions similar to the happy paths tests.
8+
- Use only jest for writing test cases and refer existing unit test under the /src folder.
9+
- Do not create code comments for any changes.
10+

package-lock.json

Lines changed: 44 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/cli-launch",
3-
"version": "1.9.3",
3+
"version": "1.9.4",
44
"description": "Launch related operations",
55
"author": "Contentstack CLI",
66
"bin": {
@@ -20,7 +20,7 @@
2020
"/oclif.manifest.json"
2121
],
2222
"dependencies": {
23-
"@apollo/client": "^3.11.8",
23+
"@apollo/client": "^3.14.0",
2424
"@contentstack/cli-command": "^1.4.0",
2525
"@contentstack/cli-utilities": "^1.12.0",
2626
"@oclif/core": "^4.2.7",
@@ -37,7 +37,7 @@
3737
"cross-fetch": "^4.1.0",
3838
"dotenv": "^16.4.7",
3939
"express": "^4.21.1",
40-
"form-data": "^4.0.0",
40+
"form-data": "4.0.4",
4141
"graphql": "^16.9.0",
4242
"ini": "^3.0.1",
4343
"lodash": "^4.17.21",
@@ -106,6 +106,10 @@
106106
"test:jest:coverage": "jest --coverage",
107107
"prepare": "husky"
108108
},
109+
"overrides": {
110+
"axios": "~1.10.0",
111+
"form-data": "4.0.4"
112+
},
109113
"engines": {
110114
"node": ">=14.0.0"
111115
},

0 commit comments

Comments
 (0)