From b3856e0f04811fa06bda6870fa4058a908d715a5 Mon Sep 17 00:00:00 2001 From: Christopher Leigh <3805338+Tungsten78@users.noreply.github.com> Date: Thu, 2 Feb 2023 20:36:29 -0700 Subject: [PATCH 01/10] fix(core): adjust gitignore to support generation with directory (#599) - include typo fix Co-authored-by: Chris Leigh --- docs/core/generators/application.md | 2 +- packages/core/src/generators/app/schema.json | 2 +- .../src/generators/init/generator.spec.ts | 7 ----- .../core/src/generators/init/generator.ts | 26 ------------------- .../generators/utils/generate-project.spec.ts | 10 +++++++ .../src/generators/utils/generate-project.ts | 10 +++++++ 6 files changed, 22 insertions(+), 35 deletions(-) diff --git a/docs/core/generators/application.md b/docs/core/generators/application.md index 9da40710..10f30c25 100644 --- a/docs/core/generators/application.md +++ b/docs/core/generators/application.md @@ -46,4 +46,4 @@ Generate a dotnet project under the application directory. ### useNxPluginOpenAPI -- (boolean): If using a codgen project, use openapi-generator +- (boolean): If using a codegen project, use openapi-generator diff --git a/packages/core/src/generators/app/schema.json b/packages/core/src/generators/app/schema.json index a6f4f2e3..0a04d575 100644 --- a/packages/core/src/generators/app/schema.json +++ b/packages/core/src/generators/app/schema.json @@ -89,7 +89,7 @@ }, "useNxPluginOpenAPI": { "type": "boolean", - "description": "If using a codgen project, use openapi-generator" + "description": "If using a codegen project, use openapi-generator" } }, "required": ["name", "language"] diff --git a/packages/core/src/generators/init/generator.spec.ts b/packages/core/src/generators/init/generator.spec.ts index a1352ca2..4a717f54 100644 --- a/packages/core/src/generators/init/generator.spec.ts +++ b/packages/core/src/generators/init/generator.spec.ts @@ -30,13 +30,6 @@ describe('init generator', () => { expect(config).toBeTruthy(); }); - it('should update gitignore', async () => { - appTree.write('.gitignore', ''); - await generator(appTree, null, dotnetClient); - const gitignoreValue = appTree.read('.gitignore')?.toString(); - expect(gitignoreValue).toBeTruthy(); - }); - it('should put dependency array inside config', async () => { await generator(appTree, null, dotnetClient); const config: NxDotnetConfig = readJson(appTree, CONFIG_FILE_PATH); diff --git a/packages/core/src/generators/init/generator.ts b/packages/core/src/generators/init/generator.ts index d8e85bbd..f631dc1e 100644 --- a/packages/core/src/generators/init/generator.ts +++ b/packages/core/src/generators/init/generator.ts @@ -6,9 +6,7 @@ import { normalizePath, NxJsonConfiguration, readJson, - readWorkspaceConfiguration, Tree, - WorkspaceConfiguration, writeJson, } from '@nrwl/devkit'; @@ -43,7 +41,6 @@ export async function initGenerator( updateNxJson(host); if (!initialized) { - updateGitIgnore(host, readWorkspaceConfiguration(host)); addPrepareScript(host); tasks.push(installNpmPackages(host)); } @@ -75,29 +72,6 @@ function installNpmPackages(host: Tree): GeneratorCallback { ); } -function updateGitIgnore( - host: Tree, - workspaceConfiguration: WorkspaceConfiguration, -) { - if (!host.isFile('.gitignore')) { - return; - } - let lines = (host.read('.gitignore') ?? '').toString(); - lines += `\n${ - workspaceConfiguration.workspaceLayout?.appsDir || 'apps' - }/*/bin`; - lines += `\n${ - workspaceConfiguration.workspaceLayout?.appsDir || 'apps' - }/*/obj`; - lines += `\n${ - workspaceConfiguration.workspaceLayout?.libsDir || 'libs' - }/*/bin`; - lines += `\n${ - workspaceConfiguration.workspaceLayout?.libsDir || 'libs' - }/*/obj`; - host.write('.gitignore', lines); -} - function updateNxJson(host: Tree) { const nxJson: NxJsonConfiguration = readJson(host, 'nx.json'); nxJson.plugins = nxJson.plugins || []; diff --git a/packages/core/src/generators/utils/generate-project.spec.ts b/packages/core/src/generators/utils/generate-project.spec.ts index 0c297441..9eb461d1 100644 --- a/packages/core/src/generators/utils/generate-project.spec.ts +++ b/packages/core/src/generators/utils/generate-project.spec.ts @@ -2,6 +2,7 @@ import { readProjectConfiguration, Tree, writeJson } from '@nrwl/devkit'; import { createTreeWithEmptyWorkspace } from '@nrwl/devkit/testing'; import { DotNetClient, mockDotnetFactory } from '@nx-dotnet/dotnet'; +import path = require('path'); import { NxDotnetProjectGeneratorSchema } from '../../models'; import { GenerateProject } from './generate-project'; @@ -138,4 +139,13 @@ describe('nx-dotnet project generator', () => { ).toBeDefined(); }); }); + + it('should create .gitignore', async () => { + await GenerateProject(appTree, options, dotnetClient, 'application'); + const config = readProjectConfiguration(appTree, options.name); + const gitignoreValue = appTree + .read(path.join(config.root, '.gitignore')) + ?.toString(); + expect(gitignoreValue).toBeTruthy(); + }); }); diff --git a/packages/core/src/generators/utils/generate-project.ts b/packages/core/src/generators/utils/generate-project.ts index e0d69e14..22d86778 100644 --- a/packages/core/src/generators/utils/generate-project.ts +++ b/packages/core/src/generators/utils/generate-project.ts @@ -237,6 +237,8 @@ export async function GenerateProject( ); } + createGitIgnore(host, normalizedOptions.projectRoot); + await formatFiles(host); return async () => { @@ -246,6 +248,14 @@ export async function GenerateProject( }; } +function createGitIgnore(host: Tree, projectRoot: string) { + const gitIgnorePath = normalizePath( + joinPathFragments(projectRoot, '.gitignore'), + ); + + host.write(gitIgnorePath, `[Bb]in/\n[Oo]bj/`); +} + export function addPrebuildMsbuildTask( host: Tree, options: { projectRoot: string; projectName: string }, From 7985e1496f226e187eb9c58c5e8dc86e3250d29e Mon Sep 17 00:00:00 2001 From: Christopher Leigh <3805338+Tungsten78@users.noreply.github.com> Date: Fri, 3 Feb 2023 12:35:11 -0700 Subject: [PATCH 02/10] fix(core): remove orphaned publish-local (#611) - add steps for using sandbox in CONTRIBUTING.MD Co-authored-by: Chris Leigh --- CONTRIBUTING.md | 16 ++++++++++++++++ package.json | 3 +-- tools/scripts/sandbox.ts | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 227bf90a..a4dd4683 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,3 +42,19 @@ We support the following scopes: - ci // improvements to the CI / CD pipelines. - repo // improvements to the general repository. + +### Development tips + +#### Validating plug-in changes locally + +The recommended way to validate your changes is to deploy the plugin locally to a fresh nx workspace. + +- A sandbox workspace can be generated via `yarn sandbox` +- This script will build/publish the plugin to a sandbox workspace (./tmp/sandbox) +- Verdaccio is leveraged to start a locally running instance of npm (http://localhost:4872) + - The server will close when the script is stopped +- use `nx generate @nx-dotnet/core:[generator]` to validate your changes manually + +#### Unit testing + +To validate against the affected tests, use `nx affected:test` diff --git a/package.json b/package.json index bf827626..ae1723ad 100644 --- a/package.json +++ b/package.json @@ -4,15 +4,14 @@ "scripts": { "prepare": "husky install && nx g @nx-dotnet/core:restore", "lint-staged": "lint-staged", - "publish-dev": "ts-node tools/scripts/publish-dev", "e2e": "ts-node -P ./tools/scripts/tsconfig.e2e.json ./tools/scripts/e2e.ts", - "publish-local": "cp .npmrc.local .npmrc && run-p \"rimraf tmp\" e2e-registry \"ts-node ./tools/scripts/publish-all 99.99.99 local\"", "semantic-release": "semantic-release", "ts-node": "ts-node", "rimraf": "rimraf", "preinstall": "node ./tools/scripts/hooks/preinstall.js", "documentation:check": "ts-node ./tools/scripts/hooks/documentation.check.ts", "documentation": "nx g @nx-dotnet/nxdoc:generate-docs", + "publish-dev": "ts-node tools/scripts/publish-dev", "sandbox": "ts-node ./tools/scripts/sandbox.ts" }, "private": false, diff --git a/tools/scripts/sandbox.ts b/tools/scripts/sandbox.ts index 9fa9f57a..b4595e6e 100644 --- a/tools/scripts/sandbox.ts +++ b/tools/scripts/sandbox.ts @@ -35,7 +35,7 @@ if (require.main === module) { } ensureDirSync(dirname(sandboxDirectory)); execSync( - `yarn create nx-workspace@latest ${basename( + `npx create-nx-workspace@latest ${basename( sandboxDirectory, )} --preset empty --no-nxCloud --packageManager yarn`, { From f18231d1522bd85608f32d8faf294bf358a4a3af Mon Sep 17 00:00:00 2001 From: Christopher Leigh <3805338+Tungsten78@users.noreply.github.com> Date: Fri, 3 Feb 2023 21:11:59 -0700 Subject: [PATCH 03/10] docs(core): add swagger guide (#614) Co-authored-by: Chris Leigh --- docs/core/guides/swagger.md | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/core/guides/swagger.md diff --git a/docs/core/guides/swagger.md b/docs/core/guides/swagger.md new file mode 100644 index 00000000..ec56a95c --- /dev/null +++ b/docs/core/guides/swagger.md @@ -0,0 +1,44 @@ +# Swagger projects and targets + +As of v1.11.0, `nx-dotnet` supports generating code-generated projects from your .NET webapi projects. + +## How it works + +Newly generated projects (`@nx-dotnet/core:application`/`@nx-dotnet/core:library`) can optionally create 2 swagger related libraries: + +- enabled when `skipSwaggerLib=false` +- libs/generated/{project}-swagger +- libs/generated/{project}-types + +1. A `swagger` target is added to the generated webapi project which leverages [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) to extract a `swagger.json` spec file. + - The swagger.json file is output to the `-swagger` project. +2. The `-types` project is created containing a typescript client for consuming the webapi + - A `codegen` target is added to the webapi project to refresh this library + - The typescript client can be produced in 2 flavors: + 1. Interfaces only - with `useNxPluginOpenApi = false` + 2. A full fetch based implementation - with `useNxPluginOpenApi = true` +3. Nx dependencies ensure that the project targets are properly rebuilt whenever changes are made to the webapi +4. To manually refresh the generated client, use `nx codegen {project}-types` + +## How to use it + +From your typescript projects, the generated library can be used via `import '@MyWorkspace/MyTypesProject'`. Invoke it as you would any other imported code. + +## Customizations + +To change the generated client type (default is "typescript-fetch"), edit the options in the `codegen` target. + +- For example, to use `typescript-angular` to generate a complete angular service implementation + ``` + "targets": { + "codegen": { + "executor": "@trumbitta/nx-plugin-openapi:generate-api-lib-sources", + "options": { + "generator": "typescript-angular", + "sourceSpecPathOrUrl": "libs/generated/api-swagger/swagger.json" + }, + "dependsOn": ["^swagger"] + } + } + ``` +- Many other generators exist, see [openapi-generator-tools](https://openapi-generator.tech/docs/generators/) From d84be7793dc2c77d99975728403bc4e0f8055c37 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 Feb 2023 23:17:26 -0500 Subject: [PATCH 04/10] chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#612) Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/kornelski/http-cache-semantics/releases) - [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1) --- updated-dependencies: - dependency-name: http-cache-semantics dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index acd61ccd..31243f44 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10791,9 +10791,9 @@ htmlparser2@^8.0.1: entities "^4.3.0" http-cache-semantics@^4.0.0, http-cache-semantics@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" - integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== + version "4.1.1" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" + integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== http-deceiver@^1.2.7: version "1.2.7" From 67bf226bc402f6ec6e04ba82d23b97977669a91f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 Feb 2023 23:17:54 -0500 Subject: [PATCH 05/10] chore(deps): bump loader-utils from 2.0.2 to 2.0.4 (#581) Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.4. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md) - [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.4) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/yarn.lock b/yarn.lock index 31243f44..5a47e6d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12245,9 +12245,9 @@ json5@^1.0.1: minimist "^1.2.0" json5@^2.1.2, json5@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c" - integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== + version "2.2.2" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.2.tgz#64471c5bdcc564c18f7c1d4df2e2297f2457c5ab" + integrity sha512-46Tk9JiOL2z7ytNQWFLpj99RZkVgeHf87yGQKsIkaPz1qSH9UczKH1rO7K3wgRselo0tYMUNfecYpm/p1vC7tQ== jsonc-eslint-parser@^2.1.0: version "2.1.0" @@ -12663,16 +12663,7 @@ loader-runner@^4.2.0: resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== -loader-utils@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.2.tgz#d6e3b4fb81870721ae4e0868ab11dd638368c129" - integrity sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A== - dependencies: - big.js "^5.2.2" - emojis-list "^3.0.0" - json5 "^2.1.2" - -loader-utils@^2.0.3, loader-utils@^2.0.4: +loader-utils@^2.0.0, loader-utils@^2.0.3, loader-utils@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.4.tgz#8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c" integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw== From 1e9af03d388f547b42fb20a86a123fc006ba0d49 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 Feb 2023 23:18:03 -0500 Subject: [PATCH 06/10] chore(deps-dev): bump @types/node from 18.11.9 to 18.11.18 (#583) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.11.9 to 18.11.18. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index ae1723ad..e6d63247 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "@types/inquirer": "^8.1.3", "@types/is-ci": "^3.0.0", "@types/jest": "28.1.8", - "@types/node": "18.11.9", + "@types/node": "18.11.18", "@types/node-fetch": "^2.6.2", "@types/react": "18.0.25", "@types/react-dom": "18.0.9", diff --git a/yarn.lock b/yarn.lock index 5a47e6d1..8c0e4ea9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5722,21 +5722,21 @@ "@types/node" "*" form-data "^3.0.0" -"@types/node@*", "@types/node@>=12", "@types/node@^17.0.5": - version "17.0.24" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.24.tgz#20ba1bf69c1b4ab405c7a01e950c4f446b05029f" - integrity sha512-aveCYRQbgTH9Pssp1voEP7HiuWlD2jW2BO56w+bVrJn04i61yh6mRfoKO6hEYQD9vF+W8Chkwc6j1M36uPkx4g== - -"@types/node@18.11.9": - version "18.11.9" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.9.tgz#02d013de7058cea16d36168ef2fc653464cfbad4" - integrity sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg== +"@types/node@*", "@types/node@18.11.18", "@types/node@>=12": + version "18.11.18" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" + integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== "@types/node@^14.14.31": version "14.18.20" resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.20.tgz#268f028b36eaf51181c3300252f605488c4f0650" integrity sha512-Q8KKwm9YqEmUBRsqJ2GWJDtXltBDxTdC4m5vTdXBolu2PeQh8LX+f6BTwU+OuXPu37fLxoN6gidqBmnky36FXA== +"@types/node@^17.0.5": + version "17.0.24" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.24.tgz#20ba1bf69c1b4ab405c7a01e950c4f446b05029f" + integrity sha512-aveCYRQbgTH9Pssp1voEP7HiuWlD2jW2BO56w+bVrJn04i61yh6mRfoKO6hEYQD9vF+W8Chkwc6j1M36uPkx4g== + "@types/normalize-package-data@^2.4.0": version "2.4.1" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" From 6d6bcbedf035cbbf5409dc49132b2155b7645311 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 Feb 2023 23:18:12 -0500 Subject: [PATCH 07/10] chore(deps-dev): bump husky from 8.0.1 to 8.0.3 (#603) Bumps [husky](https://github.com/typicode/husky) from 8.0.1 to 8.0.3. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v8.0.1...v8.0.3) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e6d63247..8cce466f 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "eslint-plugin-react": "7.31.11", "eslint-plugin-react-hooks": "4.6.0", "fs-extra": "^10.1.0", - "husky": "^8.0.1", + "husky": "^8.0.3", "jest": "28.1.3", "jest-environment-jsdom": "28.1.3", "jsonc-eslint-parser": "^2.1.0", diff --git a/yarn.lock b/yarn.lock index 8c0e4ea9..6d0c26b4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10936,10 +10936,10 @@ humanize-ms@^1.2.1: dependencies: ms "^2.0.0" -husky@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.1.tgz#511cb3e57de3e3190514ae49ed50f6bc3f50b3e9" - integrity sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw== +husky@^8.0.3: + version "8.0.3" + resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184" + integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg== iconv-lite@0.4.24, iconv-lite@^0.4.24: version "0.4.24" From 7150ca6394e8e462a5580811c15967e4007ff57d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 Feb 2023 23:18:29 -0500 Subject: [PATCH 08/10] chore(deps): bump core-js from 3.22.8 to 3.27.2 (#604) Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.22.8 to 3.27.2. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/commits/v3.27.2/packages/core-js) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 13 ++++--------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 8cce466f..00656cf0 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@types/xmldoc": "^1.1.6", "chokidar": "^3.5.2", "clsx": "^1.1.1", - "core-js": "^3.6.5", + "core-js": "^3.27.2", "eslint": "8.23.0", "fast-glob": "3.2.11", "inquirer": "^8.2.0", diff --git a/yarn.lock b/yarn.lock index 6d0c26b4..d89d5adc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8062,15 +8062,10 @@ core-js-pure@^3.23.3: resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.26.1.tgz#653f4d7130c427820dcecd3168b594e8bb095a33" integrity sha512-VVXcDpp/xJ21KdULRq/lXdLzQAtX7+37LzpyfFM973il0tWSsDEoyzG38G14AjTpK9VTfiNM9jnFauq/CpaWGQ== -core-js@^3.23.3: - version "3.25.0" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.25.0.tgz#be71d9e0dd648ffd70c44a7ec2319d039357eceb" - integrity sha512-CVU1xvJEfJGhyCpBrzzzU1kjCfgsGUxhEvwUV2e/cOedYWHdmluamx+knDnmhqALddMG16fZvIqvs9aijsHHaA== - -core-js@^3.6.5: - version "3.22.8" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.22.8.tgz#23f860b1fe60797cc4f704d76c93fea8a2f60631" - integrity sha512-UoGQ/cfzGYIuiq6Z7vWL1HfkE9U9IZ4Ub+0XSiJTCzvbZzgPA69oDF2f+lgJ6dFFLEdjW5O6svvoKzXX23xFkA== +core-js@^3.23.3, core-js@^3.27.2: + version "3.27.2" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.27.2.tgz#85b35453a424abdcacb97474797815f4d62ebbf7" + integrity sha512-9ashVQskuh5AZEZ1JdQWp1GqSoC1e1G87MzRqg2gIfVAQ7Qn9K+uFj8EcniUFA4P2NLZfV+TOlX1SzoKfo+s7w== core-util-is@1.0.2: version "1.0.2" From da066792eff5a3c465c59885f0ba37d73814af10 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 4 Feb 2023 10:50:22 -0500 Subject: [PATCH 09/10] add Tungsten78 as a contributor for doc (#615) * update README.md [skip ci] * update .all-contributorsrc [skip ci] --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> --- .all-contributorsrc | 3 ++- README.md | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 89e5e015..478b6299 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -133,7 +133,8 @@ "profile": "https://github.com/Tungsten78", "contributions": [ "test", - "code" + "code", + "doc" ] } ], diff --git a/README.md b/README.md index b267c46f..fd5d1329 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,7 @@ # NxDotnet - [![All Contributors](https://img.shields.io/badge/all_contributors-13-orange.svg?style=flat-square)](#contributors-) - [![Join the chat at https://gitter.im/nx-dotnet-plugin/community](https://badges.gitter.im/nx-dotnet-plugin/community.svg)](https://gitter.im/nx-dotnet-plugin/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Run CI checks](https://github.com/nx-dotnet/nx-dotnet/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/nx-dotnet/nx-dotnet/actions/workflows/main.yml) @@ -112,7 +110,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d tzuge
tzuge

💻 🎨 Tine Kondo
Tine Kondo

💻 Kelly Bourg
Kelly Bourg

💻 - Christopher Leigh
Christopher Leigh

⚠️ 💻 + Christopher Leigh
Christopher Leigh

⚠️ 💻 📖 From 6cf083be0b0ad81b94d7b1946ec569e71d684409 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sat, 4 Feb 2023 19:17:39 +0000 Subject: [PATCH 10/10] release: 1.19.1 [skip ci] ## [1.19.1](https://github.com/nx-dotnet/nx-dotnet/compare/v1.19.0...v1.19.1) (2023-02-04) ### Bug Fixes * **core:** adjust gitignore to support generation with directory ([#599](https://github.com/nx-dotnet/nx-dotnet/issues/599)) ([b3856e0](https://github.com/nx-dotnet/nx-dotnet/commit/b3856e0f04811fa06bda6870fa4058a908d715a5)) * **core:** remove orphaned publish-local ([#611](https://github.com/nx-dotnet/nx-dotnet/issues/611)) ([7985e14](https://github.com/nx-dotnet/nx-dotnet/commit/7985e1496f226e187eb9c58c5e8dc86e3250d29e)) Feb 4, 2023, 7:17 PM --- CHANGELOG.md | 7 +++++++ package.json | 2 +- packages/core/package.json | 2 +- packages/dotnet/package.json | 2 +- packages/nx-ghpages/package.json | 2 +- packages/nxdoc/package.json | 2 +- packages/utils/package.json | 2 +- 7 files changed, 13 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5065d94f..90bcdc1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.19.1](https://github.com/nx-dotnet/nx-dotnet/compare/v1.19.0...v1.19.1) (2023-02-04) + +### Bug Fixes + +- **core:** adjust gitignore to support generation with directory ([#599](https://github.com/nx-dotnet/nx-dotnet/issues/599)) ([b3856e0](https://github.com/nx-dotnet/nx-dotnet/commit/b3856e0f04811fa06bda6870fa4058a908d715a5)) +- **core:** remove orphaned publish-local ([#611](https://github.com/nx-dotnet/nx-dotnet/issues/611)) ([7985e14](https://github.com/nx-dotnet/nx-dotnet/commit/7985e1496f226e187eb9c58c5e8dc86e3250d29e)) + # [1.19.0](https://github.com/nx-dotnet/nx-dotnet/compare/v1.18.1...v1.19.0) (2023-02-01) ### Bug Fixes diff --git a/package.json b/package.json index 00656cf0..91ddad7c 100644 --- a/package.json +++ b/package.json @@ -130,5 +130,5 @@ "type": "git", "url": "https://github.com/nx-dotnet/nx-dotnet.git" }, - "version": "1.19.0" + "version": "1.19.1" } diff --git a/packages/core/package.json b/packages/core/package.json index 89a80c67..7f463b17 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -50,5 +50,5 @@ "@nx-dotnet/dotnet" ] }, - "version": "1.19.0" + "version": "1.19.1" } diff --git a/packages/dotnet/package.json b/packages/dotnet/package.json index 640c3bc3..ca647ab5 100644 --- a/packages/dotnet/package.json +++ b/packages/dotnet/package.json @@ -20,5 +20,5 @@ "url": "https://github.com/nx-dotnet/nx-dotnet" }, "homepage": "https://nx-dotnet.com/", - "version": "1.19.0" + "version": "1.19.1" } diff --git a/packages/nx-ghpages/package.json b/packages/nx-ghpages/package.json index 39247b14..8875e2ba 100644 --- a/packages/nx-ghpages/package.json +++ b/packages/nx-ghpages/package.json @@ -24,5 +24,5 @@ "url": "https://github.com/nx-dotnet/nx-dotnet" }, "homepage": "https://nx-dotnet.com/", - "version": "1.19.0" + "version": "1.19.1" } diff --git a/packages/nxdoc/package.json b/packages/nxdoc/package.json index b5af51d4..adbc6af4 100644 --- a/packages/nxdoc/package.json +++ b/packages/nxdoc/package.json @@ -24,5 +24,5 @@ "type": "git", "url": "https://github.com/nx-dotnet/nx-dotnet" }, - "version": "1.19.0" + "version": "1.19.1" } diff --git a/packages/utils/package.json b/packages/utils/package.json index 2b750b07..94f6b74e 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -24,5 +24,5 @@ "url": "https://github.com/nx-dotnet/nx-dotnet" }, "homepage": "https://nx-dotnet.com/", - "version": "1.19.0" + "version": "1.19.1" }