##// END OF EJS Templates
node: updated packages
node: updated packages

File last commit:

r3175:d8dc5de4 default
r3175:d8dc5de4 default
Show More
README.rst
65 lines | 1.5 KiB | text/x-rst | RstLexer
nix: updated to 18.03 nix packages...
r2824
==============================
Generate the Nix expressions
==============================
Details can be found in the repository of `RhodeCode Enterprise CE`_ inside of
the file `docs/contributing/dependencies.rst`.
Start the environment as follows:
.. code:: shell
nix-shell pkgs/shell-generate.nix
Python dependencies
===================
.. code:: shell
pip2nix generate --licenses
# or
nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses"
NodeJS dependencies
===================
build: updated docs
r3161 Generate node-packages.nix file with all dependencies from NPM and package.json file
This should be run before entering nix-shell.
node: updated packages
r3175 The sed at the end fixes a bug with http rewrite of re-generated packages
js: use builtin packages for binaries...
r3162
nix: updated to 18.03 nix packages...
r2824 .. code:: shell
js: use builtin packages for binaries...
r3162 rm -rf node_modules &&
js: added better build instructions for JS libraries.
r2924 nix-shell pkgs/shell-generate.nix --command "
node2nix --input package.json \
-o pkgs/node-packages.nix \
-e pkgs/node-env.nix \
-c pkgs/node-default.nix \
js: use builtin packages for binaries...
r3162 -d --flatten --nodejs-8 " &&
build: updated docs
r3161 sed -i -e 's/http:\/\//https:\/\//g' pkgs/node-packages.nix
nix: updated to 18.03 nix packages...
r2824
Bower dependencies
==================
.. code:: shell
nix-shell pkgs/shell-generate.nix --command "bower2nix bower.json pkgs/bower-packages.nix"
license: update license metadata and generation code
r3073 Generate license data
=====================
.. code:: shell
nix-build pkgs/license-generate.nix -o result-license && cat result-license/licenses.json | python -m json.tool > rhodecode/config/licenses.json
nix: updated to 18.03 nix packages...
r2824 .. Links
.. _RhodeCode Enterprise CE: https://code.rhodecode.com/rhodecode-enterprise-ce