@adyen/lume
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -1,2 +0,2 @@ | ||
import { l as s, o as t, L as i, k as o, a as p, p as l, g as h, h as n, i as C, c as B, m as G, e as d, q as g, r as k, n as v, b as A, f as S, d as c, j as f } from "./common/df7327e8.js"; | ||
import { l as s, o as t, L as i, k as o, a as p, p as l, g as h, h as n, i as C, c as B, m as G, e as d, q as g, r as k, n as v, b as A, f as S, d as c, j as f } from "./common/6ff56de1.js"; | ||
import "vue"; | ||
@@ -3,0 +3,0 @@ import "d3-sankey"; |
@@ -1,2 +0,2 @@ | ||
import { l as o, a as n, b as i, c as m, d as s, e as p, f as L, L as d, g as h, h as C, i as c, j as f, k as g, m as B, n as b, o as S, p as y, q as G, r as k } from "./common/df7327e8.js"; | ||
import { l as o, a as n, b as i, c as m, d as s, e as p, f as L, L as d, g as h, h as C, i as c, j as f, k as g, m as B, n as b, o as S, p as y, q as G, r as k } from "./common/6ff56de1.js"; | ||
import "vue"; | ||
@@ -3,0 +3,0 @@ import "d3-sankey"; |
{ | ||
"name": "@adyen/lume", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Lume is a component library for visual representations of data, built for Vue with D3.", | ||
@@ -59,5 +59,5 @@ "type": "module", | ||
"storybook": "start-storybook -p 9001 -c .storybook", | ||
"unit-exp:update:snapshot": "npm run unit-exp -- -u", | ||
"unit-exp": "NODE_OPTIONS=\"--experimental-vm-modules\"; jest --config=test/config/jest.config.cjs", | ||
"unit": "jest --config=test/config/jest.config.cjs" | ||
"test": "vitest --config=vitest.config.ts", | ||
"test:update:snapshot": "vitest --config=vitest.config.ts -u", | ||
"test:coverage": "vitest run --coverage" | ||
}, | ||
@@ -89,3 +89,4 @@ "dependencies": { | ||
"@vitejs/plugin-vue2": "^2.0.1", | ||
"@vue/test-utils": "^1.1.3", | ||
"@vitest/coverage-istanbul": "^0.25.2", | ||
"@vue/test-utils": "^1.3.3", | ||
"@vue/vue2-jest": "^29.2.0", | ||
@@ -100,2 +101,3 @@ "css-loader": "^6.7.2", | ||
"jest-environment-jsdom": "^29.3.1", | ||
"jsdom": "^20.0.3", | ||
"mini-css-extract-plugin": "^2.7.0", | ||
@@ -112,5 +114,7 @@ "prettier": "^2.7.1", | ||
"vite-plugin-static-copy": "^0.11.1", | ||
"vitest": "^0.25.3", | ||
"vue": "^2.7.10", | ||
"vue-loader": "^15.10.0", | ||
"vue-style-loader": "^4.1.3", | ||
"vue-template-compiler": "^2.7.10", | ||
"webpack": "^5.75.0", | ||
@@ -117,0 +121,0 @@ "webpack-cli": "^5.0.0" |
@@ -11,2 +11,7 @@ # Lume | ||
- [Stack](#stack) | ||
- [Getting started](#getting-started) | ||
- [Development](#development) | ||
- [Contacts](#contacts) | ||
## Stack | ||
@@ -40,20 +45,5 @@ | ||
### Plugin | ||
The default export of Lume is a Vue plugin that you can install in your global Vue setup: | ||
```ts | ||
import Vue from 'vue'; | ||
import Lume from '@adyen/lume'; | ||
import App from './my-app.vue'; | ||
Vue.use(Lume); | ||
const app = new Vue(App).$mount('#root'); | ||
``` | ||
### Components | ||
If, instead of using the Vue plugin, you rather import single components as you go, you can do that as well: | ||
You can import Lume components to your Vue app: | ||
@@ -72,2 +62,17 @@ ```ts | ||
### Plugin | ||
You can also import Lume as a Vue plugin that you install in your global Vue setup: | ||
```ts | ||
import Vue from 'vue'; | ||
import LumePlugin from '@adyen/lume/plugin'; | ||
import App from './my-app.vue'; | ||
Vue.use(LumePlugin); | ||
const app = new Vue(App).$mount('#root'); | ||
``` | ||
## Development | ||
@@ -74,0 +79,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1035878
5723
143
45