DavHau
52740e8f96
Tests + refactor externls
...
- add flake checks
- refactor handling of external sources
- rename 'dependenciesRemoved' -> 'cyclicDependencies'
2021-10-29 21:18:58 +07:00
DavHau
c4b110bc38
output schema flakes-style
2021-10-29 16:59:56 +07:00
DavHau
1219a10592
overrides: allow passing functions for attributes
2021-10-27 13:24:36 +07:00
DavHau
99a87ea7cd
add getCyclicDependencies to dream-lock interface
2021-10-26 19:46:55 +07:00
DavHau
f49f05e943
improve nodejs builders and translators
...
- add buildPackageWithOtherBuilder helper
- do not delete cyclic dependencies by default
- always delete devDependencies in package.json
- fix handling of source type `path`
- yarn-lock: handle missing name
- update utils.dreamLock interface
- add `createMissingSource` capability to simpleTranslator
2021-10-26 15:25:35 +07:00
DavHau
70cf6c2723
new builder interface:
...
- dream lock interface via utils.readDreamLock
- improve granular builder for nodejs
- support fetching urls with sha1 hash
- add jsonschema for source type path
2021-10-23 18:50:36 +07:00
DavHau
9ac7e462f3
improve granular nodejs builder
2021-10-22 23:10:14 +07:00
DavHau
b79343b398
finalize conditional overrides
2021-10-22 23:05:20 +07:00
DavHau
055102e698
use utils.writePureShellScript for all translators
2021-10-22 14:56:56 +07:00
DavHau
6a4a1da0f1
refactor dream.lock sources structure:
...
- now accessed like sources.{name}.{version}
2021-10-22 14:29:38 +07:00
DavHau
3cbac60c4d
add: support git URLs in package-lock parser
2021-10-21 13:45:49 +07:00
DavHau
39b3851ceb
fix: extractSource
2021-10-20 21:36:22 +07:00
DavHau
850dc71568
fix python translator+fetcher+builder
2021-10-20 16:39:11 +07:00
DavHau
bf4b807e34
add: update
cli app for automatic package update
2021-10-19 00:23:48 +07:00
DavHau
99cee262e5
refactor npmlock2nix to use simpleTranslate
2021-10-18 00:15:54 +07:00
DavHau
353cc807be
refine simpleTranslate
2021-10-17 23:03:55 +07:00
DavHau
9677c12e9e
add: simpleTranslate helper function for translators
2021-10-17 15:48:32 +07:00
DavHau
f7472d096b
WIP: conditional overrides
2021-10-09 18:33:19 +07:00
DavHau
5be5ae49a5
readDreamLock: revert autmatic top-level packages
2021-10-08 11:38:09 +07:00
DavHau
d5801d1804
bugfix in parseDreamLock
2021-10-07 17:06:09 +07:00
DavHau
d06519bce0
fix parsing CRLF formatted files
2021-10-07 16:25:28 +07:00
DavHau
40d3a3e46b
different improvements:
...
- templating for default.nix
- templates for translators
- fixup nodejs translators
2021-10-07 12:07:28 +07:00