-
-
Notifications
You must be signed in to change notification settings - Fork 3
add: pnpm-lock.yaml #35
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
Open
khulnasoft-bot
wants to merge
37
commits into
master
Choose a base branch
from
add/pnpm
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
cb1120a
add: pnpm-lock.yaml
khulnasoft-bot 2e58334
Update package.json
khulnasoft-bot 92b1a2b
Create pnpm.yml
khulnasoft-bot bddec2c
Create .npmrc
khulnasoft-bot 7d60ff6
Create pnpm-workspace.yaml
khulnasoft-bot 07be8df
Update netlify.toml
khulnasoft-bot 8dc6e8e
Update README.md
khulnasoft-bot 627f3f2
Update Dockerfile
khulnasoft-bot d733eec
Update .gitpod.yml
khulnasoft-bot 989b02f
Update .gitignore
khulnasoft-bot c9639dc
Update .dockerignore
khulnasoft-bot 9d71144
Update Dockerfile-arm32v7
khulnasoft-bot fd70c3e
Update Dockerfile-arm64v8
khulnasoft-bot 74f25d9
Update Dockerfile-lite
khulnasoft-bot bc5a016
Update Dockerfile-old
khulnasoft-bot 88bac8f
Update tasks.json
khulnasoft-bot 68efe54
Update devcontainer.json
khulnasoft-bot ed7bf07
Update dependency-updates-summary.yml
khulnasoft-bot 839991d
Update docker-build-publish.yml
khulnasoft-bot 28723c6
Update pr-auto-comments.yml
khulnasoft-bot 380f03c
Update configuring.md
khulnasoft-bot 22e9194
Update credits.md
khulnasoft-bot 1df9ea4
Update deployment.md
khulnasoft-bot 4366573
Update developing.md
khulnasoft-bot a995306
Update development-guides.md
khulnasoft-bot 14a495a
Update management.md
khulnasoft-bot a0c2f2d
Update quick-start.md
khulnasoft-bot 41f816f
Update troubleshooting.md
khulnasoft-bot 5474de1
Update widgets.md
khulnasoft-bot df4c0f4
Update server.js
khulnasoft-bot 545eb22
Delete yarn.lock
khulnasoft-bot 7ce7051
Delete .github/workflows/yarn.yml
khulnasoft-bot 0c0ebf1
Update dependency-updates-summary.yml
khulnasoft-bot 79b576c
Added: TypeScript support with
97e4b0e
Update get-size.yml
NxPKG c20939a
Update get-size.yml
NxPKG 167eda6
fix: get-size.yml (#36)
NxPKG 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,42 @@ | ||
| module.exports = { | ||
| root: true, | ||
| env: { | ||
| node: true, | ||
| }, | ||
| extends: [ | ||
| 'plugin:vue/essential', | ||
| '@vue/standard', | ||
| 'airbnb-base', | ||
| ], | ||
| ignorePatterns: [ | ||
| '**/node_modules/**', | ||
| '**/dist/**', | ||
| '**/@/**', | ||
| '**/*.d.ts', | ||
| ], | ||
| rules: { | ||
| 'import/no-unresolved': 'off', | ||
| 'import/extensions': 'off', | ||
| 'arrow-parens': 0, | ||
| 'no-else-return': 0, | ||
| 'prefer-regex-literals': 'off', | ||
| 'no-param-reassign': ['error', { | ||
| props: true, | ||
| ignorePropertyModificationsFor: ['state', 'config', 'args'], | ||
| }], | ||
| }, | ||
| parserOptions: { | ||
| parser: '@babel/eslint-parser', | ||
| requireConfigFile: false, | ||
| }, | ||
| overrides: [ | ||
| { | ||
| files: ['*.ts', '*.tsx'], | ||
| parser: '@typescript-eslint/parser', | ||
| plugins: ['@typescript-eslint'], | ||
| rules: { | ||
| 'no-undef': 'off', | ||
| }, | ||
| }, | ||
| ], | ||
| }; |
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 |
|---|---|---|
| @@ -1,17 +1,35 @@ | ||
| # Shows changes to any yarn.lock in PR comment | ||
| # Useful for easily understanding dependency changes and consequences | ||
| name: 💡 Show Dependency Changes | ||
| on: [pull_request] | ||
| name: Dependency Updates Summary | ||
|
|
||
| on: | ||
| pull_request: | ||
| paths: | ||
| - 'pnpm-lock.yaml' | ||
|
|
||
| jobs: | ||
| check: | ||
| pnpm-lock-changes: | ||
| name: Create pnpm Lock Changes Comment | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
| - name: Yarn Lock Changes | ||
| uses: Simek/yarn-lock-changes@main | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| token: ${{ secrets.ORG_REPO_TOKEN || secrets.GITHUB_TOKEN }} | ||
| collapsibleThreshold: '25' | ||
| failOnDowngrade: 'false' | ||
| path: 'yarn.lock' | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Setup Node | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: 18 | ||
|
|
||
| - name: Install pnpm-lock-export CLI | ||
| run: npm install -g pnpm-lock-export | ||
|
|
||
| - name: Generate Lock Changes | ||
| run: pnpm-lock-export --path=pnpm-lock.yaml --format=markdown --output=lock-changes.md | ||
|
|
||
| - name: Comment PR | ||
| uses: machine-learning-apps/pr-comment@master | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| with: | ||
| path: lock-changes.md |
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,28 @@ | ||
| name: Install Dependencies Without pnpm-lock.yaml | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| schedule: | ||
| - cron: '0 0 * * 0' # Run every Sunday at midnight | ||
|
|
||
| jobs: | ||
| pnpm-install: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| # Step 1: Checkout the repository | ||
| - uses: actions/checkout@v2 | ||
|
|
||
| # Step 2: Remove the pnpm-lock.yaml file (if it exists) | ||
| - name: Remove pnpm-lock.yaml | ||
| run: | | ||
| if [ -f pnpm-lock.yaml ]; then | ||
| rm pnpm-lock.yaml | ||
| fi | ||
|
|
||
| # Step 3: Install dependencies without pnpm-lock.yaml | ||
| - name: Install Dependencies | ||
| run: pnpm install --no-lockfile --ignore-engines | ||
|
|
||
| # Step 4: Restore the pnpm-lock.yaml file (if it exists in the repo) | ||
| - name: Restore pnpm-lock.yaml | ||
| run: git checkout pnpm-lock.yaml || echo "No pnpm-lock.yaml to restore" |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
| shamefully-hoist=true | ||
| strict-peer-dependencies=false | ||
| auto-install-peers=true | ||
| node-linker=hoisted | ||
| enable-pre-post-scripts=true | ||
| save-exact=true | ||
| use-node-version=18.19.0 | ||
| enable-git-hooks=true |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Consider .env file handling approach.
Adding
.envto .gitignore is common practice, but consider if you should provide a template file (like.env.example) to document required environment variables.🏁 Script executed:
Length of output: 226
Action Required: Add a
.env.exampleTemplateThe
.gitignoreupdate correctly ignores the.envfile. However, the verification confirms that a corresponding.env.examplefile is missing. To improve clarity and assist new developers, please add a.env.examplefile documenting all required environment variables..envis now ignored, which is appropriate..env.examplefile was found—this file would serve as a template for required variables.