fix angular/cli config
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -46,4 +46,4 @@ result
|
|||||||
**/.jetty/base
|
**/.jetty/base
|
||||||
|
|
||||||
### Angualr Demo ###
|
### Angualr Demo ###
|
||||||
**/*/node_modules
|
**/node_modules
|
||||||
|
|||||||
8
flake.lock
generated
8
flake.lock
generated
@@ -36,17 +36,17 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-angular-cli": {
|
"nixpkgs-angular-cli": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1688392541,
|
"lastModified": 1764947035,
|
||||||
"narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=",
|
"narHash": "sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx+J2FfutM7T9w=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b",
|
"rev": "a672be65651c80d3f592a89b3945466584a22069",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-22.11",
|
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
|
"rev": "a672be65651c80d3f592a89b3945466584a22069",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/9da7f1cf7f8a6e2a7cb3001b048546c92a8258b4";
|
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 @ {
|
outputs = inputs @ {
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
angularPackages = with pkgs-angular-cli; [
|
angularPackages = with pkgs-angular-cli; [
|
||||||
nodePackages."@angular/cli"
|
nodejs_25
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
# Per-system attributes can be defined here. The self' and inputs'
|
# Per-system attributes can be defined here. The self' and inputs'
|
||||||
@@ -141,6 +141,8 @@
|
|||||||
echo "Usage Example:"
|
echo "Usage Example:"
|
||||||
echo "mvn clean package # build demo.war"
|
echo "mvn clean package # build demo.war"
|
||||||
echo "jetty # run webserver"
|
echo "jetty # run webserver"
|
||||||
|
|
||||||
|
alias ng="npx ng"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
4037
package-lock.json
generated
Normal file
4037
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
6
package.json
Normal file
6
package.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"dependencies": {
|
||||||
|
"@angular/cli": "^21.0.2",
|
||||||
|
"@angular/core": "^21.0.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user