Commit Graph

258 Commits

Author SHA1 Message Date
DavHau
3d66429c69 remove mentions of generic in readme
(frameworks are generic by default)
2022-02-14 13:19:38 +07:00
DavHau
68faa2378c
Merge pull request #82 from yusdacra/rust/write-checksum-path-deps
fix(rust): write cargo checksum for path dependencies
2022-02-11 15:31:04 +07:00
Yusuf Bera Ertan
947fb621a8
fix(rust): write cargo checksum for path dependencies 2022-02-10 20:30:26 +03:00
DavHau
2167b7e993 fix bug in rust packages structure 2022-02-10 12:47:58 +07:00
DavHau
8e13d69b4a
Merge pull request #80 from nix-community/dream-lock-packages
dream-lock: support multiple top-level packages
2022-02-10 12:04:54 +07:00
DavHau
04901e48d2 update dream-lock.example for rust subsystem 2022-02-10 11:44:50 +07:00
DavHau
4f35c7b633 rust translator/builder to use dream-lock packages 2022-02-10 11:43:14 +07:00
DavHau
f634038bbf WIP - adapt code to dream lock changes 2022-02-10 11:43:14 +07:00
DavHau
28c29947cd dream-lock structure changes
remove fields:
 - translator
 - translatedBy
 - mainPackageName
 - mainPackageVersion
add fields:
 - defaultPackage
 - packages
2022-02-10 11:43:14 +07:00
DavHau
ea3d1a2ac1 simplify example flake.nix
fixes a bug where a source tree input was interpreted as a laoded dream-lock
2022-02-09 15:13:49 +07:00
DavHau
e65605e3e3 add example flake.nix to readme 2022-02-09 10:17:51 +07:00
DavHau
d7974d45f7 fix translator test for package-json 2022-02-08 17:54:10 +07:00
DavHau
49416753cf
Merge pull request #79 from raboof/patch-2
typo: tanslator -> translator
2022-02-04 22:43:55 +07:00
DavHau
c3abd4aca2
Merge pull request #78 from raboof/patch-1
typo compsition -> composition
2022-02-04 22:43:36 +07:00
Arnout Engelen
6427775e87
typo: tanslator -> translator 2022-02-04 16:38:14 +01:00
Arnout Engelen
dad2395b01
typo compsition -> composition 2022-02-04 16:29:21 +01:00
DavHau
57c7f5b948 Merge branch 'main' of github.com:DavHau/dream2nix 2022-02-04 19:16:01 +07:00
DavHau
817f4d3ba0 package-json transl.: add arg 'npmArgs' 2022-02-04 13:40:56 +07:00
DavHau
a23bc67726
Merge pull request #77 from DieracDelta/patch-1
Add darwin to architecture list
2022-01-30 23:08:07 +07:00
Justin Restivo
8a574bd152
Add darwin to architecture list 2022-01-29 16:45:36 -05:00
DavHau
dcdf2f27df
Merge pull request #67 from yusdacra/fix/build-rust-package
fix(rust): handle git source vendoring properly
2022-01-16 16:26:48 +01:00
Yusuf Bera Ertan
405e63e941
feat: throw an error in getSourceSpec if the requested dep doesnt exist 2022-01-16 13:00:53 +03:00
Yusuf Bera Ertan
2477a55fbb
fix(rust): put relative paths instead of store paths in lockfile for path deps 2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
e8c4baf602
feat(rust): use script instead of nix code to find crate paths 2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
3c6af2acbf
feat(rust): remove git deps from subsystem attrs, use getSourceSpec instead 2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
c9ea0f7c13
feat: add getSourceSpec 2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
1d8fc17b93
feat(rust): extend the dream.lock.example.json for the subsystem 2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
5d18abcdab
fix(rust): write cargo-checksum for vendored git dependencies
fix(rust): copy sources instead of symlinking so we can write cargo checksum

feat(rust): add trace for is git

feat(rust): add trace for is git

feat(rust): add trace for git deps

feat(rust): add trace for git deps

fix(rust): use findFirst not findSingle for finding git dep

fix(rust): remove is git trace

refactor(rust): remove unused code
2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
901f8a4fc8
fix(rust): pass git dependency parsed information to builders, generate cargo config for git dependencies
fix(rust): fix infinite recursion caused by same name

fix(rust): split gitDeps, generate vendor entries properly

fix(rust): fix infinite recursion in builder

fix(rust): apply git source type to generated vendor entries after applying replace-with

fix(rust): don't overwrite cargo config with generated entries
2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
e5e88a03b5
feat(rust): workaround git dependencies that are in a workspace by locating the crate source more accurately
fix(rust): copy over findCratePath to builder

fix(rust): correct getAllFiles usage
2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
f380a81016
fix(rust): dont use src.name
feat(rust): add trace to builder
2022-01-16 12:56:54 +03:00
DavHau
faa9084cde
Merge pull request #74 from max-privatevoid/yarn-lock-empty-quoted-strings
yarn-lock: allow empty quoted strings
2022-01-14 00:20:20 +01:00
Max
2132262d5c yarn-lock: allow empty quoted strings 2022-01-13 19:34:36 +01:00
DavHau
03f418ac80
Merge pull request #72 from tomberek/parse_latest
Parse unquoted strings in yarn.lock
2022-01-10 17:09:56 +01:00
Tom Bereknyei
d2143bb96d Parse unquoted strings in yarn.lock
Sometimes there will be unquoted strings (eg: latest) in dependecy
positions. They are resolved elsewhere but results in a parse error.
2022-01-10 11:03:52 -05:00
DavHau
7c750a7438
Merge pull request #70 from Lassulus/strapi-override
add override for strapi
2022-01-06 00:05:43 +01:00
DavHau
99af8cd6eb
Merge pull request #71 from nix-community/electron
nodejs/electron: add 15.3.4
2022-01-06 00:05:31 +01:00
Jörg Thalheim
b9d66d4d86 nodejs/electron: add 15.3.4 2022-01-05 21:36:49 +01:00
Jörg Thalheim
708b32622c overrides/nodejs/electron/print-hashes.sh: add hint where to add this 2022-01-05 21:36:31 +01:00
lassulus
6433a99b17 add override for strapi 2022-01-05 21:36:22 +01:00
DavHau
39adff861f fix bad override for ledger-core 2022-01-03 11:50:29 +01:00
DavHau
840da27f63
Merge pull request #68 from nix-community/dev
Recursive translation of sub-projects in CLI via `--sub-dirs`
2021-12-22 18:34:34 +01:00
DavHau
833af9a631 add overrides for Eugeny/tabby 2021-12-22 18:12:38 +01:00
DavHau
e69cb52ab0 nodejs builder+translator improvements 2021-12-22 17:31:37 +01:00
DavHau
792deb6a6b feature: CLI: add --sub-dirs flag to enable recursive package transaltion 2021-12-22 17:28:34 +01:00
DavHau
72e73fa255 bugfix: unable to parse tsconfig with comments 2021-12-19 17:06:44 +01:00
DavHau
013dc86524 improve electron support 2021-12-19 14:39:33 +01:00
DavHau
a08f5eb25a merge dev 2021-12-11 11:12:52 +07:00
DavHau
8934508e66 refactor simpleTranslate 2021-12-11 09:13:26 +07:00
DavHau
6a96f26e14 nodejs builder: support electron apps 2021-12-11 09:07:14 +07:00