houdini 0.14.0-alpha.0 → 0.14.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/.github/workflows/release.yml +4 -2
- package/.github/workflows/tests.yml +15 -9
- package/CHANGELOG.md +10 -0
- package/build/cmd.js +0 -0
- package/example/package.json +1 -1
- package/package.json +6 -5
- package/src/runtime/query.ts +1 -1
- package/.changeset/honest-actors-protect.md +0 -5
- package/.changeset/shiny-falcons-carry.md +0 -5
- package/.github/assets/cylon.gif +0 -0
- package/.github/assets/ts-logo-128.png +0 -0
- package/.yarn/releases/yarn-berry.cjs +0 -55
- package/build/runtime-cjs/common/config.d.ts +0 -86
- package/build/runtime-cjs/common/config.js +0 -572
- package/build/runtime-cjs/common/graphql.d.ts +0 -11
- package/build/runtime-cjs/common/graphql.js +0 -194
- package/build/runtime-cjs/common/index.d.ts +0 -5
- package/build/runtime-cjs/common/index.js +0 -17
- package/build/runtime-cjs/common/parse.d.ts +0 -11
- package/build/runtime-cjs/common/parse.js +0 -188
- package/build/runtime-cjs/common/pipeline.d.ts +0 -3
- package/build/runtime-cjs/common/pipeline.js +0 -87
- package/build/runtime-cjs/common/types.d.ts +0 -13
- package/build/runtime-cjs/common/types.js +0 -10
- package/build/runtime-cjs/runtime/cache/cache.d.ts +0 -108
- package/build/runtime-cjs/runtime/cache/cache.js +0 -897
- package/build/runtime-cjs/runtime/cache/gc.d.ts +0 -9
- package/build/runtime-cjs/runtime/cache/gc.js +0 -96
- package/build/runtime-cjs/runtime/cache/index.d.ts +0 -3
- package/build/runtime-cjs/runtime/cache/index.js +0 -13
- package/build/runtime-cjs/runtime/cache/lists.d.ts +0 -47
- package/build/runtime-cjs/runtime/cache/lists.js +0 -406
- package/build/runtime-cjs/runtime/cache/storage.d.ts +0 -87
- package/build/runtime-cjs/runtime/cache/storage.js +0 -583
- package/build/runtime-cjs/runtime/cache/stuff.d.ts +0 -6
- package/build/runtime-cjs/runtime/cache/stuff.js +0 -98
- package/build/runtime-cjs/runtime/cache/subscription.d.ts +0 -29
- package/build/runtime-cjs/runtime/cache/subscription.js +0 -384
- package/build/runtime-cjs/runtime/config.d.ts +0 -41
- package/build/runtime-cjs/runtime/config.js +0 -60
- package/build/runtime-cjs/runtime/context.d.ts +0 -2
- package/build/runtime-cjs/runtime/context.js +0 -6
- package/build/runtime-cjs/runtime/fragment.d.ts +0 -3
- package/build/runtime-cjs/runtime/fragment.js +0 -80
- package/build/runtime-cjs/runtime/index.d.ts +0 -10
- package/build/runtime-cjs/runtime/index.js +0 -36
- package/build/runtime-cjs/runtime/mutation.d.ts +0 -5
- package/build/runtime-cjs/runtime/mutation.js +0 -129
- package/build/runtime-cjs/runtime/network.d.ts +0 -118
- package/build/runtime-cjs/runtime/network.js +0 -325
- package/build/runtime-cjs/runtime/pagination.d.ts +0 -16
- package/build/runtime-cjs/runtime/pagination.js +0 -501
- package/build/runtime-cjs/runtime/proxy.d.ts +0 -6
- package/build/runtime-cjs/runtime/proxy.js +0 -52
- package/build/runtime-cjs/runtime/query.d.ts +0 -29
- package/build/runtime-cjs/runtime/query.js +0 -303
- package/build/runtime-cjs/runtime/scalars.d.ts +0 -15
- package/build/runtime-cjs/runtime/scalars.js +0 -157
- package/build/runtime-cjs/runtime/subscription.d.ts +0 -5
- package/build/runtime-cjs/runtime/subscription.js +0 -88
- package/build/runtime-cjs/runtime/types.d.ts +0 -154
- package/build/runtime-cjs/runtime/types.js +0 -32
- package/build/runtime-cjs/runtime/utils.d.ts +0 -9
- package/build/runtime-cjs/runtime/utils.js +0 -89
|
@@ -34,10 +34,10 @@ jobs:
|
|
|
34
34
|
run: |
|
|
35
35
|
git checkout ${{ github.event.pull_request.base.ref }}
|
|
36
36
|
|
|
37
|
-
- name: Setup Node
|
|
37
|
+
- name: Setup Node
|
|
38
38
|
uses: actions/setup-node@v1
|
|
39
39
|
with:
|
|
40
|
-
node-version: 14.
|
|
40
|
+
node-version: 16.14.2
|
|
41
41
|
|
|
42
42
|
- name: Set Git Identity
|
|
43
43
|
run: |
|
|
@@ -49,6 +49,8 @@ jobs:
|
|
|
49
49
|
|
|
50
50
|
- name: Install Dependencies
|
|
51
51
|
run: yarn install
|
|
52
|
+
env:
|
|
53
|
+
YARN_ENABLE_IMMUTABLE_INSTALLS: false
|
|
52
54
|
|
|
53
55
|
- name: Create Release Pull Request or Deploy
|
|
54
56
|
uses: changesets/action@v1
|
|
@@ -18,18 +18,20 @@ jobs:
|
|
|
18
18
|
runs-on: ubuntu-latest
|
|
19
19
|
|
|
20
20
|
steps:
|
|
21
|
-
- name:
|
|
21
|
+
- name: Setup Node
|
|
22
22
|
uses: actions/setup-node@v1
|
|
23
23
|
with:
|
|
24
|
-
node-version: 14.
|
|
24
|
+
node-version: 16.14.2
|
|
25
25
|
|
|
26
26
|
- name: Checkout source
|
|
27
27
|
uses: actions/checkout@master
|
|
28
28
|
with:
|
|
29
29
|
ref: ${{ github.ref }}
|
|
30
30
|
|
|
31
|
-
- name: Install
|
|
31
|
+
- name: Install Dependencies
|
|
32
32
|
run: yarn install
|
|
33
|
+
env:
|
|
34
|
+
YARN_ENABLE_IMMUTABLE_INSTALLS: false
|
|
33
35
|
|
|
34
36
|
- name: Check prettier
|
|
35
37
|
run: yarn format:check
|
|
@@ -39,18 +41,20 @@ jobs:
|
|
|
39
41
|
runs-on: ubuntu-latest
|
|
40
42
|
|
|
41
43
|
steps:
|
|
42
|
-
- name:
|
|
44
|
+
- name: Setup Node
|
|
43
45
|
uses: actions/setup-node@v1
|
|
44
46
|
with:
|
|
45
|
-
node-version: 14.
|
|
47
|
+
node-version: 16.14.2
|
|
46
48
|
|
|
47
49
|
- name: Checkout source
|
|
48
50
|
uses: actions/checkout@master
|
|
49
51
|
with:
|
|
50
52
|
ref: ${{ github.ref }}
|
|
51
53
|
|
|
52
|
-
- name: Install
|
|
54
|
+
- name: Install Dependencies
|
|
53
55
|
run: yarn install
|
|
56
|
+
env:
|
|
57
|
+
YARN_ENABLE_IMMUTABLE_INSTALLS: false
|
|
54
58
|
|
|
55
59
|
- name: Build packages
|
|
56
60
|
run: yarn build
|
|
@@ -63,18 +67,20 @@ jobs:
|
|
|
63
67
|
runs-on: ubuntu-latest
|
|
64
68
|
|
|
65
69
|
steps:
|
|
66
|
-
- name:
|
|
70
|
+
- name: Setup Node
|
|
67
71
|
uses: actions/setup-node@v1
|
|
68
72
|
with:
|
|
69
|
-
node-version: 14.
|
|
73
|
+
node-version: 16.14.2
|
|
70
74
|
|
|
71
75
|
- name: Checkout source
|
|
72
76
|
uses: actions/checkout@master
|
|
73
77
|
with:
|
|
74
78
|
ref: ${{ github.ref }}
|
|
75
79
|
|
|
76
|
-
- name: Install
|
|
80
|
+
- name: Install Dependencies
|
|
77
81
|
run: yarn install
|
|
82
|
+
env:
|
|
83
|
+
YARN_ENABLE_IMMUTABLE_INSTALLS: false
|
|
78
84
|
|
|
79
85
|
- name: Build packages
|
|
80
86
|
run: yarn build
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# houdini
|
|
2
2
|
|
|
3
|
+
## 0.14.0
|
|
4
|
+
|
|
5
|
+
### Breaking Changes
|
|
6
|
+
|
|
7
|
+
- [#273](https://github.com/HoudiniGraphql/houdini/pull/273) [`2adabd7`](https://github.com/HoudiniGraphql/houdini/commit/2adabd7c78b89f12cd556a241245899b13cde30f) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Consolidated all houdini packages under a single import. The preprocessor should now be imported from `houdini/preprocess`.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#263](https://github.com/HoudiniGraphql/houdini/pull/263) [`c5cce52`](https://github.com/HoudiniGraphql/houdini/commit/c5cce5217149bc1b2be1f48cb734fb451b03a28f) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Added support for non-standard IDs and paginated fragment queries
|
|
12
|
+
|
|
3
13
|
## 0.13.10
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/build/cmd.js
CHANGED
|
File without changes
|
package/example/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini",
|
|
3
|
-
"version": "0.14.0
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "The disappearing graphql client for SvelteKit",
|
|
5
5
|
"workspaces": [
|
|
6
6
|
"example",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"format": "prettier \"src/**/*.ts\"",
|
|
31
31
|
"format:write": "npm run format -- -w",
|
|
32
32
|
"format:check": "npm run format -- --check",
|
|
33
|
-
"postinstall": "husky install",
|
|
34
33
|
"changeset": "changeset",
|
|
35
|
-
"version": "changeset version
|
|
36
|
-
"release": "yarn build && changeset publish"
|
|
34
|
+
"version": "changeset version",
|
|
35
|
+
"release": "yarn build && changeset publish",
|
|
36
|
+
"postinstall": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\""
|
|
37
37
|
},
|
|
38
38
|
"resolutions": {
|
|
39
39
|
"typescript": "3.9.5"
|
|
@@ -86,5 +86,6 @@
|
|
|
86
86
|
"recast": "^0.20.4",
|
|
87
87
|
"remove": "^0.1.5",
|
|
88
88
|
"svelte": "^3.34.0"
|
|
89
|
-
}
|
|
89
|
+
},
|
|
90
|
+
"packageManager": "yarn@3.2.0"
|
|
90
91
|
}
|
package/src/runtime/query.ts
CHANGED
|
@@ -120,7 +120,7 @@ export function query<_Query extends Operation<any, any>>(
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
// update the local store
|
|
123
|
-
store.set(unmarshalSelection(config, artifact.selection, newData.data))
|
|
123
|
+
store.set(unmarshalSelection(config, artifact.selection, newData.data)!)
|
|
124
124
|
|
|
125
125
|
// save the new variables
|
|
126
126
|
variables = newVariables || {}
|
package/.github/assets/cylon.gif
DELETED
|
Binary file
|
|
Binary file
|