Skip to content

Commit 1accf36

Browse files
authored
Initial commit
0 parents  commit 1accf36

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+11721
-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

.eslintrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": ["@antfu"],
3+
"rules": {
4+
"@typescript-eslint/quotes": ["error", "double"],
5+
"@typescript-eslint/comma-dangle": ["error", "never"],
6+
"comma-dangle": ["error", "never"],
7+
"yml/quotes": "off",
8+
"antfu/if-newline": "off"
9+
}
10+
}

.github/workflows/ci.yaml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
pull_request:
9+
branches:
10+
- main
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Install pnpm
19+
uses: pnpm/action-setup@v2
20+
21+
- name: Set node
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: 20
25+
cache: pnpm
26+
27+
- name: Install
28+
run: pnpm i
29+
30+
- name: Lint
31+
run: pnpm lint
32+
33+
test:
34+
runs-on: ubuntu-latest
35+
36+
steps:
37+
- uses: actions/checkout@v3
38+
39+
- name: Install pnpm
40+
uses: pnpm/action-setup@v2
41+
42+
- name: Set node
43+
uses: actions/setup-node@v3
44+
with:
45+
node-version: 18
46+
cache: pnpm
47+
48+
- name: Install
49+
run: pnpm i
50+
51+
- name: Build
52+
run: pnpm build
53+
54+
- name: Test
55+
run: pnpm test
56+
57+
- name: Typecheck
58+
run: pnpm typecheck

.github/workflows/release.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
permissions:
9+
id-token: write
10+
contents: write
11+
12+
jobs:
13+
release:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v2
22+
23+
- name: Set node
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: 20
27+
cache: pnpm
28+
registry-url: "https://registry.npmjs.org"
29+
30+
- run: npx changelogithub
31+
continue-on-error: false
32+
env:
33+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
34+
35+
- name: Install Dependencies
36+
run: pnpm i
37+
38+
- name: PNPM build
39+
run: pnpm run build
40+
41+
- name: Publish to NPM
42+
run: pnpm -r publish --access public --no-git-checks
43+
env:
44+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
45+
NPM_CONFIG_PROVENANCE: true

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
dist
3+
.nuxt
4+
packages/*/README.md
5+
.eslintcache

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"prettier.enable": false,
3+
"editor.formatOnSave": false,
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll.eslint": true
6+
},
7+
"workbench.colorCustomizations": {},
8+
"inline-bookmarks.view.showVisibleFilesOnly": false
9+
}

CHANGELOG.md

Whitespace-only changes.

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @hebilicious

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023-PRESENT Hebilicious
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# ⚗️ My Module Nuxt
2+
3+
[![CI](https://github.com/Hebilicious/authjs-nuxt/actions/workflows/ci.yaml/badge.svg)](https://github.com/Hebilicious/authjs-nuxt/actions/workflows/ci.yaml)
4+
[![npm version](https://badge.fury.io/js/@hebilicious%2Fauthjs-nuxt.svg)](https://badge.fury.io/js/@hebilicious%2Fauthjs-nuxt)
5+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6+
7+
🚀 Welcome to __Hebilicious Nuxt Module Starter Template__!
8+
9+
10+
## ⚠️ Disclaimer
11+
12+
_🧪 This module is really unstable and is not recommended for production use. It is intended for those who want to experiment with the edge._
13+
14+
15+
## 📦 Installation
16+
17+
18+
```bash
19+
npm i
20+
```
21+
22+
23+
## 📦 Contributing
24+
25+
Contributions, issues and feature requests are welcome!
26+
27+
1. Fork this repo
28+
29+
2. Install `node` and `pnpm` _Use `corepack enable && corepack prepare pnpm@latest --activate` to install pnpm easily_
30+
31+
3. Use `pnpm i` at the mono-repo root.
32+
33+
4. Make modifications and follow conventional commits.
34+
35+
5. Open a PR 🚀🚀🚀

0 commit comments

Comments
 (0)