Skip to content

Commit

Permalink
chore: bump version (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
wre232114 authored Feb 20, 2023
1 parent 15396c9 commit 3c98493
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @farmfe/core

## 0.1.2

### Patch Changes

- Bump versin

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farmfe/core",
"version": "0.1.1",
"version": "0.1.2",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
Expand Down
15 changes: 14 additions & 1 deletion scripts/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,17 @@ import { execSync } from "child_process";
// build node packages
execSync("npm run build", { stdio: "inherit" });
// publish node packages
execSync("npx changeset publish", { stdio: "inherit" });
execSync("npx changeset publish", { stdio: "inherit" });

// publish all packages under packages/core/npm
// TODO: investigate why napi prepublish doesn't work
const packages = [
'darwin-x64',
'darwin-arm64',
'linux-x64-gnu',
'win32-x64-msvc',
];

packages.forEach((pkg) => {
execSync(`npm publish packages/core/npm/${pkg}`, { stdio: "inherit" });
});

0 comments on commit 3c98493

Please sign in to comment.