@zeedhi/teknisa-cli 1.107.1 → 1.108.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.
Files changed (93) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +5 -5
  3. package/bin/teknisa.js +117 -117
  4. package/package.json +2 -2
  5. package/src/create.js +118 -118
  6. package/src/generate.js +20 -20
  7. package/src/util/component/createEmptyComponent.js +145 -145
  8. package/src/util/component/createJest.js +19 -19
  9. package/src/util/component/createNpmignore.js +14 -14
  10. package/src/util/component/createPackage.js +52 -52
  11. package/src/util/component/createReadme.js +15 -15
  12. package/src/util/component/createRollup.js +15 -15
  13. package/src/util/component/createTsConfig.js +24 -24
  14. package/src/util/component/createTsLint.js +18 -18
  15. package/src/util/component/run.js +54 -54
  16. package/src/util/enhanceErrorMessages.js +13 -13
  17. package/src/util/project/editCliVersion.js +17 -17
  18. package/src/util/project/editPackageJson.js +19 -19
  19. package/src/util/project/module/.env.development +1 -1
  20. package/src/util/project/module/.env.production +1 -1
  21. package/src/util/project/module/.eslintrc.js +40 -40
  22. package/src/util/project/module/GruntFile.js +15 -15
  23. package/src/util/project/module/README.md +22 -22
  24. package/src/util/project/module/cliVersion.json +2 -2
  25. package/src/util/project/module/gitignore.template +21 -21
  26. package/src/util/project/module/package.json +68 -68
  27. package/src/util/project/module/postcss.config.js +5 -5
  28. package/src/util/project/module/public/index.html +17 -17
  29. package/src/util/project/module/public/metadata/notfound.json +14 -14
  30. package/src/util/project/module/public/metadata/unauthorized.json +14 -14
  31. package/src/util/project/module/public/robots.txt +2 -2
  32. package/src/util/project/module/src/App.vue +134 -134
  33. package/src/util/project/module/src/config/config.ts +17 -17
  34. package/src/util/project/module/src/config/devEnvironment.json +4 -4
  35. package/src/util/project/module/src/config/prodEnvironment.json +3 -3
  36. package/src/util/project/module/src/controllers/AppController.ts +5 -5
  37. package/src/util/project/module/src/controllers/index.ts +5 -5
  38. package/src/util/project/module/src/main.ts +17 -17
  39. package/src/util/project/module/src/plugins/index.ts +6 -6
  40. package/src/util/project/module/src/plugins/vuetify.ts +11 -11
  41. package/src/util/project/module/src/plugins/zeedhi.ts +50 -50
  42. package/src/util/project/module/src/registerServiceWorker.ts +32 -32
  43. package/src/util/project/module/src/shims-tsx.d.ts +13 -13
  44. package/src/util/project/module/src/shims-vue.d.ts +5 -5
  45. package/src/util/project/module/src/theme/index.ts +12 -12
  46. package/src/util/project/module/tsconfig.json +45 -45
  47. package/src/util/project/module/vue.config.js +107 -107
  48. package/src/util/project/product/.env.development +3 -3
  49. package/src/util/project/product/.env.production +2 -2
  50. package/src/util/project/product/.eslintrc.js +41 -41
  51. package/src/util/project/product/GruntFile.js +15 -15
  52. package/src/util/project/product/README.md +22 -22
  53. package/src/util/project/product/cliVersion.json +2 -2
  54. package/src/util/project/product/gitignore.template +21 -21
  55. package/src/util/project/product/package.json +69 -69
  56. package/src/util/project/product/postcss.config.js +5 -5
  57. package/src/util/project/product/public/assets/img/icons/safari-pinned-tab.svg +33 -33
  58. package/src/util/project/product/public/assets/img/image-not-found.svg +3 -3
  59. package/src/util/project/product/public/index.html +19 -19
  60. package/src/util/project/product/public/metadata/home.json +63 -63
  61. package/src/util/project/product/public/metadata/login.json +6 -6
  62. package/src/util/project/product/public/metadata/menu.json +28 -28
  63. package/src/util/project/product/public/metadata/notfound.json +14 -14
  64. package/src/util/project/product/public/robots.txt +2 -2
  65. package/src/util/project/product/src/App.vue +192 -192
  66. package/src/util/project/product/src/components/img-link/ImgLink.ts +17 -17
  67. package/src/util/project/product/src/components/img-link/ImgLink.vue +7 -7
  68. package/src/util/project/product/src/components/img-link/common/ImgLink.ts +32 -32
  69. package/src/util/project/product/src/components/index.ts +4 -4
  70. package/src/util/project/product/src/config/config.ts +22 -22
  71. package/src/util/project/product/src/config/devEnvironment.json +22 -22
  72. package/src/util/project/product/src/config/prodEnvironment.json +22 -22
  73. package/src/util/project/product/src/controllers/AppController.ts +119 -119
  74. package/src/util/project/product/src/controllers/LoginController.ts +17 -17
  75. package/src/util/project/product/src/controllers/index.ts +7 -7
  76. package/src/util/project/product/src/main.ts +22 -22
  77. package/src/util/project/product/src/plugins/index.ts +11 -11
  78. package/src/util/project/product/src/plugins/vuetify.ts +11 -11
  79. package/src/util/project/product/src/plugins/zeedhi.ts +72 -72
  80. package/src/util/project/product/src/registerServiceWorker.ts +32 -32
  81. package/src/util/project/product/src/router/index.ts +76 -76
  82. package/src/util/project/product/src/router/routes.ts +37 -37
  83. package/src/util/project/product/src/shims-tsx.d.ts +13 -13
  84. package/src/util/project/product/src/shims-vue.d.ts +5 -5
  85. package/src/util/project/product/src/store.ts +26 -26
  86. package/src/util/project/product/src/theme/index.ts +10 -10
  87. package/src/util/project/product/src/views/Microservice.ts +57 -57
  88. package/src/util/project/product/src/views/Microservice.vue +13 -13
  89. package/src/util/project/product/tsconfig.json +46 -46
  90. package/src/util/project/product/vue.config.js +107 -107
  91. package/src/util/project/renameGitIgnore.js +14 -14
  92. package/src/util/project/run.js +15 -15
  93. package/src/util/validateName.js +21 -21
@@ -1,54 +1,54 @@
1
- const fs = require('fs-extra')
2
- const path = require('path')
3
- const chalk = require('chalk')
4
- const clear = require('clear')
5
- const createJest = require('./createJest')
6
- const createTslint = require('./createTsLint')
7
- const createReadme = require('./createReadme')
8
- const createTsConfig = require('./createTsConfig')
9
- const createNpmIgnore = require('./createNpmignore')
10
- const createRollupConfig = require('./createRollup')
11
- const createPackageConfig = require('./createPackage')
12
- const createEmptyProject = require('./createEmptyComponent')
13
-
14
- function run(name, targetDir, options) {
15
- const dir = path.join(targetDir, name, '/')
16
- const vueDir = path.join(targetDir, name + '-vue', '/')
17
-
18
- if (options.force) {
19
- console.log(`Removing ${chalk.cyan(name)}...`)
20
- fs.removeSync(dir)
21
- console.log(`Removing ${chalk.cyan(name + '-vue')} ...`)
22
- fs.removeSync(vueDir)
23
- }
24
-
25
- if (fs.existsSync(dir) || fs.existsSync(vueDir)) {
26
- if (fs.existsSync(dir)) {
27
- console.error(chalk.red(`Directory ${name} already exists`))
28
- }
29
- if (fs.existsSync(vueDir)) {
30
- console.error(chalk.red(`Directory ${name}-vue already exists`))
31
- }
32
- process.exit(1)
33
- }
34
- clear()
35
- createComponent(name, dir)
36
- console.log(`Component ${name} created`)
37
- createComponent(name, vueDir, true)
38
- console.log(`Component ${name}-vue created`)
39
- }
40
-
41
- function createComponent(name, dir, isVue) {
42
- createEmptyProject(name, dir, isVue)
43
- createPackageConfig(name, dir, isVue)
44
- createReadme(name, dir, isVue)
45
- createRollupConfig(dir)
46
- createNpmIgnore(dir)
47
- createTsConfig(dir)
48
- createTslint(dir)
49
- createJest(dir)
50
- }
51
-
52
- module.exports = async (...args) => {
53
- return await run(...args)
54
- }
1
+ const fs = require('fs-extra')
2
+ const path = require('path')
3
+ const chalk = require('chalk')
4
+ const clear = require('clear')
5
+ const createJest = require('./createJest')
6
+ const createTslint = require('./createTsLint')
7
+ const createReadme = require('./createReadme')
8
+ const createTsConfig = require('./createTsConfig')
9
+ const createNpmIgnore = require('./createNpmignore')
10
+ const createRollupConfig = require('./createRollup')
11
+ const createPackageConfig = require('./createPackage')
12
+ const createEmptyProject = require('./createEmptyComponent')
13
+
14
+ function run(name, targetDir, options) {
15
+ const dir = path.join(targetDir, name, '/')
16
+ const vueDir = path.join(targetDir, name + '-vue', '/')
17
+
18
+ if (options.force) {
19
+ console.log(`Removing ${chalk.cyan(name)}...`)
20
+ fs.removeSync(dir)
21
+ console.log(`Removing ${chalk.cyan(name + '-vue')} ...`)
22
+ fs.removeSync(vueDir)
23
+ }
24
+
25
+ if (fs.existsSync(dir) || fs.existsSync(vueDir)) {
26
+ if (fs.existsSync(dir)) {
27
+ console.error(chalk.red(`Directory ${name} already exists`))
28
+ }
29
+ if (fs.existsSync(vueDir)) {
30
+ console.error(chalk.red(`Directory ${name}-vue already exists`))
31
+ }
32
+ process.exit(1)
33
+ }
34
+ clear()
35
+ createComponent(name, dir)
36
+ console.log(`Component ${name} created`)
37
+ createComponent(name, vueDir, true)
38
+ console.log(`Component ${name}-vue created`)
39
+ }
40
+
41
+ function createComponent(name, dir, isVue) {
42
+ createEmptyProject(name, dir, isVue)
43
+ createPackageConfig(name, dir, isVue)
44
+ createReadme(name, dir, isVue)
45
+ createRollupConfig(dir)
46
+ createNpmIgnore(dir)
47
+ createTsConfig(dir)
48
+ createTslint(dir)
49
+ createJest(dir)
50
+ }
51
+
52
+ module.exports = async (...args) => {
53
+ return await run(...args)
54
+ }
@@ -1,14 +1,14 @@
1
- const program = require('commander')
2
- const chalk = require('chalk')
3
-
4
- module.exports = (methodName, log) => {
5
- program.Command.prototype[methodName] = function (...args) {
6
- if (methodName === 'unknownOption' && this._allowUnknownOption) {
7
- return
8
- }
9
- this.outputHelp()
10
- console.log(` ` + chalk.red(log(...args)))
11
- console.log()
12
- process.exit(1)
13
- }
1
+ const program = require('commander')
2
+ const chalk = require('chalk')
3
+
4
+ module.exports = (methodName, log) => {
5
+ program.Command.prototype[methodName] = function (...args) {
6
+ if (methodName === 'unknownOption' && this._allowUnknownOption) {
7
+ return
8
+ }
9
+ this.outputHelp()
10
+ console.log(` ` + chalk.red(log(...args)))
11
+ console.log()
12
+ process.exit(1)
13
+ }
14
14
  }
@@ -1,18 +1,18 @@
1
- const path = require('path')
2
- const fs = require('fs-extra')
3
-
4
- function getCliVersionJsonContent(filePath) {
5
- const pkg = require(filePath)
6
- pkg.version = require('../../../package').version
7
- return pkg
8
- }
9
-
10
- editCliVersion = (config) => {
11
- const filePath = path.resolve(config.targetDir, 'cliVersion.json')
12
- const content = getCliVersionJsonContent(filePath)
13
- fs.writeJsonSync(filePath, content, { spaces: 2 })
14
- }
15
-
16
- module.exports = (config) => {
17
- editCliVersion(config)
1
+ const path = require('path')
2
+ const fs = require('fs-extra')
3
+
4
+ function getCliVersionJsonContent(filePath) {
5
+ const pkg = require(filePath)
6
+ pkg.version = require('../../../package').version
7
+ return pkg
8
+ }
9
+
10
+ editCliVersion = (config) => {
11
+ const filePath = path.resolve(config.targetDir, 'cliVersion.json')
12
+ const content = getCliVersionJsonContent(filePath)
13
+ fs.writeJsonSync(filePath, content, { spaces: 2 })
14
+ }
15
+
16
+ module.exports = (config) => {
17
+ editCliVersion(config)
18
18
  }
@@ -1,20 +1,20 @@
1
- const path = require('path')
2
- const fs = require('fs-extra')
3
-
4
- function getPackageJsonContent(filePath, config) {
5
- const pkg = require(filePath)
6
- pkg.name = config.name
7
- pkg.description = config.description
8
- pkg.version = config.version
9
- return pkg
10
- }
11
-
12
- editPackageJson = (config) => {
13
- const filePath = path.resolve(config.targetDir, 'package.json')
14
- const content = getPackageJsonContent(filePath, config)
15
- fs.writeJsonSync(filePath, content, { spaces: 2 })
16
- }
17
-
18
- module.exports = (config) => {
19
- editPackageJson(config)
1
+ const path = require('path')
2
+ const fs = require('fs-extra')
3
+
4
+ function getPackageJsonContent(filePath, config) {
5
+ const pkg = require(filePath)
6
+ pkg.name = config.name
7
+ pkg.description = config.description
8
+ pkg.version = config.version
9
+ return pkg
10
+ }
11
+
12
+ editPackageJson = (config) => {
13
+ const filePath = path.resolve(config.targetDir, 'package.json')
14
+ const content = getPackageJsonContent(filePath, config)
15
+ fs.writeJsonSync(filePath, content, { spaces: 2 })
16
+ }
17
+
18
+ module.exports = (config) => {
19
+ editPackageJson(config)
20
20
  }
@@ -1,2 +1,2 @@
1
- VUE_APP_PUBLIC_PATH=/
1
+ VUE_APP_PUBLIC_PATH=/
2
2
  VUE_APP_DEV_SERVER_PORT=8282
@@ -1,2 +1,2 @@
1
- VUE_APP_PUBLIC_PATH=<VUE_APP_PUBLIC_PATH>
1
+ VUE_APP_PUBLIC_PATH=<VUE_APP_PUBLIC_PATH>
2
2
  VUE_APP_DEV_SERVER_PORT=<VUE_APP_DEV_SERVER_PORT>
@@ -1,41 +1,41 @@
1
- module.exports = {
2
- root: true,
3
- env: {
4
- browser: true,
5
- es6: true,
6
- node: true
7
- },
8
- ignorePatterns: ["node_modules/", "**/coverage/*", "**/dist/*", "**/types/*", "**/__mocks__/*", "**/*.d.ts", "**/*.js"],
9
- parser: "vue-eslint-parser",
10
- parserOptions: {
11
- parser: "@typescript-eslint/parser",
12
- extraFileExtensions: [".vue"],
13
- project: "./tsconfig.json"
14
- },
15
- plugins: [
16
- "@typescript-eslint"
17
- ],
18
- extends: [
19
- "airbnb-typescript/base"
20
- ],
21
- rules: {
22
- // maximum line length
23
- 'max-len': ['error', { code: 125, tabWidth: 2 }],
24
- // disallow console.log, allow console.warn and console.error
25
- 'no-console': ['error', { allow: ['warn', 'error'] }],
26
- // allow functions to be used before their definition
27
- '@typescript-eslint/no-use-before-define': ['error', { functions: false }],
28
- // don't check classes are exported using default when there is only one export
29
- 'import/prefer-default-export': 'off',
30
- // allow changes in properties of parameters
31
- 'no-param-reassign': ['error', { props: false }],
32
- // allow circular import references,
33
- 'import/no-cycle': 'off',
34
- // allow class methos without this
35
- 'class-methods-use-this': 'off',
36
- // ignore error caused by monorepo and path aliases
37
- 'import/no-unresolved': 'off',
38
- // ignore enforcement of consistent linebreak style
39
- 'linebreak-style': 0,
40
- }
1
+ module.exports = {
2
+ root: true,
3
+ env: {
4
+ browser: true,
5
+ es6: true,
6
+ node: true
7
+ },
8
+ ignorePatterns: ["node_modules/", "**/coverage/*", "**/dist/*", "**/types/*", "**/__mocks__/*", "**/*.d.ts", "**/*.js"],
9
+ parser: "vue-eslint-parser",
10
+ parserOptions: {
11
+ parser: "@typescript-eslint/parser",
12
+ extraFileExtensions: [".vue"],
13
+ project: "./tsconfig.json"
14
+ },
15
+ plugins: [
16
+ "@typescript-eslint"
17
+ ],
18
+ extends: [
19
+ "airbnb-typescript/base"
20
+ ],
21
+ rules: {
22
+ // maximum line length
23
+ 'max-len': ['error', { code: 125, tabWidth: 2 }],
24
+ // disallow console.log, allow console.warn and console.error
25
+ 'no-console': ['error', { allow: ['warn', 'error'] }],
26
+ // allow functions to be used before their definition
27
+ '@typescript-eslint/no-use-before-define': ['error', { functions: false }],
28
+ // don't check classes are exported using default when there is only one export
29
+ 'import/prefer-default-export': 'off',
30
+ // allow changes in properties of parameters
31
+ 'no-param-reassign': ['error', { props: false }],
32
+ // allow circular import references,
33
+ 'import/no-cycle': 'off',
34
+ // allow class methos without this
35
+ 'class-methods-use-this': 'off',
36
+ // ignore error caused by monorepo and path aliases
37
+ 'import/no-unresolved': 'off',
38
+ // ignore enforcement of consistent linebreak style
39
+ 'linebreak-style': 0,
40
+ }
41
41
  }
@@ -1,15 +1,15 @@
1
- module.exports = function(grunt){
2
- grunt.initConfig({
3
- zhIdGenerator: {
4
- options: {
5
- jsonPath: ['../'],
6
- menuPath: ["../menu.json"],
7
- replaceIds: false
8
- }
9
- },
10
- });
11
-
12
- grunt.loadNpmTasks('grunt-zh-id-generator');
13
-
14
- grunt.registerTask('default', ['zhIdGenerator']);
15
- };
1
+ module.exports = function(grunt){
2
+ grunt.initConfig({
3
+ zhIdGenerator: {
4
+ options: {
5
+ jsonPath: ['../'],
6
+ menuPath: ["../menu.json"],
7
+ replaceIds: false
8
+ }
9
+ },
10
+ });
11
+
12
+ grunt.loadNpmTasks('grunt-zh-id-generator');
13
+
14
+ grunt.registerTask('default', ['zhIdGenerator']);
15
+ };
@@ -1,22 +1,22 @@
1
- ## Project setup
2
- ```
3
- npm install
4
- ```
5
-
6
- ### Compiles and hot-reloads for development
7
- ```
8
- npm run serve
9
- ```
10
-
11
- ### Compiles and minifies for production
12
- ```
13
- npm run build
14
- ```
15
-
16
- ### Lints and fixes files
17
- ```
18
- npm run lint
19
- ```
20
-
21
- ### Customize configuration
22
- See [Configuration Reference](https://cli.vuejs.org/config/).
1
+ ## Project setup
2
+ ```
3
+ npm install
4
+ ```
5
+
6
+ ### Compiles and hot-reloads for development
7
+ ```
8
+ npm run serve
9
+ ```
10
+
11
+ ### Compiles and minifies for production
12
+ ```
13
+ npm run build
14
+ ```
15
+
16
+ ### Lints and fixes files
17
+ ```
18
+ npm run lint
19
+ ```
20
+
21
+ ### Customize configuration
22
+ See [Configuration Reference](https://cli.vuejs.org/config/).
@@ -1,3 +1,3 @@
1
- {
2
- "version": 2.1
1
+ {
2
+ "version": 2.1
3
3
  }
@@ -1,21 +1,21 @@
1
- .DS_Store
2
- node_modules
3
- /dist
4
-
5
- # local env files
6
- .env.local
7
- .env.*.local
8
-
9
- # Log files
10
- npm-debug.log*
11
- yarn-debug.log*
12
- yarn-error.log*
13
-
14
- # Editor directories and files
15
- .idea
16
- .vscode
17
- *.suo
18
- *.ntvs*
19
- *.njsproj
20
- *.sln
21
- *.sw?
1
+ .DS_Store
2
+ node_modules
3
+ /dist
4
+
5
+ # local env files
6
+ .env.local
7
+ .env.*.local
8
+
9
+ # Log files
10
+ npm-debug.log*
11
+ yarn-debug.log*
12
+ yarn-error.log*
13
+
14
+ # Editor directories and files
15
+ .idea
16
+ .vscode
17
+ *.suo
18
+ *.ntvs*
19
+ *.njsproj
20
+ *.sln
21
+ *.sw?
@@ -1,68 +1,68 @@
1
- {
2
- "version": "0.0.0",
3
- "private": true,
4
- "scripts": {
5
- "serve": "vue-cli-service serve",
6
- "build": "vue-cli-service build",
7
- "lint": "vue-cli-service lint --ext .ts,.vue ./src"
8
- },
9
- "dependencies": {
10
- "@mdi/font": "^6.5.95",
11
- "@types/execa": "^2.0.0",
12
- "@types/jest": "^26.0.19",
13
- "@types/lodash.merge": "^4.6.6",
14
- "@typescript-eslint/eslint-plugin": "^4.11.1",
15
- "@typescript-eslint/parser": "^4.11.1",
16
- "@vue/cli-plugin-eslint": "^4.5.9",
17
- "@vue/cli-plugin-pwa": "^4.5.9",
18
- "@vue/cli-plugin-typescript": "^4.5.9",
19
- "@vue/cli-plugin-unit-jest": "^4.5.9",
20
- "@vue/cli-service": "^4.5.9",
21
- "@vue/test-utils": "^1.1.2",
22
- "@zeedhi/common": "^1.96.0",
23
- "@zeedhi/core": "^1.96.0",
24
- "@zeedhi/vue": "^1.96.0",
25
- "@zeedhi/vuetify": "^1.96.0",
26
- "@zeedhi/teknisa-components-common": "^1.96.0",
27
- "@zeedhi/teknisa-components-vuetify": "^1.96.0",
28
- "@zeedhi/tek-lib": "*",
29
- "babel-loader": "^8.2.5",
30
- "eslint": "^7.16.0",
31
- "eslint-config-airbnb-typescript": "^12.0.0",
32
- "eslint-plugin-import": "2.22.1",
33
- "eslint-plugin-vue": "^7.4.0",
34
- "execa": "^5.0.0",
35
- "fs": "^0.0.2",
36
- "fs-extra": "^9.0.1",
37
- "register-service-worker": "^1.7.2",
38
- "roboto-fontface": "^0.10.0",
39
- "sass": "^1.32.8",
40
- "sass-loader": "^10.1.1",
41
- "ts-jest": "^26.4.4",
42
- "typescript": "^3.9.7",
43
- "vue": "^2.6.12",
44
- "vue-class-component": "^7.2.6",
45
- "vue-property-decorator": "^9.1.2",
46
- "vue-router": "^3.4.9",
47
- "vue-runtime-helpers": "^1.1.2",
48
- "vue-template-compiler": "^2.6.12",
49
- "vuetify": "^2.4.0",
50
- "vuex": "^3.6.0",
51
- "@babel/plugin-proposal-class-properties": "^7.14.5",
52
- "@babel/plugin-proposal-decorators": "^7.14.5",
53
- "grunt": "^0.4.0",
54
- "grunt-zh-environment-builder": "^0.1.0",
55
- "grunt-zh-id-generator": "^0.1.0"
56
- },
57
- "gitHooks": {
58
- "pre-commit": "lint-staged"
59
- },
60
- "lint-staged": {
61
- "*.{js,jsx,vue,ts,tsx}": [
62
- "vue-cli-service lint",
63
- "git add"
64
- ]
65
- },
66
- "name": "teknisa",
67
- "description": "Powered by Zeedhi"
68
- }
1
+ {
2
+ "version": "0.0.0",
3
+ "private": true,
4
+ "scripts": {
5
+ "serve": "vue-cli-service serve",
6
+ "build": "vue-cli-service build",
7
+ "lint": "vue-cli-service lint --ext .ts,.vue ./src"
8
+ },
9
+ "dependencies": {
10
+ "@mdi/font": "^6.5.95",
11
+ "@types/execa": "^2.0.0",
12
+ "@types/jest": "^26.0.19",
13
+ "@types/lodash.merge": "^4.6.6",
14
+ "@typescript-eslint/eslint-plugin": "^4.11.1",
15
+ "@typescript-eslint/parser": "^4.11.1",
16
+ "@vue/cli-plugin-eslint": "^4.5.9",
17
+ "@vue/cli-plugin-pwa": "^4.5.9",
18
+ "@vue/cli-plugin-typescript": "^4.5.9",
19
+ "@vue/cli-plugin-unit-jest": "^4.5.9",
20
+ "@vue/cli-service": "^4.5.9",
21
+ "@vue/test-utils": "^1.1.2",
22
+ "@zeedhi/common": "^1.96.0",
23
+ "@zeedhi/core": "^1.96.0",
24
+ "@zeedhi/vue": "^1.96.0",
25
+ "@zeedhi/vuetify": "^1.96.0",
26
+ "@zeedhi/teknisa-components-common": "^1.96.0",
27
+ "@zeedhi/teknisa-components-vuetify": "^1.96.0",
28
+ "@zeedhi/tek-lib": "*",
29
+ "babel-loader": "^8.2.5",
30
+ "eslint": "^7.16.0",
31
+ "eslint-config-airbnb-typescript": "^12.0.0",
32
+ "eslint-plugin-import": "2.22.1",
33
+ "eslint-plugin-vue": "^7.4.0",
34
+ "execa": "^5.0.0",
35
+ "fs": "^0.0.2",
36
+ "fs-extra": "^9.0.1",
37
+ "register-service-worker": "^1.7.2",
38
+ "roboto-fontface": "^0.10.0",
39
+ "sass": "^1.32.8",
40
+ "sass-loader": "^10.1.1",
41
+ "ts-jest": "^26.4.4",
42
+ "typescript": "^3.9.7",
43
+ "vue": "^2.6.12",
44
+ "vue-class-component": "^7.2.6",
45
+ "vue-property-decorator": "^9.1.2",
46
+ "vue-router": "^3.4.9",
47
+ "vue-runtime-helpers": "^1.1.2",
48
+ "vue-template-compiler": "^2.6.12",
49
+ "vuetify": "^2.4.0",
50
+ "vuex": "^3.6.0",
51
+ "@babel/plugin-proposal-class-properties": "^7.14.5",
52
+ "@babel/plugin-proposal-decorators": "^7.14.5",
53
+ "grunt": "^0.4.0",
54
+ "grunt-zh-environment-builder": "^0.1.0",
55
+ "grunt-zh-id-generator": "^0.1.0"
56
+ },
57
+ "gitHooks": {
58
+ "pre-commit": "lint-staged"
59
+ },
60
+ "lint-staged": {
61
+ "*.{js,jsx,vue,ts,tsx}": [
62
+ "vue-cli-service lint",
63
+ "git add"
64
+ ]
65
+ },
66
+ "name": "teknisa",
67
+ "description": "Powered by Zeedhi"
68
+ }
@@ -1,5 +1,5 @@
1
- module.exports = {
2
- plugins: {
3
- autoprefixer: {}
4
- }
5
- }
1
+ module.exports = {
2
+ plugins: {
3
+ autoprefixer: {}
4
+ }
5
+ }
@@ -1,17 +1,17 @@
1
- <!DOCTYPE html>
2
- <html lang="pt-br">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="theme-color" content="#772583">
7
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
8
- <title><%= htmlWebpackPlugin.options.title %></title>
9
- </head>
10
- <body>
11
- <noscript>
12
- <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
13
- </noscript>
14
- <div id="app"></div>
15
- <!-- built files will be auto injected -->
16
- </body>
17
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="pt-br">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="theme-color" content="#772583">
7
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
8
+ <title><%= htmlWebpackPlugin.options.title %></title>
9
+ </head>
10
+ <body>
11
+ <noscript>
12
+ <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
13
+ </noscript>
14
+ <div id="app"></div>
15
+ <!-- built files will be auto injected -->
16
+ </body>
17
+ </html>
@@ -1,15 +1,15 @@
1
- {
2
- "name": "notFound",
3
- "component": "ZdRow",
4
- "cssClass": "fill-height",
5
- "justify": "center",
6
- "align": "center",
7
- "children": [
8
- {
9
- "name": "text",
10
- "component": "ZdText",
11
- "text": "NOT FOUND",
12
- "tag": "h1"
13
- }
14
- ]
1
+ {
2
+ "name": "notFound",
3
+ "component": "ZdRow",
4
+ "cssClass": "fill-height",
5
+ "justify": "center",
6
+ "align": "center",
7
+ "children": [
8
+ {
9
+ "name": "text",
10
+ "component": "ZdText",
11
+ "text": "NOT FOUND",
12
+ "tag": "h1"
13
+ }
14
+ ]
15
15
  }