Giter VIP home page Giter VIP logo

angular-kendo-nix's Introduction

Angular Logo

What this fork is about

Demonstrate if nix together with the Angular + Kendo framework is working as expected.

Checkout the original repo here

Development

Prerequisites

  • install nix the package manager -> read here
  • cd to project root
nix-shell

This project provides a nix-shell that will create an environment where all required tools are installed.

Usage of direnv to automatically enter the shell is recommended.

inside the devShell you can run npm install and node as usual. Without interference of your local system.

Pre-commit

nix/pre-commit.nix specifies some pre-commit checks to be performed on staged code.

JS/TS Tools:

  • eslint
  • prettier
  • more could be added like tsc --noEmit for typechecking.

nix related tools:

  • nixpkgs-fmt # for formatting nix files
  • statix # for linting the nix syntax

Build

Run nix-build to build all attributes. The build runs totally isolated and reproducible just like in any pipeline. (Also Locally on the developer machine).

currently the only attribute is staticSite

Note: you might also want to change the ng overlay from ./nix/overlay.nix to fit your needs.

Adding new dependencies

After adding new dependencies it is required to update some nix files. package.json exposes a script for the required update. (node2nix)

run npm run update:nix

to update the node2nix files.

Roadmap on the build system

This project utilizes node2nix which is well tested and stable in the nix ecosystem. But there is currently (dream2nix)[https://github.com/nix-community/dream2nix] under construction which will replace node2nix in the future but as soon as possible.

dream2nix does unfortunately not yet work with this project (latest tests on 14.10.2022)

angular-kendo-nix's People

Contributors

hsjobeki avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.