12 Commits

Author SHA1 Message Date
Nicholas Cunningham
33bfc51ec2
fix(node): add project name sanitization for Docker commands. (#31461)
This PR improves our Docker support by sanitizing project names for
compatibility with Docker commands and Linux systems.

closes: #31421
2025-06-04 15:18:51 -06:00
Nicholas Cunningham
295c4229db
fix(node): Enable e2e test (#23508)
Re-enables e2e tests for node 

Docker changes to be merged first: https://github.com/nrwl/nx/pull/26365
2024-07-04 08:57:27 -04:00
Nicholas Cunningham
9eebe4980a
feat(node): Add output path to setup docker (#26365)
This PR updates how we generate a DockerFile for inferred and non
inferred projects.

Now you need to provide a output path.
2024-06-06 10:42:50 -06:00
Nicholas Cunningham
1b7cf426c2
fix(node): Docker generator should work (#23452)
Also fixes the unit tests for node package

## Currently

When you generate a docker file using either the node generator or the
node:setup-docker generator using inferred targets would create the
DockerFile but the COPY command would be incorrect.

It would resemble something similar to
```
//...

COPY   acme 

//etc...

```

## Expected

Now it generates the correct command.

```
//...

COPY dist/acme  acme/

//etc...

```

closes: #23365
2024-05-16 15:15:40 -06:00
Colum Ferry
80fde79374
feat(misc): remove deprecated Angular CLI usage of schematics and builders (#19557) 2023-10-13 17:14:16 +01:00
Jonathan Cammisuli
bbae14b9a7
fix(core): do not use joinPathFragments for generating files (#18753) 2023-08-23 12:23:03 -04:00
Jason Jean
2d195007b0
feat(core): switch packages to use the @nx scope (#16069) 2023-04-14 19:56:37 -04:00
Colum Ferry
8744698a01
feat(devkit): move runTasksInSerial to devkit (#15467) 2023-03-06 13:55:44 -05:00
Chau Tran
65b1cdd5e3
fix(node): use shorthand run-commands for docker build (#15231) 2023-02-24 15:49:29 +00:00
Jack Hsu
c08823abb9
fix(node): use shorter run-commands options for docker-build (#15224) 2023-02-24 09:16:55 -05:00
Jack Hsu
9f1ed50fc6
feat(node): improve docker setup for Node server apps (#14647) 2023-01-26 17:09:13 +00:00
Nicholas Cunningham
0e018e620e
feat(node): add docker as a build target (#14475) 2023-01-20 15:26:39 -07:00