Commit Graph

252 Commits

Author SHA1 Message Date
DavHau
d6dc1560cc fix update command 2021-10-26 20:06:43 +07:00
DavHau
99a87ea7cd add getCyclicDependencies to dream-lock interface 2021-10-26 19:46:55 +07:00
DavHau
1cbc64fe73 nodejs: never execute scripts on installation 2021-10-26 19:29:19 +07:00
DavHau
c4947f7832
Merge pull request #34 from DavHau/dev
improve nodejs builders and translators
2021-10-26 15:26:48 +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
0e43d2dc7b
Merge pull request #33 from DavHau/dev
new builder interface + builder improvements
2021-10-25 15:38:14 +07:00
DavHau
57ca41c059 update flake.lock 2021-10-23 18:50:36 +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
2db704be87
Merge pull request #32 from DavHau/dev
conditional overrides + nodejs builder improvements
2021-10-22 23:15:50 +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
1be0df8394
Merge pull request #31 from DavHau/dev
dream.lock schema changes and improvmenets
2021-10-22 16:34:42 +07:00
DavHau
8a5108a602 fix combined hashing mode 2021-10-22 16:29:29 +07:00
DavHau
72c435b8a8 yarn-lock: use git fetcher instead of github 2021-10-22 15:55:45 +07:00
DavHau
38f1725a24 fix dream-lock-schema.json 2021-10-22 15:52:20 +07:00
DavHau
68f38ac988 remove option allowBuiltinFetchers 2021-10-22 15:52:06 +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
8a96fb0f07
Merge pull request #30 from DavHau/dev
add: support for git URLs in package-lock translator
2021-10-21 13:59:19 +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
42287603ca
Merge pull request #29 from DavHau/dev
fix python translator+fetcher+builder
2021-10-20 16:41:06 +07:00
DavHau
850dc71568 fix python translator+fetcher+builder 2021-10-20 16:39:11 +07:00
DavHau
7f04c9d597
Merge pull request #28 from DavHau/dev
add: `update` cli app for automatic package update
2021-10-19 00:35:06 +07:00
DavHau
bf4b807e34 add: update cli app for automatic package update 2021-10-19 00:23:48 +07:00
DavHau
a6f52f96a9
Merge pull request #27 from DavHau/dev
Simplified interface for pure translators
2021-10-18 00:21:43 +07:00
DavHau
5083a88e4c rename: npmlock2nix -> package-lock 2021-10-18 00:16:13 +07:00
DavHau
99cee262e5 refactor npmlock2nix to use simpleTranslate 2021-10-18 00:15:54 +07:00
DavHau
0867db4b8a move translator yarn-lock-2 -> yarn-lock 2021-10-17 23:08:08 +07:00
DavHau
35a806264f remove old yarn-lock parser 2021-10-17 23:07:18 +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
5717104535
Merge pull request #25 from DavHau/dev
jsonschema verification + add video presentation
2021-10-16 23:58:51 +07:00
DavHau
f26dc00567 add video presentation + refactor readme 2021-10-16 19:12:07 +07:00
DavHau
7e00121e33 Merge remote-tracking branch 'raghu/main' into dev 2021-10-13 22:52:25 +07:00
DavHau
9e8095290a
Merge pull request #23 from DavHau/dev
Done:
  - begin implementing override system
  - granular builder for nodejs
  - CLI improvements
  - simplified IFD interface dream2nix.justBuild
  - add logo
2021-10-13 07:39:02 +07:00
DavHau
7d45914c49 add dream2nix logo 2021-10-13 07:23:32 +07:00
DavHau
8ef88fc523 add justBuild (simplified interface) 2021-10-12 23:16:00 +07:00
DavHau
788134d4e8 cli: add option --default-nix 2021-10-12 22:25:06 +07:00
DavHau
89e0b3633d update docs and dream.lock example 2021-10-12 22:01:39 +07:00
DavHau
7edf7cbf1d granular nodejs builder 2021-10-09 18:33:45 +07:00
DavHau
f7472d096b WIP: conditional overrides 2021-10-09 18:33:19 +07:00
raghuram
441f10fd64 moved specifications folder 2021-10-08 15:29:45 +00:00
raghuram
0ca35d09ad moved src 2021-10-08 15:12:55 +00:00
DavHau
1dc003e2e5
Merge pull request #19 from DavHau/dev
yarn-lock improvements
2021-10-08 12:46:33 +07:00
DavHau
5be5ae49a5 readDreamLock: revert autmatic top-level packages 2021-10-08 11:38:09 +07:00
DavHau
f9752da027 yarn-lock: add flags dev, optional, peer 2021-10-08 11:37:20 +07:00
DavHau
35f9cec8d0 fix github dependency for yarn v1 2021-10-08 00:43:46 +07:00
DavHau
74bff7571b fix: top-lvl deps for package-lock and yarn-lock 2021-10-07 17:07:52 +07:00
DavHau
d5801d1804 bugfix in parseDreamLock 2021-10-07 17:06:09 +07:00