mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-31 23:47:51 +00:00
- 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.
36 lines
816 B
JSON
36 lines
816 B
JSON
{
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"declarationMap": true,
|
|
"emitDeclarationOnly": true,
|
|
"importHelpers": true,
|
|
"isolatedModules": true,
|
|
"lib": [
|
|
"es2022",
|
|
"dom"
|
|
],
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"noEmitOnError": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
"noUnusedLocals": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"target": "es2022",
|
|
"customConditions": [
|
|
"development"
|
|
],
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"~/*": [
|
|
// Uncomment if 2D ever gets used
|
|
// "apps/editor2d/app/src/*",
|
|
"apps/artcraft/app/src/*"
|
|
],
|
|
"@storyteller/markdown-content": ["libs/markdown-content/src/index.ts"]
|
|
}
|
|
}
|
|
}
|