Skip to content

Commit 092c04d

Browse files
committed
release: v1.0.0-draft.15
1 parent c34f5d0 commit 092c04d

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

Diff for: CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# [1.0.0-draft.15](https://github.com/vuex-orm/vuex-orm-next/compare/v1.0.0-draft.14...v1.0.0-draft.15) (2021-11-18)
2+
3+
### Bug Fixes
4+
5+
* **model:** delete method should be synchronous ([#76](https://github.com/vuex-orm/vuex-orm-next/issues/76)) ([#77](https://github.com/vuex-orm/vuex-orm-next/issues/77)) ([4fb4673](https://github.com/vuex-orm/vuex-orm-next/commit/4fb4673f728fae63054acbdacb5cf21935dd5b51))
6+
* **interpreter:** import database correctly ([#74](https://github.com/vuex-orm/vuex-orm-next/issues/74)) ([#75](https://github.com/vuex-orm/vuex-orm-next/issues/75)) ([e115503](https://github.com/vuex-orm/vuex-orm-next/commit/e11550304e7a945c419982c3b158793a70531ac9))
7+
8+
### Features
9+
10+
* add `withAll` and `withAllRecursive` methods ([#94](https://github.com/vuex-orm/vuex-orm-next/issues/94)) ([cf18192](https://github.com/vuex-orm/vuex-orm-next/commit/cf181920a726fb1dd704d2c99dbc764e2d65b744))
11+
* add MorphOne relation ([#90](https://github.com/vuex-orm/vuex-orm-next/issues/90)) ([#91](https://github.com/vuex-orm/vuex-orm-next/issues/91)) ([ba0496a](https://github.com/vuex-orm/vuex-orm-next/commit/ba0496ae297e7e91c8b9cdb84cd9d3f96b225ba7))
12+
113
# [1.0.0-draft.14](https://github.com/vuex-orm/vuex-orm-next/compare/v1.0.0-draft.13...v1.0.0-draft.14) (2021-05-31)
214

315
### Bug Fixes

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuex-orm/core",
3-
"version": "1.0.0-draft.14",
3+
"version": "1.0.0-draft.15",
44
"description": "The Vuex plugin to enable Object-Relational Mapping access to the Vuex Store.",
55
"main": "dist/vuex-orm.cjs.js",
66
"browser": "dist/vuex-orm.esm-browser.js",

Diff for: scripts/release.mjs

+3-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const tags = [
2020
]
2121

2222
const inc = (i) => semver.inc(currentVersion, i, 'draft')
23-
const bin = (name) => path.resolve(__dirname, `../node_modules/.bin/${name}`)
23+
const bin = (name) => `node_modules/.bin/${name}`
2424
const run = (bin, args, opts = {}) => execa(bin, args, { stdio: 'inherit', ...opts })
2525
const step = (msg) => console.log(chalk.cyan(msg))
2626

@@ -114,12 +114,11 @@ async function main() {
114114
}
115115

116116
function updatePackage(version) {
117-
const pkgPath = path.resolve(path.resolve(__dirname, '..'), 'package.json')
118-
const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8'))
117+
const pkg = JSON.parse(fs.readFileSync('package.json', 'utf-8'))
119118

120119
pkg.version = version
121120

122-
fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2) + '\n')
121+
fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n')
123122
}
124123

125124
main().catch((err) => console.error(err))

0 commit comments

Comments
 (0)