Skip to content

Commit

Permalink
feat(grep): move cypress-grep to @cypress/grep (cypress-io#23887)
Browse files Browse the repository at this point in the history
move cypress-grep to @cypress/grep
  • Loading branch information
jordanpowell88 authored Sep 26, 2022
1 parent a5ec234 commit d422aad
Show file tree
Hide file tree
Showing 80 changed files with 2,362 additions and 14 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1888,6 +1888,20 @@ jobs:
path: npm/xpath/test_results
- store-npm-logs

npm-grep:
<<: *defaults
resource_class: small
steps:
- restore_cached_workspace
- run:
name: Run tests
command: yarn workspace @cypress/grep cy:run
- store_test_results:
path: npm/grep/test_results
- store_artifacts:
path: npm/grep/test_results
- store-npm-logs

npm-create-cypress-tests:
<<: *defaults
resource_class: small
Expand Down
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ npm/cypress-schematic/src/**/*.js
# The global eslint configuration is not set up to parse vue@2 files
/npm/vue2/**/*.vue

npm/grep/cypress

packages/data-context/test/unit/codegen/files
packages/config/test/__fixtures__/**/*
packages/config/test/__babel_fixtures__/**/*
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ system-tests/lib/fixtureDirs.ts

# from npm/xpath
/npm/xpath/cypress/videos
# from npm/grep
/npm/grep/cypress/videos

# from errors
/packages/errors/__snapshot-images__
Expand Down
18 changes: 18 additions & 0 deletions npm/grep/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"plugins": [
"cypress"
],
"extends": [
"plugin:@cypress/dev/tests"
],
"env": {
"cypress/globals": true
},
"rules": {
"mocha/no-global-tests": "off",
"no-unused-vars": "off",
"no-console": "off",
"@typescript-eslint/no-unused-vars": "off",
"no-restricted-syntax": "off"
}
}
3 changes: 3 additions & 0 deletions npm/grep/.releaserc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
...require('../../.releaserc.base'),
}
Loading

0 comments on commit d422aad

Please sign in to comment.