We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cef992 commit 8e75765Copy full SHA for 8e75765
scripts/publish-native.js
@@ -11,7 +11,7 @@ const cwd = process.cwd()
11
try {
12
const publishSema = new Sema(2)
13
14
- let version = '15.5.7'
+ let version = require('@next/swc/package.json').version
15
16
// Copy binaries to package folders, update version, and publish
17
let nativePackagesDir = path.join(cwd, 'crates/napi/npm')
@@ -79,7 +79,7 @@ const cwd = process.cwd()
79
})
80
)
81
82
- // // Update name/version of wasm packages and publish
+ // Update name/version of wasm packages and publish
83
const pkgDirectory = 'crates/wasm'
84
let wasmDir = path.join(cwd, pkgDirectory)
85
await Promise.all(
0 commit comments