Skip to content

feat!: remove internal build process #527

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 15, 2024
Merged

feat!: remove internal build process #527

merged 1 commit into from
Jan 15, 2024

Conversation

dianjuar
Copy link
Member

@dianjuar dianjuar commented Aug 2, 2023

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)

What is the current behavior?

Issue Number: #516 #553

What is the new behavior?

  • Add support to publish non-buildable libraries.
  • Remove the library's internal build and use dependsOn instead.
  • deploy executor
    • distFolderPath option is now required.
    • The buildTarget option is now removed.
    • The noBuild option is now removed.
  • install generator
    • The distFolderPath option is added and required to specify where the dist folder of the library.
    • The projects option is removed in favor of project. Now, we are allowed to configure a project at a time.
      • The motivation that drives this decision is that since distFolderPath is required, it is difficult to provide multiple distFolderPath when configuring multiple projects.

Does this PR introduce a breaking change?

  • Yes
  • No

A migration script is provided for the next version to automate the required changes:

  • write-dist-folder-path-on-deploy-target-options: Sets the distFolderPath option on the deploy target. distFolderPath is now required.
  • replace-buildtarget-for-depends-on: Remove the option buildTarget and noBuild from the deploy target. If the option buildTarget was set, the migration will create a new target to build the library with the desired configuration and create a dependsOn on the deploy target to build the library using the just-created target.

Other information

@dianjuar dianjuar force-pushed the no-buildable-libs branch 5 times, most recently from d84e6c1 to 02b7ccb Compare August 14, 2023 09:51
@dianjuar dianjuar force-pushed the no-buildable-libs branch 2 times, most recently from bae856b to f245f6f Compare September 1, 2023 03:48
@dianjuar dianjuar marked this pull request as ready for review September 1, 2023 05:07
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

93.8% 93.8% Coverage
0.0% 0.0% Duplication

@dianjuar dianjuar force-pushed the no-buildable-libs branch 5 times, most recently from d035390 to 1259665 Compare November 25, 2023 03:39
@dianjuar dianjuar changed the base branch from main to v8 November 25, 2023 03:39
@dianjuar dianjuar marked this pull request as draft November 25, 2023 03:39
@dianjuar dianjuar changed the title feat: support non buildable packages feat: remove internal build process Nov 26, 2023
@dianjuar dianjuar force-pushed the no-buildable-libs branch 2 times, most recently from 5106182 to 64550f8 Compare November 26, 2023 06:43
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@dianjuar dianjuar force-pushed the no-buildable-libs branch 3 times, most recently from e6c10f7 to c73043c Compare January 11, 2024 23:29
@dianjuar dianjuar force-pushed the no-buildable-libs branch 2 times, most recently from 8e086de to 1bbde9c Compare January 11, 2024 23:59
@dianjuar dianjuar changed the title feat: remove internal build process feat!: remove internal build process Jan 13, 2024
@dianjuar dianjuar changed the base branch from v8 to main January 13, 2024 02:58
@dianjuar dianjuar force-pushed the no-buildable-libs branch 2 times, most recently from 5c91b06 to d4af4d7 Compare January 13, 2024 03:17
@dianjuar dianjuar marked this pull request as ready for review January 15, 2024 21:21
@dianjuar dianjuar self-assigned this Jan 15, 2024
@dianjuar dianjuar force-pushed the no-buildable-libs branch 6 times, most recently from 16aa81f to dffb466 Compare January 15, 2024 23:34
@dianjuar dianjuar changed the base branch from main to v8 January 15, 2024 23:37
Deprecate the built-in build process in favor of `dependsOn` Nx feature.
Add support for libraries that doesn't require build process.

BREAKING CHANGE:
 - `ngx-deploy-npm:install`: Added `--dist-folder-path` option as
required.
 - `ngx-deploy-npm:install`: Drop the option `--projects`, now, each project needs to be specified
independently using `--project`.
 - `ngx-deploy-npm:deploy`: `distFolderPath` option is now required.
 - `ngx-deploy-npm:deploy`: Remove options `noBuild` and `buildTarget`.
Copy link

@dianjuar dianjuar merged commit ffe1d56 into v8 Jan 15, 2024
@dianjuar dianjuar deleted the no-buildable-libs branch January 15, 2024 23:51
dianjuar added a commit that referenced this pull request Jan 16, 2024
Deprecate the built-in build process in favor of `dependsOn` Nx feature.
Add support for libraries that doesn't require build process.

BREAKING CHANGE:
 - `ngx-deploy-npm:install`: Added `--dist-folder-path` option as
required.
 - `ngx-deploy-npm:install`: Drop the option `--projects`, now, each project needs to be specified
independently using `--project`.
 - `ngx-deploy-npm:deploy`: `distFolderPath` option is now required.
 - `ngx-deploy-npm:deploy`: Remove options `noBuild` and `buildTarget`.
dianjuar added a commit that referenced this pull request Jan 18, 2024
Deprecate the built-in build process in favor of `dependsOn` Nx feature.
Add support for libraries that doesn't require build process.

BREAKING CHANGE:
 - `ngx-deploy-npm:install`: Added `--dist-folder-path` option as
required.
 - `ngx-deploy-npm:install`: Drop the option `--projects`, now, each project needs to be specified
independently using `--project`.
 - `ngx-deploy-npm:deploy`: `distFolderPath` option is now required.
 - `ngx-deploy-npm:deploy`: Remove options `noBuild` and `buildTarget`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant