Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
juanrgm committed Jul 16, 2024
1 parent 3281c8d commit bee2e07
Show file tree
Hide file tree
Showing 19 changed files with 2,269 additions and 2,846 deletions.
15 changes: 15 additions & 0 deletions .changeset/fluffy-mails-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@suid/icons-material": minor
"@suid/styled-engine": minor
"create-suid": minor
"@suid/vite-plugin": minor
"@suid/material": minor
"@suid/codemod": minor
"@suid/system": minor
"@suid/types": minor
"@suid/utils": minor
"@suid/base": minor
"@suid/site": minor
---

Update dependencies
31 changes: 0 additions & 31 deletions .eslintrc

This file was deleted.

43 changes: 43 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// @ts-check
import { includeIgnoreFile } from "@eslint/compat";
import eslint from "@eslint/js";
import globals from "globals";
import path from "node:path";
import { fileURLToPath } from "node:url";
import tseslint from "typescript-eslint";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const gitignorePath = path.resolve(__dirname, ".gitignore");

export default tseslint.config(
{
extends: [
eslint.configs.recommended,
...tseslint.configs.recommended,
includeIgnoreFile(gitignorePath),
],
rules: {
"@typescript-eslint/no-non-null-assertion": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/no-unsafe-function-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-empty-object-type": "off",
"@typescript-eslint/ban-types": "off",
},
},
{
files: [
"**/vite.config.{js,ts}",
"**/scripts/**/*.js",
".github/workflows/*.js",
".ncurc.js",
"packages/site/vite/*.{js,ts}",
],
languageOptions: {
globals: globals.node,
},
}
);
50 changes: 24 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@
"changeset": "changeset",
"check": "pnpm check:format && pnpm check:lint",
"check:format": "prettier --cache -c .",
"check:lint": "eslint --cache --ignore-path .gitignore .",
"check:lint": "eslint --cache .",
"clean": "wspa clean",
"codemod": "node --no-warnings --loader ts-node/esm packages/codemod/src/bin.ts",
"codemod": "tsx packages/codemod/src/bin.ts",
"compose": "wspa compose",
"dev": "pnpm --filter @suid/site dev",
"format": "prettier --cache -w .",
"postinstall": "wspa compose && pnpm scripts prebuild",
"prepare": "husky install",
"release": "changeset publish",
"scripts": "node --no-warnings --experimental-specifier-resolution=node --loader ts-node/esm scripts/index.ts",
"scripts": "tsx scripts/index.ts",
"start": "pnpm --filter @suid/site start",
"test": "vitest run",
"test:types": "vitest typecheck --run",
Expand All @@ -69,38 +69,36 @@
"watch": "tsc --build tsconfig.build.json -w"
},
"devDependencies": {
"@babel/core": "^7.24.3",
"@babel/preset-env": "^7.24.3",
"@babel/core": "^7.24.8",
"@babel/preset-env": "^7.24.8",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@changesets/cli": "^2.27.7",
"@eslint/compat": "^1.1.1",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@types/node": "^20.14.10",
"@wspa/cli": "^0.6.0",
"@wspa/config": "^0.3.1",
"@yarnpkg/core": "4.0.3",
"babel-preset-solid": "^1.8.16",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-solid": "^0.13.2",
"@yarnpkg/core": "4.1.1",
"babel-preset-solid": "^1.8.18",
"eslint": "^9.7.0",
"eslint-plugin-n": "^17.9.0",
"eslint-plugin-promise": "^6.4.0",
"eslint-plugin-solid": "^0.14.1",
"globals": "15.8.0",
"husky": "^9.0.11",
"jsdom": "^22.0.0",
"npm-check-updates": "^16.14.17",
"prettier": "^3.2.5",
"prettier-plugin-packagejson": "^2.4.12",
"npm-check-updates": "^16.14.20",
"prettier": "^3.3.3",
"prettier-plugin-packagejson": "^2.5.0",
"prettier-plugin-sort-json": "^4.0.0",
"solid-js": "^1.8.16",
"solid-js": "^1.8.18",
"solid-testing-library": "^0.5.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.3",
"vite": "^5.2.2",
"tsx": "^4.16.2",
"typescript": "^5.5.3",
"typescript-eslint": "^8.0.0-alpha.34",
"vite": "^5.3.3",
"vite-plugin-solid": "^2.10.2",
"vitest": "^1.4.0"
"vitest": "^2.0.2"
},
"info": "SUID is all a set of utils and components ported from MUI Core and much more.",
"x-wspa": {
Expand Down
4 changes: 2 additions & 2 deletions packages/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"@suid/system": "workspace:*",
"@suid/types": "workspace:*",
"@suid/utils": "workspace:*",
"clsx": "^2.1.0"
"clsx": "^2.1.1"
},
"peerDependencies": {
"solid-js": "^1.8.16"
"solid-js": "^1.8.18"
},
"publishConfig": {
"directory": "lib"
Expand Down
10 changes: 5 additions & 5 deletions packages/codemod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
"watch": "tsc --build -w tsconfig.build.json"
},
"dependencies": {
"@types/micromatch": "^4.0.6",
"@types/micromatch": "^4.0.9",
"commander": "^9.5.0",
"fast-glob": "^3.3.2",
"micromatch": "^4.0.5",
"prettier": "^3.2.5",
"ts-morph": "^22.0.0"
"micromatch": "^4.0.7",
"prettier": "^3.3.3",
"ts-morph": "^23.0.0"
},
"devDependencies": {
"typescript": "^5.4.3"
"typescript": "^5.5.3"
},
"publishConfig": {
"directory": "lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-suid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"chalk": "^5.3.0",
"inquirer": "^9.2.16"
"inquirer": "^10.0.1"
},
"devDependencies": {
"@types/inquirer": "^9.0.7"
Expand Down
8 changes: 4 additions & 4 deletions packages/create-suid/src/actions/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ export default async function init(defaultOutputDir?: string) {
default: "pnpm",
choices: [
{
name: "npm",
value: "npm",
},
{
name: "pnpm",
value: "pnpm",
},
],
});
Expand All @@ -69,11 +69,11 @@ export default async function init(defaultOutputDir?: string) {
message: "Select the packages",
choices: [
{
name: "@suid/material",
value: "@suid/material",
checked: true,
},
{
name: "@suid/icons-material",
value: "@suid/icons-material",
checked: true,
},
],
Expand Down
2 changes: 1 addition & 1 deletion packages/icons-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@suid/material": "workspace:*"
},
"peerDependencies": {
"solid-js": "^1.8.16"
"solid-js": "^1.8.18"
},
"publishConfig": {
"directory": "lib"
Expand Down
4 changes: 2 additions & 2 deletions packages/material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"@suid/system": "workspace:*",
"@suid/types": "workspace:*",
"@suid/utils": "workspace:*",
"clsx": "^2.1.0"
"clsx": "^2.1.1"
},
"peerDependencies": {
"solid-js": "^1.8.16"
"solid-js": "^1.8.18"
},
"publishConfig": {
"directory": "lib"
Expand Down
19 changes: 9 additions & 10 deletions packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,29 @@
"start": "vite preview"
},
"dependencies": {
"@solidjs/meta": "^0.29.3",
"@solidjs/router": "^0.13.1",
"@stackblitz/sdk": "^1.9.0",
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.14.1",
"@stackblitz/sdk": "^1.11.0",
"@suid/base": "workspace:*",
"@suid/codemod": "workspace:*",
"@suid/icons-material": "workspace:*",
"@suid/material": "workspace:*",
"@suid/system": "workspace:*",
"@suid/types": "workspace:*",
"@suid/utils": "workspace:*",
"monaco-editor": "^0.47.0",
"monaco-editor": "^0.50.0",
"prism-themes": "^1.9.0",
"prismjs": "^1.29.0",
"semver": "^7.6.0",
"solid-js": "^1.8.16"
"semver": "^7.6.2",
"solid-js": "^1.8.18"
},
"devDependencies": {
"@suid/vite-plugin": "workspace:*",
"@types/prismjs": "^1.26.3",
"@types/prismjs": "^1.26.4",
"@types/semver": "^7.5.8",
"fast-glob": "^3.3.2",
"rimraf": "^5.0.5",
"sass": "^1.72.0",
"vite": "^5.2.2",
"sass": "^1.77.8",
"vite": "^5.3.3",
"vite-plugin-solid": "^2.10.2"
},
"publishConfig": {
Expand Down
6 changes: 6 additions & 0 deletions packages/site/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ export default defineConfig({
solidPlugin({
ssr: process.env.SSR === "1" || process.env.SSR === "true",
}),
{
name: "polyfill-error",
load: (id) =>
id === "#polyfill-error" ? "throw new Error()" : undefined,
},
{
name: "prepare-deploy",
async closeBundle() {
Expand All @@ -85,6 +90,7 @@ export default defineConfig({
},
resolve: {
alias: {
perf_hooks: "#polyfill-error",
"~": resolve(__dirname, "src"),
"@suid/types": resolve(__dirname, "../types/src"),
"@suid/codemod": resolve(__dirname, "../codemod/src"),
Expand Down
2 changes: 1 addition & 1 deletion packages/styled-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@suid/utils": "workspace:*"
},
"peerDependencies": {
"solid-js": "^1.8.16"
"solid-js": "^1.8.18"
},
"publishConfig": {
"directory": "lib"
Expand Down
4 changes: 2 additions & 2 deletions packages/system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"@suid/styled-engine": "workspace:*",
"@suid/types": "workspace:*",
"@suid/utils": "workspace:*",
"clsx": "^2.1.0",
"clsx": "^2.1.1",
"csstype": "^3.1.3"
},
"peerDependencies": {
"solid-js": "^1.8.16"
"solid-js": "^1.8.18"
},
"publishConfig": {
"directory": "lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"watch": "tsc --build -w tsconfig.build.json"
},
"peerDependencies": {
"solid-js": "^1.8.16"
"solid-js": "^1.8.18"
},
"publishConfig": {
"directory": "lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@suid/types": "workspace:*"
},
"peerDependencies": {
"solid-js": "^1.8.16"
"solid-js": "^1.8.18"
},
"publishConfig": {
"directory": "lib"
Expand Down
14 changes: 7 additions & 7 deletions packages/vite-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
"build:types": "tsc -p tsconfig.build.json --emitDeclarationOnly --declarationMap false --outdir dist --declaration"
},
"dependencies": {
"@babel/generator": "^7.24.1",
"@babel/parser": "^7.24.1",
"@babel/traverse": "^7.24.1",
"@babel/types": "^7.24.0",
"@babel/generator": "^7.24.8",
"@babel/parser": "^7.24.8",
"@babel/traverse": "^7.24.8",
"@babel/types": "^7.24.8",
"@types/babel__generator": "^7.6.8",
"@types/babel__traverse": "^7.20.5"
"@types/babel__traverse": "^7.20.6"
},
"devDependencies": {
"esbuild": "^0.20.2",
"vite": "^5.1.6"
"esbuild": "^0.23.0",
"vite": "^5.3.3"
},
"peerDependencies": {
"vite": "^5.0.0"
Expand Down
Loading

0 comments on commit bee2e07

Please sign in to comment.