Skip to content

Commit bc95b33

Browse files
committed
[release] couple next and @next/swc versions
1 parent 3a243b7 commit bc95b33

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
33
"changelog": "@changesets/cli/changelog",
44
"commit": false,
5-
"fixed": [],
5+
"fixed": [["next", "@next/swc"]],
66
"linked": [],
77
"access": "public",
88
"baseBranch": "canary",

scripts/publish-native.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ const cwd = process.cwd()
1111
try {
1212
const publishSema = new Sema(2)
1313

14-
let version = JSON.parse(
15-
await readFile(path.join(cwd, 'lerna.json'))
16-
).version
14+
let version = require('@next/swc/package.json').version
1715

1816
// Copy binaries to package folders, update version, and publish
1917
let nativePackagesDir = path.join(cwd, 'crates/napi/npm')

0 commit comments

Comments
 (0)