@timus-networks/theme 2.2.0 → 2.2.2
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/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -12,7 +12,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
|
|
|
12
12
|
const __dirname = __cjs_path__.dirname(__filename);
|
|
13
13
|
const require = __cjs_mod__.createRequire(import.meta.url);
|
|
14
14
|
const name = "@timus-networks/theme";
|
|
15
|
-
const version = "2.2.
|
|
15
|
+
const version = "2.2.2";
|
|
16
16
|
const description = "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.";
|
|
17
17
|
const type = "module";
|
|
18
18
|
const exports = {
|
|
@@ -40,7 +40,7 @@ const scripts = {
|
|
|
40
40
|
prepack: "nuxt-module-build build",
|
|
41
41
|
"release-old": "npm run prepack && changelogen --release && npm run pub && git push --follow-tags",
|
|
42
42
|
version: "standard-version",
|
|
43
|
-
release: "npm run prepack &&
|
|
43
|
+
release: "npm run prepack && npm run version && npm run pub && git push --follow-tags origin main"
|
|
44
44
|
};
|
|
45
45
|
const repository = {
|
|
46
46
|
type: "git",
|
|
@@ -176,8 +176,8 @@ const module = defineNuxtModule({
|
|
|
176
176
|
addPlugin(resolver.resolve(`${folderPath}/plugins/sample-plugin`));
|
|
177
177
|
addPlugin(resolver.resolve(`${folderPath}/plugins/disable-warnings-plugin`));
|
|
178
178
|
addPlugin(resolver.resolve(`${folderPath}/plugins/theme-provider-plugin`));
|
|
179
|
-
nuxt.options.css.push(resolver.resolve(`${folderPath}/public/scss/theme.
|
|
180
|
-
nuxt.options.css.push(resolver.resolve(`${folderPath}/public/scss/element-plus/index.
|
|
179
|
+
nuxt.options.css.push(resolver.resolve(`${folderPath}/public/scss/theme.css`));
|
|
180
|
+
nuxt.options.css.push(resolver.resolve(`${folderPath}/public/scss/element-plus/index.css`));
|
|
181
181
|
nuxt.hook("prepare:types", ({ references }) => {
|
|
182
182
|
references.push({ path: resolver.resolve(`${folderPath}/types.d.ts`) });
|
|
183
183
|
});
|
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
</template>
|
|
23
23
|
|
|
24
24
|
<script lang="ts" setup>
|
|
25
|
+
import { ref } from 'vue';
|
|
26
|
+
|
|
25
27
|
const colors = ref(['success', 'warning', 'info', 'error', 'danger']);
|
|
26
28
|
const snippets = ref({
|
|
27
29
|
basic: `<el-alert title="Title Text Goes Here" type="danger" description="This is a description." show-icon :closable="false" />`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timus-networks/theme",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"prepack": "nuxt-module-build build",
|
|
29
29
|
"release-old": "npm run prepack && changelogen --release && npm run pub && git push --follow-tags",
|
|
30
30
|
"version": "standard-version",
|
|
31
|
-
"release": "npm run prepack &&
|
|
31
|
+
"release": "npm run prepack && npm run version && npm run pub && git push --follow-tags origin main"
|
|
32
32
|
},
|
|
33
33
|
"standard-version": {
|
|
34
34
|
"tagPrefix": "theme-v",
|