Skip to content

Commit

Permalink
Chore(deps): Bump packages
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Dec 1, 2024
1 parent d0991f5 commit 842689a
Show file tree
Hide file tree
Showing 32 changed files with 2,059 additions and 1,675 deletions.
925 changes: 0 additions & 925 deletions .yarn/releases/yarn-4.5.0.cjs

This file was deleted.

934 changes: 934 additions & 0 deletions .yarn/releases/yarn-4.5.3.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
spec: "https://mskelton.dev/yarn-outdated/v3"

yarnPath: .yarn/releases/yarn-4.5.0.cjs
yarnPath: .yarn/releases/yarn-4.5.3.cjs
10 changes: 5 additions & 5 deletions configs/eslint-config-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
}
},
"devDependencies": {
"@eslint/js": "^9.11.1",
"@typescript-eslint/parser": "^8.7.0",
"@eslint/js": "^9.16.0",
"@typescript-eslint/parser": "^8.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-yml": "^1.14.0",
"globals": "^15.9.0",
"eslint-plugin-yml": "^1.16.0",
"globals": "^15.13.0",
"prettier-config-custom": "workspace:^",
"typescript-eslint": "^8.7.0",
"typescript-eslint": "^8.17.0",
"yaml-eslint-parser": "^1.2.3"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions configs/vite-config-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"devDependencies": {
"prettier-config-custom": "workspace:^",
"vite-config-builder": "^0.0.2",
"vite-plugin-dts": "^4.2.2",
"vite-plugin-dts": "^4.3.0",
"vite-plugin-externalize-deps": "^0.8.0",
"vite-tsconfig-paths": "^5.0.1"
"vite-tsconfig-paths": "^5.1.3"
},
"peerDependencies": {
"vite": "*"
Expand Down
34 changes: 17 additions & 17 deletions examples/react-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@eslint/compat": "^1.1.1",
"@eslint/js": "^9.11.1",
"@eslint/compat": "^1.2.3",
"@eslint/js": "^9.16.0",
"@mincho-js/css": "workspace:^",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@vanilla-extract/css": "^1.15.5",
"@vanilla-extract/esbuild-plugin": "^2.3.10",
"@vanilla-extract/vite-plugin": "^4.0.15",
"@vitejs/plugin-react-swc": "^3.7.1",
"eslint": "^9.11.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.12",
"globals": "^15.9.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.7.0",
"vite": "^5.4.8"
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@vanilla-extract/css": "^1.16.1",
"@vanilla-extract/esbuild-plugin": "^2.3.12",
"@vanilla-extract/vite-plugin": "^4.0.18",
"@vitejs/plugin-react-swc": "^3.7.2",
"eslint": "^9.16.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.16",
"globals": "^15.13.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.17.0",
"vite": "^6.0.2"
}
}
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mincho",
"type": "module",
"private": true,
"packageManager": "yarn@4.5.0",
"packageManager": "yarn@4.5.3",
"workspaces": [
"configs/*",
"packages/*",
Expand Down Expand Up @@ -40,28 +40,28 @@
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.8",
"@changesets/cli": "^2.27.10",
"@mincho-js/debug-log": "workspace:^",
"@types/eslint": "^9.6.1",
"@types/node": "^22.7.4",
"@types/node": "^22.10.1",
"@typescript/analyze-trace": "^0.10.1",
"@vanilla-extract/vite-plugin": "^4.0.15",
"@vitest/coverage-v8": "^2.1.1",
"@vanilla-extract/vite-plugin": "^4.0.18",
"@vitest/coverage-v8": "^2.1.8",
"c8": "^10.1.2",
"eslint": "^9.11.1",
"eslint": "^9.16.0",
"eslint-config-custom": "workspace:^",
"prettier": "^3.3.3",
"prettier": "^3.4.1",
"prettier-eslint": "^16.3.0",
"rimraf": "6.0.0",
"terser": "^5.34.1",
"turbo": "^2.1.2",
"typescript": "^5.6.2",
"vite": "^5.4.8",
"vite-node": "^2.1.1",
"vitest": "^2.1.1"
"terser": "^5.36.0",
"turbo": "^2.3.3",
"typescript": "^5.7.2",
"vite": "^6.0.2",
"vite-node": "^2.1.8",
"vitest": "^2.1.8"
},
"dependencies": {
"tslib": "^2.7.0"
"tslib": "^2.8.1"
},
"resolutions": {
"csstype@^3.1.3": "patch:csstype@npm%3A3.1.3#./.yarn/patches/csstype-npm-3.1.3-e9a1c85013.patch",
Expand Down
2 changes: 1 addition & 1 deletion packages/css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"@mincho-js/transform-to-vanilla": "workspace:^"
},
"devDependencies": {
"@vanilla-extract/css": "^1.15.5",
"@vanilla-extract/css": "^1.16.1",
"eslint-config-custom": "workspace:^",
"prettier-config-custom": "workspace:^",
"tsconfig-custom": "workspace:^",
Expand Down
9 changes: 7 additions & 2 deletions packages/css/src/css/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {
transform,
replaceVariantReference,
initTransformContext,
type TransformContext
initTransformContext
} from "@mincho-js/transform-to-vanilla";
import type {
TransformContext,
CSSRule,
ComplexCSSRule,
GlobalCSSRule
Expand Down Expand Up @@ -98,7 +98,12 @@ function processVariants<T>(
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, assert, expect } = import.meta.vitest;

const debugId = "myCSS";
Expand Down
6 changes: 6 additions & 0 deletions packages/css/src/rules/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,13 @@ export function rules<
}
export const recipe = rules;

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, assert, expect } = import.meta.vitest;

const debugId = "myCSS";
Expand Down
5 changes: 5 additions & 0 deletions packages/css/src/rules/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,12 @@ export type RecipeVariants<RecipeFn extends RuntimeFn<VariantGroups>> =
RulesVariants<RecipeFn>;

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, assertType, expectTypeOf } = import.meta.vitest;

describe.concurrent("ConditionVariants Type Test", () => {
Expand Down
5 changes: 5 additions & 0 deletions packages/css/src/rules/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,12 @@ export function transformToggleVariants<
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, expect } = import.meta.vitest;

describe("mapValues", () => {
Expand Down
5 changes: 5 additions & 0 deletions packages/debug-log/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,12 @@ export function jsonExpect<T, K = T>(
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { it, expect } = import.meta.vitest;

const TEST_PASS = () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/transform-to-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"prettier": "prettier-config-custom",
"devDependencies": {
"@vanilla-extract/css": "^1.15.5",
"@vanilla-extract/css": "^1.16.1",
"eslint-config-custom": "workspace:^",
"prettier-config-custom": "workspace:^",
"tsconfig-custom": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/transform-to-vanilla/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./transform";
export { transform } from "./transform";
export {
initTransformContext,
type TransformContext
Expand Down
5 changes: 5 additions & 0 deletions packages/transform-to-vanilla/src/transform-keys/at-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ function atRuleKeyMergeByDot(firstKey: string, secondKey: string) {
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, expect } = import.meta.vitest;

describe.concurrent("Toplevel atRule", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ export function nestedSelectorKey(key: string, context: TransformContext) {
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, expect } = import.meta.vitest;

describe.concurrent("Is complex selector", () => {
Expand Down
5 changes: 5 additions & 0 deletions packages/transform-to-vanilla/src/transform-keys/css-var.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ export function replaceCSSVarKey(keyStr: string) {
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, expect } = import.meta.vitest;

describe.concurrent("Replace CSS Var value", () => {
Expand Down
5 changes: 5 additions & 0 deletions packages/transform-to-vanilla/src/transform-keys/merge-key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ export function mergeKeyInfo(keyStr: string) {
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, expect } = import.meta.vitest;

describe.concurrent("Remove Key Sign Symbol", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ function hasDoublePseudoSelector(
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, expect, expectTypeOf } = import.meta.vitest;

describe.concurrent("Replace Simple Pseudo Selectors Sign", () => {
Expand Down
5 changes: 5 additions & 0 deletions packages/transform-to-vanilla/src/transform-object/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,12 @@ function isNestedSelector(context: TransformContext) {
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, expect } = import.meta.vitest;

setFileScope("test");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,12 @@ export function processNestedResult(
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, expect } = import.meta.vitest;

setFileScope("test");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ function replaceVariantReferenceKey(
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, expect } = import.meta.vitest;

describe.concurrent("variantReference", () => {
Expand Down
5 changes: 5 additions & 0 deletions packages/transform-to-vanilla/src/transform-values/css-var.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,12 @@ function isVarChar(char: string) {
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, expect } = import.meta.vitest;

describe.concurrent("Replace CSS Var value", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,12 @@ function transformArray(
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, expect, expectTypeOf } = import.meta.vitest;

describe.concurrent("mergeToComma", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ function isPropertyKeyExist(
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, expect } = import.meta.vitest;

describe.concurrent("propertyReference", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ export function simplyImportant(value: string) {
}

// == Tests ====================================================================
// Ignore errors when compiling to CommonJS.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
if (import.meta.vitest) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
const { describe, it, expect } = import.meta.vitest;

describe.concurrent("simplyImportant", () => {
Expand Down
Loading

0 comments on commit 842689a

Please sign in to comment.