Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 58dbcdd25a | |||
| 8ae6dafb62 | |||
| faf39ca182 |
@@ -1,5 +1,17 @@
|
||||
# Changelog
|
||||
|
||||
## v0.1.13
|
||||
|
||||
[compare changes](https://gitea.websimple.com/wp-sites/wp-headless/compare/v0.1.12...v0.1.13)
|
||||
|
||||
### 🚀 Enhancements
|
||||
|
||||
- TinyMCE list style (8ae6daf)
|
||||
|
||||
### 🩹 Fixes
|
||||
|
||||
- Wrangler.json needed for wrangler types before build (faf39ca)
|
||||
|
||||
## v0.1.12
|
||||
|
||||
[compare changes](https://gitea.websimple.com/wp-sites/wp-headless/compare/v0.1.11...v0.1.12)
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
@import "./a11y.css";
|
||||
@import "./containers.css";
|
||||
@import "./links.css";
|
||||
@import "./lists.css";
|
||||
@import "./prose.css";
|
||||
@import "./typography.css";
|
||||
|
||||
|
||||
3
wp-content/themes/moonshine/app/assets/css/lists.css
Normal file
3
wp-content/themes/moonshine/app/assets/css/lists.css
Normal file
@@ -0,0 +1,3 @@
|
||||
@utility list-horizontal {
|
||||
@apply list-none flex flex-wrap items-center gap-3;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -50,6 +50,16 @@ function moonshine_tiny_mce_before_init( $settings ) {
|
||||
),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'title' => __( "List styles", 'moonshine' ),
|
||||
'items' => array(// List styles
|
||||
array(
|
||||
'title' => "Liste horizontale",
|
||||
'selector' => 'ul,ol',
|
||||
'classes' => 'list-horizontal',
|
||||
),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'title' => __( "Heading styles", 'moonshine' ),
|
||||
'items' => array(// Heading styles
|
||||
|
||||
@@ -11,7 +11,7 @@ if (!wpUrl) {
|
||||
}
|
||||
const wpDomain = new URL(wpUrl).hostname;
|
||||
|
||||
const enableCloudflareImage = Boolean(process.env.ENABLE_CLOUDFLARE_IMAGE);
|
||||
const enableCloudflareImages = Boolean(process.env.ENABLE_CLOUDFLARE_IMAGES);
|
||||
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
@@ -57,15 +57,8 @@ export default defineNuxtConfig({
|
||||
preset: "cloudflare_module",
|
||||
cloudflare: {
|
||||
deployConfig: true,
|
||||
nodeCompat: true,
|
||||
wrangler: {
|
||||
// Project name
|
||||
name: "wp-headless",
|
||||
// Cloudflare Workers settings
|
||||
compatibility_date: "2026-01-27",
|
||||
observability: { enabled: true },
|
||||
preview_urls: false,
|
||||
// Environment variables
|
||||
vars: {
|
||||
NODE_ENV: "staging",
|
||||
NUXT_SITE_URL: siteUrl,
|
||||
@@ -102,7 +95,7 @@ export default defineNuxtConfig({
|
||||
},
|
||||
|
||||
image: {
|
||||
provider: enableCloudflareImage ? "cloudflare" : "none",
|
||||
provider: enableCloudflareImages ? "cloudflare" : "none",
|
||||
cloudflare: { baseURL: `${siteUrl}/` },
|
||||
domains: [wpDomain],
|
||||
format: ["avif", "webp"],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@lewebsimple/moonshine",
|
||||
"description": "Headless WordPress theme based on Nuxt.",
|
||||
"version": "0.1.12",
|
||||
"version": "0.1.13",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
@@ -11,7 +11,7 @@
|
||||
"editor-style": "pnpx @tailwindcss/cli -i ./app/assets/css/_main.css -o ./editor-style.css --minify",
|
||||
"lint": "eslint . --fix",
|
||||
"postinstall": "pnpm --sequential /postinstall:.*/",
|
||||
"postinstall:wrangler-types": "pnpm wrangler types ./server/types/cloudflare.d.ts",
|
||||
"postinstall:wrangler-types": "wrangler types ./server/types/cloudflare.d.ts",
|
||||
"postinstall:nuxt": "nuxt prepare",
|
||||
"preview": "pnpm --sequential /preview:.*/",
|
||||
"preview:build": "pnpm run build",
|
||||
@@ -19,8 +19,7 @@
|
||||
"release": "pnpm --sequential /release:.*/",
|
||||
"release:lint": "eslint .",
|
||||
"release:typecheck": "nuxt typecheck",
|
||||
"release:changelogen": "changelogen --noAuthors --release --push",
|
||||
"wrangler": "wrangler --config .output/server/wrangler.json"
|
||||
"release:changelogen": "changelogen --noAuthors --release --push"
|
||||
},
|
||||
"dependencies": {
|
||||
"@iconify-json/cib": "^1.2.3",
|
||||
|
||||
470
wp-content/themes/moonshine/pnpm-lock.yaml
generated
470
wp-content/themes/moonshine/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
16
wp-content/themes/moonshine/wrangler.json
Normal file
16
wp-content/themes/moonshine/wrangler.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "./node_modules/wrangler/config-schema.json",
|
||||
"main": "./output/server/index.mjs",
|
||||
"compatibility_date": "2026-01-27",
|
||||
"compatibility_flags": [
|
||||
"nodejs_compat"
|
||||
],
|
||||
"observability": {
|
||||
"enabled": true
|
||||
},
|
||||
"preview_urls": false,
|
||||
"assets": {
|
||||
"binding": "ASSETS",
|
||||
"directory": "../public"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user