Skip to content
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

US9 - Change theme path to avoid linter error #54

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

ilong4rennes
Copy link

@ilong4rennes ilong4rennes commented Oct 9, 2024

What

Changed the theme repo path from a local file reference to the original version in install/package.json.

Why

The last PR failed lint due to theme errors caused by the following issue:

Error: ENOENT: no such file or directory, open '/home/runner/work/nodebb-f24-the-turtles/nodebb-f24-the-turtles/node_modules/nodebb-theme-harmony/theme.json'.

This was caused by modifying the front-end theme dependency in package.json to link a local repository:

"nodebb-theme-harmony": "file:../nodebb-frontend-f24-the-turtles"

Linking to a local repository bypassed the usual npm installation process, which ensures all required files, like theme.json, are present. This PR corrects that by reverting to the original theme version.

How

Updated the nodebb-theme-harmony path in install/package.json.

Testing

No testing needed due to the nature of this change.

@ilong4rennes ilong4rennes self-assigned this Oct 9, 2024
@ilong4rennes ilong4rennes added the enhancement New feature or request label Oct 9, 2024
@ilong4rennes ilong4rennes added this to the Sprint 2 milestone Oct 9, 2024
@shantinghou
Copy link

LGTM!

@ilong4rennes ilong4rennes merged commit 9982547 into f24 Oct 10, 2024
1 check failed
@ilong4rennes ilong4rennes changed the title US9 - Fix lint error US9 - Change theme path Oct 10, 2024
@ilong4rennes ilong4rennes changed the title US9 - Change theme path US9 - Change theme path to avoid linter error Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request resolve
Projects
None yet
Development

Successfully merging this pull request may close these issues.

US #9 - Ensure the backend logic of resolved field respond correctly to the 'click' action of users.
2 participants