This repository was archived by the owner on Sep 27, 2023. It is now read-only.
Commit fde5992
feat: full esm support for code artifacts (transform require statements emitted from relay-compiler) (#269)
* wip: collect inline require statements and convert them to top level imports
* add tests (#1)
* Update CHANGELOG.md [skip ci]
* Bump version to: 13.0.3 [skip ci]
* chore: bump typescript from 4.1.4 to 4.1.5 (#268)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.1.4...v4.1.5)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Update CHANGELOG.md [skip ci]
* Bump version to: 13.0.4 [skip ci]
* chore: bump @types/node from 14.14.25 to 14.14.28
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.25 to 14.14.28.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* fix: revert breaking changes introduced in 13.0.3 (#274)
* Revert "refactor: use factory functions instead of deprecated functions"
This reverts commit 812d17e.
* Revert "refactor: remove deprecated typescript function calls in favor of the factory; replace @ts-ignores with proper code (microsoft/TypeScript#40263 (comment))"
This reverts commit 55c58be.
* Revert "refactor: some of the statements are redundant. It is not necessary to write to write only properties."
This reverts commit 2cbd1de.
* Revert "refactor: address all the typescript deprecations by using the factory"
This reverts commit 72e0b4a.
* chore: run CI github action on pull request
* fix: typo
* Update CHANGELOG.md [skip ci]
* Bump version to: 13.0.5 [skip ci]
* Update CHANGELOG.md [skip ci]
* Bump version to: 13.0.6 [skip ci]
* feat: include .d.ts types in release (#309)
* feat: drop typescript 3 and Node.js 10 support (#275)
* refactor: address all the typescript deprecations by using the factory
* refactor: some of the statements are redundant. It is not necessary to write to write only properties.
* refactor: remove deprecated typescript function calls in favor of the factory; replace @ts-ignores with proper code (microsoft/TypeScript#40263 (comment))
* refactor: use factory functions instead of deprecated functions
* feat: bump peerDependencies version
* dps: upgrade to latest typescript version
* chore: replace rm with rimraf for cross platform support
* chore: replace fixture tests with inline snapshot tests
* docs: add notice about minimum TypeScript version.
* chore: drop node 10 support
* Update CHANGELOG.md [skip ci]
* Bump version to: 13.0.7 [skip ci]
* Update CHANGELOG.md [skip ci]
* Bump version to: 13.0.8 [skip ci]
* feat: replace require calls by static (top level) or dynamic imports based on ts compiler options
* feat: add tests for require call replacement logic
* chore: add comment
* fix: parse contents of tsconfig file into compiler options
Converts strings to enum values etc.
* fix: remove support for dynamic imports
* fix: import default
Co-authored-by: Eloy Durn <eloy.de.enige@gmail.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
Co-authored-by: Sibelius Seraphini <sibeliusseraphini@gmail.com>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
Co-authored-by: Erik Müller <e.mueller@detelling.com>
* please the holy linter
* chore(docs): mention es2015 module syntax of generated code
* chore: remove duplicate import
Co-authored-by: Erik Müller <erik.mueller+github@mailbox.org>
Co-authored-by: Eloy Durn <eloy.de.enige@gmail.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Sibelius Seraphini <sibeliusseraphini@gmail.com>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
Co-authored-by: Erik Müller <e.mueller@detelling.com>
Co-authored-by: Erik Müller <erik.mueller@mailbox.org>1 parent 76d6e70 commit fde5992
File tree
9 files changed
+262
-85
lines changed- src
- test
9 files changed
+262
-85
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
5 | 62 | | |
6 | 63 | | |
7 | 64 | | |
| |||
11 | 68 | | |
12 | 69 | | |
13 | 70 | | |
14 | | - | |
| 71 | + | |
15 | 72 | | |
| 73 | + | |
| 74 | + | |
16 | 75 | | |
17 | 76 | | |
18 | 77 | | |
19 | 78 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
23 | 83 | | |
24 | 84 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 85 | + | |
31 | 86 | | |
32 | 87 | | |
33 | 88 | | |
34 | 89 | | |
35 | 90 | | |
36 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
37 | 102 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
13 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments