-
Notifications
You must be signed in to change notification settings - Fork 0
PP-2787 fix(deps): Security Updates, Dependency Upgrades & Cursor Rules #51
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
5 commits
Select commit
Hold shift + click to select a range
ee27478
fix(deps): add minimatch override and upgrade packages for security
sergak01 14141f8
chore: add postbuild script and gitignore for latest tgz
sergak01 029973e
feat(cursor): add Create PR and Create release rules
sergak01 c7c6c5f
chore(deps-dev): downgrade eslint to version 9.0.0
sergak01 b994e40
fix: resolve TypeScript errors and runtime bugs in create-pp-dev
sergak01 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| --- | ||
| description: Create PR message for merging current branch into target branch (default: origin/develop) | ||
| alwaysApply: false | ||
| --- | ||
|
|
||
| # Create PR Workflow | ||
|
|
||
| When the user asks to **Create PR** (or "create pull request", "generate PR message"): | ||
|
|
||
| ## Steps | ||
|
|
||
| 1. **Determine target branch** β Default is `origin/develop`. If the user specifies a different branch in their message, use that instead. | ||
|
|
||
| 2. **Get current branch** β Run `git branch --show-current` to get the source branch. | ||
|
|
||
| 3. **Get commit range** β Compare current branch against target. Run: | ||
| ```bash | ||
| git log origin/develop..HEAD --oneline | ||
| ``` | ||
| (Replace `origin/develop` with the target branch if changed.) | ||
|
|
||
| 4. **Generate PR message** β Create a markdown PR message following the project's PR format (see `pr-message-format.mdc`). Include: | ||
| - Title | ||
| - Summary of changes | ||
| - Key features/improvements | ||
| - Included commits | ||
| - Merge request line: `source-branch` β `target-branch` | ||
|
|
||
| 5. **Save to file** β Write the PR message to an MD file, e.g. `PR_MESSAGE.md` or `pr-message.md` in the project root. | ||
|
|
||
| ## Example output file | ||
|
|
||
| ```markdown | ||
| ## π feat: Add minimatch override for security | ||
|
|
||
| ### π Summary | ||
| ... | ||
|
|
||
| **Merge Request:** `feature/xyz` β `origin/develop` | ||
| ``` | ||
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,37 @@ | ||
| --- | ||
| description: Create release tag from latest origin/main with version from package.json (without beta suffix) | ||
| alwaysApply: false | ||
| --- | ||
|
|
||
| # Create Release Workflow | ||
|
|
||
| When the user asks to **Create release** (or "create tag", "release tag"): | ||
|
|
||
| ## Steps | ||
|
|
||
| 1. **Read version from package.json** β Get the `version` field (e.g. `0.5.5-beta.2`). | ||
|
|
||
| 2. **Strip beta suffix** β Remove `-beta.*`, `-alpha.*`, `-rc.*` etc. Examples: | ||
| - `0.5.5-beta.2` β `0.5.5` | ||
| - `1.0.0-rc.1` β `1.0.0` | ||
| - `2.3.4` β `2.3.4` (unchanged) | ||
|
|
||
| 3. **Tag name** β Use `v` + stripped version: `v0.5.5`. | ||
|
|
||
| 4. **Create tag on latest origin/main** β Run: | ||
| ```bash | ||
| git fetch origin main | ||
| git tag v<version> origin/main -m "Release v<version>" | ||
| ``` | ||
| Example: `git tag v0.5.5 origin/main -m "Release v0.5.5"` | ||
|
|
||
| 5. **Push tag** (if user wants to publish): | ||
| ```bash | ||
| git push origin v<version> | ||
| ``` | ||
|
|
||
| ## Notes | ||
|
|
||
| - Tag is created from `origin/main`, not from the current branch. | ||
| - Do not push the tag unless the user explicitly requests it. | ||
| - Confirm the version and tag name with the user before creating/pushing. | ||
|
sergak01 marked this conversation as resolved.
|
||
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
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.