Skip to content

Commit

Permalink
chore(deps): migrate to pnpm, refresh dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Jun 14, 2024
1 parent 833483a commit b86edbe
Show file tree
Hide file tree
Showing 46 changed files with 12,705 additions and 25,139 deletions.
42 changes: 0 additions & 42 deletions .eslintignore

This file was deleted.

17 changes: 0 additions & 17 deletions .eslintrc

This file was deleted.

3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
save-exact=true
shell-emulator=true
shamefully-hoist=true
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021-present, Lucie Haberer <[email protected]> (https://lihbr.com)
Copyright (c) 2021-PRESENT, Lucie Haberer <[email protected]> (https://lihbr.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env node
import('../dist/cli.js')
import("../dist/cli.js")
20 changes: 10 additions & 10 deletions docs/components/DMadeWithDocus.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<template>
<div
class="p-3 text-center border-t border-gray-200 border-dashed dark:border-gray-800 dark:bg-gray-900"
>
<a
href="https://www.youtube.com/watch?v=dQw4w9WgXcQ"
class="text-xs text-gray-400 hover:text-gray-600 dark:text-gray-600 group dark:hover:text-gray-400"
>
Powered by <strong class="font-bold">SWAGUS</strong>
</a>
</div>
<div
class="p-3 text-center border-t border-gray-200 border-dashed dark:border-gray-800 dark:bg-gray-900"
>
<a
href="https://www.youtube.com/watch?v=dQw4w9WgXcQ"
class="text-xs text-gray-400 hover:text-gray-600 dark:text-gray-600 group dark:hover:text-gray-400"
>
Powered by <strong class="font-bold">SWAGUS</strong>
</a>
</div>
</template>
58 changes: 29 additions & 29 deletions docs/components/ReCaptcha.vue
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<template>
<figure class="min-h-screen">
<img
v-if="!clicked"
src="~/assets/img/recaptcha-light.jpg"
alt="ReCaptcha"
class="light-img cursor-pointer"
@click="clicked = true"
/>
<img
v-if="!clicked"
src="~/assets/img/recaptcha-dark.jpg"
alt="ReCaptcha"
class="dark-img cursor-pointer"
@click="clicked = true"
/>
<p v-if="clicked" class="text-gray-900 dark:text-gray-100">
Yeah, that was just an image. At least if you feel stupid now you're most
likely not a robot~
</p>
</figure>
</template>

<script>
export default {
data() {
return {
clicked: false
};
}
};
data() {
return {
clicked: false,
}
},
}
</script>

<template>
<figure class="min-h-screen">
<img
v-if="!clicked"
src="~/assets/img/recaptcha-light.jpg"
alt="ReCaptcha"
class="light-img cursor-pointer"
@click="clicked = true"
>
<img
v-if="!clicked"
src="~/assets/img/recaptcha-dark.jpg"
alt="ReCaptcha"
class="dark-img cursor-pointer"
@click="clicked = true"
>
<p v-if="clicked" class="text-gray-900 dark:text-gray-100">
Yeah, that was just an image. At least if you feel stupid now you're most
likely not a robot~
</p>
</figure>
</template>
180 changes: 91 additions & 89 deletions docs/components/Testimonial.vue
Original file line number Diff line number Diff line change
@@ -1,96 +1,98 @@
<template>
<figure
class="md:flex md:items-center md:space-x-8 p-4 mt-4 mb-4"
:class="{ 'md:flex-row-reverse md:space-x-reverse': reversed }"
>
<img
:src="avatarSrc"
:alt="avatarAlt"
class="w-32 h-32 mx-auto md:mx-0 rounded-full"
/>
<div
class="space-y-4 text-center pt-6 md:pt-0"
:class="{ 'md:text-left': !reversed, 'md:text-right': reversed }"
>
<blockquote class="max-w-[520px]">
<p class="font-semibold"><slot /></p>
</blockquote>
<figcaption class="font-medium">
<a
class="text-primary-400 hover:border-b-2 hover:border-primary-400 pb-px"
target="_blank"
rel="noopener"
:href="twitterUrl"
>
{{ displayName }}
</a>
<div v-if="displayTitle" class="text-gray-400">
{{ displayTitle }}
</div>
</figcaption>
</div>
</figure>
</template>

<script>
export default {
props: {
/**
* @description Name to display
*/
name: {
type: String,
default: ""
},
/**
* @description Twitter username
*/
twitterHandle: {
type: String,
required: true
},
/**
* @description GitHub username
*/
githubHandle: {
type: String,
required: true
},
/**
* @description An optional title to display
*/
displayTitle: {
type: String,
default: ""
},
/**
* @description An optional title to display
*/
reversed: {
type: Boolean,
default: false
}
},
computed: {
displayName() {
return this.name || this.twitterHandle || this.githubHandle;
},
githubUrl() {
return `https://github.com/${this.githubHandle}`;
},
twitterUrl() {
return `https://twitter.com/${this.twitterHandle}`;
},
avatarSrc() {
return `${this.githubUrl}.png`;
},
avatarAlt() {
return `${this.displayName}'s avatar`;
}
}
};
props: {
/**
* @description Name to display
*/
name: {
type: String,
default: "",
},
/**
* @description Twitter username
*/
twitterHandle: {
type: String,
required: true,
},
/**
* @description GitHub username
*/
githubHandle: {
type: String,
required: true,
},
/**
* @description An optional title to display
*/
displayTitle: {
type: String,
default: "",
},
/**
* @description An optional title to display
*/
reversed: {
type: Boolean,
default: false,
},
},
computed: {
displayName() {
return this.name || this.twitterHandle || this.githubHandle
},
githubUrl() {
return `https://github.com/${this.githubHandle}`
},
twitterUrl() {
return `https://twitter.com/${this.twitterHandle}`
},
avatarSrc() {
return `${this.githubUrl}.png`
},
avatarAlt() {
return `${this.displayName}'s avatar`
},
},
}
</script>

<template>
<figure
class="md:flex md:items-center md:space-x-8 p-4 mt-4 mb-4"
:class="{ 'md:flex-row-reverse md:space-x-reverse': reversed }"
>
<img
:src="avatarSrc"
:alt="avatarAlt"
class="w-32 h-32 mx-auto md:mx-0 rounded-full"
>
<div
class="space-y-4 text-center pt-6 md:pt-0"
:class="{ 'md:text-left': !reversed, 'md:text-right': reversed }"
>
<blockquote class="max-w-[520px]">
<p class="font-semibold">
<slot />
</p>
</blockquote>
<figcaption class="font-medium">
<a
class="text-primary-400 hover:border-b-2 hover:border-primary-400 pb-px"
target="_blank"
rel="noopener"
:href="twitterUrl"
>
{{ displayName }}
</a>
<div v-if="displayTitle" class="text-gray-400">
{{ displayTitle }}
</div>
</figcaption>
</div>
</figure>
</template>

<style scoped>
blockquote * {
display: inline;
Expand Down
46 changes: 23 additions & 23 deletions docs/content/settings.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"title": "Nuxt Hue",
"description": "Enlighten your Nuxt experience",
"url": "https://nuxt-hue.lihbr.com",
"layout": "docs",
"logo": {
"light": "/logo-light.svg",
"dark": "/logo-dark.svg"
},
"header": {
"logo": true,
"title": false
},
"twitter": "@li_hbr",
"github": {
"repo": "lihbr/nuxt-hue",
"branch": "master",
"dir": "docs",
"releases": true
},
"colors": {
"primary": "#cf7a13"
},
"credits": true
"title": "Nuxt Hue",
"description": "Enlighten your Nuxt experience",
"url": "https://nuxt-hue.lihbr.com",
"layout": "docs",
"logo": {
"light": "/logo-light.svg",
"dark": "/logo-dark.svg"
},
"header": {
"logo": true,
"title": false
},
"twitter": "@li_hbr",
"github": {
"repo": "lihbr/nuxt-hue",
"branch": "master",
"dir": "docs",
"releases": true
},
"colors": {
"primary": "#cf7a13"
},
"credits": true
}
Loading

0 comments on commit b86edbe

Please sign in to comment.