Skip to content

Commit ade5958

Browse files
authored
feat: annouce release (#504)
1 parent 8e4df87 commit ade5958

File tree

9 files changed

+998
-432
lines changed

9 files changed

+998
-432
lines changed

.eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
}
2525
},
2626
"rules": {
27+
"react/react-in-jsx-scope": "off",
2728
"@typescript-eslint/naming-convention": [
2829
"error",
2930
{

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"node": ">=18.x <=20.x"
4545
},
4646
"dependencies": {
47-
"@dvcorg/gatsby-theme-iterative": "0.3.10",
47+
"@dvcorg/gatsby-theme-iterative": "0.3.20",
4848
"@dvcorg/websites-server": "^0.1.1",
4949
"@emotion/react": "^11.10.5",
5050
"@emotion/styled": "^11.10.5",

src/@dvcorg/gatsby-theme-iterative/components/Documentation/Layout/SearchForm/index.tsx

-7
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@ import { loadResource } from '@dvcorg/gatsby-theme-iterative/src/utils/front/res
44

55
import * as styles from '@dvcorg/gatsby-theme-iterative/src/components/Documentation/Layout/SearchForm/styles.module.css'
66

7-
declare global {
8-
// eslint-disable-next-line @typescript-eslint/naming-convention
9-
interface Window {
10-
docsearch?: (opts: object) => void
11-
}
12-
}
13-
147
const apiKey = '3e17d424c7a90fede27b848fb01c0dc2'
158
const appId = '1O03WAGL0D'
169
const indexName = 'cml'

src/@dvcorg/gatsby-theme-iterative/components/MainLayout/index.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import MainLayout from '@dvcorg/gatsby-theme-iterative/src/components/MainLayout'
32

43
import ModesProvider from '../../../../components/organisms/SwitchableMode/Provider'

src/components/pages/NotFound/index.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import React from 'react'
2-
31
import * as styles from './styles.module.css'
42

53
const NotFound = () => (

src/pages/404.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import MainLayout from '@dvcorg/gatsby-theme-iterative/src/components/MainLayout'
32
import { PageProps } from 'gatsby'
43

src/typings.ts

-52
This file was deleted.

tsconfig.json

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"compilerOptions": {
3-
"target": "es5",
3+
"target": "ESNext",
44
"module": "commonjs",
55
"resolveJsonModule": true,
6-
"lib": ["dom", "es2015", "es2017"],
7-
"jsx": "react",
6+
"lib": ["dom", "ESNext"],
7+
"jsx": "react-jsx",
88
"sourceMap": true,
99
"strict": true,
1010
"noImplicitAny": true,
@@ -18,7 +18,12 @@
1818
"noFallthroughCasesInSwitch": true,
1919
"allowSyntheticDefaultImports": true,
2020
"allowJs": true,
21-
"alwaysStrict": true
21+
"alwaysStrict": true,
22+
"noEmit": true
2223
},
23-
"include": ["./src/**/*", "./*.js"]
24+
"include": [
25+
"node_modules/@dvcorg/gatsby-theme-iterative",
26+
"./src/**/*",
27+
"./*.js"
28+
]
2429
}

0 commit comments

Comments
 (0)