Compare commits
4 Commits
3ffb267b3d
...
v0.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 9fb40a9c66 | |||
| e95bbfb885 | |||
| 55e16ab24b | |||
| b3134fe4b8 |
24
wp-content/themes/moonshine/.gitignore
vendored
Normal file
24
wp-content/themes/moonshine/.gitignore
vendored
Normal 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
|
||||
15
wp-content/themes/moonshine/CHANGELOG.md
Normal file
15
wp-content/themes/moonshine/CHANGELOG.md
Normal 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>
|
||||
|
||||
3
wp-content/themes/moonshine/README.md
Normal file
3
wp-content/themes/moonshine/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Moonshine
|
||||
|
||||
Headless WordPress theme based on Nuxt.
|
||||
9
wp-content/themes/moonshine/app/app.vue
Normal file
9
wp-content/themes/moonshine/app/app.vue
Normal file
@@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<div>
|
||||
<NuxtRouteAnnouncer />
|
||||
<NuxtLoadingIndicator />
|
||||
<NuxtLayout>
|
||||
<NuxtPage />
|
||||
</NuxtLayout>
|
||||
</div>
|
||||
</template>
|
||||
8
wp-content/themes/moonshine/app/layouts/default.vue
Normal file
8
wp-content/themes/moonshine/app/layouts/default.vue
Normal file
@@ -0,0 +1,8 @@
|
||||
<script setup lang="ts">
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div id="layout-default">
|
||||
<NuxtPage />
|
||||
</div>
|
||||
</template>
|
||||
8
wp-content/themes/moonshine/app/pages/[...uri].vue
Normal file
8
wp-content/themes/moonshine/app/pages/[...uri].vue
Normal file
@@ -0,0 +1,8 @@
|
||||
<script setup lang="ts">
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div id="page-node-from-uri">
|
||||
<h1>Moonshine</h1>
|
||||
</div>
|
||||
</template>
|
||||
8
wp-content/themes/moonshine/eslint.config.mjs
Normal file
8
wp-content/themes/moonshine/eslint.config.mjs
Normal 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",
|
||||
} },
|
||||
);
|
||||
1
wp-content/themes/moonshine/functions.php
Normal file
1
wp-content/themes/moonshine/functions.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php
|
||||
24
wp-content/themes/moonshine/nuxt.config.ts
Normal file
24
wp-content/themes/moonshine/nuxt.config.ts
Normal 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,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
});
|
||||
31
wp-content/themes/moonshine/package.json
Normal file
31
wp-content/themes/moonshine/package.json
Normal 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
8204
wp-content/themes/moonshine/pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
BIN
wp-content/themes/moonshine/public/favicon.ico
Normal file
BIN
wp-content/themes/moonshine/public/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
2
wp-content/themes/moonshine/public/robots.txt
Normal file
2
wp-content/themes/moonshine/public/robots.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
User-Agent: *
|
||||
Disallow:
|
||||
9
wp-content/themes/moonshine/style.css
Normal file
9
wp-content/themes/moonshine/style.css
Normal 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
|
||||
*/
|
||||
18
wp-content/themes/moonshine/tsconfig.json
Normal file
18
wp-content/themes/moonshine/tsconfig.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user