Commit Graph
554 Commits
Author SHA1 Message Date
Gustavo 5ecae522de add TS::export_path 2024-03-06 17:53:27 -03:00
Gustavo 91485a3f55 Read environment variable outside macro 2024-03-06 17:13:37 -03:00
Gustavo b325448cc6 Change how environment variable is read 2024-03-06 16:44:51 -03:00
Gustavo afbc24e34c Test TS_RS_EXPORT_DIR first to get error faster 2024-03-06 16:24:06 -03:00
Gustavo 83bebd549d More info 2024-03-06 16:13:30 -03:00
Gustavo 8e86b3588f Try to get info on test failure 2024-03-06 15:58:04 -03:00
Gustavo b25ac88112 Fix docs.rs test again 2024-03-06 15:40:24 -03:00
Gustavo 7e73ed8d69 Fix path_bug.rs test 2024-03-06 15:36:09 -03:00
Gustavo 82863bb79e Fix docs.rs test 2024-03-06 15:00:55 -03:00
Gustavo ae64422ba6 2024-03-06 14:18:06 -03:00
escritorio-gustavo ffac0e2073 Merge pull request #247 from Aleph-Alpha/repro-path-bug
bug: `#[ts(export_to = "../path")]` can cause `diff_paths` to fail
2024-03-06 12:04:25 -03:00
Moritz Bischof 00b390aa51 expand test 2024-03-06 15:40:21 +01:00
Gustavo a11dc42b62 Make absolute into regular fn 2024-03-04 14:57:33 -03:00
Gustavo 1840d15c24 Simplify absolute path conversion 2024-03-04 14:51:05 -03:00
Gustavo 8cb4849401 Add licensing info 2024-03-01 08:21:19 -03:00
Gustavo a14ff38456 Copy over path-clean to remove dependency 2024-03-01 08:00:14 -03:00
Gustavo 9f1940123a Convert paths to absolute 2024-02-29 17:29:31 -03:00
Gustavo 3c6449a169 Make repro simpler 2024-02-29 16:01:50 -03:00
Gustavo 8d106f9cfd Reproduce path problem 2024-02-29 15:57:34 -03:00
escritorio-gustavo 676cc6eff0 Merge pull request #246 from Aleph-Alpha/build-typelist-fix
No longer build TypeLists manually
2024-02-29 15:38:39 -03:00
escritorio-gustavo 72437772ac No longer build TypeLists manually 2024-02-29 15:24:32 -03:00
escritorio-gustavo 63d2d46c69 Merge pull request #244 from Aleph-Alpha/tag-struct
Parse `#[ts(tag = "...")]` on structs
2024-02-29 15:12:52 -03:00
escritorio-gustavo a05169e85a Merge pull request #243 from Aleph-Alpha/remove-transparent
Remove `TS::trasparent`
2024-02-29 15:12:24 -03:00
Gustavo 5ebe368f1f Add missing method to impl_shadow 2024-02-29 15:06:00 -03:00
Gustavo 38ec2f72f5 Use TypeList methods + impl_shadow 2024-02-29 15:04:39 -03:00
Gustavo 59f7062b77 Update CHANGELOG.md 2024-02-29 14:50:22 -03:00
Gustavo 01c2b5b494 Update CHANGELOG.md 2024-02-29 14:48:44 -03:00
Gustavo 6e0d48ee79 Parse #[ts(tag = "...")] on structs 2024-02-29 14:40:56 -03:00
Gustavo def7e64734 Remove TS::trasparent 2024-02-29 14:35:14 -03:00
escritorio-gustavo cdaae6c5cb Merge pull request #241 from Aleph-Alpha/type-params-are-not-imported
- Fix import of type parameters
- Improve error location
- Export all types under the `tests` directory
- Run `tsc` on the `tests-out` directory as part of CI
- Fix `Result`, `Option`, `Vec` and `HashMap`
- Fix unused import of inlined types
2024-02-29 14:21:25 -03:00
Moritz Bischof 535eeff756 Test hashmap.rs: Change CustomKey to yield a valid TS Record 2024-02-29 16:29:30 +01:00
Moritz Bischof a177f8997c CI: use tsc --strict in all jobs 2024-02-29 16:23:22 +01:00
Moritz Bischof 2136c75891 fix imports for TypeList in macros 2024-02-29 16:07:12 +01:00
Moritz Bischof 10c09adb01 Implement TS::generics() within impl_shadow 2024-02-29 16:03:21 +01:00
Moritz Bischof ed397dad28 Add tests for all impl_shadow! types 2024-02-29 15:59:36 +01:00
escritorio-gustavo 22a8edc5c2 Remove ts(export) from self referential internally tagged enum 2024-02-29 11:38:14 -03:00
Moritz Bischof 6e0957148c self_referential.rs: Rename types to unique names 2024-02-29 15:19:09 +01:00
Moritz Bischof 8ea5cf03d5 Revert "self_referential.rs: Do not rename types"
This reverts commit f4572ea94d.
2024-02-29 15:16:56 +01:00
Moritz Bischof cf01efc2cd Merge remote-tracking branch 'origin/type-params-are-not-imported' into type-params-are-not-imported 2024-02-29 15:15:09 +01:00
Moritz Bischof f4572ea94d self_referential.rs: Do not rename types 2024-02-29 15:14:59 +01:00
Gustavo 0367a6b573 Merge branch 'type-params-are-not-imported' of github.com:Aleph-Alpha/ts-rs into type-params-are-not-imported 2024-02-29 11:05:31 -03:00
escritorio-gustavo e179efb58e Update changelog 2024-02-29 11:03:13 -03:00
Moritz Bischof f4da385ff0 enable globstar in CI 2024-02-29 14:54:24 +01:00
escritorio-gustavo 1da87b5e72 Fix remaining dependency issues 2024-02-29 10:38:04 -03:00
Gustavo 7bc2c87cb1 Update CI to run tsc 2024-02-29 10:16:23 -03:00
Gustavo fe5b375dc3 cargo fmt 2024-02-29 10:13:18 -03:00
Gustavo 3eda16fff9 Fix issue-70 test to generate valid TS 2024-02-29 09:53:35 -03:00
Gustavo a0cee6c480 Fix imports test to work with all features 2024-02-29 09:39:11 -03:00
Gustavo 75d2b7d38e Fix usage of serde(skip) again... 2024-02-29 09:09:16 -03:00
Gustavo 67fe641aeb Fix usage of serde(skip) 2024-02-29 09:05:12 -03:00