-
Notifications
You must be signed in to change notification settings - Fork 16
Back Merge main to v2-beta #2518
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
cs-raj
wants to merge
8
commits into
v2-beta
Choose a base branch
from
fix/back-merge
base: v2-beta
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
8 commits
Select commit
Hold shift + click to select a range
2e93100
Back merge main to v2-beta
cs-raj 69e030f
fix: lock file update
cs-raj fc30aa7
Fix: added lint script in the root package
cs-raj 275dad4
Removed production workflows and changed unit test cases workflow to …
cs-raj 20eb71d
fix rate limit test merge changes
harshitha-cstk eab1d5a
Refactor test file paths to use relative paths for config.json and im…
harshitha-cstk 923f437
fix: removed override
cs-raj 8534863
Skipping utilities test
cs-raj 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,21 @@ | ||
| name: Lint | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, synchronize, reopened] | ||
|
|
||
| jobs: | ||
| lint: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: pnpm/action-setup@v4 | ||
| with: | ||
| version: 10.28.0 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '22.x' | ||
| cache: 'pnpm' | ||
| - run: pnpm install --no-frozen-lockfile | ||
| - run: pnpm -r --sort --workspace-concurrency=1 run build | ||
| - run: pnpm run lint | ||
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 |
|---|---|---|
| @@ -1,48 +1,36 @@ | ||
| name: Run Unit Tests | ||
| name: Unit Tests | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, synchronize, reopened] | ||
|
|
||
| jobs: | ||
| run-tests: | ||
cs-raj marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup pnpm | ||
| uses: pnpm/action-setup@v4 | ||
| - uses: actions/checkout@v4 | ||
| - uses: pnpm/action-setup@v4 | ||
| with: | ||
| version: 10.28.0 # or your local pnpm version | ||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@v4 | ||
| version: 10.28.0 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '22.x' | ||
| cache: 'pnpm' # optional but recommended | ||
|
|
||
| # - name: Temporarily disable contentstack package | ||
| # run: mv packages/contentstack/package.json packages/contentstack/package.json.disabled || true | ||
|
|
||
| - name: Install Dependencies (Excluding Contentstack) | ||
| run: pnpm install --no-frozen-lockfile | ||
|
|
||
| - name: Build all plugins (Excluding Contentstack) | ||
| run: | | ||
| NODE_ENV=PREPACK_MODE pnpm -r --sort run build | ||
|
|
||
| # - name: Restore contentstack package | ||
| # run: mv packages/contentstack/package.json.disabled packages/contentstack/package.json || true | ||
|
|
||
| - name: Run tests for Contentstack Command | ||
| cache: 'pnpm' | ||
| - run: pnpm install --no-frozen-lockfile | ||
| - run: pnpm -r --sort --workspace-concurrency=1 run build | ||
| - name: Test contentstack | ||
| working-directory: ./packages/contentstack | ||
| run: pnpm test | ||
| - name: Test contentstack-command | ||
| working-directory: ./packages/contentstack-command | ||
| run: npm run test:unit | ||
|
|
||
| - name: Run tests for Contentstack Config | ||
| run: pnpm test | ||
| - name: Test contentstack-config | ||
| working-directory: ./packages/contentstack-config | ||
| run: npm run test:unit | ||
|
|
||
| - name: Run tests for Contentstack Auth | ||
| run: pnpm test | ||
| - name: Test contentstack-auth | ||
| working-directory: ./packages/contentstack-auth | ||
| run: NODE_ENV=PREPACK_MODE npm run test:unit | ||
| run: pnpm test | ||
| # Commented out in v2-beta production | ||
| # - name: Test contentstack-utilities | ||
| # working-directory: ./packages/contentstack-utilities | ||
| # run: pnpm test | ||
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,4 +1,14 @@ | ||
| fileignoreconfig: | ||
| - filename: .github/workflows/release-production-pipeline.yml | ||
| checksum: 4aef94feea3ea0538162a9454cfd30457ec85e3123672f0933713e3d113d4504 | ||
| - filename: packages/contentstack-utilities/src/proxy-helper.ts | ||
| checksum: 2169f25563bca3a0fe54edd00c73646ed56d36aa7e8effe904de26b0c1633759 | ||
| - filename: packages/contentstack-config/test/unit/commands/proxy.test.ts | ||
| checksum: b92210826693683300728e7e82e6789f0ad697b17e6b99a8a004c9a041bced00 | ||
| - filename: packages/contentstack/test/unit/context-handler.test.ts | ||
| checksum: 6ef78899d3089685271bd16c156d057c807fd9b8560189387ae44e9576d23095 | ||
| - filename: packages/contentstack/README.md | ||
| checksum: cdd03f1f11ef3ecf04f71ed0a468501633ce92f0d487ee097312644578cb3cdc | ||
| - filename: pnpm-lock.yaml | ||
| checksum: 840d10a9ef1d60aeb0edd46a5cf8ae8306c9eee321aff72a9bb0e1a7e5031159 | ||
| checksum: 503b7df2c37c07135396c6013941e3a155c351e0cd14fe62ac65cedf6ff43bbd | ||
| version: '1.0' |
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 |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| { | ||
| "inlcude": [ | ||
| "include": [ | ||
| "lib/**/*.js" | ||
| ] | ||
| } |
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 |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| import { | ||
| cliux, | ||
| CLIError, | ||
| authHandler as oauthHandler, | ||
| flags, | ||
|
|
||
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
155 changes: 0 additions & 155 deletions
155
packages/contentstack-auth/test/integration/auth.test.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.