now its working.... more info to come
This commit is contained in:
parent
820172283f
commit
f66f7707f2
|
@ -25,14 +25,14 @@
|
||||||
"url": "https://github.com/MatthiesenXYZ/astro-ghostcms/issues",
|
"url": "https://github.com/MatthiesenXYZ/astro-ghostcms/issues",
|
||||||
"email": "issues@astro-ghostcms.xyz"
|
"email": "issues@astro-ghostcms.xyz"
|
||||||
},
|
},
|
||||||
"main": "index.ts",
|
"main": "index.js",
|
||||||
"files": [
|
"files": [
|
||||||
"src",
|
"src",
|
||||||
"index.ts",
|
"index.js",
|
||||||
"tailwind-preset.js"
|
"tailwind-preset.js"
|
||||||
],
|
],
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./index.ts",
|
".": "./index.js",
|
||||||
"./index.astro": "./src/routes/index.astro",
|
"./index.astro": "./src/routes/index.astro",
|
||||||
"./[slug].astro": "./src/routes/[slug].astro",
|
"./[slug].astro": "./src/routes/[slug].astro",
|
||||||
"./tags.astro": "./src/routes/tags.astro",
|
"./tags.astro": "./src/routes/tags.astro",
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
import type { Settings, Post } from "@matthiesenxyz/astro-ghostcms/api";
|
import type { Settings, Post } from "@matthiesenxyz/astro-ghostcms/api";
|
||||||
import FeatureImage from "./FeatureImage.astro";
|
import FeatureImage from "./FeatureImage.astro";
|
||||||
import AuthorList from "./AuthorList.astro";
|
import AuthorList from "./AuthorList.astro";
|
||||||
import { formatDate } from "utils";
|
import { formatDate } from "../utils";
|
||||||
export type Props = {
|
export type Props = {
|
||||||
posts: Post[];
|
posts: Post[];
|
||||||
settings: Settings;
|
settings: Settings;
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
import { fontFamily as _fontFamily } from "tailwindcss/defaultTheme";
|
import { fontFamily as _fontFamily } from "tailwindcss/defaultTheme";
|
||||||
export const content = ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"];
|
export const content = [
|
||||||
|
'./node_modules/@matthiesenxyz/astro-ghostcms-catppuccin-dark/src/**/*.{astro,js}'
|
||||||
|
];
|
||||||
export const theme = {
|
export const theme = {
|
||||||
extend: {
|
extend: {
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
|
|
|
@ -76,6 +76,7 @@
|
||||||
"@ts-ghost/core-api": "*",
|
"@ts-ghost/core-api": "*",
|
||||||
"@ts-ghost/tsconfig": "*",
|
"@ts-ghost/tsconfig": "*",
|
||||||
"@matthiesenxyz/astro-ghostcms-theme-default": "*",
|
"@matthiesenxyz/astro-ghostcms-theme-default": "*",
|
||||||
|
"@matthiesenxyz/astro-ghostcms-catppuccin-dark": "*",
|
||||||
"@types/node": "^20.11.10",
|
"@types/node": "^20.11.10",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
||||||
"@typescript-eslint/parser": "^6.19.0",
|
"@typescript-eslint/parser": "^6.19.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { defineConfig } from "astro/config";
|
import { defineConfig } from "astro/config";
|
||||||
import tailwind from "@astrojs/tailwind";
|
|
||||||
import ghostcms from "@matthiesenxyz/astro-ghostcms";
|
import ghostcms from "@matthiesenxyz/astro-ghostcms";
|
||||||
|
import tailwind from "@astrojs/tailwind";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
@ -11,7 +11,7 @@ export default defineConfig({
|
||||||
disableRSS: false,
|
disableRSS: false,
|
||||||
disableRouteInjection: false,
|
disableRouteInjection: false,
|
||||||
disableConsoleOutput: false,
|
disableConsoleOutput: false,
|
||||||
theme: "@matthiesenxyz/astro-ghostcms-theme-catpuccin-dark",
|
theme: "@matthiesenxyz/astro-ghostcms-catppuccin-dark",
|
||||||
ghostURL: "https://ghostdemo.matthiesen.xyz",
|
ghostURL: "https://ghostdemo.matthiesen.xyz",
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
|
|
|
@ -11,15 +11,14 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "^4.2.6",
|
"astro": "^4.2.8",
|
||||||
"@matthiesenxyz/astro-ghostcms-theme-default": "*",
|
"@matthiesenxyz/astro-ghostcms-theme-default": "workspace:*",
|
||||||
|
"@matthiesenxyz/astro-ghostcms-catppuccin-dark": "workspace:*",
|
||||||
"@matthiesenxyz/astro-ghostcms": "workspace:*",
|
"@matthiesenxyz/astro-ghostcms": "workspace:*",
|
||||||
"@astrojs/tailwind": "^5.1.0",
|
"@astrojs/tailwind": "^5.1.0",
|
||||||
"tailwindcss": "^3.3.5"
|
"tailwindcss": "^3.3.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@matthiesenxyz/astro-ghostcms-theme-catppuccin-dark": "*",
|
|
||||||
"@astrojs/check": "^0.4.1",
|
|
||||||
"typescript": "^5.3.3"
|
"typescript": "^5.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
presets: [require('@matthiesenxyz/astro-ghostcms-theme-catppuccin-dark')]
|
presets: [require('@matthiesenxyz/astro-ghostcms-catppuccin-dark')]
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"extends": "astro/tsconfigs/strict",
|
"extends": "astro/tsconfigs/base",
|
||||||
"exclude": ["dist"]
|
"exclude": ["dist"]
|
||||||
}
|
}
|
689
pnpm-lock.yaml
689
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue