Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency unplugin to v2 #54

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(deps): update dependency unplugin to v2
renovate[bot] authored Dec 16, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit e1662afe1b3a4446929886117c03119b5119e5c4
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -80,7 +80,7 @@
"@vue/babel-preset-jsx": "^1.4.0",
"local-pkg": "^0.5.0",
"magic-string": "^0.30.10",
"unplugin": "^1.10.1"
"unplugin": "^2.1.0"
},
"devDependencies": {
"@sxzz/eslint-config": "^4.1.1",
509 changes: 94 additions & 415 deletions pnpm-lock.yaml

Unchanged files with check annotations Beta

import process from 'node:process'
import { getPackageInfo } from 'local-pkg'
import type { VueJSXPluginOptions } from '@vue/babel-plugin-jsx'
import type { FilterPattern } from '@rollup/pluginutils'

Check warning on line 4 in src/core/options.ts

GitHub Actions / lint

Expected "@rollup/pluginutils" to come before "@vue/babel-plugin-jsx"
export type Vue2JSXOptions = {
functional?: boolean
import { type TransformOptions, transform } from '@babel/core'

Check warning on line 1 in src/core/vue2.ts

GitHub Actions / lint

Expected "transform" to come before "TransformOptions"
// @ts-expect-error
import TS from '@babel/plugin-syntax-typescript'
// @ts-expect-error
import { type TransformOptions, transform } from '@babel/core'

Check warning on line 1 in src/core/vue3.ts

GitHub Actions / lint

Expected "transform" to come before "TransformOptions"
import vue3Jsx from '@vue/babel-plugin-jsx'
// @ts-expect-error
import TS from '@babel/plugin-syntax-typescript'

Check warning on line 4 in src/core/vue3.ts

GitHub Actions / lint

Expected "@babel/plugin-syntax-typescript" to come before "@vue/babel-plugin-jsx"
import { isTS } from './utils'
import type { OptionsResolved } from './options'
import { type UnpluginOptions, createUnplugin } from 'unplugin'

Check warning on line 1 in src/index.ts

GitHub Actions / lint

Expected "createUnplugin" to come before "UnpluginOptions"
import { createFilter } from '@rollup/pluginutils'

Check warning on line 2 in src/index.ts

GitHub Actions / lint

Expected "@rollup/pluginutils" to come before "unplugin"
import {
type Options,
type OptionsResolved,
resolveOption,

Check warning on line 6 in src/index.ts

GitHub Actions / lint

Expected "resolveOption" to come before "OptionsResolved"
} from './core/options'
export default createUnplugin<Options | undefined>((userOptions = {}) => {
import { describe, expect, test } from 'vitest'
import { type Options, resolveOption } from '../src/core/options'

Check warning on line 2 in tests/vue2.test.ts

GitHub Actions / lint

Expected "resolveOption" to come before "Options"
import { transformVue2 } from '../src/core/vue2'
const transform = async (code: string, userOptions: Options = {}) => {
import { describe, expect, test } from 'vitest'
import { type Options, resolveOption } from '../src/core/options'

Check warning on line 2 in tests/vue3.test.ts

GitHub Actions / lint

Expected "resolveOption" to come before "Options"
import { transformVue3 } from '../src/core/vue3'
const transform = async (