Skip to content

Commit d422aad

Browse files
feat(grep): move cypress-grep to @cypress/grep (#23887)
move cypress-grep to @cypress/grep
1 parent a5ec234 commit d422aad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+2362
-14
lines changed

.circleci/config.yml

+14
Original file line numberDiff line numberDiff line change
@@ -1888,6 +1888,20 @@ jobs:
18881888
path: npm/xpath/test_results
18891889
- store-npm-logs
18901890

1891+
npm-grep:
1892+
<<: *defaults
1893+
resource_class: small
1894+
steps:
1895+
- restore_cached_workspace
1896+
- run:
1897+
name: Run tests
1898+
command: yarn workspace @cypress/grep cy:run
1899+
- store_test_results:
1900+
path: npm/grep/test_results
1901+
- store_artifacts:
1902+
path: npm/grep/test_results
1903+
- store-npm-logs
1904+
18911905
npm-create-cypress-tests:
18921906
<<: *defaults
18931907
resource_class: small

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ npm/cypress-schematic/src/**/*.js
7474
# The global eslint configuration is not set up to parse vue@2 files
7575
/npm/vue2/**/*.vue
7676

77+
npm/grep/cypress
78+
7779
packages/data-context/test/unit/codegen/files
7880
packages/config/test/__fixtures__/**/*
7981
packages/config/test/__babel_fixtures__/**/*

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ system-tests/lib/fixtureDirs.ts
8080

8181
# from npm/xpath
8282
/npm/xpath/cypress/videos
83+
# from npm/grep
84+
/npm/grep/cypress/videos
8385

8486
# from errors
8587
/packages/errors/__snapshot-images__

npm/grep/.eslintrc

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"plugins": [
3+
"cypress"
4+
],
5+
"extends": [
6+
"plugin:@cypress/dev/tests"
7+
],
8+
"env": {
9+
"cypress/globals": true
10+
},
11+
"rules": {
12+
"mocha/no-global-tests": "off",
13+
"no-unused-vars": "off",
14+
"no-console": "off",
15+
"@typescript-eslint/no-unused-vars": "off",
16+
"no-restricted-syntax": "off"
17+
}
18+
}

npm/grep/.releaserc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
...require('../../.releaserc.base'),
3+
}

0 commit comments

Comments
 (0)