Commit Graph

728 Commits

Author SHA1 Message Date
DavHau
73d0dbc482
Merge pull request #239 from tinybeachthor/docs-highlight-nix
docs: add nix syntax highlighting
2022-08-11 16:39:45 +02:00
DavHau
dcaa6834ca
Merge pull request #228 from leungbk/use-all-cabal-json
translators/stack-lock: Use nix-community/all-cabal-json
2022-08-11 16:39:19 +02:00
DavHau
3a12aa3493
Merge pull request #229 from tinybeachthor/docs-guide-nodejs
docs: add nodejs quickstart guide
2022-08-11 14:44:13 +02:00
DavHau
e4acf021cf fix: misspelling contruct -> construct 2022-08-11 13:50:35 +02:00
DavHau
f71cf00237
Merge pull request #243 from tgunnoe/fix-spelling
Fix attribute name
2022-08-11 13:49:55 +02:00
tgunnoe
49fa72d474 Fix attribute name 2022-08-10 22:38:44 -04:00
Martin Toman
b944fd6a9c nodejs: top level package bins overwrite all other 2022-08-10 10:22:58 -07:00
Martin Toman
71e4ba973a docs: add nix syntax highlighting 2022-08-10 10:07:30 -07:00
Martin Toman
f7413e6c7d fix: nodejs: link package bins after buildPhase 2022-08-09 13:56:09 -07:00
Martin Toman
206bd6fe82 docs: fix typos 2022-08-09 10:35:28 -07:00
Martin Toman
3e5c108e2c docs: nodejs: add guides/getting-started-nodejs 2022-08-09 10:34:36 -07:00
Brian Leung
8885fd3842
translators/stack-lock: Use nix-community/all-cabal-json
Also move the utility functions to haskell/translators/utils.nix since
they will be useful for a Cabal freeze translator.
2022-08-09 08:34:33 -07:00
Brian Leung
f5807a8393
Introduce haskell/translators/utils.nix and move getHackageUrl there
This will be useful for a Cabal freeze translator.
2022-08-09 08:33:54 -07:00
DavHau
2fe7790152
Merge pull request #232 from max-privatevoid/patch-2
nodejs/electron: add 20.0.1
2022-08-09 15:21:45 +02:00
Max
1f389bb475
nodejs/electron: add 20.0.1 2022-08-08 21:38:17 +02:00
Martin Toman
92d025e1ae docs: split out "Install nix" section 2022-08-06 10:02:07 -07:00
Martin Toman
d3beb8b3de cleanup: nodejs: remove unused attribute nodeModulesDir 2022-08-06 09:29:07 -07:00
Martin Toman
ca6a347349 fix: nodejs: pass src to devShell (to read package.json) 2022-08-06 09:28:05 -07:00
Martin Toman
b83a9fb5fb cleanup: nodejs: don't dump unused ADD_BIN_PATH 2022-08-06 09:28:05 -07:00
Martin Toman
1e52a44c2b fix: nodejs: don't crash linking existing direct dependency 2022-08-06 09:28:05 -07:00
Martin Toman
6dcf18880e fix: nodejs: link direct dependencies executables 2022-08-06 09:28:05 -07:00
DavHau
eef8fb1170
Merge pull request #191 from wmertens/esbuild-48
nodejs: upgrade esbuild 0.14 override
2022-08-04 19:32:22 +02:00
DavHau
7a6fb28770
Merge pull request #217 from wmertens/some-fixes
Some fixes
2022-08-04 14:34:26 +02:00
DavHau
18c8e247b5 fix: nodejs: revert ignoring dev deps if no install script declared 2022-08-02 13:31:14 +02:00
Wout Mertens
a0cc2768ef all: use runCommandLocal whenever appropriate
This saves a bunch of lookups to binary caches for trivial data
2022-08-02 12:58:11 +02:00
Yusuf Bera Ertan
3159732889
fix(rust): handle unhandled behaviour in recreating cargo lock 2022-08-02 04:01:16 +03:00
Yusuf Bera Ertan
a57ed561df
fix(rust): workaround patching path dependencies 2022-08-02 00:39:23 +03:00
Wout Mertens
a840710c12 removed unused node2nix flake input 2022-08-01 18:58:00 +02:00
DavHau
2fcfba92bf
Merge pull request #218 from nix-community/nodejs
Nodejs + fetcher improvments
2022-07-31 18:18:51 +02:00
DavHau
7564d81e50 rafactor: rename rust example 2022-07-31 18:00:52 +02:00
DavHau
cb394b8d7e refactor: rename nodejs workspace example2 2022-07-31 17:59:56 +02:00
DavHau
72ad849610 fix: nodejs: bundle dependency mistake in translation to path type 2022-07-31 17:59:24 +02:00
DavHau
5bf294508c fix: indexers: don't fail on single translation error 2022-07-30 17:54:02 +02:00
DavHau
fb16017634 fix: nodejs: package-json: ignore yarn.lock during translation 2022-07-30 17:53:34 +02:00
DavHau
ee4a3e7062 feat: nodejs: package-lock: handle bundled dependenceis better
- assume bundled dep if type looks like http but resolved field is missing
- use path source type to handle bundled deps
2022-07-30 17:52:49 +02:00
DavHau
b899116277 feat: fetchers: git: improve error message on invalid ref/rev 2022-07-30 17:50:00 +02:00
DavHau
c0b506c51d feat: nodejs: improve electron override logic
- ignore electron versions < 3
- update print-hashes.sh
- add hashes for version 17 and 18
2022-07-30 17:48:24 +02:00
Wout Mertens
de4d86a495 nodejs: esbuild 0.14 does not need override 2022-07-30 12:42:20 +02:00
Yusuf Bera Ertan
26dce978b1
fix(indexers/crates-io): rename max_pages field to correct maxPages instead of maxPackagesCount 2022-07-30 01:42:00 +03:00
DavHau
e2ab650b5a
Merge pull request #215 from nix-community/nodejs
Imrovements for: nodejs, translators, indexers
2022-07-29 23:56:08 +02:00
DavHau
f3aec937d3 indexers: libraries-io: improve verbosity 2022-07-29 22:33:34 +02:00
DavHau
56fae02e3a feat: verify dream-lock.json against jsonschema 2022-07-29 21:59:20 +02:00
DavHau
b1e15df1a1 fix: fetching: only override sourceSpec version and name if not already specified 2022-07-29 21:25:30 +02:00
DavHau
33b8f4e78e fix: don't fail on translation if git add doesn't work 2022-07-29 21:24:56 +02:00
DavHau
33fdde0233 feat: indexer: use gnuparallel to speed up index translation 2022-07-29 21:23:42 +02:00
DavHau
ab7edc4296 fix: indexers: respect more parameters
- inject
- packageOverrides
- sourceOverrides
2022-07-29 17:06:00 +02:00
DavHau
5ddce49dce fix: indexers: always add main source to dream-lock.json 2022-07-29 17:05:14 +02:00
DavHau
c6723cb1a5 nodejs fix: empty dependencies not detected sometimes 2022-07-29 16:02:14 +02:00
DavHau
1beb1eaab5 feat: improve nodejs translators/builders
- also execute preinstall script during package installation
- disable devDependencies if no instal script present by default
2022-07-29 16:01:35 +02:00
DavHau
130d71f9d5 feat: pre-commit-hook to cleanup leftover example artifacts 2022-07-29 14:17:40 +02:00