1
0
Fork 0

feat: Add various content types to docusaurus (#7231)

This brings blog posts, showcase posts, and newsletter editions into the Docusaurus site.

It also adds support for using TailwindCSS inside a container. So this will probably end up being the new freesewing.org site in v4.
This commit is contained in:
Joost De Cock 2024-11-18 11:05:16 +01:00 committed by GitHub
parent ef8f68bcaf
commit 469eb43c95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
595 changed files with 20432 additions and 2469 deletions

View file

@ -32,7 +32,7 @@ packageJson:
author: AlfaLyr (https://github.com/alfalyr)
i18n:
private: true
jane:
jane:
author: SeaZeeZee (https://github.com/SeaZeeZee)
lab:
private: true
@ -73,6 +73,14 @@ packageJson:
files:
- index.json
- package.json
react-components:
exports:
".":
"internal": "./src/index.mjs"
"default": "./dist/index.mjs"
"./linedrawings": "./src/linedrawings/index.mjs"
"./pattern": "./src/pattern/index.mjs"
"./xray": "./src/pattern-xray/index.mjs"
rehype-hightlight-lines:
private: true
sandy:

View file

@ -1,7 +1,6 @@
import designs from './designs.json' assert { type: 'json' }
import packages from './packages.json' assert { type: 'json' }
import plugins from './plugins.json' assert { type: 'json' }
import sites from './sites.json' assert { type: 'json' }
// Helper method to construct summary objects
const unpack = (obj, folder) =>
@ -22,14 +21,13 @@ const unpackDesigns = (obj, folder) =>
)
// Re-Export imported JSON
export { designs, packages, plugins, sites }
export { designs, packages, plugins }
// All software
export const software = {
...unpackDesigns(designs, 'designs'),
...unpack(plugins, 'plugins'),
...unpack(packages, 'packages'),
...unpack(sites, 'sites'),
}
// All software published on NPM
@ -40,4 +38,4 @@ export const publishedSoftware = {
}
export const publishedTypes = ['designs', 'packages', 'plugins']
export const types = [...publishedTypes, 'sites']
export const types = publishedTypes

View file

@ -1,7 +0,0 @@
{
"backend": "FreeSewing backend",
"dev": "FreeSewing website with documentation for contributors & developers",
"org": "FreeSewing website",
"sde": "Stand-alone develpment environment. Basis for the @freesewing/new-design package",
"shared": "Shared code and React components for different websites"
}