Skip to content

Commit

Permalink
feat!: move as flat structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Atinux committed Oct 21, 2022
1 parent 48b4ed2 commit faa3c1a
Show file tree
Hide file tree
Showing 32 changed files with 8,142 additions and 8,102 deletions.
File renamed without changes.
3 changes: 3 additions & 0 deletions .playground/content/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Home

Hello from playground.
2 changes: 1 addition & 1 deletion template/nuxt.config.ts → .playground/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default defineNuxtConfig({
extends: 'content-wind'
extends: '../'
})
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ A personal website theme powered by [Nuxt Content](https://content.nuxtjs.org),
- Create Vue components in `components/content/` and use them in your Markdown
- Deploy on any Node or Static hosting: GH Pages, Vercel, Netlify, Heroku, etc.

## Usage
## Get started

Duplicate the GitHub template: [Atinux/content-wind-template](https://github.com/Atinux/content-wind-template)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
27 changes: 17 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
{
"private": true,
"workspaces": [
"./theme",
"./template"
],
"name": "content-wind",
"private": false,
"version": "0.1.3",
"main": "nuxt.config.ts",
"scripts": {
"dev": "nuxi dev template",
"build": "nuxi build template",
"generate": "nuxi generate template",
"preview": "nuxi preview template",
"dev": "nuxi dev",
"build": "nuxi build",
"generate": "nuxi generate",
"preview": "nuxi preview",
"play": "nuxi dev .playground",
"lint": "eslint .",
"release": "cd theme && standard-version && git push --follow-tags && npx npm publish",
"release": "standard-version && git push --follow-tags && npx npm publish",
"postinstall": "nuxi prepare theme"
},
"dependencies": {
"@nuxt/content": "^2.2.0",
"@nuxtjs/color-mode": "^3.1.8",
"@nuxtjs/tailwindcss": "^6.0.1",
"@tailwindcss/typography": "^0.5.7",
"nuxt-icon": "^0.1.6"
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "^11.0.0",
"eslint": "^8.25.0",
Expand Down

0 comments on commit faa3c1a

Please sign in to comment.