39 Commits

Author SHA1 Message Date
Emily Xiong
b377c96d99
feat(java): add gradle kotlin plugin (#29464)
- [x] change init to create `createNodes` instead
- [x] unit tests
- [x] test-ci
- [x] test on windows
- [x] help metadata
- [x] external nodes

TODO:
- add publish executor?
- publish to maven central?

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->
currently, it uses [project report
plugin](https://docs.gradle.org/current/userguide/project_report_plugin.html).
- pro: no need to maintain this plugin
- con: this plugin gives limited information

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
change the project report plugin to @nxn/gradle/plugin-v1
now the @nx/gradle plugin will use project graph plugin
(dev.nx.gradle.project-graph) created in this pr.
this plugin will create json file that is exactly what nx project grpah
expected.

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2025-04-23 13:13:25 -04:00
Isaac Mann
1d9d91110d
feat(nx-dev): tutorialkit project (#29992)
Adds a tutorial project under nx-dev
The tutorials are run in browser and can be accessed here:

[/tutorials](https://nx-dev-git-nx-dev-tutorialkit-nrwl.vercel.app/tutorials)

The tutorials include:
- TypeScript Packages
- React Monorepo
- Angular Monorepo

In the future, we will link directly from the sidebar to the in-browser
tutorials.
2025-04-09 07:14:19 -04:00
Victor Savkin
9672949f82 chore(repo): optimize assignment rules 2025-02-10 16:14:58 -05:00
LongYinan
981eb30a0f
feat(core): support compile to wasi target (#22870)
This pull request is trying to add wasm32-wasi target support for the
nx/native

To test the build, you can run the following commands:

- `rustup target add wasm32-wasip1-threads`
- `pnpm exec napi build --release --platform --package-json-path
packages/nx/package.json --manifest-path packages/nx/Cargo.toml --js
./native-bindings.js -o packages/nx/src/native --target
wasm32-wasip1-threads`

And the wasm file will be built at
packages/nx/src/native/nx.wasm32-wasi.wasm

Blocked by:

- Support @napi-rs/cli 3.0  Cammisuli/monodon#48
- https://github.com/napi-rs/napi-rs/issues/2009

The pseudo_terminal mod is excluded on the wasm32 targets, which is as
expected.

The watch mod is excluded because of the upstream `watchexec` deps
introduced by ignore-files don't support the wasi target at this moment
(but we can improve it).

## Related Issues
Fixes https://github.com/nrwl/nx/issues/21860
Fixes https://github.com/nrwl/nx/issues/23821

---------

Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2024-07-05 15:55:35 -04:00
Jason Jean
5a06daac7a
chore(repo): update nx to 19.2.0-rc.0 (#26371)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

## Current Behavior
<!-- This is the behavior we have today -->

This repo uses Nx `19.2.0-beta.4`

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

This repo uses Nx `19.2.0-rc.0`

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2024-06-04 21:51:30 -04:00
Jason Jean
2d20ad819b
fix(core): fix hashing of external dependencies (#22865) 2024-04-18 09:36:17 -04:00
Jason Jean
00dbd14368
fix(core): fix sending sigint to child tasks with the new psuedo tty … (#21369)
Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2024-01-26 19:05:04 -05:00
Craigory Coppola
cb5eeb7475
feat(core): forward stdin to commands started via rust (#21195)
Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2024-01-22 12:25:52 -05:00
Tine Kondo
6f8682a8e1
fix(repo): update devcontainer.json to use latest Node LTS (20.x.x)… (#20020) 2023-11-03 16:05:17 -04:00
Jason Jean
bc067a20bb
chore(repo): update nx to 17.0.0-beta.5 (#19574) 2023-10-14 14:31:58 -04:00
Miroslav Jonaš
262865841d
feat(repo): migrate to pnpm (#16284) 2023-04-25 17:57:36 -04:00
Miroslav Jonaš
00247064bd
fix(repo): add CODEOWNERS to prettier ignore list (#16224) 2023-04-11 11:08:49 -04:00
Jason Jean
8cf8f18c1c
feat(core): refactor most of js graph work into its own folder (#15365) 2023-03-28 14:57:06 -04:00
Miroslav Jonaš
b80286191d
feat(core): refactor lock file parsing and pruning (#13864)
Co-authored-by: Jason Jean <FrozenPandaz@users.noreply.github.com>
Co-authored-by: Victor Savkin <vsavkin@users.noreply.github.com>
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-02-06 11:39:36 -05:00
Jonathan Cammisuli
fecf7fb82f
feat(core): add native node bindings for hashing (#14476)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-02-01 14:43:40 -05:00
Jack Hsu
c134efe33f
fix(react): add bundler to create-nx-workspace react preset so webpack package is installed (#14546) 2023-01-23 21:11:14 +00:00
Jason Jean
55c20b81c0 chore(repo): fix issues building nx-dev 2022-11-18 19:04:33 -05:00
Victor Savkin
ffd40af446 chore(repo): use root-level scripts 2022-11-18 16:02:27 -05:00
Philip Fulcher
6c3ef9d417
chore(graph): move dep-graph-client to graph-client (#11792) 2022-09-01 04:20:08 +00:00
Jason Jean
06f84b3326
feat(react): migrate @nrwl/web schematics to devkit (#4666) 2021-02-02 18:56:35 -05:00
Victor Savkin
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
Tasos Bekos
89826063a0 chore(repo): format via Nx 2020-11-25 14:30:28 -05:00
Jason Jean
6885507567
fix(angular): add tsconfig.editor.json to catch misc files" (#3810) 2020-09-28 13:23:56 -04:00
Jason Jean
a7b7af2dfe
feat(core): switch over to angular 10 (#3056)
* feat(core): switch over to devkit 10-rc.0

* feat(core): implement solution tsconfigs wip

* feat(angular): add angular migrations

* fix(angular): modify angularjs tests
2020-07-07 17:02:06 -04:00
Victor Savkin
e71ceba4ce feat(repo): run e2e tests using nx 2020-06-07 23:31:38 -04:00
Jonathan Cammisuli
6e8d4615b8
chore(misc): add verdaccio files to .prettierignore and .gitignore (#3024) 2020-05-17 13:48:07 -04:00
Jack Hsu
fef54fae4b
feat(linter): improve support for mixed linters when using IDEs (#2620) 2020-03-06 15:12:35 -05:00
Victor Savkin
3d36b15c8f feat(repo): specify the version of yarn used by the repo 2020-02-01 21:14:26 -05:00
Victor Savkin
b5f1966ca5 refactor(nx): extract workspace creation into @nrwl/workspace 2019-04-21 09:46:21 -04:00
Jason Jean
625b2837a8 refactor(testing): separate jest to @nrwl/jest 2019-04-16 13:10:49 -04:00
Jason Jean
3bad40ea65 feat(nx): support no framework apps 2019-03-02 12:03:30 -05:00
Victor Savkin
7f2c16f3a3 feat(nx): add presets to simplify the creation of workspaces with angular and fullstack apps 2019-02-25 14:28:36 -05:00
Victor Savkin
505ba43bb0 fix(build): change checkformat to check md files 2019-01-30 13:19:18 -05:00
Victor Savkin
ffd9d93019 fix(build): make Nx dev process WSL-friendly
- Reformat code to have LF line endings.
- Enforce LF line endings.
2019-01-14 10:47:44 -05:00
--get
67c4bdf4af feat(schematics): upgrade to angular 7 2018-10-24 09:42:31 -04:00
Jason Jean
469af6e1a0 feat(builders): introduce node build and execute builders
These builders handle building and executing node applications
2018-10-01 15:29:01 -04:00
Jason Jean
c9e29a265f build(prettier): ignore package.json from prettier (#759)
## Current Behavior

`package.json` was reformatted incorrectly after publishing.

## Expected Behavior

`/package.json` is ignored from `prettier`. This makes it so the two formatters do not conflict with one another.

## Notes

This is causing all PRs to fail currently
2018-09-14 10:16:43 -04:00
Jason Jean
5a547ccadd feat(schematics): add schematics for jest 2018-08-29 11:44:39 -04:00
ben
9c10fa7db2 build(package.json): run prettier before commit
This adds a hook to the git command to run prettier on the staged files, before committing. Prettier
has now more broad and general rules with excluded folder and more files to correct.
2018-08-23 09:59:04 -04:00