lucy-cli 0.7.14 → 0.7.15

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.
@@ -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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "lucy-cli",
4
- "version": "0.7.14",
4
+ "version": "0.7.15",
5
5
  "description": "Lucy Framework for WIX Studio Editor",
6
6
  "main": ".dist/index.js",
7
7
  "scripts": {
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))