Skip to content

test: add CI test comment to verify main branch CI functionality#450

Closed
Shinoni wants to merge 14 commits into
mainfrom
test-ci-main
Closed

test: add CI test comment to verify main branch CI functionality#450
Shinoni wants to merge 14 commits into
mainfrom
test-ci-main

Conversation

@Shinoni

@Shinoni Shinoni commented Jul 12, 2025

Copy link
Copy Markdown
Contributor
  • Small comment added to README to trigger CI
  • Testing if @lwrjs/api issue exists in main branch CI
  • This will help isolate whether the TypeScript error is pre-existing or introduced by our changes

What does this PR do?

What issues does this PR fix or reference?

- Small comment added to README to trigger CI
- Testing if @lwrjs/api issue exists in main branch CI
- This will help isolate whether the TypeScript error is pre-existing or introduced by our changes
lesya7 added 13 commits July 11, 2025 17:04
- Downgraded @oclif/plugin-command-snapshot from ^5.3.3 to ^5.3.2
- Added @salesforce/cli ^2.93.7 and dotenv ^16.5.0 dependencies
- Added test:nut:local script
- Updated volta Node.js version from 20.11.0 to 20.19.3
- Added yarn resolutions for @salesforce/core ^8.15.0

Testing if these package.json changes cause the @lwrjs/api TypeScript error in CI.
- Updated tsconfig.json to include ./src/**/*.d.ts files
- Updated test/tsconfig.json to include ./**/*.nut.ts files
- Testing if these TypeScript configuration changes cause @lwrjs/api module resolution issues in CI
- Added src/lwrjs-api.d.ts with type declarations for @lwrjs/api
- Declares SitesLocalDevOptions type and expDev/setupDev functions
- Testing if this TypeScript declaration file causes @lwrjs/api module resolution issues in CI
- This is the most likely culprit for the TS7016 error
- Reverted yarn.lock to remove problematic dependencies from earlier package.json changes
- This should resolve the mocha/cliui dependency conflict in CI
- Now we can properly test if the TypeScript declaration file causes @lwrjs/api issues
- Added componentLocalPreview.nut.ts and supporting test infrastructure
- Includes test helpers, test data, and test projects
- Contains fixed dotenv import pattern (import * as dotenv)
- Testing if NUT test files cause @lwrjs/api module resolution issues in CI
- Added dotenv ^16.5.0 to devDependencies
- Required for componentLocalPreview.nut.ts test
- Only adding dotenv, not other problematic dependencies
…icts

- Removed dotenv import and config() call from componentLocalPreview.nut.ts
- Using process.env directly instead of dotenv.config()
- This avoids the mocha/cliui dependency conflict that was preventing CI tests
- Now we can test if NUT test files cause @lwrjs/api issues without package.json changes
- Removed src/lwrjs-api.d.ts declaration file
- Cleaned up tsconfig.json to remove .d.ts includes
- Cleaned up test/tsconfig.json to remove .nut.ts includes
- Testing if dependency fixes alone resolve @lwrjs/api issue without TypeScript declarations
- Fix mocha/cliui dependency conflict by adding cliui@7.0.4 resolution
- Restore dotenv functionality for .nut.ts test files
- Update test/tsconfig.json to properly include .nut.ts files
- All 56 tests passing with dependencies resolved
- Added prerequisite that SF CLI must be installed before running integration tests locally
- Clarifies that sf command must be available during local test execution
- Provides installation link and verification command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants