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.
Files changed (64) hide show
  1. package/.github/workflows/release.yml +4 -2
  2. package/.github/workflows/tests.yml +15 -9
  3. package/CHANGELOG.md +10 -0
  4. package/build/cmd.js +0 -0
  5. package/example/package.json +1 -1
  6. package/package.json +6 -5
  7. package/src/runtime/query.ts +1 -1
  8. package/.changeset/honest-actors-protect.md +0 -5
  9. package/.changeset/shiny-falcons-carry.md +0 -5
  10. package/.github/assets/cylon.gif +0 -0
  11. package/.github/assets/ts-logo-128.png +0 -0
  12. package/.yarn/releases/yarn-berry.cjs +0 -55
  13. package/build/runtime-cjs/common/config.d.ts +0 -86
  14. package/build/runtime-cjs/common/config.js +0 -572
  15. package/build/runtime-cjs/common/graphql.d.ts +0 -11
  16. package/build/runtime-cjs/common/graphql.js +0 -194
  17. package/build/runtime-cjs/common/index.d.ts +0 -5
  18. package/build/runtime-cjs/common/index.js +0 -17
  19. package/build/runtime-cjs/common/parse.d.ts +0 -11
  20. package/build/runtime-cjs/common/parse.js +0 -188
  21. package/build/runtime-cjs/common/pipeline.d.ts +0 -3
  22. package/build/runtime-cjs/common/pipeline.js +0 -87
  23. package/build/runtime-cjs/common/types.d.ts +0 -13
  24. package/build/runtime-cjs/common/types.js +0 -10
  25. package/build/runtime-cjs/runtime/cache/cache.d.ts +0 -108
  26. package/build/runtime-cjs/runtime/cache/cache.js +0 -897
  27. package/build/runtime-cjs/runtime/cache/gc.d.ts +0 -9
  28. package/build/runtime-cjs/runtime/cache/gc.js +0 -96
  29. package/build/runtime-cjs/runtime/cache/index.d.ts +0 -3
  30. package/build/runtime-cjs/runtime/cache/index.js +0 -13
  31. package/build/runtime-cjs/runtime/cache/lists.d.ts +0 -47
  32. package/build/runtime-cjs/runtime/cache/lists.js +0 -406
  33. package/build/runtime-cjs/runtime/cache/storage.d.ts +0 -87
  34. package/build/runtime-cjs/runtime/cache/storage.js +0 -583
  35. package/build/runtime-cjs/runtime/cache/stuff.d.ts +0 -6
  36. package/build/runtime-cjs/runtime/cache/stuff.js +0 -98
  37. package/build/runtime-cjs/runtime/cache/subscription.d.ts +0 -29
  38. package/build/runtime-cjs/runtime/cache/subscription.js +0 -384
  39. package/build/runtime-cjs/runtime/config.d.ts +0 -41
  40. package/build/runtime-cjs/runtime/config.js +0 -60
  41. package/build/runtime-cjs/runtime/context.d.ts +0 -2
  42. package/build/runtime-cjs/runtime/context.js +0 -6
  43. package/build/runtime-cjs/runtime/fragment.d.ts +0 -3
  44. package/build/runtime-cjs/runtime/fragment.js +0 -80
  45. package/build/runtime-cjs/runtime/index.d.ts +0 -10
  46. package/build/runtime-cjs/runtime/index.js +0 -36
  47. package/build/runtime-cjs/runtime/mutation.d.ts +0 -5
  48. package/build/runtime-cjs/runtime/mutation.js +0 -129
  49. package/build/runtime-cjs/runtime/network.d.ts +0 -118
  50. package/build/runtime-cjs/runtime/network.js +0 -325
  51. package/build/runtime-cjs/runtime/pagination.d.ts +0 -16
  52. package/build/runtime-cjs/runtime/pagination.js +0 -501
  53. package/build/runtime-cjs/runtime/proxy.d.ts +0 -6
  54. package/build/runtime-cjs/runtime/proxy.js +0 -52
  55. package/build/runtime-cjs/runtime/query.d.ts +0 -29
  56. package/build/runtime-cjs/runtime/query.js +0 -303
  57. package/build/runtime-cjs/runtime/scalars.d.ts +0 -15
  58. package/build/runtime-cjs/runtime/scalars.js +0 -157
  59. package/build/runtime-cjs/runtime/subscription.d.ts +0 -5
  60. package/build/runtime-cjs/runtime/subscription.js +0 -88
  61. package/build/runtime-cjs/runtime/types.d.ts +0 -154
  62. package/build/runtime-cjs/runtime/types.js +0 -32
  63. package/build/runtime-cjs/runtime/utils.d.ts +0 -9
  64. 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 14
37
+ - name: Setup Node
38
38
  uses: actions/setup-node@v1
39
39
  with:
40
- node-version: 14.13
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: Use Node.js 14.13
21
+ - name: Setup Node
22
22
  uses: actions/setup-node@v1
23
23
  with:
24
- node-version: 14.13
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 dependencies
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: Use Node.js 14.13
44
+ - name: Setup Node
43
45
  uses: actions/setup-node@v1
44
46
  with:
45
- node-version: 14.13
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 dependencies
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: Use Node.js 14.13
70
+ - name: Setup Node
67
71
  uses: actions/setup-node@v1
68
72
  with:
69
- node-version: 14.13
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 dependencies
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
@@ -14,7 +14,7 @@
14
14
  "@sveltejs/kit": "1.0.0-next.107",
15
15
  "concurrently": "^6.2.1",
16
16
  "graphql": "15.5.0",
17
- "houdini": "^0.13.9",
17
+ "houdini": "^0.14.0",
18
18
  "svelte": "^3.38.2",
19
19
  "svelte-preprocess": "^4.0.0",
20
20
  "tslib": "^2.2.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini",
3
- "version": "0.14.0-alpha.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 && yarn",
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
  }
@@ -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 || {}
@@ -1,5 +0,0 @@
1
- ---
2
- 'houdini': patch
3
- ---
4
-
5
- Added support for non-standard IDs and paginated fragment queries
@@ -1,5 +0,0 @@
1
- ---
2
- 'houdini': minor
3
- ---
4
-
5
- Consolidated all houdini packages under a single import. The preprocessor should now be imported from `houdini/preprocess`.
Binary file
Binary file