mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-26 19:19: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.
63 lines
1.2 KiB
JSON
63 lines
1.2 KiB
JSON
{
|
|
"extends": "../../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"outDir": "dist",
|
|
"types": [
|
|
"node",
|
|
"@nx/react/typings/cssmodule.d.ts",
|
|
"@nx/react/typings/image.d.ts",
|
|
"vite/client"
|
|
],
|
|
"rootDir": "src",
|
|
"jsx": "react-jsx",
|
|
"tsBuildInfoFile": "dist/tsconfig.lib.tsbuildinfo"
|
|
},
|
|
"exclude": [
|
|
"out-tsc",
|
|
"dist",
|
|
"**/*.spec.ts",
|
|
"**/*.test.ts",
|
|
"**/*.spec.tsx",
|
|
"**/*.test.tsx",
|
|
"**/*.spec.js",
|
|
"**/*.test.js",
|
|
"**/*.spec.jsx",
|
|
"**/*.test.jsx",
|
|
"vite.config.ts",
|
|
"vite.config.mts",
|
|
"vitest.config.ts",
|
|
"vitest.config.mts",
|
|
"src/**/*.test.ts",
|
|
"src/**/*.spec.ts",
|
|
"src/**/*.test.tsx",
|
|
"src/**/*.spec.tsx",
|
|
"src/**/*.test.js",
|
|
"src/**/*.spec.js",
|
|
"src/**/*.test.jsx",
|
|
"src/**/*.spec.jsx"
|
|
],
|
|
"include": [
|
|
"src/**/*.js",
|
|
"src/**/*.jsx",
|
|
"src/**/*.ts",
|
|
"src/**/*.tsx"
|
|
],
|
|
"references": [
|
|
{
|
|
"path": "../popover/tsconfig.lib.json"
|
|
},
|
|
{
|
|
"path": "../button/tsconfig.lib.json"
|
|
},
|
|
{
|
|
"path": "../modal/tsconfig.lib.json"
|
|
},
|
|
{
|
|
"path": "../../tauri-api/tsconfig.lib.json"
|
|
},
|
|
{
|
|
"path": "../../markdown-content/tsconfig.lib.json"
|
|
}
|
|
]
|
|
}
|