4 Commits

15 changed files with 8364 additions and 0 deletions

24
wp-content/themes/moonshine/.gitignore vendored Normal file
View File

@@ -0,0 +1,24 @@
# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
dist
# Node dependencies
node_modules
# Logs
logs
*.log
# Misc
.DS_Store
.fleet
.idea
# Local env files
.env
.env.*
!.env.example

View File

@@ -0,0 +1,15 @@
# Changelog
## v0.1.1
### 🚀 Enhancements
- Initial Moonshine theme - Headless WordPress theme based on Nuxt (b3134fe)
- CHANGELOG generation using conventional commits (55e16ab)
- ESLint configuration (e95bbfb)
### ❤️ Contributors
- Pascal Martineau <pascal@lewebsimple.ca>

View File

@@ -0,0 +1,3 @@
# Moonshine
Headless WordPress theme based on Nuxt.

View File

@@ -0,0 +1,9 @@
<template>
<div>
<NuxtRouteAnnouncer />
<NuxtLoadingIndicator />
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</div>
</template>

View File

@@ -0,0 +1,8 @@
<script setup lang="ts">
</script>
<template>
<div id="layout-default">
<NuxtPage />
</div>
</template>

View File

@@ -0,0 +1,8 @@
<script setup lang="ts">
</script>
<template>
<div id="page-node-from-uri">
<h1>Moonshine</h1>
</div>
</template>

View File

@@ -0,0 +1,8 @@
// @ts-check
import withNuxt from "./.nuxt/eslint.config.mjs";
export default withNuxt({ rules: {
"vue/max-attributes-per-line": "off",
"vue/no-v-html": "off",
} },
);

View File

@@ -0,0 +1 @@
<?php

View File

@@ -0,0 +1,24 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
"@nuxt/eslint",
],
devtools: { enabled: true },
compatibilityDate: "2026-01-01",
eslint: {
config: {
stylistic: {
arrowParens: true,
commaDangle: "always-multiline",
indent: 2,
quotes: "double",
semi: true,
},
},
},
});

View File

@@ -0,0 +1,31 @@
{
"name": "@lewebsimple/moonshine",
"description": "Headless WordPress theme based on Nuxt.",
"version": "0.1.1",
"type": "module",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev --host 0.0.0.0",
"lint": "eslint --fix .",
"postinstall": "pnpm --sequential /postinstall:.*/",
"postinstall:nuxt": "nuxt prepare",
"preview": "nuxt preview",
"release": "pnpm lint && changelogen --release --push"
},
"dependencies": {
"nuxt": "^4.2.2",
"vue": "^3.5.26",
"vue-router": "^4.6.4"
},
"devDependencies": {
"@nuxt/eslint": "^1.12.1",
"changelogen": "^0.6.2",
"eslint": "^9.39.2"
},
"changelog": {
"types": {
"chore": false
}
}
}

8204
wp-content/themes/moonshine/pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,2 @@
User-Agent: *
Disallow:

View File

@@ -0,0 +1,9 @@
/*
Theme Name: Moonshine
Author: Pascal Martineau <pascal@lewebsimple.ca>
Author URI: https://websimple.com/
Description: Headless WordPress theme based on Nuxt.
Version: 0.1.0
Text Domain: moonshine
Template: kaliroots
*/

View File

@@ -0,0 +1,18 @@
{
// https://nuxt.com/docs/guide/concepts/typescript
"files": [],
"references": [
{
"path": "./.nuxt/tsconfig.app.json"
},
{
"path": "./.nuxt/tsconfig.server.json"
},
{
"path": "./.nuxt/tsconfig.shared.json"
},
{
"path": "./.nuxt/tsconfig.node.json"
}
]
}