-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: typescript esm export map support (#930)
* feat: support TypeScript node module resolution * chore: add changeset * chore: use Node 16 in tests
- Loading branch information
Showing
77 changed files
with
1,283 additions
and
568 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,12 @@ | ||
--- | ||
"@n1ru4l/graphql-live-query": minor | ||
"@n1ru4l/graphql-live-query-patch": minor | ||
"@n1ru4l/graphql-live-query-patch-jsondiffpatch": minor | ||
"@n1ru4l/graphql-live-query-patch-json-patch": minor | ||
"@n1ru4l/in-memory-live-query-store": minor | ||
"@n1ru4l/json-patch-plus": minor | ||
"@n1ru4l/socket-io-graphql-client": minor | ||
"@n1ru4l/socket-io-graphql-server": minor | ||
--- | ||
|
||
Support TypeScript ESM module resolution. More information on https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#ecmascript-module-support-in-node-js |
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
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 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
2 changes: 1 addition & 1 deletion
2
packages/graphql-live-query-patch-json-diff/src/applyLiveQueryJSONDiffPatch.spec.ts
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
2 changes: 1 addition & 1 deletion
2
packages/graphql-live-query-patch-json-diff/src/applyLiveQueryJSONDiffPatch.ts
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,5 +1,5 @@ | ||
import { createApplyLiveQueryPatch } from "@n1ru4l/graphql-live-query-patch"; | ||
import { applyJSONDiffPatch } from "./applyJSONDiffPatch"; | ||
import { applyJSONDiffPatch } from "./applyJSONDiffPatch.js"; | ||
|
||
export const applyLiveQueryJSONDiffPatch = | ||
createApplyLiveQueryPatch(applyJSONDiffPatch); |
2 changes: 1 addition & 1 deletion
2
packages/graphql-live-query-patch-json-diff/src/applyLiveQueryJSONDiffPatchGenerator.spec.ts
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
2 changes: 1 addition & 1 deletion
2
packages/graphql-live-query-patch-json-diff/src/applyLiveQueryJSONDiffPatchGenerator.ts
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,5 +1,5 @@ | ||
import { createApplyLiveQueryPatchGenerator } from "@n1ru4l/graphql-live-query-patch"; | ||
import { generateJSONDiffPatch } from "./generateJSONDiffPatch"; | ||
import { generateJSONDiffPatch } from "./generateJSONDiffPatch.js"; | ||
|
||
export const applyLiveQueryJSONDiffPatchGenerator = | ||
createApplyLiveQueryPatchGenerator(generateJSONDiffPatch); |
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,5 +1,5 @@ | ||
export * from "./applyJSONDiffPatch"; | ||
export * from "./applyLiveQueryJSONDiffPatch"; | ||
export * from "./applyLiveQueryJSONDiffPatchGenerator"; | ||
export * from "./generateJSONDiffPatch"; | ||
export * from "./liveQueryJSONDiffPatchGenerator"; | ||
export * from "./applyJSONDiffPatch.js"; | ||
export * from "./applyLiveQueryJSONDiffPatch.js"; | ||
export * from "./applyLiveQueryJSONDiffPatchGenerator.js"; | ||
export * from "./generateJSONDiffPatch.js"; | ||
export * from "./liveQueryJSONDiffPatchGenerator.js"; |
2 changes: 1 addition & 1 deletion
2
packages/graphql-live-query-patch-json-diff/src/liveQueryJSONDiffPatchGenerator.ts
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
2 changes: 1 addition & 1 deletion
2
packages/graphql-live-query-patch-json-patch/src/applyLiveQueryJSONPatch.spec.ts
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
2 changes: 1 addition & 1 deletion
2
packages/graphql-live-query-patch-json-patch/src/applyLiveQueryJSONPatch.ts
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,5 +1,5 @@ | ||
import { createApplyLiveQueryPatch } from "@n1ru4l/graphql-live-query-patch"; | ||
import { applyJSONPatch } from "./applyJSONPatch"; | ||
import { applyJSONPatch } from "./applyJSONPatch.js"; | ||
|
||
export const applyLiveQueryJSONPatch = | ||
createApplyLiveQueryPatch(applyJSONPatch); |
2 changes: 1 addition & 1 deletion
2
packages/graphql-live-query-patch-json-patch/src/applyLiveQueryJSONPatchGenerator.spec.ts
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
2 changes: 1 addition & 1 deletion
2
packages/graphql-live-query-patch-json-patch/src/applyLiveQueryJSONPatchGenerator.ts
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,5 +1,5 @@ | ||
import { createApplyLiveQueryPatchGenerator } from "@n1ru4l/graphql-live-query-patch"; | ||
import { generateJSONPatch } from "./generateJSONPatch"; | ||
import { generateJSONPatch } from "./generateJSONPatch.js"; | ||
|
||
export const applyLiveQueryJSONPatchGenerator = | ||
createApplyLiveQueryPatchGenerator(generateJSONPatch); |
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,5 +1,5 @@ | ||
export * from "./applyJSONPatch"; | ||
export * from "./applyLiveQueryJSONPatch"; | ||
export * from "./applyLiveQueryJSONPatchGenerator"; | ||
export * from "./generateJSONPatch"; | ||
export * from "./liveQueryJSONPatchGenerator"; | ||
export * from "./applyJSONPatch.js"; | ||
export * from "./applyLiveQueryJSONPatch.js"; | ||
export * from "./applyLiveQueryJSONPatchGenerator.js"; | ||
export * from "./generateJSONPatch.js"; | ||
export * from "./liveQueryJSONPatchGenerator.js"; |
2 changes: 1 addition & 1 deletion
2
packages/graphql-live-query-patch-json-patch/src/liveQueryJSONPatchGenerator.ts
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,5 +1,5 @@ | ||
import { createLiveQueryPatchGenerator } from "@n1ru4l/graphql-live-query-patch"; | ||
import { generateJSONPatch } from "./generateJSONPatch"; | ||
import { generateJSONPatch } from "./generateJSONPatch.js"; | ||
|
||
export const liveQueryJSONPatchGenerator = | ||
createLiveQueryPatchGenerator(generateJSONPatch); |
Oops, something went wrong.