Skip to content
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

chore: reduce project.json duplication and split prepublish #2658

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

kpanot
Copy link
Contributor

@kpanot kpanot commented Jan 6, 2025

Proposed change

chore: reduce project.json duplication
chore: split npm prepublish task

Related issues

- No issue associated -

Copy link

nx-cloud bot commented Jan 6, 2025

View your CI Pipeline Execution ↗ for commit dcd6f8f.

Command Status Duration Result
nx run-many --target=test-int ✅ Succeeded 55m 14s View ↗
nx run-many --target=test-e2e ✅ Succeeded 9m 22s View ↗
nx run-many --target=build --projects=eslint-pl... ✅ Succeeded <1s View ↗
nx run-many --target=publish --nx-bail --userco... ✅ Succeeded 1m 52s View ↗
nx affected --target=test --collectCoverage ✅ Succeeded 1m 9s View ↗
nx run-many --target=build ✅ Succeeded 1m 50s View ↗
nx run-many --target=documentation ✅ Succeeded 1m 18s View ↗
nx run ama-sdk-schematics:build-swagger ✅ Succeeded <1s View ↗
Additional runs (3) ✅ Succeeded ... View ↗

☁️ Nx Cloud last updated this comment at 2025-01-10 19:21:33 UTC

@kpanot kpanot force-pushed the chore/nx-alignment branch 2 times, most recently from 29ce3df to 3e07761 Compare January 7, 2025 06:15
@kpanot kpanot force-pushed the chore/nx-alignment branch 3 times, most recently from 7216b6a to 1f5f72d Compare January 7, 2025 08:32
nx.json Show resolved Hide resolved
@kpanot kpanot force-pushed the chore/nx-alignment branch from 1f5f72d to 6c50eb6 Compare January 7, 2025 14:23
@@ -16,15 +16,14 @@
"build:tools": "yarn nx run-many --target=build --projects=eslint-plugin,workspace",
"build:lint": "yarn nx run-many --target=build --projects=eslint-plugin",
"build:swagger-gen": "yarn nx run-many --target=build-swagger",
"prepare:publish": "yarn prepare-publish \"$(yarn workspaces:list)\" --append dist",
Copy link
Contributor

@fpaul-1A fpaul-1A Jan 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The goal of this task was to fix #112, is this no longer applicable?

Copy link
Contributor Author

@kpanot kpanot Jan 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is still valid on Nx 19 (4s per prepare-publish task) but it is greatly reduced in Nx 20 (< 200ms).

@kpanot kpanot force-pushed the chore/nx-alignment branch 5 times, most recently from deddd46 to 14044a2 Compare January 10, 2025 14:44
chore: split npm prepublish task
@kpanot kpanot force-pushed the chore/nx-alignment branch from 14044a2 to dcd6f8f Compare January 10, 2025 18:08
@kpanot kpanot added this pull request to the merge queue Jan 14, 2025
Merged via the queue into main with commit 3ffc0ba Jan 14, 2025
36 of 37 checks passed
@kpanot kpanot deleted the chore/nx-alignment branch January 14, 2025 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project:@ama-sdk/client-angular project:@ama-sdk/client-beacon project:@ama-sdk/client-fetch project:@ama-sdk/core project:@ama-sdk/create project:@ama-sdk/schematics project:@ama-sdk/swagger-builder project:@ama-terasu/cli project:@ama-terasu/core project:@ama-terasu/schematics project:audit-gh-action project:cascading-gh-action project:get-npm-tag-gh-action project:new-version-gh-action project:@o3r/amaterasu-api-spec project:@o3r/amaterasu-dodo project:@o3r/amaterasu-otter project:@o3r/amaterasu-sdk project:@o3r/analytics project:@o3r/apis-manager project:@o3r/application project:@o3r/artifactory-tools project:@o3r/azure-tools project:@o3r/build-helpers project:@o3r/chrome-devtools project:@o3r/components project:@o3r/configuration project:@o3r/core project:@o3r/create project:@o3r/design project:@o3r/dev-tools project:@o3r/dynamic-content project:@o3r/eslint-config project:@o3r/eslint-config-otter project:@o3r/eslint-plugin project:@o3r/extractors project:@o3r/forms project:@o3r/github-cascading-app project:@o3r/localization project:@o3r/logger project:@o3r/mobile project:@o3r/new-version project:@o3r/pipeline project:@o3r/routing project:@o3r/rules-engine project:@o3r/schematics project:@o3r/showcase project:@o3r/store-sync project:@o3r/storybook project:@o3r/stylelint-plugin project:@o3r/styling project:@o3r/telemetry project:@o3r/test-helpers project:@o3r/testing project:@o3r/third-party project:@o3r/workspace project:@o3r-training/showcase-sdk project:@o3r-training/training-tools project:otter-devtools project:release-gh-action
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants