find-cypress-specs 1.15.1 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,6 +8,8 @@ $ npx find-cypress-specs
8
8
  cypress/e2e/spec.js,cypress/e2e/featureA/user.js
9
9
  ```
10
10
 
11
+ Supports JS and TS specs
12
+
11
13
  ## against branch
12
14
 
13
15
  By default, this module simply prints all spec filenames. You can add `--branch` parameter to only print the specs changed against that `origin/branch`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "find-cypress-specs",
3
- "version": "1.15.1",
3
+ "version": "1.16.0",
4
4
  "description": "Find Cypress spec files using the config settings",
5
5
  "main": "src",
6
6
  "files": [
@@ -43,7 +43,8 @@
43
43
  "cypress": "9.5.3",
44
44
  "execa-wrap": "^1.4.0",
45
45
  "prettier": "^2.5.1",
46
- "semantic-release": "19.0.2"
46
+ "semantic-release": "19.0.2",
47
+ "typescript": "^4.6.3"
47
48
  },
48
49
  "dependencies": {
49
50
  "arg": "^5.0.1",
package/src/index.js CHANGED
@@ -25,7 +25,7 @@ function getConfig(filename = 'cypress.json') {
25
25
  function findCypressSpecs(opts = {}) {
26
26
  const defaults = {
27
27
  integrationFolder: 'cypress/integration',
28
- testFiles: '**/*.js',
28
+ testFiles: '**/*.{js,ts}',
29
29
  ignoreTestFiles: [],
30
30
  }
31
31
  const options = {