@zeedhi/teknisa-cli 1.43.0 → 1.44.0
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 +2 -2
- package/src/util/project/module/src/App.vue +3 -3
- package/src/util/project/product/.eslintrc.js +10 -10
- package/src/util/project/product/src/App.vue +1 -2
- package/src/util/project/product/src/components/img-link/ImgLink.vue +1 -1
- package/src/util/project/product/tsconfig.json +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/teknisa-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.44.0",
|
|
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": "
|
|
37
|
+
"gitHead": "f58aaa0da52de553088e6eb5bb4567293553e44a"
|
|
38
38
|
}
|
|
@@ -49,14 +49,14 @@ export default class App extends Vue {
|
|
|
49
49
|
this.mainPage.path = `pages/${page}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
}
|
|
52
|
+
}
|
|
53
53
|
|
|
54
54
|
public created() {
|
|
55
55
|
window.addEventListener('message', this.handleMessageEvent);
|
|
56
56
|
if (process.env.NODE_ENV === 'production') {
|
|
57
57
|
this.onRouteChange(localStorage.getItem('routeParams'));
|
|
58
58
|
} else {
|
|
59
|
-
const searchParams = new URL(window.location.href)
|
|
59
|
+
const { searchParams } = new URL(window.location.href);
|
|
60
60
|
|
|
61
61
|
let userAuth: any = searchParams.get('user_auth');
|
|
62
62
|
let productInfo: any = searchParams.get('product_info');
|
|
@@ -68,7 +68,7 @@ export default class App extends Vue {
|
|
|
68
68
|
this.validationAndSetLocalStorage('LOGIN_USER_NAME', userAuth.LOGIN_USER_NAME);
|
|
69
69
|
this.validationAndSetLocalStorage('LOGIN_LANGUAGE', userAuth.LOGIN_LANGUAGE);
|
|
70
70
|
this.validationAndSetLocalStorage('LOGIN_HASH', userAuth.LOGIN_HASH);
|
|
71
|
-
this.validationAndSetLocalStorage('LOGIN_KEEP_CONNECTED', userAuth.LOGIN_KEEP_CONNECTED
|
|
71
|
+
this.validationAndSetLocalStorage('LOGIN_KEEP_CONNECTED', userAuth.LOGIN_KEEP_CONNECTED);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
if (productInfo) {
|
|
@@ -3,20 +3,20 @@ module.exports = {
|
|
|
3
3
|
env: {
|
|
4
4
|
browser: true,
|
|
5
5
|
es6: true,
|
|
6
|
-
node: true
|
|
6
|
+
node: true,
|
|
7
7
|
},
|
|
8
|
-
ignorePatterns: [
|
|
9
|
-
parser:
|
|
8
|
+
ignorePatterns: ['node_modules/', '**/coverage/*', '**/dist/*', '**/types/*', '**/__mocks__/*', '**/*.d.ts', '**/*.js'],
|
|
9
|
+
parser: 'vue-eslint-parser',
|
|
10
10
|
parserOptions: {
|
|
11
|
-
parser:
|
|
12
|
-
extraFileExtensions: [
|
|
13
|
-
project:
|
|
11
|
+
parser: '@typescript-eslint/parser',
|
|
12
|
+
extraFileExtensions: ['.vue'],
|
|
13
|
+
project: './tsconfig.json',
|
|
14
14
|
},
|
|
15
15
|
plugins: [
|
|
16
|
-
|
|
16
|
+
'@typescript-eslint',
|
|
17
17
|
],
|
|
18
18
|
extends: [
|
|
19
|
-
|
|
19
|
+
'airbnb-typescript/base',
|
|
20
20
|
],
|
|
21
21
|
rules: {
|
|
22
22
|
// maximum line length
|
|
@@ -37,5 +37,5 @@ module.exports = {
|
|
|
37
37
|
'import/no-unresolved': 'off',
|
|
38
38
|
// ignore enforcement of consistent linebreak style
|
|
39
39
|
'linebreak-style': 0,
|
|
40
|
-
}
|
|
41
|
-
}
|
|
40
|
+
},
|
|
41
|
+
};
|
|
@@ -35,8 +35,7 @@
|
|
|
35
35
|
import Vue from 'vue';
|
|
36
36
|
import Component from 'vue-class-component';
|
|
37
37
|
import { IMenu, IHeader, Menu } from '@zeedhi/common';
|
|
38
|
-
import { Metadata } from '@zeedhi/core';
|
|
39
|
-
import { Config } from '@zeedhi/core';
|
|
38
|
+
import { Config, Metadata } from '@zeedhi/core';
|
|
40
39
|
import { TekLibAuth, TekLibLocalStorage } from '@zeedhi/tek-lib';
|
|
41
40
|
|
|
42
41
|
@Component
|