-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate Houdini modules under one package (#273)
* add package emoji to changeset commit * move packages to src dir and add esbuild for building * fix import * update package.json exports * fix test path * dry jest module name mapper * reorganize imports * fix type errors in tests * got passed Array.flatMap * more tests pass * checkpoint * attempt to synchronize main with branch * most tests pass * all tests pass 🎉 * update example * generate typedefs when building * cleanup package.json * consolidate build script * tests pass, runtime builds with typedefs * add types to preprocessor dirs * cmd is now generated as a commonjs module to avoid jest issues with import.meta.url * use old rollup config to build packages * isolate config class from runtime imports and dry up id computation * fix adapter imports * remove unused typescript config file * export config types * add shebang to cmd output * add changeset * remove dep and fix format script * ran prettier * missing dep * configure ts-jest to use babel config * update snapshots * reuse default config value util * only apply import.meta.url transform on tests
- Loading branch information
1 parent
c5cce52
commit 2adabd7
Showing
159 changed files
with
4,330 additions
and
22,866 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"presets": [ | ||
["@babel/preset-env", { "targets": { "node": "current" } }], | ||
"@babel/preset-typescript" | ||
], | ||
"env": { | ||
"test": { | ||
"plugins": ["babel-plugin-transform-import-meta"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
'houdini': patch | ||
'houdini-common': patch | ||
--- | ||
|
||
Added support for non-standard IDs and paginated fragment queries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'houdini': minor | ||
--- | ||
|
||
Consolidated all houdini packages under a single import. The preprocessor should now be imported from `houdini/preprocess`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
yarnPath: '.yarn/releases/yarn-berry.cjs' | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-3.2.0.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,19 @@ | ||
# Changelog | ||
# houdini | ||
|
||
The CHANGELOG for a particular package can be found in `packages/<package name>/CHANGELOG.md`. For example, you will find the changelog for the houdini package at [`packages/houdini/CHANGELOG.md`](./packages/houdini/CHANGELOG.md). | ||
## 0.13.10 | ||
|
||
### Patch Changes | ||
|
||
- [#269](https://github.com/HoudiniGraphql/houdini/pull/269) [`bfcd003`](https://github.com/HoudiniGraphql/houdini/commit/bfcd00357e92b47caec988baa919c5c84ddcc333) Thanks [@fehnomenal](https://github.com/fehnomenal)! - Execute multiple queries in parallel | ||
|
||
## 0.13.9 | ||
|
||
### Patch Changes | ||
|
||
- [#266](https://github.com/HoudiniGraphql/houdini/pull/266) [`b26cb5e`](https://github.com/HoudiniGraphql/houdini/commit/b26cb5e032ffb87c40b3c43cef73c211cf2fd3de) Thanks [@fehnomenal](https://github.com/fehnomenal)! - Fix `afterLoad` data | ||
|
||
## 0.13.8 | ||
|
||
### Patch Changes | ||
|
||
- [#259](https://github.com/HoudiniGraphql/houdini/pull/259) [`d49c30a`](https://github.com/HoudiniGraphql/houdini/commit/d49c30a844228a6004f4590fd74355691f17095e) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - fixes an issue when resolving the first layer in the cache |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
export default { | ||
preset: 'ts-jest', | ||
projects: ['<rootDir>/packages/*'], | ||
preset: 'ts-jest', // or other ESM presets | ||
moduleFileExtensions: ['js', 'ts'], | ||
snapshotSerializers: ['ts-ast-serializer'], | ||
setupFilesAfterEnv: ['./jest.setup.js'], | ||
|
||
moduleNameMapper: { | ||
'^~/(.*)$': '<rootDir>/src/$1', | ||
}, | ||
|
||
globals: { | ||
'ts-jest': { | ||
babelConfig: true, | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
declare global { | ||
namespace jest { | ||
interface Matchers<R> { | ||
toMatchArtifactSnapshot(expected?: string): Promise<R> | ||
} | ||
} | ||
} | ||
|
||
export {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.