Files
markitect-main/capabilities/testdrive-jsui/node_modules/eslint-plugin-promise/CHANGELOG.md
tegwick 17c62aadaa feat: complete testdrive-jsui capability extraction with full JavaScript test integration
Extract JavaScript UI framework functionality into dedicated testdrive-jsui capability
while maintaining 100% functionality preservation and integrating JavaScript tests
into the main Python test suite.

Phase 1 (Foundation Setup) - COMPLETED:
- Created capability directory structure with proper Python package layout
- Configured pyproject.toml with Node.js subprocess dependencies
- Set up package.json with Jest + JSDOM testing framework
- Implemented Python-JavaScript bridge for seamless test integration
- Created comprehensive capability Makefile with all testing targets
- Added detailed README documentation for capability usage

Phase 2 (Integration Layer) - COMPLETED:
- Built Python test wrappers for JavaScript test execution via subprocess
- Integrated with pytest discovery system for unified test experience
- Added capability targets to main Makefile delegation system
- Verified test integration works with main test suite

Phase 3 (Safe Migration) - COMPLETED:
- Copied (not moved) all JavaScript files to capability using safe copy-first approach
- Migrated 4 core JavaScript components and 11 test files (2,840+ lines)
- Verified all tests work in new location (11 Python tests + 7 JavaScript tests passing)
- Maintained dual-track testing capability for safety during transition

Phase 4 (Framework Enhancement) - COMPLETED:
- Enhanced testing framework with Python integration and coverage reporting
- Achieved 59% Python test coverage and 100% JavaScript test coverage
- Added performance benchmarking and component documentation

Phase 5 (Production Integration) - COMPLETED:
- Added standard 'test' target to capability Makefile for discovery system compatibility
- Integrated JavaScript tests into main Makefile with new targets:
  * test-js: Run JavaScript UI tests
  * test-all: Run all tests (Python + JavaScript + Capabilities)
- Updated help documentation to include new testing workflows
- Verified capability auto-discovery works via 'make test-capabilities'

Key Achievements:
- Zero-risk migration completed with copy-first safety approach
- Full Python-JavaScript test integration with 18 total passing tests
- JavaScript UI framework successfully extracted to dedicated capability
- Enhanced CI/CD integration with unified test command interface
- Clean architecture enabling future JavaScript framework evolution

Testing Status:
-  All Python integration tests passing (11/11)
-  All JavaScript component tests passing (7/7)
-  Capability discovery integration working
-  Main test suite integration complete
-  Test coverage reporting functional (59% Python, 100% JavaScript)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 22:29:30 +01:00

4.1 KiB

6.0.2

  • Added tests for @typescript-eslint/parser support

6.0.1

  • Fixed @typescript-eslint/parser issue #331, #205

6.0.0

  • Dropped node 10 from engines #231
  • Updated a ton of deps #236, #237, #235, #234
  • ESLint 8 support #219

5.2.0

  • Updated param-names rule to allow for unused params

5.1.1

  • Updated docs to include no-callback-in-promise reasons #215

5.1.0

  • Included catch() and finally() in prefer-await-to-then #196
  • Added some additional tests and upgraded some dev deps #196
  • Exempted array methods in prefer-await-to-callbacks (#212)

5.0.0

  • ESLint 7.0 Support

4.3.1.

  • Updated and applied prettier

4.3.0

4.2.2

  • Added license
  • Dependabot security updates

4.2.1

  • Added more use cases to no-return-wrap

4.0.1

  • Remove promise/param-names fixer (#146)

4.0.0

  • Added fixer for promise/no-new-statics rule (#133)
  • Support ESLint v5 (#144)

This is a breaking change that drops support for Node v4. In order to use ESLint v5 and eslint-plugin-promise v4, you must use Node >=6.

3.8.0

  • Removed promise/avoid-new from recommended configuration (#119)
  • Ignored event listener callbacks in promise/prefer-await-to-callbacks (#117)
  • Ignored top-level awaits in promise/prefer-await-to-then (#126)
  • Added docs for promise/no-nesting and promise/prefer-await-to-then (#120) (#121)

3.7.0

  • Added promise/valid-params rule (#85)
  • Added promise/no-new-statics rule (#82)
  • Added fixer for promise/param-names rule (#99)
  • Added rule documentation to each rule (#91)

3.6.0

  • Added ['catch'] support in catch-or-return
  • Added no-return-in-finally rule
  • Fixed some formatting in the docs
  • Added allowReject option to no-return-wrap
  • Added exceptions for no-callback-in-promise

3.5.0

  • Added support for recommended settings using extends: plugin:promise/recommended

3.4.2

  • Fixed always return false positive with ternary (#31)

3.4.1

  • fixed #49

3.4.0

  • new rule: avoid-new
  • new rule: no-promise-in-callback
  • new rule: no-callback-in-promise
  • new rule: no-nesting

3.3.2

  • Removed eslint from peerDeps

3.3.1

  • Updated engines with proper stuff
  • Fixed bug for unreachable code

3.3.0

  • Rule: prefer-async-to-callbacks added
  • Rule: prefer-async-to-then added

3.2.1

  • Fix: no-return-wrap rule missing from index.js

3.2.0

  • Added no-return-wrap rule

3.1.0

  • Added multiple terminationMethods

3.0.1

  • Removed deprecated always-catch rule
  • FIX: always-return error with "fn && fn()"

3.0.0

  • Updated column and line numbers
  • Added flow analysis for better handling of if statements

2.0.1

  • Fixed type in docs

2.0.0

  • ESLint 3.0 Support

1.3.2

  • Updated tests to run on eslint 2.0
  • Fixed some issues with no-native rule

1.3.1

  • Actually added no-native rule

1.3.0

  • Added no-native rule

1.2.0

  • Allow throw in always-return rule
  • Added terminationMethod option to catch-or-return rule

1.1.0

  • Added catch-or-return rule

1.0.8

  • Fixed crash issues

1.0.0 - 1.0.7

  • Lots of basic feature updates and doc changes