Skip to content

Dev #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 3, 2022
Merged

Dev #14

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log
All notable changes to the "vue-unicorn-log" plugin will be documented in this file.

## v1.0.5
April 3, 2022
[main] Adding banner to compiled file (WebDevNerdStuff)

## v1.0.0
March 26, 2022
[main] Initial release (WebDevNerdStuff)
22 changes: 22 additions & 0 deletions build/webpack.base.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
const path = require('path');
const { VueLoaderPlugin } = require('vue-loader');
const webpack = require('webpack');
const packageJson = require('../package.json');

/*
|--------------------------------------------------------------------------
| Banner
|--------------------------------------------------------------------------
*/
const banner = `Vue UnicornLog Plugin

@name ${packageJson.name}
@version ${packageJson.version}
@description ${packageJson.description}
@author ${packageJson.author}
@copyright Copyright ${new Date().getFullYear()}, WebDevNerdStuff
@homepage ${packageJson.homepage}
@repository ${packageJson.repository}
@license https://github.com/webdevnerdstuff/vue-unicorn-log/blob/main/LICENSE.md
@supports Magical Creatures`;

/*
|--------------------------------------------------------------------------
Expand Down Expand Up @@ -55,6 +74,9 @@ module.exports = {
],
},
plugins: [
new webpack.BannerPlugin({
banner,
}),
new VueLoaderPlugin(),
],
infrastructureLogging: {
Expand Down
5 changes: 0 additions & 5 deletions build/webpack.release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ module.exports = merge(base, {
minimize: true,
minimizer: [
new TerserPlugin({
terserOptions: {
format: {
comments: false,
},
},
extractComments: false,
}),
],
Expand Down
13 changes: 13 additions & 0 deletions dist/vue-unicorn-log.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-unicorn-log",
"version": "1.0.4",
"version": "1.0.6",
"description": "A magical 🦄 plugin to make coloring the console output easier and more flexible.",
"private": false,
"main": "dist/vue-unicorn-log.js",
Expand Down Expand Up @@ -32,17 +32,19 @@
"bugs": {
"url": "https://github.com/webdevnerdstuff/vue-unicorn-log/issues"
},
"homepage": "https://github.com/webdevnerdstuff/vue-unicorn-log/",
"homepage": "https://webdevnerdstuff.github.io/vue-unicorn-log/",
"keywords": [
"vue-unicorn-log",
"unicorn-log",
"vue",
"vue2",
"plugin",
"javascript",
"logging",
"log",
"console",
"devtools",
"unicorn",
"logging",
"log",
"javascript",
"magical",
"webdevnerdstuff",
"wdns"
Expand Down
2 changes: 0 additions & 2 deletions src/plugins/UnicornLog.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ const UnicornLog = {
// Set the Global options //
this.options = { ...this.options, ...options };

// console.log(this.options);

// Add an instance methods //
Magical.prototype.$unicornLog = function(logOptions) {
UnicornLogCore.init(Vue, UnicornLog.options, logOptions);
Expand Down
10 changes: 0 additions & 10 deletions src/plugins/UnicornLogCore.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
/**
* Vue UnicornLog Plugin
*
* @author WebDevNerdStuff & Bunnies
* @version 1.0.0
* @copyright Copyright 2022, WebDevNerdStuff
* @supports Magical Creatures
*
*/

/* eslint-disable no-console */
const rainbowLinearGradient = `linear-gradient(to right,
hsl(0, 100%, 50%),
Expand Down