Skip to content

Commit 5d6fe66

Browse files
committed
build: startup from the PR suggested by @Joepocalyptic on vue3 repo
1 parent 3e6cf18 commit 5d6fe66

32 files changed

+1613
-0
lines changed

apps/nuxt3/.eslintrc.js

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true,
5+
node: true,
6+
},
7+
parserOptions: {
8+
parser: '@babel/eslint-parser',
9+
requireConfigFile: false,
10+
},
11+
extends: ['@nuxtjs', 'plugin:nuxt/recommended', 'prettier'],
12+
plugins: [],
13+
// add your custom rules here
14+
rules: {},
15+
}

apps/nuxt3/.github/dependabot.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
version: 2
2+
updates:
3+
# Fetch and update latest `npm` packages
4+
- package-ecosystem: npm
5+
directory: '/'
6+
schedule:
7+
interval: daily
8+
time: '00:00'
9+
open-pull-requests-limit: 10
10+
reviewers:
11+
- matteobruni
12+
assignees:
13+
- matteobruni
14+
commit-message:
15+
prefix: fix
16+
prefix-development: chore
17+
include: scope
18+
# Fetch and update latest `github-actions` pkgs
19+
- package-ecosystem: github-actions
20+
directory: '/'
21+
schedule:
22+
interval: daily
23+
time: '00:00'
24+
open-pull-requests-limit: 10
25+
reviewers:
26+
- matteobruni
27+
assignees:
28+
- matteobruni
29+
commit-message:
30+
prefix: fix
31+
prefix-development: chore
32+
include: scope

apps/nuxt3/.github/semantic.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Always validate the PR title AND all the commits
2+
titleAndCommits: true
3+
# Allows use of Merge commits (eg on github: "Merge branch 'master' into feature/ride-unicorns")
4+
# this is only relevant when using commitsOnly: true (or titleAndCommits: true)
5+
allowMergeCommits: true

apps/nuxt3/.github/workflows/ci.yml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
pull_request:
9+
branches:
10+
- main
11+
- master
12+
13+
jobs:
14+
ci:
15+
runs-on: ${{ matrix.os }}
16+
17+
strategy:
18+
matrix:
19+
os: [ubuntu-latest]
20+
node: [14]
21+
22+
steps:
23+
- name: Checkout 🛎
24+
uses: actions/checkout@master
25+
26+
- name: Setup node env 🏗
27+
uses: actions/[email protected]
28+
with:
29+
node-version: ${{ matrix.node }}
30+
check-latest: true
31+
32+
- name: Get yarn cache directory path 🛠
33+
id: yarn-cache-dir-path
34+
run: echo "::set-output name=dir::$(yarn cache dir)"
35+
36+
- name: Cache node_modules 📦
37+
uses: actions/[email protected]
38+
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
39+
with:
40+
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
41+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
42+
restore-keys: |
43+
${{ runner.os }}-yarn-
44+
45+
- name: Install dependencies 👨🏻‍💻
46+
run: yarn
47+
48+
- name: Run linter 👀
49+
run: yarn lint

apps/nuxt3/.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
node_modules
2+
*.log*
3+
.nuxt
4+
.nitro
5+
.cache
6+
.output
7+
.env
8+
.eslintcache

apps/nuxt3/.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
shamefully-hoist=true

apps/nuxt3/.prettierignore

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
###
2+
# Place your Prettier ignore content here
3+
4+
###
5+
# .gitignore content is duplicated here due to https://github.com/prettier/prettier/issues/8506
6+
7+
# Created by .ignore support plugin (hsz.mobi)
8+
### Node template
9+
# Logs
10+
/logs
11+
*.log
12+
npm-debug.log*
13+
yarn-debug.log*
14+
yarn-error.log*
15+
16+
# Runtime data
17+
pids
18+
*.pid
19+
*.seed
20+
*.pid.lock
21+
22+
# Directory for instrumented libs generated by jscoverage/JSCover
23+
lib-cov
24+
25+
# Coverage directory used by tools like istanbul
26+
coverage
27+
28+
# nyc test coverage
29+
.nyc_output
30+
31+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
32+
.grunt
33+
34+
# Bower dependency directory (https://bower.io/)
35+
bower_components
36+
37+
# node-waf configuration
38+
.lock-wscript
39+
40+
# Compiled binary addons (https://nodejs.org/api/addons.html)
41+
build/Release
42+
43+
# Dependency directories
44+
node_modules/
45+
jspm_packages/
46+
47+
# TypeScript v1 declaration files
48+
typings/
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Optional REPL history
57+
.node_repl_history
58+
59+
# Output of 'npm pack'
60+
*.tgz
61+
62+
# Yarn Integrity file
63+
.yarn-integrity
64+
65+
# dotenv environment variables file
66+
.env
67+
68+
# parcel-bundler cache (https://parceljs.org/)
69+
.cache
70+
71+
# next.js build output
72+
.next
73+
74+
# nuxt.js build output
75+
.nuxt
76+
77+
# Nuxt generate
78+
dist
79+
80+
# vuepress build output
81+
.vuepress/dist
82+
83+
# Serverless directories
84+
.serverless
85+
86+
# IDE / Editor
87+
.idea
88+
89+
# Service worker
90+
sw.*
91+
92+
# macOS
93+
.DS_Store
94+
95+
# Vim swap files
96+
*.swp

apps/nuxt3/.prettierrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"semi": false,
3+
"singleQuote": true
4+
}

apps/nuxt3/CHANGELOG.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
# [2.12.0](https://github.com/tsparticles/vue3/compare/v2.11.1...v2.12.0) (2023-08-04)
7+
8+
**Note:** Version bump only for package nuxt3-particles-demo
9+
10+
11+
12+
13+
14+
## [2.11.1](https://github.com/tsparticles/vue3/compare/v2.11.0...v2.11.1) (2023-07-27)
15+
16+
**Note:** Version bump only for package nuxt3-particles-demo
17+
18+
19+
20+
21+
22+
# [2.11.0](https://github.com/tsparticles/vue3/compare/v2.10.1...v2.11.0) (2023-07-14)
23+
24+
**Note:** Version bump only for package nuxt3-particles-demo
25+
26+
27+
28+
29+
30+
## 2.10.1 (2023-06-04)
31+
32+
33+
### Bug Fixes
34+
35+
* **deps:** update dependency @nuxtjs/eslint-module to v4 ([23aec60](https://github.com/tsparticles/vue3/commit/23aec600eab35cedabb171e574b913d511977fed))
36+
37+
38+
### Features
39+
40+
* adding vue-particles tag ([8b12d56](https://github.com/tsparticles/vue3/commit/8b12d5654515d52729ea7902f5e16806ddd48422))

0 commit comments

Comments
 (0)