@zeedhi/teknisa-cli 1.80.0 → 1.80.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/teknisa-cli",
3
- "version": "1.80.0",
3
+ "version": "1.80.1",
4
4
  "description": "Teknisa CLI",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -34,5 +34,5 @@
34
34
  "/src",
35
35
  "/bin"
36
36
  ],
37
- "gitHead": "34e08ad2e8bf0d91e064f456fca003b73afba2dd"
37
+ "gitHead": "7d8bb9e4182d77d5ae7a4d29688c20c41faeeea4"
38
38
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": 2
2
+ "version": 2.1
3
3
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.0.0",
3
3
  "private": true,
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
@@ -47,14 +47,12 @@
47
47
  "vue-runtime-helpers": "^1.1.2",
48
48
  "vue-template-compiler": "^2.6.12",
49
49
  "vuetify": "^2.4.0",
50
- "vuex": "^3.6.0"
51
- },
52
- "devDependencies": {
50
+ "vuex": "^3.6.0",
53
51
  "@babel/plugin-proposal-class-properties": "^7.14.5",
54
52
  "@babel/plugin-proposal-decorators": "^7.14.5",
55
- "grunt": "~0.4.0",
56
- "grunt-zh-environment-builder": "git+ssh://git@192.168.122.56/zeedhi/grunt-zh-environment-builder.git",
57
- "grunt-zh-id-generator": "git+ssh://git@192.168.122.56/zeedhi/grunt-zh-id-generator.git"
53
+ "grunt": "^0.4.0",
54
+ "grunt-zh-environment-builder": "^0.1.0",
55
+ "grunt-zh-id-generator": "^0.1.0"
58
56
  },
59
57
  "gitHooks": {
60
58
  "pre-commit": "lint-staged"
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="theme-color" content="#772583">
6
7
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
8
  <title><%= htmlWebpackPlugin.options.title %></title>
8
9
  </head>
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": 2
2
+ "version": 2.1
3
3
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.0.0",
3
3
  "private": true,
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
@@ -48,14 +48,12 @@
48
48
  "vue-runtime-helpers": "^1.1.2",
49
49
  "vue-template-compiler": "^2.6.12",
50
50
  "vuetify": "^2.4.0",
51
- "vuex": "^3.6.0"
52
- },
53
- "devDependencies": {
51
+ "vuex": "^3.6.0",
54
52
  "@babel/plugin-proposal-class-properties": "^7.14.5",
55
53
  "@babel/plugin-proposal-decorators": "^7.14.5",
56
- "grunt": "~0.4.0",
57
- "grunt-zh-environment-builder": "git+ssh://git@192.168.122.56/zeedhi/grunt-zh-environment-builder.git",
58
- "grunt-zh-id-generator": "git+ssh://git@192.168.122.56/zeedhi/grunt-zh-id-generator.git"
54
+ "grunt": "^0.4.0",
55
+ "grunt-zh-environment-builder": "^0.1.0",
56
+ "grunt-zh-id-generator": "^0.1.0"
59
57
  },
60
58
  "gitHooks": {
61
59
  "pre-commit": "lint-staged"
@@ -4,6 +4,7 @@
4
4
  <meta http-equiv="<%= VUE_APP_META_CONTENT_SECURITY_POLICY %>" content="<%= VUE_APP_UPGRADE_INSECURE_REQUESTS %>">
5
5
  <meta charset="utf-8">
6
6
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+ <meta name="theme-color" content="#772583">
7
8
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
8
9
  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
9
10
  <title><%= htmlWebpackPlugin.options.title %></title>
@@ -1,7 +1,7 @@
1
1
  import Vue from 'vue';
2
2
  import Router from 'vue-router';
3
3
  import { Config, Http } from '@zeedhi/core';
4
- import { TekLibLocalStorage } from '@zeedhi/tek-lib';
4
+ import { TekLibLocalStorage, TekLibAuth } from '@zeedhi/tek-lib';
5
5
  import routes from './routes';
6
6
  import Store from '../store';
7
7
 
@@ -38,6 +38,7 @@ router.beforeEach(async (to, from, next) => {
38
38
 
39
39
  TekLibLocalStorage.setItem('IS_NEXT', true);
40
40
 
41
+ TekLibAuth.setInitialData(to.path, Config.env.loginRoutePath);
41
42
  if (to.path !== Config.env.loginRoutePath && !localStorage.getItem('LOGIN_TOKEN')) {
42
43
  next(Config.env.loginRoutePath);
43
44
  } else if (to.path === Config.env.loginRoutePath && localStorage.getItem('LOGIN_TOKEN')) {