Skip to content

Commit

Permalink
chore(@cypress/vue): fix type testing script (#30173)
Browse files Browse the repository at this point in the history
* chore(@cypress/vue): fix type testing script

* add vue shim

* rename `tsconfig.json`

* optimize
  • Loading branch information
mrazauskas authored Sep 5, 2024
1 parent 7337927 commit bccd15b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion npm/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cy:run": "node ../../scripts/cypress.js run --component --project ${PWD}",
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue .",
"test": "yarn cy:run",
"tsd": "yarn build && yarn tsc -p test-tsd/tsconfig.tsd.json",
"tsd": "yarn build && yarn tsc -p test-tsd/tsconfig.json",
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
},
"devDependencies": {
Expand Down
5 changes: 5 additions & 0 deletions npm/vue/test-tsd/shims-vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
declare module '*.vue' {
import { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}
11 changes: 11 additions & 0 deletions npm/vue/test-tsd/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"noEmit": true,
"skipLibCheck": true,
},
"exclude": [],
"include": [
"**/*"
]
}
16 changes: 0 additions & 16 deletions npm/vue/test-tsd/tsconfig.tsd.json

This file was deleted.

5 comments on commit bccd15b

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on bccd15b Sep 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.14.3/linux-arm64/develop-bccd15b8ac2c9e627ee2f7ff5c9ff247bf1254a6/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on bccd15b Sep 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.14.3/linux-x64/develop-bccd15b8ac2c9e627ee2f7ff5c9ff247bf1254a6/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on bccd15b Sep 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.14.3/win32-x64/develop-bccd15b8ac2c9e627ee2f7ff5c9ff247bf1254a6/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on bccd15b Sep 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.14.3/darwin-arm64/develop-bccd15b8ac2c9e627ee2f7ff5c9ff247bf1254a6/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on bccd15b Sep 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.14.3/darwin-x64/develop-bccd15b8ac2c9e627ee2f7ff5c9ff247bf1254a6/cypress.tgz

Please sign in to comment.