Skip to content

Commit

Permalink
Merge pull request #3 from MrSquaare/bump-packages
Browse files Browse the repository at this point in the history
build: bump packages
  • Loading branch information
MrSquaare authored Sep 8, 2024
2 parents 740c694 + fd53c24 commit 3954c65
Show file tree
Hide file tree
Showing 24 changed files with 3,975 additions and 7,436 deletions.
7 changes: 7 additions & 0 deletions .changeset/fair-meals-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@mrsquaare/sandwich-ui": patch
"@sandwich-ui/storybook": patch
"@sandwich-ui/docs": patch
---

Bump packages, migrate to ESLint v9
35 changes: 0 additions & 35 deletions .eslintrc.js

This file was deleted.

1 change: 0 additions & 1 deletion docs.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile

FROM base AS build

COPY ./.eslintrc.js ./.eslintrc.js
COPY ./turbo.json ./turbo.json
COPY ./docs ./docs
RUN pnpm build
Expand Down
5 changes: 0 additions & 5 deletions docs/.eslintrc.cjs

This file was deleted.

File renamed without changes.
9 changes: 9 additions & 0 deletions docs/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import astro from "eslint-plugin-astro";

import rootConfig from "../eslint.config.mjs";

export default [
{ ignores: ["dist", ".astro"] },
...rootConfig,
...astro.configs.recommended,
];
25 changes: 14 additions & 11 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,22 @@
"clean": "rimraf dist/ .astro/"
},
"dependencies": {
"@astrojs/check": "^0.7.0",
"@astrojs/starlight": "^0.24.3",
"astro": "^4.10.3",
"sharp": "^0.33.4",
"typescript": "^5.4.5"
"@astrojs/check": "^0.9.3",
"@astrojs/starlight": "^0.27.1",
"astro": "^4.15.4",
"sharp": "^0.33.5",
"typescript": "^5.5.4"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-astro": "^1.2.2",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"rimraf": "^5.0.7"
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-astro": "^1.2.3",
"eslint-plugin-import-x": "^4.2.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react-hooks": "5.1.0-rc-fb9a90fa48-20240614",
"globals": "^15.9.0",
"rimraf": "^6.0.1",
"typescript-eslint": "^8.4.0"
}
}
25 changes: 25 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import js from "@eslint/js";
import importX from "eslint-plugin-import-x";
import prettier from "eslint-plugin-prettier/recommended";
import ts from "typescript-eslint";

export default [
{ files: ["**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}"] },
js.configs.recommended,
...ts.configs.recommended,
importX.flatConfigs.recommended,
importX.flatConfigs.typescript,
prettier,
{
rules: {
"import-x/no-unresolved": "off",
"import-x/order": [
"warn",
{
alphabetize: { order: "asc", caseInsensitive: true },
"newlines-between": "always",
},
],
},
},
];
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.5",
"npm-check-updates": "^16.14.20",
"rimraf": "^5.0.7",
"turbo": "^2.0.4"
"@changesets/cli": "^2.27.8",
"npm-check-updates": "^17.1.1",
"rimraf": "^6.0.1",
"turbo": "^2.1.1"
},
"engines": {
"node": ">=18"
},
"packageManager": "pnpm@9.4.0"
"packageManager": "pnpm@9.9.0"
}
Loading

0 comments on commit 3954c65

Please sign in to comment.