diff --git a/packages/plugins/aws-device-farm/src/__tests__/__snapshots__/createTestSpecFile.ts.snap b/packages/plugins/aws-device-farm/src/__tests__/__snapshots__/createTestSpecFile.ts.snap index 8c68d52d..f59325c9 100644 --- a/packages/plugins/aws-device-farm/src/__tests__/__snapshots__/createTestSpecFile.ts.snap +++ b/packages/plugins/aws-device-farm/src/__tests__/__snapshots__/createTestSpecFile.ts.snap @@ -51,7 +51,7 @@ phases: commands: - echo "Navigate to test source code" - cd $DEVICEFARM_TEST_PACKAGE_PATH/node_modules/* - - yarn + - yarn install --production --ignore-engines - echo 'this is the test command' - mv result*.json $DEVICEFARM_LOG_DIR - mv *.mp4 $DEVICEFARM_LOG_DIR || true diff --git a/packages/plugins/aws-device-farm/src/createTestSpecFile.ts b/packages/plugins/aws-device-farm/src/createTestSpecFile.ts index 0b84cc65..b31c4ad5 100644 --- a/packages/plugins/aws-device-farm/src/createTestSpecFile.ts +++ b/packages/plugins/aws-device-farm/src/createTestSpecFile.ts @@ -42,7 +42,7 @@ export const getSingleTestFileYml = ({ export const getTestCommandYml = ({ testCommand }: { testCommand: string }) => { return buildAppiumYmlSpec({ installCommands: ["npm install --global yarn"], - testCommands: ["yarn", testCommand], + testCommands: ["yarn install --production --ignore-engines", testCommand], }); }; diff --git a/packages/plugins/eslint/index.js b/packages/plugins/eslint/index.js index b862db2e..a1cd9f5d 100644 --- a/packages/plugins/eslint/index.js +++ b/packages/plugins/eslint/index.js @@ -1,3 +1,4 @@ +/* eslint-disable import/no-extraneous-dependencies */ //------------------------------------------------------------------ // Requirements //------------------------------------------------------------------ diff --git a/packages/plugins/eslint/package.json b/packages/plugins/eslint/package.json index 94fb154b..1c09f0bb 100644 --- a/packages/plugins/eslint/package.json +++ b/packages/plugins/eslint/package.json @@ -6,7 +6,7 @@ "keywords": [], "author": "Thomas Niebojewski", "license": "MIT", - "dependencies": { + "devDependencies": { "@typescript-eslint/parser": "^7.2.0", "@typescript-eslint/rule-tester": "^7.2.0", "@typescript-eslint/utils": "^7.2.0",