Skip to content

Commit

Permalink
release: v1.0.0-beta.21
Browse files Browse the repository at this point in the history
  • Loading branch information
pikax committed Mar 27, 2021
1 parent f1aac0d commit 2fea76e
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 27 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# [1.0.0-beta.21](https://github.com/pikax/vue-composable/compare/v1.0.0-beta.20...v1.0.0-beta.21) (2021-03-27)

### Bug Fixes

- **usePromise:** last promise would never be mark as complete ([bd03e00](https://github.com/pikax/vue-composable/commit/bd03e0098f2ee2c38f4791856e90e6e1ebed54ef))
- import.meta SSR ([aafc3e1](https://github.com/pikax/vue-composable/commit/aafc3e1ef6e7d9e1d364c6ed955bf67675f23362))

### Features

- **useVModel:** Set to throw error if current instance is undefined ([#819](https://github.com/pikax/vue-composable/issues/819)) ([f352cf5](https://github.com/pikax/vue-composable/commit/f352cf5c0df711856e1ebfbb45c0fd82223b927b))

# [1.0.0-beta.21](https://github.com/pikax/vue-composable/compare/v1.0.0-beta.20...v1.0.0-beta.21) (2021-03-27)

### Bug Fixes

- **usePromise:** last promise would never be mark as complete ([bd03e00](https://github.com/pikax/vue-composable/commit/bd03e0098f2ee2c38f4791856e90e6e1ebed54ef))
- import.meta SSR ([aafc3e1](https://github.com/pikax/vue-composable/commit/aafc3e1ef6e7d9e1d364c6ed955bf67675f23362))

### Features

- **useVModel:** Set to throw error if current instance is undefined ([#819](https://github.com/pikax/vue-composable/issues/819)) ([f352cf5](https://github.com/pikax/vue-composable/commit/f352cf5c0df711856e1ebfbb45c0fd82223b927b))

# [1.0.0-beta.20](https://github.com/pikax/vue-composable/compare/v1.0.0-beta.19...v1.0.0-beta.20) (2021-03-06)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0-beta.20",
"version": "1.0.0-beta.21",
"name": "vue-composable-monorepo",
"workspaces": [
"packages/*"
Expand Down
10 changes: 3 additions & 7 deletions packages/axios/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue-composable/axios",
"version": "1.0.0-beta.20",
"version": "1.0.0-beta.21",
"description": "@vue-composable/axios",
"main": "index.js",
"module": "dist/axios.esm-bundler.js",
Expand Down Expand Up @@ -45,7 +45,7 @@
"vue-composable-axios-fix": "./scripts/postinstall.js"
},
"dependencies": {
"vue-composable": "^1.0.0-beta.20"
"vue-composable": "^1.0.0-beta.21"
},
"peerDependencies2": {
"@vue/composition-api": "^1.0.0-beta.14",
Expand All @@ -60,9 +60,5 @@
"@types/node": "^14.14.36",
"@vue/runtime-core": "^3.0.7",
"typescript": "^4.2.3"
},
"peerDependencies": {
"@vue/runtime-core": "^3.0.0",
"axios": "^0.22.0"
}
}
}
11 changes: 3 additions & 8 deletions packages/cookie/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue-composable/cookie",
"version": "1.0.0-beta.20",
"version": "1.0.0-beta.21",
"description": "@vue-composable/cookie",
"main": "index.js",
"module": "dist/cookie.esm-bundler.js",
Expand Down Expand Up @@ -45,7 +45,7 @@
"vue-composable-cookie-fix": "./scripts/postinstall.js"
},
"dependencies": {
"vue-composable": "^1.0.0-beta.20"
"vue-composable": "^1.0.0-beta.21"
},
"peerDependencies2": {
"@vue/composition-api": "^1.0.0-beta.14",
Expand All @@ -62,10 +62,5 @@
"@types/node": "^14.14.36",
"@vue/runtime-core": "^3.0.7",
"typescript": "^4.2.3"
},
"peerDependencies": {
"@vue/runtime-core": "^3.0.0",
"@types/js-cookie": "^2.2.6",
"js-cookie": "^2.2.1"
}
}
}
6 changes: 3 additions & 3 deletions packages/cookie/scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const AgentCommands = {
npm: "npm i",
yarn: "yarn add",
pnpm: "pnpm add",
cnpm: "cnpm i",
cnpm: "cnpm i"
};

function loadModule(name) {
Expand All @@ -28,7 +28,7 @@ function installModules(names) {
names = Array.isArray(names) ? names : [names];
execSync(`${command} ${names.join(" ")}`, {
stdio: "inherit",
cwd: userRoot,
cwd: userRoot
});
}

Expand All @@ -52,7 +52,7 @@ function switchVersion(version) {
}
const files = fs.readdirSync(versionPath);

files.forEach((f) => {
files.forEach(f => {
fs.copyFileSync(path.join(versionPath, f), path.join(dist, f));
});

Expand Down
7 changes: 2 additions & 5 deletions packages/vue-composable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-composable",
"version": "1.0.0-beta.20",
"version": "1.0.0-beta.21",
"description": "vue-composable",
"main": "index.js",
"module": "dist/vue-composable.esm-bundler.js",
Expand Down Expand Up @@ -52,8 +52,5 @@
"peerDependencies2": {
"@vue/composition-api": "^1.0.0-beta.14",
"vue": "^2.6.10"
},
"peerDependencies": {
"@vue/runtime-core": "^3.0.0"
}
}
}
6 changes: 3 additions & 3 deletions packages/vue-composable/scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const AgentCommands = {
npm: "npm i",
yarn: "yarn add",
pnpm: "pnpm add",
cnpm: "cnpm i",
cnpm: "cnpm i"
};

function loadModule(name) {
Expand All @@ -28,7 +28,7 @@ function installModules(names) {
names = Array.isArray(names) ? names : [names];
execSync(`${command} ${names.join(" ")}`, {
stdio: "inherit",
cwd: userRoot,
cwd: userRoot
});
}

Expand All @@ -52,7 +52,7 @@ function switchVersion(version) {
}
const files = fs.readdirSync(versionPath);

files.forEach((f) => {
files.forEach(f => {
fs.copyFileSync(path.join(versionPath, f), path.join(dist, f));
});

Expand Down

0 comments on commit 2fea76e

Please sign in to comment.