Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban committed Apr 21, 2024
1 parent 8839963 commit c61558e
Show file tree
Hide file tree
Showing 13 changed files with 333 additions and 285 deletions.
3 changes: 0 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Contributing

Please refer to [antfu/contribute](https://github.com/antfu/contribute), most of the rules are the same.

> [!NOTE]
> I use release-it and github action to release, check the [release.yml](./workflows/release.yml) for more details.
3 changes: 0 additions & 3 deletions .vscode/extensions.json

This file was deleted.

11 changes: 0 additions & 11 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},

"eslint.experimental.useFlatConfig": true,
"eslint.probe": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"json"
]
}
14 changes: 5 additions & 9 deletions docs/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import nextra from "nextra";
import remarkGithubAlerts from "remark-github-alerts";
import nextra from 'nextra'

const withNextra = nextra({
theme: "nextra-theme-docs",
themeConfig: "./theme.config.jsx",
mdxOptions: {
remarkPlugins: [remarkGithubAlerts],
},
});
theme: 'nextra-theme-docs',
themeConfig: './theme.config.jsx',
})

export default withNextra();
export default withNextra()
3 changes: 1 addition & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"nextra": "^2.13.4",
"nextra-theme-docs": "^2.13.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"remark-github-alerts": "0.1.0-beta.3"
"react-dom": "^18.2.0"
}
}
10 changes: 5 additions & 5 deletions docs/pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import "remark-github-alerts/styles/github-colors-light.css";
import "remark-github-alerts/styles/github-colors-dark-class.css";
import "remark-github-alerts/styles/github-base.css";
import "../styles.css";
import 'remark-github-alerts/styles/github-colors-light.css'
import 'remark-github-alerts/styles/github-colors-dark-class.css'
import 'remark-github-alerts/styles/github-base.css'
import '../styles.css'

// eslint-disable-next-line no-unused-vars
export default function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />;
return <Component {...pageProps} />
}
10 changes: 5 additions & 5 deletions docs/theme.config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ export default {
logo: <span style={{ fontWeight: 600 }}>release-it-pnpm</span>,
useNextSeoProps() {
return {
titleTemplate: "%s – release-it-pnpm",
};
titleTemplate: '%s – release-it-pnpm',
}
},
project: {
link: "https://github.com/hyoban/release-it-pnpm",
link: 'https://github.com/hyoban/release-it-pnpm',
},
docsRepositoryBase:
"https://github.com/hyoban/release-it-pnpm/tree/main/docs",
};
'https://github.com/hyoban/release-it-pnpm/tree/main/docs',
}
4 changes: 2 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @ts-check
import hyoban from "eslint-config-hyoban";
import hyoban from 'eslint-config-hyoban'

export default hyoban();
export default hyoban()
13 changes: 5 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
],
"scripts": {
"build": "bunchee",
"dev": "bunchee -w",
"lint": "prettier --list-different . && eslint",
"lint:fix": "prettier --list-different --write . && eslint --fix",
"dev": "bunchee --watch",
"lint": "eslint",
"lint:fix": "eslint --fix",
"prepublishOnly": "pnpm run build",
"test": "vitest",
"typecheck": "tsc"
Expand Down Expand Up @@ -81,12 +81,9 @@
"@types/semver": "^7.5.8",
"bunchee": "^5.1.2",
"eslint": "^9.1.0",
"eslint-config-hyoban": "^1.0.3",
"prettier": "^3.2.5",
"prettier-config-hyoban": "^2.0.2",
"eslint-config-hyoban": "^2.1.0",
"release-it": "^17.2.0",
"typescript": "^5.4.5",
"vitest": "^1.5.0"
},
"prettier": "prettier-config-hyoban"
}
}
Loading

0 comments on commit c61558e

Please sign in to comment.