Skip to content

Commit 5112bb2

Browse files
committed
fix: drop some pkgs
1 parent 77f7208 commit 5112bb2

13 files changed

+11
-15
lines changed

benchmark/complex-jit-aot.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
clearCompileCache
1111
} from '@intlify/core-base'
1212
import { createI18n } from 'vue-i18n'
13-
import { resolve, dirname } from 'pathe'
13+
import { resolve, dirname } from 'path'
1414
import { readJson, displayMemoryUsage } from './utils.mjs'
1515

1616
const { require } = createCommonJS(import.meta.url)

benchmark/complex-jit.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
clearCompileCache
1010
} from '@intlify/core-base'
1111
import { createI18n } from 'vue-i18n'
12-
import { resolve, dirname } from 'pathe'
12+
import { resolve, dirname } from 'path'
1313
import { readJson, displayMemoryUsage } from './utils.mjs'
1414

1515
const { require } = createCommonJS(import.meta.url)

benchmark/complex.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
clearCompileCache
66
} from '@intlify/core-base'
77
import { createI18n } from 'vue-i18n'
8-
import { resolve, dirname } from 'pathe'
8+
import { resolve, dirname } from 'path'
99
import { readJson, displayMemoryUsage } from './utils.mjs'
1010

1111
const { require } = createCommonJS(import.meta.url)

benchmark/simple-jit-aot.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
clearCompileCache
1111
} from '@intlify/core-base'
1212
import { createI18n } from 'vue-i18n'
13-
import { resolve, dirname } from 'pathe'
13+
import { resolve, dirname } from 'path'
1414
import { readJson, displayMemoryUsage } from './utils.mjs'
1515

1616
const { require } = createCommonJS(import.meta.url)

benchmark/simple-jit.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
clearCompileCache
1010
} from '@intlify/core-base'
1111
import { createI18n } from 'vue-i18n'
12-
import { resolve, dirname } from 'pathe'
12+
import { resolve, dirname } from 'path'
1313
import { readJson, displayMemoryUsage } from './utils.mjs'
1414

1515
const { require } = createCommonJS(import.meta.url)

benchmark/simple.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
clearCompileCache
66
} from '@intlify/core-base'
77
import { createI18n } from 'vue-i18n'
8-
import { resolve, dirname } from 'pathe'
8+
import { resolve, dirname } from 'path'
99
import { readJson, displayMemoryUsage } from './utils.mjs'
1010

1111
const { require } = createCommonJS(import.meta.url)

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@
102102
"fixpack": "^4.0.0",
103103
"globals": "^15.0.0",
104104
"globby": "^14.0.1",
105-
"jiti": "^1.21.0",
106105
"js-yaml": "^4.1.0",
107106
"jsdom": "^24.0.0",
108107
"lint-staged": "^15.2.2",

pnpm-lock.yaml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pnpm build core --formats cjs
1616

1717
import { promisify } from 'node:util'
1818
import { promises as fs } from 'node:fs'
19-
import path from 'pathe'
19+
import path from 'node:path'
2020
import pc from 'picocolors'
2121
import execa from 'execa'
2222
import os from 'node:os'

scripts/fixpack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pc from 'picocolors'
22
// @ts-ignore
33
import fixpack from 'fixpack'
4-
import { resolve, dirname } from 'pathe'
4+
import { resolve, dirname } from 'node:path'
55
import rc from 'rc'
66
import { targets, readJson } from './utils'
77
// eslint-disable-next-line @typescript-eslint/no-floating-promises

0 commit comments

Comments
 (0)