mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-25 18:49:38 +00:00
2a08051ec4
- refactored all markdown content as a shared library for use across both the ArtCraft website and the app (FAQ, tutorials, news) - added a news page to the website - added a news & updates option to the app's bottom right help context menu Instructions to add and build News Posts for both the site and app is in ``NEWS_POSTS.md`` but in short: - To add a new news post, create an .md file in ``libs/markdown-content/src/lib/content/news/`` folder - Restart the artcraft-website dev server after adding new posts (or in /frontend directory, run ``node scripts/generate-news-json.mjs`` manually) - this will update the public ``news.json`` file on the website. - This is just a temporary workaround - this way if the ArtCraft app itself hasn't updated, it'll still be able to load the latest public ``news.json`` file from the website to show within the app.
18 lines
402 B
JSON
18 lines
402 B
JSON
{
|
|
"name": "@storyteller/markdown-content",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"development": "./src/index.ts",
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
}
|
|
}
|
|
}
|