Skip to content

Commit cbd9614

Browse files
authored
Merge branch 'main' into suppress/webpack-warnings
2 parents 8832c97 + 28771a1 commit cbd9614

File tree

9 files changed

+16
-4
lines changed

9 files changed

+16
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Node.js
3636
uses: actions/setup-node@v4
3737
with:
38-
node-version: 22
38+
node-version-file: .node-version
3939
- name: Cypress Component Tests
4040
uses: cypress-io/github-action@v6
4141
with:

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

angular-standalone/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{
44
"compileOnSave": false,
55
"compilerOptions": {
6+
"baseUrl": "./",
67
"outDir": "./dist/out-tsc",
78
"strict": true,
89
"noImplicitOverride": true,

angular/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{
44
"compileOnSave": false,
55
"compilerOptions": {
6+
"baseUrl": "./",
67
"outDir": "./dist/out-tsc",
78
"strict": true,
89
"noImplicitOverride": true,

react-next14-ts/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"baseUrl": "./",
34
"lib": ["dom", "dom.iterable", "esnext"],
45
"allowJs": true,
56
"skipLibCheck": true,

react-next15-ts/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"baseUrl": "./",
34
"target": "ES2017",
45
"lib": ["dom", "dom.iterable", "esnext"],
56
"allowJs": true,

react-vite-ts/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"baseUrl": "./",
34
"target": "ESNext",
45
"useDefineForClassFields": true,
56
"lib": ["DOM", "DOM.Iterable", "ESNext"],

readme.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ This repo contains several examples of the
44
[Cypress Component Testing Getting Started app](https://docs.cypress.io/guides/component-testing/writing-your-first-component-test)
55
in various frameworks and libraries.
66

7-
To get started with an example, clone the repo, go into the desired directory,
8-
and `npm install`, and then run the application as you normally would for that
9-
framework (see the folders readme file).
7+
To get started with an example, first clone the repo.
8+
9+
Use the recommended version of [Node.js](https://nodejs.org/en/) as shown by the file [.node-version](./.node-version) contents.
10+
The repo [node-version-usage](https://github.com/shadowspawn/node-version-usage) contains a list of Node.js version managers that read and use the contents of a [.node-version](./.node-version) file to install and use the specified version.
11+
12+
Go into the desired directory, execute `npm install`,
13+
and then run the application as you normally would for that
14+
framework (see the folder's readme file).

vue3-vite-ts/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"baseUrl": "./",
34
"target": "esnext",
45
"useDefineForClassFields": true,
56
"module": "esnext",

0 commit comments

Comments
 (0)