Tags: ddeboer/nx
Tags
feat(misc): update repo to 21.4.0-beta.4 (nrwl#32180) ### Changes Update repo to use `21.4.0-beta.4`
fix(module-federation): re-add support for mf aliases (nrwl#31347) ## Current Behavior At some point in time, we had support for Module Federation aliases, and I noticed some of our examples broke in the latest versions of Nx.  This is an attempt to regain that support with some normalization of Module Federation project names. ## Expected Behavior We need to have the mapping back of aliases in the format: ```typescript const mfConfig = { // ... "@nx-mf/remote": "_nx_mf_remote@http://localhost:3001", // ... } ``` ## Related Issue(s) nrwl#31346 Fixes # Add a function specific to parse Federated names into resolvable JavaScript vars. Use this function in every place a `str.replace(/-/, '_')` is being used. --------- Co-authored-by: Colum Ferry <cferry09@gmail.com>
fix(node): outputs should be in the correct format for prune and copy… …-workspace-modules targets (nrwl#32178) <!-- 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 When running `nx prune api` it fails with: ``` NX The following outputs are invalid: - apps/api/dist/package.json - apps/api/dist/package-lock.json ``` ## Expected Behavior Prune should work. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
docs(misc): add android blog post for java week (nrwl#32146) <!-- 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 --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes # --------- Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
chore(misc): temporarily hide social card (nrwl#32080) <!-- 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 --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
fix(react-native): add release option to publisable react-native libr… …ary (nrwl#29817)
fix(core): remove graph creation from postinstall hook (nrwl#32027) ## Current Behavior The post install hook creates the project graph... which contains quite a bit of work and appears to be hanging at times. ## Expected Behavior The post install hook is slimmer, and has a hard timeout of 30s to avoid hanging. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes nrwl#31694
fix(core): prevent --skipInstall from being passed from create-nx-wor… …kspace to new generator (nrwl#32086) <!-- 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 When you run `npx -y create-nx-workspace@latest nameofmyrepo-monorepo --preset=apps --nxCloud=skip --skip-install --skip-prettier --verbose` it fails because `--skip-install` is passed to the `new` generator (even though it's not an CNW option), which means no `node_modules` to resolve `nx/bin/nx`. ## Expected Behavior Running CNW should not skip install ever. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes nrwl#31834
fix(core): cloud commands should be handled before loading local (nrw… …l#32090) <!-- 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. --> <!-- This is the behavior we have today --> <!-- This is the behavior we should expect with the changes in this PR --> <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
PreviousNext