Skip to content

Commit 81c4e6e

Browse files
authored
Merge pull request #584 from GrabarzUndPartner/feature/rename-mjs-to-js
fix(package): added type module
2 parents 14da720 + 09523ee commit 81c4e6e

29 files changed

Lines changed: 1214 additions & 1201 deletions

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ sw.*
88
.output
99

1010
# Plugin
11-
src/runtime/tmpl
11+
src/tmpl
1212
docs/.vitepress/dist
1313
docs/.vitepress/cache

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ commitlint.config.js
3131
default.json
3232
vetur.config.json
3333
sandbox.config.json
34-
build.config.mjs
34+
build.config.js
3535
.output
3636

3737
/docs

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
[![Grabarz & Partner - Module][grabarz-partner-module-src]][grabarz-partner-href]
2828

2929
[![main][github-workflow-main-src]][github-workflow-main-href]
30-
[![develop][github-workflow-develop-src]][github-workflow-develop-href]
30+
[![beta][github-workflow-beta-src]][github-workflow-beta-href]
3131
[![Sonarcloud Status][sonarcloud-src]][sonarcloud-href]
3232

3333
[![npm version][npm-version-latest-src]][npm-version-latest-href]
@@ -44,9 +44,8 @@ Nuxt Custom-Elements allows you to export your existing project components as cu
4444

4545
## Features
4646

47-
- Using modern and client build
47+
- Use Vue with Shadow DOM 🥷
4848
- Export components as widgets
49-
- Use the `Shadow DOM` 🥷
5049

5150
📖   [Learn more in the documentation](https://nuxt-custom-elements.grabarzundpartner.dev/)
5251

@@ -77,17 +76,17 @@ Nuxt Custom-Elements allows you to export your existing project components as cu
7776

7877
[github-workflow-main-src]: <https://github.com/GrabarzUndPartner/nuxt-custom-elements/workflows/Main/badge.svg?branch=main>
7978
[github-workflow-main-href]: <https://github.com/GrabarzUndPartner/nuxt-custom-elements/actions?query=workflow%3AMain>
80-
[github-workflow-develop-src]: <https://github.com/GrabarzUndPartner/nuxt-custom-elements/workflows/Test/badge.svg?branch=develop>
81-
[github-workflow-develop-href]: <https://github.com/GrabarzUndPartner/nuxt-custom-elements/actions?query=workflow%3ATest>
79+
[github-workflow-beta-src]: <https://github.com/GrabarzUndPartner/nuxt-custom-elements/workflows/Beta/badge.svg?branch=beta>
80+
[github-workflow-beta-href]: <https://github.com/GrabarzUndPartner/nuxt-custom-elements/actions?query=workflow%3ABeta>
8281

8382
[sonarcloud-src]: <https://sonarcloud.io/api/project_badges/measure?project=GrabarzUndPartner_nuxt-custom-elements&metric=alert_status>
8483
[sonarcloud-href]: <https://sonarcloud.io/dashboard?id=GrabarzUndPartner_nuxt-custom-elements>
8584

8685
[license-src]: https://img.shields.io/npm/l/nuxt-custom-elements.svg?style=flat-square
8786
[license-href]: https://npmjs.com/package/nuxt-custom-elements
8887

89-
[npm-version-latest-src]: https://img.shields.io/npm/v/nuxt-custom-elements/latest.svg?
90-
[npm-version-latest-href]: https://npmjs.com/package/nuxt-custom-elements/v/latest
88+
[npm-version-latest-src]: https://img.shields.io/npm/v/nuxt-custom-elements/beta.svg?
89+
[npm-version-latest-href]: https://npmjs.com/package/nuxt-custom-elements/v/beta
9190

9291
[npm-downloads-src]: https://img.shields.io/npm/dt/nuxt-custom-elements.svg?style=flat-square
9392
[npm-downloads-href]: https://npmjs.com/package/nuxt-custom-elements
File renamed without changes.

commitlint.config.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

commitlint.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
const config = { extends: ['@commitlint/config-conventional'] };
2+
export default config;

docs/.vitepress/config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { fileURLToPath } from 'url';
22
import { defineConfig } from 'vitepress';
33
import markdownItInlineComments from 'markdown-it-inline-comments';
4-
import navigation from './navigation.mjs';
4+
import navigation from './navigation.js';
55

66
// https://vitepress.dev/reference/site-config
77
export default defineConfig(() => ({

docs/components/VPNavBarMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { useData } from 'vitepress/dist/client/theme-default/composables/data';
33
import VPNavBarMenuLink from 'vitepress/dist/client/theme-default/components/VPNavBarMenuLink.vue';
44
import VPNavBarMenuGroup from 'vitepress/dist/client/theme-default/components/VPNavBarMenuGroup.vue';
5-
import { useVersion } from '../composables/version.mjs';
5+
import { useVersion } from '../composables/version.js';
66
77
const { theme } = useData();
88

docs/components/VPNavScreenMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { useData } from 'vitepress/dist/client/theme-default/composables/data';
33
import VPNavScreenMenuLink from 'vitepress/dist/client/theme-default/components/VPNavScreenMenuLink.vue';
44
import VPNavScreenMenuGroup from 'vitepress/dist/client/theme-default/components/VPNavScreenMenuGroup.vue';
5-
import { useVersion } from '../composables/version.mjs';
5+
import { useVersion } from '../composables/version.js';
66
77
const { theme } = useData();
88
const { nav: versionNav } = useVersion();

0 commit comments

Comments
 (0)