@lilaquadrat/cli 0.10.1 → 0.10.4
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/lib/functions/template.d.ts +0 -0
- package/lib/functions/template.js +24 -49
- package/lib/functions/template.js.map +1 -1
- package/lib/src/config.d.ts +4 -2
- package/lib/src/config.js +27 -28
- package/lib/src/config.js.map +1 -1
- package/lib/src/config.prompt.d.ts +0 -0
- package/lib/src/config.prompt.js +4 -6
- package/lib/src/config.prompt.js.map +1 -1
- package/lib/src/create.prompt.d.ts +0 -0
- package/lib/src/create.prompt.js +8 -13
- package/lib/src/create.prompt.js.map +1 -1
- package/lib/src/definitions.d.ts +0 -0
- package/lib/src/definitions.js +1 -3
- package/lib/src/definitions.js.map +1 -1
- package/lib/src/helpers/readFolder.d.ts +21 -0
- package/lib/src/helpers/readFolder.js +53 -0
- package/lib/src/helpers/readFolder.js.map +1 -0
- package/lib/src/index.d.ts +0 -0
- package/lib/src/index.js +106 -65
- package/lib/src/index.js.map +1 -1
- package/lib/src/login.d.ts +1 -1
- package/lib/src/login.js +97 -81
- package/lib/src/login.js.map +1 -1
- package/lib/src/logout.d.ts +0 -0
- package/lib/src/logout.js +5 -10
- package/lib/src/logout.js.map +1 -1
- package/lib/src/mode.prompt.d.ts +0 -0
- package/lib/src/mode.prompt.js +15 -3
- package/lib/src/mode.prompt.js.map +1 -1
- package/lib/src/publish.d.ts +0 -0
- package/lib/src/publish.js +22 -135
- package/lib/src/publish.js.map +1 -1
- package/lib/src/status.d.ts +0 -0
- package/lib/src/status.js +13 -18
- package/lib/src/status.js.map +1 -1
- package/lib/src/storage.d.ts +5 -0
- package/lib/src/storage.js +26 -0
- package/lib/src/storage.js.map +1 -0
- package/lib/src/store.d.ts +0 -0
- package/lib/src/store.js +6 -11
- package/lib/src/store.js.map +1 -1
- package/lib/src/user.d.ts +0 -0
- package/lib/src/user.js +12 -19
- package/lib/src/user.js.map +1 -1
- package/package.json +20 -14
- package/source/apps/app.ts.hbs +0 -0
- package/source/apps/de.ts.hbs +0 -0
- package/source/apps/home.screen.vue.hbs +10 -17
- package/source/apps/main-state.interface.ts.hbs +1 -1
- package/source/apps/main.store.ts.hbs +0 -0
- package/source/apps/routes.ts.hbs +2 -2
- package/source/apps/single.screen.vue.hbs +2 -2
- package/source/apps/translations.ts.hbs +0 -0
- package/source/design/.storybook/.babelrc +0 -0
- package/source/design/.storybook/preview-body.html +0 -0
- package/source/design/index.html +0 -0
- package/source/design/index.server.html +0 -0
- package/source/design/models.ts +0 -0
- package/source/design/modules.ts +0 -0
- package/source/design/server/app-server.ts +0 -0
- package/source/design/server/server-entry.ts +0 -0
- package/source/design/source/fonts/OpenSans-Regular.woff +0 -0
- package/source/design/source/fonts/OpenSans-SemiBold.woff +0 -0
- package/source/design/source/fonts/OpenSansSemiCondensed-ExtraBold.woff +0 -0
- package/source/design/source/less/base.less +0 -0
- package/source/design/source/less/fonts.less +0 -0
- package/source/design/source/less/shared.less +0 -0
- package/source/design/source/less/variables.less +0 -0
- package/source/design/translations/de.ts +0 -0
- package/source/designFiles/app.ts.hbs +0 -0
- package/source/designFiles/main.js.hbs +0 -0
- package/source/designFiles/preview.js.hbs +0 -0
- package/source/moduleEditor/modules.html.hbs +0 -0
- package/source/moduleEditor/modules.ts.hbs +0 -0
- package/source/modules/modules.vue.hbs +0 -0
- package/source/partials/partials.vue.hbs +0 -0
- package/source/store/state.d.ts.hbs +0 -0
- package/source/store/store.ts.hbs +0 -0
- package/lib/package.json +0 -68
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UnifiedRouteGuard } from '@libs/lila-auth';
|
|
2
2
|
|
|
3
3
|
const loadScreen = (screen: string) => () => import(
|
|
4
4
|
/* webpackChunkName: "app-{{name}}" */
|
|
@@ -9,7 +9,7 @@ export default [
|
|
|
9
9
|
{
|
|
10
10
|
path: '/:company/:project/a/{{name}}',
|
|
11
11
|
name: 'app-{{name}}-project-home',
|
|
12
|
-
beforeEnter:
|
|
12
|
+
beforeEnter: UnifiedRouteGuard,
|
|
13
13
|
component: loadScreen('home.screen.vue'),
|
|
14
14
|
meta: {
|
|
15
15
|
animationGroup: '{{name}}',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<article class="app-{{name}}-single-screen" :class="navigationAnimation">
|
|
3
|
-
<side-screen-header-partial>{{curly true}}'app-{{name}}-add-title'
|
|
3
|
+
<side-screen-header-partial>{{curly true}}$translate('app-{{name}}-add-title'){{curly}}</side-screen-header-partial>
|
|
4
4
|
<section class="content-container">
|
|
5
5
|
|
|
6
6
|
<data-grid-partial class="content">
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<script lang="ts">
|
|
19
19
|
import { ExtComponent, Component } from '@libs/lila-component';
|
|
20
20
|
import StudioSDK, { SDKResponse } from '@libs/StudioSDK';
|
|
21
|
-
import { Publish } from '@lilaquadrat/
|
|
21
|
+
import { Publish } from '@lilaquadrat/interfaces';
|
|
22
22
|
import MainStoreState from '@store/mainStoreState.interface';
|
|
23
23
|
import { Dictionary } from 'vue-router/types/router';
|
|
24
24
|
import { Store } from 'vuex';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/source/design/index.html
CHANGED
|
File without changes
|
|
File without changes
|
package/source/design/models.ts
CHANGED
|
File without changes
|
package/source/design/modules.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/package.json
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@lilaquadrat/cli",
|
|
3
|
-
"version": "0.10.0",
|
|
4
|
-
"description": "CLI for studio app and studio renderer",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"homepage": "https://lilaquadrat.de",
|
|
7
|
-
"author": {
|
|
8
|
-
"email": "m.schuebel@lila2.de",
|
|
9
|
-
"name": "Mathias Schübel",
|
|
10
|
-
"url": "https://lilaquadrat.de"
|
|
11
|
-
},
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "tsc",
|
|
14
|
-
"start": "tsc --watch",
|
|
15
|
-
"prepublish": "tsc",
|
|
16
|
-
"cli": "node lib/src/index.js",
|
|
17
|
-
"release": "standard-version"
|
|
18
|
-
},
|
|
19
|
-
"engines": {
|
|
20
|
-
"node": ">=14",
|
|
21
|
-
"yarn": ">=1.22"
|
|
22
|
-
},
|
|
23
|
-
"devDependencies": {
|
|
24
|
-
"@types/archiver": "^5.3.2",
|
|
25
|
-
"@types/fs-extra": "^11.0.1",
|
|
26
|
-
"@types/inquirer": "^9.0.3",
|
|
27
|
-
"@types/node": "^18.16.0",
|
|
28
|
-
"@typescript-eslint/eslint-plugin": "^5.59.0",
|
|
29
|
-
"@typescript-eslint/parser": "^5.59.0",
|
|
30
|
-
"cz-conventional-changelog": "^3.3.0",
|
|
31
|
-
"eslint": "^8.39.0",
|
|
32
|
-
"eslint-config-airbnb-base": "15.0.0",
|
|
33
|
-
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
34
|
-
"eslint-import-resolver-typescript": "^3.5.5",
|
|
35
|
-
"eslint-plugin-import": "^2.27.5",
|
|
36
|
-
"eslint-plugin-promise": "^6.1.1",
|
|
37
|
-
"standard-version": "^9.5.0"
|
|
38
|
-
},
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"@lilaquadrat/interfaces": "^1.8.0",
|
|
41
|
-
"archiver": "^5.3.1",
|
|
42
|
-
"axios": "^1.3.6",
|
|
43
|
-
"chalk": "^4.1.2",
|
|
44
|
-
"clear": "^0.1.0",
|
|
45
|
-
"commander": "^10.0.1",
|
|
46
|
-
"filesize": "^10.0.7",
|
|
47
|
-
"form-data": "^4.0.0",
|
|
48
|
-
"fs-extra": "^11.1.1",
|
|
49
|
-
"handlebars": "^4.7.7",
|
|
50
|
-
"inquirer": "^8.2.5",
|
|
51
|
-
"open": "^8.4.2",
|
|
52
|
-
"typescript": "^5.0.4"
|
|
53
|
-
},
|
|
54
|
-
"files": [
|
|
55
|
-
"lib/**/*",
|
|
56
|
-
"source/**/*"
|
|
57
|
-
],
|
|
58
|
-
"bin": {
|
|
59
|
-
"lila": "lib/src/index.js"
|
|
60
|
-
},
|
|
61
|
-
"exports": "./lib/src/index.js",
|
|
62
|
-
"types": "lib/src/index.d.ts",
|
|
63
|
-
"config": {
|
|
64
|
-
"commitizen": {
|
|
65
|
-
"path": "./node_modules/cz-conventional-changelog"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|