@timus-networks/theme 1.0.4 → 1.0.5
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/convert-sass.js +15 -0
- package/loader.js +1 -1
- package/main.css +69555 -0
- package/main.css.map +1 -0
- package/module.js +5 -5
- package/package.json +4 -3
- /package/{convert.js → convert-js.js} +0 -0
package/module.js
CHANGED
|
@@ -23,18 +23,19 @@ export default function (moduleOptions) {
|
|
|
23
23
|
this.nuxt.hook('ready', (_nuxt) => {
|
|
24
24
|
this.options.tailwindcss.config.darkMode = 'class';
|
|
25
25
|
console.log(`#### ${PackageJson.name} has been prepared with version: ${PackageJson.version}`);
|
|
26
|
-
console.log(this.options.tailwindcss)
|
|
26
|
+
console.log(this.options.tailwindcss);
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
this.nuxt.hook('build:before', async () => {
|
|
30
|
-
const sourceDir = resolve(__dirname, './
|
|
29
|
+
this.nuxt.hook('build:before', async (nuxt) => {
|
|
30
|
+
const sourceDir = resolve(__dirname, './main.css');
|
|
31
31
|
const destDir = resolve(this.options.srcDir, 'static/scss/');
|
|
32
32
|
await copyDirectory(sourceDir, destDir);
|
|
33
33
|
});
|
|
34
34
|
|
|
35
35
|
// Assest'si, static fonts altına iconsax olarak gönderiyorum ve nuxt.config'in css'ine ekliyorum
|
|
36
36
|
// this.options.css.push('@/static/scss/_element-ui.scss');
|
|
37
|
-
this.options.css.push('@/static/scss/main.scss');
|
|
37
|
+
// this.options.css.push('@/static/scss/main.scss');
|
|
38
|
+
this.options.css.push('@/static/scss/main.css');
|
|
38
39
|
|
|
39
40
|
// get all options for the module
|
|
40
41
|
const options = {
|
|
@@ -59,4 +60,3 @@ export default function (moduleOptions) {
|
|
|
59
60
|
|
|
60
61
|
// REQUIRED if publishing the module as npm package
|
|
61
62
|
module.exports.meta = require('./package.json');
|
|
62
|
-
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timus-networks/theme",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.",
|
|
5
5
|
"main": "module.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
|
-
"convert": "node convert.js",
|
|
10
|
-
"
|
|
9
|
+
"convert-js": "node convert-js.js",
|
|
10
|
+
"convert-sass": "node convert-sass.js",
|
|
11
|
+
"pub": "npm run convert-js && npm run convert-sass && npm publish --access public"
|
|
11
12
|
},
|
|
12
13
|
"repository": {
|
|
13
14
|
"type": "git",
|
|
File without changes
|