@globalbrain/sefirot
Advanced tools
Comparing version 0.39.0 to 0.40.0
@@ -0,1 +1,12 @@ | ||
# [0.40.0](https://github.com/globalbrain/sefirot/compare/v0.39.0...v0.40.0) (2021-02-25) | ||
### BREAKING CHANGES | ||
* **build:** composition-api plugin is updated. It contains breaking change | ||
so that the it must be updated to the latest version. | ||
### Features | ||
* **build:** update npm packages ([b7dc1d0](https://github.com/globalbrain/sefirot/commit/b7dc1d06f605de6dc67c02621673a48adcc7903d)) | ||
# [0.39.0](https://github.com/globalbrain/sefirot/compare/v0.38.1...v0.39.0) (2021-02-17) | ||
@@ -2,0 +13,0 @@ |
@@ -5,3 +5,3 @@ import { getCurrentInstance } from '@vue/composition-api' | ||
export function useRouter() { | ||
const vm = getCurrentInstance() as any | ||
const vm = getCurrentInstance()?.proxy as any | ||
@@ -12,5 +12,5 @@ return vm.$router as VueRouter | ||
export function useRoute() { | ||
const vm = getCurrentInstance() as any | ||
const vm = getCurrentInstance()?.proxy as any | ||
return vm.$route as Route | ||
} |
@@ -5,5 +5,5 @@ import { getCurrentInstance } from '@vue/composition-api' | ||
export function useStore() { | ||
const vm = getCurrentInstance() as any | ||
const vm = getCurrentInstance()?.proxy as any | ||
return vm.$store as Store<any> | ||
} |
{ | ||
"name": "@globalbrain/sefirot", | ||
"version": "0.39.0", | ||
"version": "0.40.0", | ||
"description": "Vue Components for Global Brain Design System.", | ||
@@ -9,6 +9,6 @@ "files": [ | ||
"scripts": { | ||
"serve": "HOST=0.0.0.0 nuxt-ts", | ||
"start": "HOST=0.0.0.0 nuxt-ts start", | ||
"build": "nuxt-ts build", | ||
"generate": "nuxt-ts generate", | ||
"serve": "HOST=0.0.0.0 nuxt", | ||
"start": "HOST=0.0.0.0 nuxt start", | ||
"build": "nuxt build", | ||
"generate": "nuxt generate", | ||
"lint": "eslint --fix --ignore-path .gitignore './{lib,docs,test}/**/*.{js,ts,vue}'", | ||
@@ -39,10 +39,9 @@ "lint:fail": "eslint --ignore-path .gitignore './{lib,docs,test}/**/*.{js,ts,vue}'", | ||
"devDependencies": { | ||
"@babel/core": "^7.12.10", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.12.1", | ||
"@babel/preset-env": "^7.12.11", | ||
"@juggle/resize-observer": "^3.2.0", | ||
"@nuxt/types": "^2.14.11", | ||
"@nuxt/typescript-build": "^2.0.3", | ||
"@nuxt/typescript-runtime": "^2.0.0", | ||
"@nuxtjs/composition-api": "^0.17.0", | ||
"@babel/core": "^7.13.1", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.13.0", | ||
"@babel/preset-env": "^7.13.5", | ||
"@juggle/resize-observer": "^3.3.0", | ||
"@nuxt/types": "^2.15.2", | ||
"@nuxt/typescript-build": "^2.0.6", | ||
"@nuxtjs/composition-api": "^0.20.2", | ||
"@nuxtjs/dotenv": "^1.4.1", | ||
@@ -53,6 +52,9 @@ "@nuxtjs/eslint-config-typescript": "^5.0.0", | ||
"@types/body-scroll-lock": "^2.6.1", | ||
"@types/jest": "^26.0.19", | ||
"@types/escape-html": "^1.0.0", | ||
"@types/jest": "^26.0.20", | ||
"@types/lodash-es": "^4.17.4", | ||
"@vue/composition-api": "^1.0.0-beta.21", | ||
"@vue/test-utils": "^1.1.2", | ||
"@types/markdown-it": "^12.0.1", | ||
"@types/prismjs": "^1.16.3", | ||
"@vue/composition-api": "^1.0.0-rc.2", | ||
"@vue/test-utils": "^1.1.3", | ||
"babel-core": "^7.0.0-bridge.0", | ||
@@ -64,26 +66,26 @@ "babel-eslint": "^10.1.0", | ||
"conventional-changelog-cli": "^2.1.1", | ||
"dayjs": "^1.9.7", | ||
"dayjs": "^1.10.4", | ||
"escape-html": "^1.0.3", | ||
"eslint": "^7.15.0", | ||
"eslint": "^7.20.0", | ||
"fuse.js": "^6.4.6", | ||
"jest": "^26.6.3", | ||
"jest-serializer-vue": "^2.0.2", | ||
"lodash": "^4.17.20", | ||
"lodash-es": "^4.17.20", | ||
"lodash": "^4.17.21", | ||
"lodash-es": "^4.17.21", | ||
"mutation-observer": "^1.0.3", | ||
"normalize.css": "^8.0.1", | ||
"nuxt": "^2.14.11", | ||
"nuxt": "^2.15.2", | ||
"portal-vue": "^2.1.7", | ||
"postcss-custom-properties": "^10.0.0", | ||
"postcss-nested": "^4.2.3", | ||
"prismjs": "^1.22.0", | ||
"prismjs": "^1.23.0", | ||
"push-dir": "^0.4.1", | ||
"simplebar-vue": "^1.6.0", | ||
"ts-jest": "^26.4.4", | ||
"ts-loader": "^8.0.12", | ||
"typescript": "^4.1.3", | ||
"v-calendar": "^2.2.2", | ||
"ts-jest": "^26.5.2", | ||
"ts-loader": "^8.0.17", | ||
"typescript": "^4.2.2", | ||
"v-calendar": "^2.2.3", | ||
"vue": "^2.6.12", | ||
"vue-jest": "^3.0.7", | ||
"vue-router": "^3.4.9", | ||
"vue-router": "^3.5.1", | ||
"vue-server-renderer": "^2.6.12", | ||
@@ -90,0 +92,0 @@ "vue-template-compiler": "^2.6.12", |
252500
52