Skip to content

Commit ecbada3

Browse files
authored
Merge pull request #1725 from silx-kit/tsconfig-star
Let each project lint its own setup files
2 parents deed603 + 3d1d0c1 commit ecbada3

File tree

13 files changed

+17
-11
lines changed

13 files changed

+17
-11
lines changed

.github/workflows/lint-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,20 @@ jobs:
8484
uses: actions/cache@v4
8585
with:
8686
path: ~/.local
87-
key: poetry-0 # increment to reset cache
87+
key: poetry-1 # increment to reset cache
8888

8989
- name: Install Poetry 📜
9090
if: steps.poetry.outputs.cache-hit != 'true'
9191
uses: snok/install-poetry@v1
92+
with:
93+
version: 1.8.5
9294

9395
- name: Restore Poetry environments 📌
9496
id: poetry-venvs
9597
uses: actions/cache@v4
9698
with:
9799
path: ~/.cache/pypoetry/virtualenvs
98-
key: poetry-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-1 # increment to reset cache
100+
key: poetry-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-3 # increment to reset cache
99101

100102
- name: Create Poetry environments 📜
101103
if: steps.poetry-venvs.outputs.cache-hit != 'true'

apps/demo/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"include": ["src"]
3+
"include": ["*", "src"]
44
}

apps/storybook/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"include": [".storybook/**/*", "src"]
3+
"include": ["*", ".storybook/**/*", "src"]
44
}

cypress/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"extends": "../tsconfig.json",
3+
"include": ["*", "e2e"],
34
"compilerOptions": {
45
"isolatedModules": false,
56
"sourceMap": false,
@@ -8,6 +9,5 @@
89
"@testing-library/cypress",
910
"@simonsmith/cypress-image-snapshot/types"
1011
]
11-
},
12-
"include": ["*", "e2e"]
12+
}
1313
}

packages/app/tsconfig.build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"extends": "./tsconfig.json",
3+
"include": ["src"],
34
"exclude": ["**/*.test.ts"],
45
"compilerOptions": {
56
"rootDir": "src",

packages/app/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"include": ["src"]
3+
"include": ["*", "src"]
44
}

packages/h5wasm/tsconfig.build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"extends": "./tsconfig.json",
3+
"include": ["src"],
34
"compilerOptions": {
45
"rootDir": "src",
56
"outDir": "dist-ts",

packages/h5wasm/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"include": ["src"]
3+
"include": ["*", "src"]
44
}

packages/lib/tsconfig.build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"extends": "./tsconfig.json",
3+
"include": ["src"],
34
"exclude": ["**/*.test.ts"],
45
"compilerOptions": {
56
"rootDir": "src",

packages/lib/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"include": ["src"]
3+
"include": ["*", "src"]
44
}

0 commit comments

Comments
 (0)