fix angular/cli config

This commit is contained in:
2025-12-06 11:34:42 +01:00
parent f317ae2f4d
commit 314a581378
5 changed files with 4052 additions and 7 deletions

2
.gitignore vendored
View File

@@ -46,4 +46,4 @@ result
**/.jetty/base
### Angualr Demo ###
**/*/node_modules
**/node_modules

8
flake.lock generated
View File

@@ -36,17 +36,17 @@
},
"nixpkgs-angular-cli": {
"locked": {
"lastModified": 1688392541,
"narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=",
"lastModified": 1764947035,
"narHash": "sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx+J2FfutM7T9w=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b",
"rev": "a672be65651c80d3f592a89b3945466584a22069",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-22.11",
"repo": "nixpkgs",
"rev": "a672be65651c80d3f592a89b3945466584a22069",
"type": "github"
}
},

View File

@@ -4,7 +4,7 @@
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/9da7f1cf7f8a6e2a7cb3001b048546c92a8258b4";
nixpkgs-angular-cli.url = "github:NixOS/nixpkgs/nixos-22.11";
nixpkgs-angular-cli.url = "github:NixOS/nixpkgs/a672be65651c80d3f592a89b3945466584a22069";
};
outputs = inputs @ {
@@ -56,7 +56,7 @@
};
angularPackages = with pkgs-angular-cli; [
nodePackages."@angular/cli"
nodejs_25
];
in {
# Per-system attributes can be defined here. The self' and inputs'
@@ -141,6 +141,8 @@
echo "Usage Example:"
echo "mvn clean package # build demo.war"
echo "jetty # run webserver"
alias ng="npx ng"
'';
};
};

4037
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

6
package.json Normal file
View File

@@ -0,0 +1,6 @@
{
"dependencies": {
"@angular/cli": "^21.0.2",
"@angular/core": "^21.0.3"
}
}