-
Notifications
You must be signed in to change notification settings - Fork 75
ci(release-please): Release please single PR #1176
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
Changes from all commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
8bba641
feat: Enable release-please release setup
d3xter666 8cff340
refactor: Update placeholders
d3xter666 103f7f3
feat: Introduce release-please-manifest.json
d3xter666 ad65076
fix: License
d3xter666 295f374
refactor: Update release-please workflow
d3xter666 f85f745
fix: Logger License whitespaces
d3xter666 3585d49
feat: Release please setup
d3xter666 6fc9f41
refactor: Update release-please to publish to NPM
d3xter666 dcc5956
fix: Cleanups
d3xter666 196e973
refactor: Cleanup
d3xter666 1fee954
fix: Address RP package & shrinkwrap versions update
d3xter666 96a5ce3
fix: Enforce sequential publishing of the packages
d3xter666 fe12a34
docs: Provide component names to the description along with the version
d3xter666 23f852b
fix: Shrinkwrap proper generation
d3xter666 2da41e2
feat: Enable trusted publishing to NPM
d3xter666 4928ba3
refactor: Use working-directory prop instead of CD-ing
d3xter666 ae9317f
refactor: Bump package versions to v5 pre-release
d3xter666 1869611
fix: Prerelases don't have ranges
d3xter666 b120202
fix: Correctly update the shrinkwrap
d3xter666 f23d5c4
fix: Generate correct npm-shrinkwrap.json
d3xter666 4d52f99
refactor: Cleanups
d3xter666 e79f72c
feat: Add shrinkwrap-extractor to the root project's lib
d3xter666 e29384e
refactor: Use shrinkwrap-extractor to generate npm-shrinkwrap.js
d3xter666 4b607b5
docs: Update comments
d3xter666 0469e0a
fix: ESlint issues
d3xter666 3eeffd4
refactor: Cleanup redundant shrinkwrap config files
d3xter666 217df77
refactor: Add private flag for shrinkwrap extractor
d3xter666 c8c3e61
fix: Reuse eslint common.config
d3xter666 87df34f
refactor: Move shrinkwrap-extractor into a separate package
d3xter666 d10c5d2
refactor: Add shrinkwrap checks to the ci workflow
d3xter666 a13176e
refactor: Reorganize release-please setup with the new paths
d3xter666 c957951
fix: Run full tests set for shrinkwrap-extractor
d3xter666 2494f08
refactor: Do not enforce --engine-strict for release-please setup
d3xter666 0b5eafe
test: Enable shrinkwrap-tests for error handling
d3xter666 70e34fc
refactor: Move internal packages into a separate root directory
d3xter666 b5755eb
refactor: Separate public/internal packages in root package.json
d3xter666 ce642a4
fix: Align and fix scripts with the monorepo
d3xter666 a26870d
fix: Address package move within the code
d3xter666 825d459
fix: General CI pip
d3xter666 e47baa9
refactor: Isolated docs deployment
d3xter666 4db6361
fix: Package lock update for docs package
d3xter666 98d30be
fix: Update docs dependencies
d3xter666 653cf30
refactor: Adjust release please config so that it produces alpha release
d3xter666 3fca682
fix: Shrinkwrap extractor to respect different registry setup
d3xter666 94e4779
fix: Workflow paths
d3xter666 bcd8b1e
fix: Documentation depcheck
d3xter666 74024a1
fix: Update properly package-lock.json
d3xter666 b3d13eb
fix: Sync @npmcli/config dep across packages
d3xter666 9f0e18a
feat: Add REUSE compliance for shrinkwrap-extractor
d3xter666 616fae2
fix: Paths to packages in CI
d3xter666 cbd3694
refactor: Optimize deps install process
d3xter666 03ab828
revert: Update package versions to prerelase version
d3xter666 5f252e7
refactor: Cleanups
d3xter666 f9ffcb9
refactor: Use runner.temp for temp dir management
d3xter666 37a6bd7
fix: Resolve merge conflicts
d3xter666 b03b5f6
docs: Update workflow titles
d3xter666 6e8ed73
docs: Update comments in code to make it clearer
d3xter666 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,85 @@ | ||
| name: Release Please | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| id-token: write # Required for trusted publishing via OIDC (https://docs.npmjs.com/trusted-publishers) | ||
|
|
||
| jobs: | ||
| release-please: | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
|
|
||
| - name: Node.js LTS | ||
| uses: actions/setup-node@v5 | ||
| with: | ||
| node-version: 24.x | ||
|
|
||
| - name: Run Release Please to update PRs and create releases | ||
| uses: googleapis/release-please-action@v4 | ||
| id: release | ||
| with: | ||
| token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
|
||
| publish-packages: | ||
| runs-on: ubuntu-24.04 | ||
| needs: release-please | ||
| if: needs.release-please.outputs.releases_created == 'true' | ||
| strategy: | ||
| # Sequential publishing ensures dependencies exist on NPM before dependents are published | ||
| # Order: logger → fs → builder → server → project (CLI handled separately for shrinkwrap generation) | ||
| max-parallel: 1 | ||
| matrix: | ||
| package: [logger, fs, builder, server, project] | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
|
|
||
| - name: Node.js LTS | ||
| uses: actions/setup-node@v5 | ||
| with: | ||
| node-version: 24.x | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Publish ${{ matrix.package }} package | ||
| working-directory: packages/${{ matrix.package }} | ||
| run: | | ||
| echo "🚀 Publishing @ui5/${{ matrix.package }}" | ||
|
|
||
| # TODO: Uncomment when ready to publish | ||
| # npm publish --access public | ||
|
|
||
| publish-cli: | ||
| runs-on: ubuntu-24.04 | ||
| needs: [release-please, publish-packages] | ||
| if: needs.release-please.outputs.releases_created == 'true' | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
|
|
||
| - name: Node.js LTS | ||
| uses: actions/setup-node@v5 | ||
| with: | ||
| node-version: 24.x | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Generate npm-shrinkwrap.json | ||
| working-directory: packages/cli | ||
| run: | | ||
| set -e | ||
| node ../../internal/shrinkwrap-extractor/cli.js ../../ | ||
|
|
||
| - name: Publish @ui5/cli package | ||
| working-directory: packages/cli | ||
| run: | | ||
| echo "🚀 Publishing @ui5/cli" | ||
| # TODO: Uncomment when ready to publish | ||
| # npm publish --access public | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "packages/logger": "4.0.2", | ||
d3xter666 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "packages/fs": "4.0.2", | ||
| "packages/builder": "4.0.11", | ||
| "packages/server": "4.0.7", | ||
| "packages/project": "4.0.6", | ||
| "packages/cli": "4.0.26" | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| import eslintCommonConfig from "../../eslint.common.config.js"; | ||
|
|
||
| export default [ | ||
| { | ||
| // Ignore VitePress generated files and build output | ||
| ignores: [ | ||
| "dist/", | ||
| ".vitepress/", | ||
| "jsdoc/" | ||
| ] | ||
| }, | ||
| ...eslintCommonConfig, // Load common ESLint config | ||
| { | ||
| // Documentation-specific overrides | ||
| rules: { | ||
| "no-console": "off", // Allow console in documentation scripts | ||
| } | ||
| } | ||
| ]; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.