houdini-svelte 0.17.0-next.3 → 0.17.0
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/.turbo/turbo-compile.log +2 -2
- package/.turbo/turbo-typedefs.log +2 -2
- package/CHANGELOG.md +1 -24
- package/build/plugin-cjs/index.js +2 -10
- package/build/plugin-esm/index.js +2 -10
- package/build/preprocess-cjs/index.js +1 -2
- package/build/preprocess-esm/index.js +1 -2
- package/build/test-cjs/index.js +2 -10
- package/build/test-esm/index.js +2 -10
- package/package.json +2 -2
- package/src/plugin/fsPatch.ts +2 -8
package/.turbo/turbo-compile.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
houdini-svelte:compile: cache hit, replaying output
|
|
1
|
+
houdini-svelte:compile: cache hit, replaying output d2038584b36d45dd
|
|
2
2
|
houdini-svelte:compile:
|
|
3
|
-
houdini-svelte:compile: > houdini-svelte@0.17.0
|
|
3
|
+
houdini-svelte:compile: > houdini-svelte@0.17.0 compile /home/runner/work/houdini/houdini/packages/houdini-svelte
|
|
4
4
|
houdini-svelte:compile: > scripts build --plugin
|
|
5
5
|
houdini-svelte:compile:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
houdini-svelte:typedefs: cache hit, replaying output
|
|
1
|
+
houdini-svelte:typedefs: cache hit, replaying output 72fe195e637ee1e9
|
|
2
2
|
houdini-svelte:typedefs:
|
|
3
|
-
houdini-svelte:typedefs: > houdini-svelte@0.17.0
|
|
3
|
+
houdini-svelte:typedefs: > houdini-svelte@0.17.0 typedefs /home/runner/work/houdini/houdini/packages/houdini-svelte
|
|
4
4
|
houdini-svelte:typedefs: > scripts typedefs --plugin
|
|
5
5
|
houdini-svelte:typedefs:
|
package/CHANGELOG.md
CHANGED
|
@@ -1,29 +1,6 @@
|
|
|
1
1
|
# houdini-svelte
|
|
2
2
|
|
|
3
|
-
## 0.17.0
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Updated dependencies [[`b34948d`](https://github.com/HoudiniGraphql/houdini/commit/b34948dcabd6ee5f550fc0cd4aa755ee64fbec24)]:
|
|
8
|
-
- houdini@0.17.0-next.3
|
|
9
|
-
|
|
10
|
-
## 0.17.0-next.2
|
|
11
|
-
|
|
12
|
-
### Patch Changes
|
|
13
|
-
|
|
14
|
-
- Updated dependencies [[`addda88`](https://github.com/HoudiniGraphql/houdini/commit/addda88d164359b185088315f9498be818e7f042)]:
|
|
15
|
-
- houdini@0.17.0-next.2
|
|
16
|
-
|
|
17
|
-
## 0.17.0-next.1
|
|
18
|
-
|
|
19
|
-
### Patch Changes
|
|
20
|
-
|
|
21
|
-
- [#614](https://github.com/HoudiniGraphql/houdini/pull/614) [`123de70`](https://github.com/HoudiniGraphql/houdini/commit/123de70dd44c38032b75d87254cd30a66602e86a) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Make scripts a dev dep
|
|
22
|
-
|
|
23
|
-
- Updated dependencies []:
|
|
24
|
-
- houdini@0.17.0-next.1
|
|
25
|
-
|
|
26
|
-
## 0.17.0-next.0
|
|
3
|
+
## 0.17.0
|
|
27
4
|
|
|
28
5
|
### ⚠️ Breaking Changes
|
|
29
6
|
|
|
@@ -183622,17 +183622,9 @@ import_fs.default.statSync = function(filepath, options) {
|
|
|
183622
183622
|
if (filepath.endsWith(path_exports.join("routes", "+layout.svelte")) || filepath.endsWith(path_exports.join("routes", "+layout.svelte")) || filepath.endsWith(path_exports.join("routes", "+layout.server.js")) || filepath.endsWith(path_exports.join("routes", "+layout.server.js"))) {
|
|
183623
183623
|
return mock3;
|
|
183624
183624
|
} else if (filepath.endsWith("+layout.js")) {
|
|
183625
|
-
|
|
183626
|
-
_statSync(filepath.replace("+layout.js", "+layout.svelte"));
|
|
183627
|
-
return mock3;
|
|
183628
|
-
} catch (e3) {
|
|
183629
|
-
}
|
|
183625
|
+
return mock3;
|
|
183630
183626
|
} else if (filepath.endsWith("+page.js")) {
|
|
183631
|
-
|
|
183632
|
-
_statSync(filepath.replace("+page.js", "+page.svelte"));
|
|
183633
|
-
return mock3;
|
|
183634
|
-
} catch (e3) {
|
|
183635
|
-
}
|
|
183627
|
+
return mock3;
|
|
183636
183628
|
}
|
|
183637
183629
|
throw error3;
|
|
183638
183630
|
}
|
|
@@ -183618,17 +183618,9 @@ filesystem.statSync = function(filepath, options) {
|
|
|
183618
183618
|
if (filepath.endsWith(path_exports.join("routes", "+layout.svelte")) || filepath.endsWith(path_exports.join("routes", "+layout.svelte")) || filepath.endsWith(path_exports.join("routes", "+layout.server.js")) || filepath.endsWith(path_exports.join("routes", "+layout.server.js"))) {
|
|
183619
183619
|
return mock3;
|
|
183620
183620
|
} else if (filepath.endsWith("+layout.js")) {
|
|
183621
|
-
|
|
183622
|
-
_statSync(filepath.replace("+layout.js", "+layout.svelte"));
|
|
183623
|
-
return mock3;
|
|
183624
|
-
} catch (e3) {
|
|
183625
|
-
}
|
|
183621
|
+
return mock3;
|
|
183626
183622
|
} else if (filepath.endsWith("+page.js")) {
|
|
183627
|
-
|
|
183628
|
-
_statSync(filepath.replace("+page.js", "+page.svelte"));
|
|
183629
|
-
return mock3;
|
|
183630
|
-
} catch (e3) {
|
|
183631
|
-
}
|
|
183623
|
+
return mock3;
|
|
183632
183624
|
}
|
|
183633
183625
|
throw error3;
|
|
183634
183626
|
}
|
|
@@ -96930,8 +96930,7 @@ async function getConfig({
|
|
|
96930
96930
|
const configFile = await readConfigFile(configPath);
|
|
96931
96931
|
if (!configFile.plugins) {
|
|
96932
96932
|
throw new HoudiniError({
|
|
96933
|
-
message: "
|
|
96934
|
-
description: "Please visit the release notes here: http://www.houdinigraphql.com/guide/release-notes#0170"
|
|
96933
|
+
message: "Welcome to 0.17.0! Please following the migration guide here: http://www.houdinigraphql.com/guides/release-notes#0170"
|
|
96935
96934
|
});
|
|
96936
96935
|
}
|
|
96937
96936
|
try {
|
|
@@ -96923,8 +96923,7 @@ async function getConfig({
|
|
|
96923
96923
|
const configFile = await readConfigFile(configPath);
|
|
96924
96924
|
if (!configFile.plugins) {
|
|
96925
96925
|
throw new HoudiniError({
|
|
96926
|
-
message: "
|
|
96927
|
-
description: "Please visit the release notes here: http://www.houdinigraphql.com/guide/release-notes#0170"
|
|
96926
|
+
message: "Welcome to 0.17.0! Please following the migration guide here: http://www.houdinigraphql.com/guides/release-notes#0170"
|
|
96928
96927
|
});
|
|
96929
96928
|
}
|
|
96930
96929
|
try {
|
package/build/test-cjs/index.js
CHANGED
|
@@ -300366,17 +300366,9 @@ import_fs.default.statSync = function(filepath, options) {
|
|
|
300366
300366
|
if (filepath.endsWith(path_exports.join("routes", "+layout.svelte")) || filepath.endsWith(path_exports.join("routes", "+layout.svelte")) || filepath.endsWith(path_exports.join("routes", "+layout.server.js")) || filepath.endsWith(path_exports.join("routes", "+layout.server.js"))) {
|
|
300367
300367
|
return mock5;
|
|
300368
300368
|
} else if (filepath.endsWith("+layout.js")) {
|
|
300369
|
-
|
|
300370
|
-
_statSync(filepath.replace("+layout.js", "+layout.svelte"));
|
|
300371
|
-
return mock5;
|
|
300372
|
-
} catch (e3) {
|
|
300373
|
-
}
|
|
300369
|
+
return mock5;
|
|
300374
300370
|
} else if (filepath.endsWith("+page.js")) {
|
|
300375
|
-
|
|
300376
|
-
_statSync(filepath.replace("+page.js", "+page.svelte"));
|
|
300377
|
-
return mock5;
|
|
300378
|
-
} catch (e3) {
|
|
300379
|
-
}
|
|
300371
|
+
return mock5;
|
|
300380
300372
|
}
|
|
300381
300373
|
throw error3;
|
|
300382
300374
|
}
|
package/build/test-esm/index.js
CHANGED
|
@@ -300355,17 +300355,9 @@ filesystem.statSync = function(filepath, options) {
|
|
|
300355
300355
|
if (filepath.endsWith(path_exports.join("routes", "+layout.svelte")) || filepath.endsWith(path_exports.join("routes", "+layout.svelte")) || filepath.endsWith(path_exports.join("routes", "+layout.server.js")) || filepath.endsWith(path_exports.join("routes", "+layout.server.js"))) {
|
|
300356
300356
|
return mock5;
|
|
300357
300357
|
} else if (filepath.endsWith("+layout.js")) {
|
|
300358
|
-
|
|
300359
|
-
_statSync(filepath.replace("+layout.js", "+layout.svelte"));
|
|
300360
|
-
return mock5;
|
|
300361
|
-
} catch (e3) {
|
|
300362
|
-
}
|
|
300358
|
+
return mock5;
|
|
300363
300359
|
} else if (filepath.endsWith("+page.js")) {
|
|
300364
|
-
|
|
300365
|
-
_statSync(filepath.replace("+page.js", "+page.svelte"));
|
|
300366
|
-
return mock5;
|
|
300367
|
-
} catch (e3) {
|
|
300368
|
-
}
|
|
300360
|
+
return mock5;
|
|
300369
300361
|
}
|
|
300370
300362
|
throw error3;
|
|
300371
300363
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini-svelte",
|
|
3
|
-
"version": "0.17.0
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "The svelte plugin for houdini",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"ast-types": "^0.15.1",
|
|
10
10
|
"estree-walker": "^3.0.1",
|
|
11
11
|
"graphql": "^16.6.0",
|
|
12
|
-
"houdini": "^0.17.0
|
|
12
|
+
"houdini": "^0.17.0",
|
|
13
13
|
"minimatch": "^5.1.0",
|
|
14
14
|
"recast": "^0.21.5",
|
|
15
15
|
"svelte": "^3.52.0"
|
package/src/plugin/fsPatch.ts
CHANGED
|
@@ -123,18 +123,12 @@ filesystem.statSync = function (filepath: string, options: Parameters<filesystem
|
|
|
123
123
|
|
|
124
124
|
// we want to fake +layout.js if there is a +layout.svelte
|
|
125
125
|
else if (filepath.endsWith('+layout.js')) {
|
|
126
|
-
|
|
127
|
-
_statSync(filepath.replace('+layout.js', '+layout.svelte'))
|
|
128
|
-
return mock
|
|
129
|
-
} catch (e) {}
|
|
126
|
+
return mock
|
|
130
127
|
}
|
|
131
128
|
|
|
132
129
|
// we want to fake +page.js if there is a +page.svelte
|
|
133
130
|
else if (filepath.endsWith('+page.js')) {
|
|
134
|
-
|
|
135
|
-
_statSync(filepath.replace('+page.js', '+page.svelte'))
|
|
136
|
-
return mock
|
|
137
|
-
} catch (e) {}
|
|
131
|
+
return mock
|
|
138
132
|
}
|
|
139
133
|
|
|
140
134
|
// if we got this far we didn't fake the file
|