@fullstackunicorn/root 1.0.18 → 1.0.20
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.
|
@@ -75,7 +75,7 @@ export class Frontend {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
async configureTrademark() {
|
|
78
|
-
//
|
|
78
|
+
// X, Y, canonical, inverse
|
|
79
79
|
const objPath = 'app.frontend.configure.trademark'
|
|
80
80
|
const templatePath = `${this.def.templates}/${this.def.files.frontend.trademark}`
|
|
81
81
|
const outputPath = `${this.def.cwd}/${this.def.files.frontend.trademark}`
|
package/modules/upgrade.js
CHANGED
|
@@ -44,6 +44,7 @@ class Upgrade {
|
|
|
44
44
|
await this.frontend.envProd()
|
|
45
45
|
await this.frontend.package()
|
|
46
46
|
await this.frontend.webmanifest()
|
|
47
|
+
await this.frontend.configureCache()
|
|
47
48
|
await this.frontend.configureLogo()
|
|
48
49
|
await this.frontend.configureTrademark()
|
|
49
50
|
await this.frontend.configureLayout()
|
|
@@ -158,8 +159,6 @@ class Upgrade {
|
|
|
158
159
|
app.frontend.webmanifest.theme_color = a.index.theme_color
|
|
159
160
|
app.frontend.webmanifest.background_color = a.index.background_color
|
|
160
161
|
|
|
161
|
-
// frontend.configure
|
|
162
|
-
app.frontend.configure = app.frontend.configure || {}
|
|
163
162
|
// frontend.configure.cache
|
|
164
163
|
app.frontend.configure.cache = {}
|
|
165
164
|
app.frontend.configure.cache.stale = a.configure.cache.stale
|
|
@@ -170,7 +169,7 @@ class Upgrade {
|
|
|
170
169
|
app.frontend.configure.logo.inverse = `logo.inverse.${a.configure.logo.ext}`
|
|
171
170
|
// frontend.configure.trademark
|
|
172
171
|
app.frontend.configure.trademark = {}
|
|
173
|
-
app.frontend.configure.trademark.
|
|
172
|
+
app.frontend.configure.trademark.X = a.configure.trademark.X
|
|
174
173
|
app.frontend.configure.trademark.Y = a.configure.trademark.Y
|
|
175
174
|
app.frontend.configure.trademark.canonical = `trademark.${a.configure.trademark.ext}`
|
|
176
175
|
app.frontend.configure.trademark.inverse = `trademark.inverse.${a.configure.trademark.ext}`
|
package/package.json
CHANGED