chore(deps): update js dependencies (#2467)

* chore(deps): update js dependencies

* Bump pnpm version in github actions
This commit is contained in:
Tony
2025-02-27 11:24:53 +08:00
committed by GitHub
parent 7527a3465a
commit 39c022eea2
13 changed files with 343 additions and 582 deletions
+4 -4
View File
@@ -2,9 +2,9 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { readFileSync } from 'fs'
import { join } from 'path'
import { cwd } from 'process'
import { readFileSync } from 'node:fs'
import { dirname, join } from 'node:path'
import { cwd } from 'node:process'
import { nodeResolve } from '@rollup/plugin-node-resolve'
import typescript from '@rollup/plugin-typescript'
import terser from '@rollup/plugin-terser'
@@ -53,7 +53,7 @@ export function createConfig(options = {}) {
plugins: [
typescript({
declaration: true,
declarationDir: `./${pkg.exports.import.split('/')[0]}`
declarationDir: dirname(pkg.exports.import)
})
],
external: [