Skip to content

Commit 3378b37

Browse files
committed
initial commit
0 parents  commit 3378b37

File tree

22 files changed

+14187
-0
lines changed

22 files changed

+14187
-0
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
indent_size = 2
5+
indent_style = space
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.github/workflows/ci.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
lint:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
- run: corepack enable
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
22+
- name: Install dependencies
23+
run: npx nypm@latest i
24+
25+
- name: Lint
26+
run: npm run lint
27+
28+
test:
29+
runs-on: ubuntu-latest
30+
31+
steps:
32+
- uses: actions/checkout@v4
33+
- run: corepack enable
34+
- uses: actions/setup-node@v4
35+
with:
36+
node-version: 20
37+
38+
- name: Install dependencies
39+
run: npx nypm@latest i
40+
41+
- name: Playground prepare
42+
run: npm run dev:prepare
43+
44+
- name: Test
45+
run: npm run test

.gitignore

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Dependencies
2+
node_modules
3+
4+
# Logs
5+
*.log*
6+
7+
# Temp directories
8+
.temp
9+
.tmp
10+
.cache
11+
12+
# Yarn
13+
**/.yarn/cache
14+
**/.yarn/*state*
15+
16+
# Generated dirs
17+
dist
18+
19+
# Nuxt
20+
.nuxt
21+
.output
22+
.data
23+
.vercel_build_output
24+
.build-*
25+
.netlify
26+
27+
# Env
28+
.env
29+
30+
# Testing
31+
reports
32+
coverage
33+
*.lcov
34+
.nyc_output
35+
36+
# VSCode
37+
.vscode/*
38+
!.vscode/settings.json
39+
!.vscode/tasks.json
40+
!.vscode/launch.json
41+
!.vscode/extensions.json
42+
!.vscode/*.code-snippets
43+
44+
# Intellij idea
45+
*.iml
46+
.idea
47+
48+
# OSX
49+
.DS_Store
50+
.AppleDouble
51+
.LSOverride
52+
.AppleDB
53+
.AppleDesktop
54+
Network Trash Folder
55+
Temporary Items
56+
.apdisk

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
shamefully-hoist=true
2+
strict-peer-dependencies=false

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"cSpell.words": [
3+
"nuxtify",
4+
"nuxtifydev"
5+
]
6+
}

README.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# nuxtify-core
2+
3+
[![npm version][npm-version-src]][npm-version-href]
4+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
5+
[![License][license-src]][license-href]
6+
[![Nuxt][nuxt-src]][nuxt-href]
7+
8+
My new Nuxt module for doing amazing things.
9+
10+
- [ Release Notes](/CHANGELOG.md)
11+
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/nuxtify-core?file=playground%2Fapp.vue) -->
12+
<!-- - [📖 &nbsp;Documentation](https://example.com) -->
13+
14+
## Features
15+
16+
<!-- Highlight some of the features your module provide here -->
17+
18+
-&nbsp;Foo
19+
- 🚠 &nbsp;Bar
20+
- 🌲 &nbsp;Baz
21+
22+
## Quick Setup
23+
24+
Install the module to your Nuxt application with one command:
25+
26+
```bash
27+
npx nuxi module add nuxtify-core
28+
```
29+
30+
That's it! You can now use nuxtify-core in your Nuxt app ✨
31+
32+
## Contribution
33+
34+
<details>
35+
<summary>Local development</summary>
36+
37+
```bash
38+
# Install dependencies
39+
npm install
40+
41+
# Generate type stubs
42+
npm run dev:prepare
43+
44+
# Develop with the playground
45+
npm run dev
46+
47+
# Build the playground
48+
npm run dev:build
49+
50+
# Run ESLint
51+
npm run lint
52+
53+
# Run Vitest
54+
npm run test
55+
npm run test:watch
56+
57+
# Release new version
58+
npm run release
59+
```
60+
61+
</details>
62+
63+
<!-- Badges -->
64+
65+
[npm-version-src]: https://img.shields.io/npm/v/nuxtify-core/latest.svg?style=flat&colorA=020420&colorB=00DC82
66+
[npm-version-href]: https://npmjs.com/package/nuxtify-core
67+
[npm-downloads-src]: https://img.shields.io/npm/dm/nuxtify-core.svg?style=flat&colorA=020420&colorB=00DC82
68+
[npm-downloads-href]: https://npm.chart.dev/nuxtify-core
69+
[license-src]: https://img.shields.io/npm/l/nuxtify-core.svg?style=flat&colorA=020420&colorB=00DC82
70+
[license-href]: https://npmjs.com/package/nuxtify-core
71+
[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
72+
[nuxt-href]: https://nuxt.com

eslint.config.mjs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// @ts-check
2+
import { createConfigForNuxt } from '@nuxt/eslint-config/flat'
3+
4+
// Run `npx @eslint/config-inspector` to inspect the resolved config interactively
5+
export default createConfigForNuxt({
6+
features: {
7+
// Rules for module authors
8+
tooling: true,
9+
// Rules for formatting
10+
stylistic: true,
11+
},
12+
dirs: {
13+
src: [
14+
'./playground',
15+
],
16+
},
17+
})
18+
.append(
19+
// your custom flat config here...
20+
)

0 commit comments

Comments
 (0)