Skip to content

Commit

Permalink
feat: move as pnpm workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Mar 1, 2023
1 parent 7063a33 commit 58274e2
Show file tree
Hide file tree
Showing 11 changed files with 597 additions and 383 deletions.
2 changes: 0 additions & 2 deletions .demo/.env.example

This file was deleted.

1 change: 1 addition & 0 deletions .demo/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export default defineAppConfig({
// Configure Content Wind here
cover: '/cover.jpg',
socials: {
twitter: 'Atinux',
github: 'Atinux/content-wind'
Expand Down
5 changes: 1 addition & 4 deletions .demo/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
export default defineNuxtConfig({
extends: '../',
modules: ['@nuxthq/studio'],
// For typings
typescript: { includeWorkspace: true },
extends: 'content-wind'
})
14 changes: 14 additions & 0 deletions .demo/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "content-wind-template",
"private": true,
"scripts": {
"dev": "nuxi dev",
"build": "nuxi build",
"generate": "nuxi generate",
"preview": "nuxi preview"
},
"devDependencies": {
"content-wind": "latest",
"nuxt": "latest"
}
}
11 changes: 3 additions & 8 deletions .demo/tokens.config.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import { defineTheme, palette } from 'pinceau'
import nuxtThemeTokens from '@nuxt-themes/tokens/config'
import { defineTheme } from 'pinceau'
import colors from 'tailwindcss/colors'

export default defineTheme({
color: {
primary: nuxtThemeTokens.color?.teal || palette('teal')
},
typography:{
color: {
primary: nuxtThemeTokens.color?.teal
}
primary: colors.teal
}
})
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
A personal website theme powered by [Nuxt Content](https://content.nuxtjs.org), [TailwindCSS](https://tailwindcss.com), [Iconify](https://iconify.design) and [Vue components](https://vuejs.org).

- 📖  [Demo & Docs](https://content-wind.nuxt.space)
- 🕹  [Play online](https://stackblitz.com/github/Atinux/content-wind-template)
- 🕹  [Play online](https://githubblitz.com/Atinux/content-wind/tree/main/.demo)
- 👀  [Demo video](https://twitter.com/Atinux/status/1578505586979012608)

## Features
Expand All @@ -31,18 +31,18 @@ A personal website theme powered by [Nuxt Content](https://content.nuxtjs.org),

## Get started

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

**Or**

Start locally:
### Local

```bash
npx nuxi@latest init -t themes/content-wind my-website
```

Then follow the instructions and you are ready to go :rocket:

### Online

Get started online on https://nuxt.studio/templates/content-wind

## License 📎

[MIT License](./LICENSE)
Expand Down
1 change: 0 additions & 1 deletion app.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export default defineAppConfig({
cover: '/cover.jpg',
socials: {
twitter: '',
github: ''
Expand Down
5 changes: 0 additions & 5 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
import { logger } from '@nuxt/kit'
import { version } from './package.json'

logger.success(`Using Content Wind v${version}`)

// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
export default defineNuxtConfig({
extends: [
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,20 @@
"dependencies": {
"@nuxt-themes/elements": "^0.9.0",
"@nuxt-themes/tokens": "^1.9.0",
"@nuxt-themes/typography": "^0.9.0",
"@nuxt-themes/typography": "^0.9.1",
"@nuxt/content": "^2.4.3",
"@nuxthq/studio": "^0.7.7",
"@nuxtjs/color-mode": "^3.2.0",
"@nuxtjs/tailwindcss": "^6.4.1",
"nuxt-config-schema": "^0.4.4",
"nuxt-config-schema": "^0.4.5",
"nuxt-icon": "^0.3.2"
},
"devDependencies": {
"@nuxt/eslint-config": "^0.1.1",
"@types/node": "^18.14.2",
"eslint": "^8.35.0",
"nuxt": "^3.2.2",
"release-it": "^15.6.0",
"nuxt": "^3.2.3",
"release-it": "^15.6.1",
"typescript": "^4.9.5"
},
"release-it": {
Expand Down
Loading

1 comment on commit 58274e2

@vercel
Copy link

@vercel vercel bot commented on 58274e2 Mar 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.