Skip to content

Commit

Permalink
release: v1.0.0-draft.15
Browse files Browse the repository at this point in the history
  • Loading branch information
kiaking committed Nov 18, 2021
1 parent c34f5d0 commit 092c04d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# [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)

### Bug Fixes

* **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))
* **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))

### Features

* 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))
* 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))

# [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)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vuex-orm/core",
"version": "1.0.0-draft.14",
"version": "1.0.0-draft.15",
"description": "The Vuex plugin to enable Object-Relational Mapping access to the Vuex Store.",
"main": "dist/vuex-orm.cjs.js",
"browser": "dist/vuex-orm.esm-browser.js",
Expand Down
7 changes: 3 additions & 4 deletions scripts/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const tags = [
]

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

Expand Down Expand Up @@ -114,12 +114,11 @@ async function main() {
}

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

pkg.version = version

fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2) + '\n')
fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n')
}

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

0 comments on commit 092c04d

Please sign in to comment.