lucy-cli 0.7.14 → 0.7.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/gulp/types.js +6 -3
- package/package.json +1 -1
- package/src/gulp/types.ts +5 -2
package/dist/gulp/types.js
CHANGED
@@ -105,7 +105,8 @@ export function updateWixTypes(options) {
|
|
105
105
|
return stream.pipe(jeditor(publicSettings))
|
106
106
|
.pipe(jeditor((json) => cleanTsConfig(json)))
|
107
107
|
.pipe(jeditor((json) => processJson(json)))
|
108
|
-
.pipe(replace('"../backend.d.ts",', '', replaceOptions))
|
108
|
+
.pipe(replace('"../backend.d.ts",', '', replaceOptions))
|
109
|
+
.pipe(replace('"../../../src/backend/\\*\\*/\\*.web.js",', '', replaceOptions));
|
109
110
|
}
|
110
111
|
if (file.dirname.endsWith('backend')) {
|
111
112
|
return stream.pipe(jeditor(backendSettings))
|
@@ -117,13 +118,15 @@ export function updateWixTypes(options) {
|
|
117
118
|
return stream.pipe(jeditor(masterSettings))
|
118
119
|
.pipe(jeditor((json) => cleanTsConfig(json)))
|
119
120
|
.pipe(jeditor((json) => processJson(json)))
|
120
|
-
.pipe(replace('"../backend.d.ts",', '', replaceOptions))
|
121
|
+
.pipe(replace('"../backend.d.ts",', '', replaceOptions))
|
122
|
+
.pipe(replace('"../../../src/backend/\\*\\*/\\*.web.js",', '', replaceOptions));
|
121
123
|
}
|
122
124
|
;
|
123
125
|
return stream.pipe(jeditor(pageSettings))
|
124
126
|
.pipe(jeditor((json) => cleanTsConfig(json)))
|
125
127
|
.pipe(jeditor((json) => processJson(json)))
|
126
|
-
.pipe(replace('"../backend.d.ts",', '', replaceOptions))
|
128
|
+
.pipe(replace('"../backend.d.ts",', '', replaceOptions))
|
129
|
+
.pipe(replace('"../../../src/backend/\\*\\*/\\*.web.js",', '', replaceOptions));
|
127
130
|
}))
|
128
131
|
.pipe(replace('masterPage.masterPage.js', 'masterPage.ts', replaceOptions))
|
129
132
|
.pipe(replace('/src/', '/typescript/', replaceOptions))
|
package/package.json
CHANGED
package/src/gulp/types.ts
CHANGED
@@ -113,7 +113,8 @@ export function updateWixTypes(options: TaskOptions) {
|
|
113
113
|
return stream.pipe(jeditor(publicSettings))
|
114
114
|
.pipe(jeditor((json: any) => cleanTsConfig(json)))
|
115
115
|
.pipe(jeditor((json: any) => processJson(json)))
|
116
|
-
.pipe(replace('"../backend.d.ts",', '', replaceOptions))
|
116
|
+
.pipe(replace('"../backend.d.ts",', '', replaceOptions))
|
117
|
+
.pipe(replace('"../../../src/backend/\\*\\*/\\*.web.js",', '', replaceOptions));
|
117
118
|
}
|
118
119
|
if (file.dirname.endsWith('backend')) {
|
119
120
|
return stream.pipe(jeditor(backendSettings))
|
@@ -125,12 +126,14 @@ export function updateWixTypes(options: TaskOptions) {
|
|
125
126
|
.pipe(jeditor((json: any) => cleanTsConfig(json)))
|
126
127
|
.pipe(jeditor((json: any) => processJson(json)))
|
127
128
|
.pipe(replace('"../backend.d.ts",', '', replaceOptions))
|
129
|
+
.pipe(replace('"../../../src/backend/\\*\\*/\\*.web.js",', '', replaceOptions));
|
128
130
|
};
|
129
131
|
|
130
132
|
return stream.pipe(jeditor(pageSettings))
|
131
133
|
.pipe(jeditor((json: any) => cleanTsConfig(json)))
|
132
134
|
.pipe(jeditor((json: any) => processJson(json)))
|
133
|
-
.pipe(replace('"../backend.d.ts",', '', replaceOptions))
|
135
|
+
.pipe(replace('"../backend.d.ts",', '', replaceOptions))
|
136
|
+
.pipe(replace('"../../../src/backend/\\*\\*/\\*.web.js",', '', replaceOptions));
|
134
137
|
}))
|
135
138
|
.pipe(replace('masterPage.masterPage.js', 'masterPage.ts', replaceOptions))
|
136
139
|
.pipe(replace('/src/', '/typescript/', replaceOptions))
|