Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
id: release
uses: python-semantic-release/python-semantic-release@v10.5.3
with:
github_token: ${{ secrets.AI_BADGES_GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
git_committer_name: "github-actions"
git_committer_email: "github-actions@github.com"
changelog: "false"
Expand Down
17 changes: 0 additions & 17 deletions CHANGELOG.rst

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ You must manually register the badges UI package in your MFE configuration (For
dist: 'src',
},
{
moduleName: '@openedx/openedx-ai-badges-ui',
moduleName: '@openedx/openedx-ai-badges',
dir: path.resolve(__dirname, '../openedx-ai-badges/frontend'),
dist: 'src',
},
Expand All @@ -131,7 +131,7 @@ You must manually register the badges UI package in your MFE configuration (For

.. code-block:: javascript

import '@openedx/openedx-ai-badges-ui';
import '@openedx/openedx-ai-badges';

**2. Backend Development**

Expand Down
6 changes: 4 additions & 2 deletions backend/openedx_ai_badges/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""
A experimental plugin for Open edX designed to explore AI extensibility.
A sample backend plugin for the Open edX Platform.
"""

__version__ = "1.6.1"
from importlib.metadata import version as get_version

__version__ = get_version(__package__)
8 changes: 4 additions & 4 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openedx/openedx-ai-badges-ui",
"version": "1.6.1",
"name": "@openedx/openedx-ai-badges",
"version": "__semantically__released__",
"description": "AI Badges UI component for Open edX utilizing Frontend Plugin Framework",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
15 changes: 9 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,22 @@ Issues = "https://github.com/openedx/openedx-ai-badges/issues"
Changelog = "https://github.com/openedx/openedx-ai-badges/blob/main/CHANGELOG.rst"
Community = "https://discuss.openedx.org"

# hatch-specific configuration
[tool.hatch.metadata.hooks.custom]
path = "tutor/.hatch_build.py"

[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[tool.hatch.version]
source = "vcs"

[tool.hatch.version.raw-options]
version_scheme = "only-version"
local_scheme = "no-local-version"

[tool.hatch.build.targets.sdist]
# Disable strict naming, otherwise twine is not able to detect name/version
strict-naming = false
include = [
"/tutor/openedx_ai_badges",
"/tutor/.hatch_build.py",
"/backend",
"/frontend"
]
Expand Down Expand Up @@ -97,3 +99,4 @@ deps =
commands =
sphinx-build -b html -W --keep-going . _build/html
"""

10 changes: 0 additions & 10 deletions setup.cfg

This file was deleted.

23 changes: 0 additions & 23 deletions tutor/.hatch_build.py

This file was deleted.

1 change: 0 additions & 1 deletion tutor/openedx_ai_badges/__about__.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
await import("@openedx/openedx-ai-badges-ui");
await import("@openedx/openedx-ai-badges");
Loading