Skip to content

chore: isolate jode as standalone package - #1

Closed
timurbazhirov wants to merge 2 commits into
mainfrom
chore/isolate-subpackages
Closed

chore: isolate jode as standalone package#1
timurbazhirov wants to merge 2 commits into
mainfrom
chore/isolate-subpackages

Conversation

@timurbazhirov

Copy link
Copy Markdown
Member

Summary

Extracts the Job class and related utilities from web-app into a standalone @mat3ra/jode package.

Changes

  • JS: Job class refactored with ESSE JobSchema + ExtendedJobSchema via declaration merging and JobSchemaMixin
  • Python: Job class extending ESSE JobBaseSchema + ExtendedJobSchema (Pydantic)
  • Config: ESLint, Prettier, Husky, CI/CD, pyproject.toml (setuptools-scm)
  • Tests: 21 JS tests (mocha) + 9 Python tests (pytest)

Dependencies

  • Peer: @mat3ra/code, @mat3ra/esse, @mat3ra/ide, @mat3ra/made, @mat3ra/wode
  • Dev: TypeScript, ts-node, mocha, chai

- Refactor JS Job class to use declaration merging with ESSE JobSchema
  and ExtendedJobSchema via JobSchemaMixin (following wode's Workflow pattern)
- Add Python Job class extending ESSE JobBaseSchema + ExtendedJobSchema
- Fix mat3ra namespace __init__.py to use pkgutil.extend_path
- Add missing config files: .eslintrc.json, .nycrc, .husky/pre-commit
- Add Python tests (9 tests) and update JS tests (21 tests)
- Update .gitignore for Python build artifacts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant