Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Linting

on: pull_request

jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20

- run: npm ci

- run: npm run lint:prettier:check
eslint:
name: Eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20

- run: npm ci

- run: npm run lint:eslint:check
4 changes: 1 addition & 3 deletions .github/workflows/studio.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@

name: studio-nuxt-build
run-name: studio nuxt build

on:
# Runs on pushes targeting the default branch
push:
branches:
- 'main'
- "main"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -62,7 +61,6 @@ jobs:
run: npx nuxi build --preset github_pages
env:
NUXT_CONTENT_PREVIEW_API: https://api.nuxt.studio


# Deployment job
- name: Deploy 🚀
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Tests

on: pull_request

jobs:
vitest:
name: Vitest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20

- run: npm ci

- run: npm test
3 changes: 0 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Changelog


## v1.7.0

[compare changes](https://github.com/paper-kit/nuxt/compare/v1.6.0...v1.7.0)
Expand Down Expand Up @@ -206,7 +205,6 @@

## v1.1.0


### 🚀 Enhancements

- **components:** PUIcon (54dae6a)
Expand Down Expand Up @@ -247,4 +245,3 @@
### ❤️ Contributors

- Felipe Oliveira <felipe16.12.1998@gmail.com>

15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Find and replace all on all files (CMD+SHIFT+F):

`@paper-ui/nuxt` is a component library for Nuxt.js that aims to create a "hand-drawn" aesthetic for your UI. With this library, you can build interfaces using components with a unique and artistically crafted style.


## Links

- [✨ Demo](https://stackblitz.com/edit/nuxt-starter-mkfqhq74?file=app.vue)
Expand Down Expand Up @@ -48,10 +47,8 @@ After installing the module, add it to your `nuxt.config.js` file:

```js
export default defineNuxtConfig({
modules: [
'@paper-ui/nuxt'
]
})
modules: ["@paper-ui/nuxt"],
});
```

Now you can use the components provided by the library in your pages and Vue components.
Expand Down Expand Up @@ -109,18 +106,16 @@ This module is licensed under the [MIT License](LICENSE).
## Changelog

- [✨ &nbsp;Release Notes](/CHANGELOG.md)
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/paper-ui?file=playground%2Fapp.vue) -->
<!-- - [📖 &nbsp;Documentation](https://example.com) -->
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/paper-ui?file=playground%2Fapp.vue) -->
<!-- - [📖 &nbsp;Documentation](https://example.com) -->

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@paper-ui/nuxt/latest.svg?style=flat&colorA=020420&colorB=00DC82
[npm-version-href]: https://npmjs.com/package/@paper-ui/nuxt

[npm-downloads-src]: https://img.shields.io/npm/dm/paper-ui.svg?style=flat&colorA=020420&colorB=00DC82
[npm-downloads-href]: https://npm.chart.dev/@paper-ui/nuxt

[license-src]: https://img.shields.io/npm/l/@paper-ui/nuxt.svg?style=flat&colorA=020420&colorB=00DC82
[license-href]: https://npmjs.com/package/@paper-ui/nuxt

[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
[nuxt-href]: https://nuxt.com
4 changes: 2 additions & 2 deletions docs/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
</template>

<script setup lang="ts">
import { _backgroundImage } from '#tailwind-config/theme'
import { _backgroundImage } from "#tailwind-config/theme";

const route = useRoute()
const route = useRoute();
</script>

<style>
Expand Down
Loading