@vc-shell/create-vc-app
Advanced tools
Comparing version 1.0.127 to 1.0.128
@@ -0,1 +1,5 @@ | ||
## [1.0.128](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.127...v1.0.128) (2023-12-14) | ||
## [1.0.127](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.126...v1.0.127) (2023-12-13) | ||
@@ -2,0 +6,0 @@ |
@@ -24,4 +24,4 @@ { | ||
"@typescript-eslint/parser": "^5.59.7", | ||
"@vc-shell/api-client-generator": "^1.0.127", | ||
"@vc-shell/ts-config": "^1.0.127", | ||
"@vc-shell/api-client-generator": "^1.0.128", | ||
"@vc-shell/ts-config": "^1.0.128", | ||
"@vitejs/plugin-vue": "^4.2.3", | ||
@@ -58,4 +58,4 @@ "@vue/eslint-config-prettier": "^7.1.0", | ||
"@fortawesome/fontawesome-free": "^5.15.3", | ||
"@vc-shell/config-generator": "^1.0.127", | ||
"@vc-shell/framework": "^1.0.127", | ||
"@vc-shell/config-generator": "^1.0.128", | ||
"@vc-shell/framework": "^1.0.128", | ||
"@vueuse/core": "^10.1.2", | ||
@@ -62,0 +62,0 @@ "@vueuse/integrations": "^10.1.2", |
@@ -5,5 +5,12 @@ import { getApplicationConfiguration } from "@vc-shell/config-generator"; | ||
// Remove it after you added APP_PLATFORM_URL to .env file. Demo mode works only with yarn serve | ||
const isDemo = !process.env.APP_PLATFORM_URL; | ||
const mode = process.env.APP_ENV as string; | ||
export default getApplicationConfiguration({ | ||
define: { | ||
// Set demo mode | ||
__DEMO_MODE__: isDemo, | ||
}, | ||
plugins: [ | ||
@@ -10,0 +17,0 @@ VitePWA({ |
@@ -32,3 +32,3 @@ import VirtoShellFramework, { notification, useUser } from "@vc-shell/framework"; | ||
app.provide("platformUrl", import.meta.env.APP_PLATFORM_URL); | ||
// app.provide("platformUrl", import.meta.env.APP_PLATFORM_URL); | ||
@@ -35,0 +35,0 @@ app.config.errorHandler = (err) => { |
@@ -29,3 +29,3 @@ import VirtoShellFramework, { notification, useUser } from "@vc-shell/framework"; | ||
app.provide("platformUrl", import.meta.env.APP_PLATFORM_URL); | ||
// app.provide("platformUrl", import.meta.env.APP_PLATFORM_URL); | ||
@@ -32,0 +32,0 @@ app.config.errorHandler = (err) => { |
@@ -29,3 +29,3 @@ import VirtoShellFramework, { notification, useUser } from "@vc-shell/framework"; | ||
app.provide("platformUrl", import.meta.env.APP_PLATFORM_URL); | ||
// app.provide("platformUrl", import.meta.env.APP_PLATFORM_URL); | ||
@@ -32,0 +32,0 @@ app.config.errorHandler = (err) => { |
{ | ||
"name": "@vc-shell/create-vc-app", | ||
"description": "Application scaffolding", | ||
"version": "1.0.127", | ||
"version": "1.0.128", | ||
"type": "module", | ||
@@ -16,3 +16,3 @@ "bin": "./dist/index.js", | ||
"@types/prompts": "^2.4.4", | ||
"@vc-shell/ts-config": "^1.0.127", | ||
"@vc-shell/ts-config": "^1.0.128", | ||
"copyfiles": "^2.4.1", | ||
@@ -19,0 +19,0 @@ "cross-env": "^7.0.3", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
4025869
15315