vueless 0.0.44 → 0.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js ADDED
@@ -0,0 +1,16 @@
1
+ import { createLocale, LocaleSymbol } from "./composable.locale";
2
+
3
+ export { default as createVueI18nAdapter } from "./adatper.locale/vue-i18n";
4
+ export { default as defaultEnLocale } from "./adatper.locale/locales/en";
5
+
6
+ export function createVueless(options = {}) {
7
+ const locale = createLocale(options.locale);
8
+
9
+ const install = (app) => {
10
+ app.provide(LocaleSymbol, locale);
11
+ };
12
+
13
+ return {
14
+ install,
15
+ };
16
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless Component Framework.",
6
6
  "homepage": "https://vueless.com",
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.44",
4
+ "version": "0.0.45",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",