Skip to content

Commit

Permalink
DEV: Prepare the skeleton for use in discourse_theme (#17)
Browse files Browse the repository at this point in the history
* Clean up package.json, bump versions
* Move detailed info to about fields from the gem
* Add theme description placeholder
* Add a commented-out initializer placeholder
  • Loading branch information
CvX authored Feb 27, 2024
1 parent db62391 commit a7aca0e
Show file tree
Hide file tree
Showing 5 changed files with 193 additions and 111 deletions.
4 changes: 2 additions & 2 deletions about.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "TODO",
"component": true,
"authors": "Discourse",
"license_url": "TODO",
"about_url": "TODO",
"about_url": "TODO: Put your theme's public repo or Meta topic URL here",
"license_url": "TODO: Put your theme's LICENSE URL here",
"learn_more": "TODO",
"theme_version": "0.0.1",
"minimum_discourse_version": null,
Expand Down
5 changes: 5 additions & 0 deletions javascripts/discourse/api-initializers/todo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// import { apiInitializer } from "discourse/lib/api";

// export default apiInitializer("1.8.0", (api) => {
// console.log("hello world from api initializer!");
// });
3 changes: 2 additions & 1 deletion locales/en.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
en:
placeholder: placeholder
theme_metadata:
description: "TODO"
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
{
"name": "TODO",
"version": "0.0.1",
"repository": "TODO",
"author": "Discourse",
"license": "MIT",
"private": true,
"devDependencies": {
"@discourse/lint-configs": "^1.3.1",
"@discourse/lint-configs": "^1.3.7",
"ember-template-lint": "^5.13.0",
"eslint": "^8.55.0",
"eslint": "^8.56.0",
"prettier": "^2.8.8"
}
}
Loading

0 comments on commit a7aca0e

Please sign in to comment.