Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
feat: annouce release (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
yathomasi authored Jul 23, 2024
1 parent d33b0b8 commit ae5aef9
Show file tree
Hide file tree
Showing 9 changed files with 1,293 additions and 222 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
}
},
"rules": {
"react/react-in-jsx-scope": "off",
"@typescript-eslint/naming-convention": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ exports.createResolvers = async ({ createResolvers }) => {
const stars = await getStars({ owner: 'iterative', repo: 'mlem' })
return { stars }
}
return { stars: 8888 }
return { stars: 719 }
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"prepare": "husky install"
},
"dependencies": {
"@dvcorg/gatsby-theme-iterative": "0.3.5",
"@dvcorg/gatsby-theme-iterative": "0.3.20",
"@dvcorg/websites-server": "0.1.1",
"@octokit/request": "6.2.4",
"autoprefixer": "10.4.14",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
import cn from 'classnames'
import React from 'react'
import SmartLink from '../../../../../components/SmartLink'
import { AlertContent } from '@dvcorg/gatsby-theme-iterative/src/components/LayoutHeader/Alert/content'

import * as styles from './index.module.css'

const Alert: React.FC<{ collapsed: boolean }> = ({ collapsed }) => (
<div className={cn(styles.alert, collapsed && styles.collapsed)}>
<div className={styles.text}>
<span className={styles.icon} role="img" aria-label="rocket">
🚀
</span>{' '}
<p>
MLEM now offers{' '}
<SmartLink href="https://iterative.ai/blog/mlem-k8s-sagemaker">
deployment to Kubernetes and Sagemaker
</SmartLink>{' '}
with a single command.
<AlertContent />
</p>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/components/Footer/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { StaticImage } from 'gatsby-plugin-image'
import React from 'react'
import SmartLink from '../SmartLink'
import FooterList, { IFooterListProps } from './FooterList'
import { ReactComponent as IterativeSvg } from '../../images/icons/iterative.svg'
Expand Down
1 change: 0 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as React from 'react'
import Home from '../components/Home'
import { PageProps } from 'gatsby'
import SEO from '@dvcorg/gatsby-theme-iterative/src/components/SEO'
Expand Down
2 changes: 1 addition & 1 deletion src/utils/hooks/useStars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function useStars(): number | null {
stars
}
}
`).staticGithubData.stars
`)?.staticGithubData?.stars

// Maintain an updatable state so we can update stars on delivery
const [stars, setStars] = useState(null)
Expand Down
23 changes: 22 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
{
"extends": "@dvcorg/gatsby-theme-iterative/tsconfig.json",
"compilerOptions": {
"target": "ESNext",
"module": "commonjs",
"resolveJsonModule": true,
"lib": ["dom", "ESNext"],
"jsx": "react-jsx",
"sourceMap": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitThis": true,
"noFallthroughCasesInSwitch": true,
"allowSyntheticDefaultImports": true,
"allowJs": true,
"alwaysStrict": true,
"noEmit": true
},
"include": [
"node_modules/@dvcorg/gatsby-theme-iterative",
"./src/**/*",
Expand Down
1,472 changes: 1,265 additions & 207 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit ae5aef9

Please sign in to comment.