Skip to content

Commit 7489077

Browse files
committed
Project - . - * _
1 parent 62dfe2f commit 7489077

25 files changed

+11168
-0
lines changed

.eslintrc.cjs

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/* eslint-env node */
2+
require('@rushstack/eslint-patch/modern-module-resolution')
3+
4+
module.exports = {
5+
root: true,
6+
'extends': [
7+
'plugin:vue/vue3-essential',
8+
'eslint:recommended',
9+
'@vue/eslint-config-prettier/skip-formatting'
10+
],
11+
parserOptions: {
12+
ecmaVersion: 'latest'
13+
}
14+
}

.github/workflows/vue_deploy.yml

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Simple workflow for deploying static content to GitHub Pages
2+
name: Deploy Vue
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["core","develop","framework","scratch","vite","electron","vue"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow one concurrent deployment
19+
concurrency:
20+
group: 'pages'
21+
cancel-in-progress: true
22+
23+
jobs:
24+
# Single deploy job since we're just deploying
25+
deploy:
26+
environment:
27+
name: github-pages
28+
url: ${{ steps.deployment.outputs.page_url }}
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v3
33+
- name: Set up Node
34+
uses: actions/setup-node@v3
35+
with:
36+
node-version: 18
37+
cache: 'npm'
38+
- name: Install dependencies With -D Resolving @vitejs/plugin-vue Conflict
39+
run: npm i "@swc/[email protected]" glob -D
40+
- name: Build
41+
run: npm run build
42+
# - name: Auto Enable GitHub Pages
43+
# id: pages
44+
# uses: actions/github-script@v6
45+
# with:
46+
# script: |
47+
# return (await github.rest.repos.createPagesSite({
48+
# owner: context.repo.owner,
49+
# repo: context.repo.repo,
50+
# })).html_url;
51+
- name: Setup Pages
52+
uses: actions/configure-pages@v3
53+
with:
54+
enablement: true
55+
token: ${{ secrets.GITHUB_TOKEN }}
56+
- name: Build with Jekyll
57+
uses: actions/jekyll-build-pages@v1
58+
with:
59+
source: ./
60+
destination: ./_site
61+
- name: Upload artifact
62+
uses: actions/upload-pages-artifact@v1
63+
# with:
64+
# Upload dist repository
65+
# path: '../../dist'
66+
- name: Deploy to GitHub Pages
67+
id: deployment
68+
uses: actions/deploy-pages@v1

.gitignore

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
.DS_Store
12+
dist
13+
dist-ssr
14+
coverage
15+
*.local
16+
17+
/cypress/videos/
18+
/cypress/screenshots/
19+
20+
# Editor directories and files
21+
.vscode/*
22+
!.vscode/extensions.json
23+
.idea
24+
*.suo
25+
*.ntvs*
26+
*.njsproj
27+
*.sln
28+
*.sw?
29+
30+
*.tsbuildinfo
31+
32+
test-results/
33+
playwright-report/

.prettierrc.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "https://json.schemastore.org/prettierrc",
3+
"semi": false,
4+
"tabWidth": 2,
5+
"singleQuote": true,
6+
"printWidth": 100,
7+
"trailingComma": "none"
8+
}

.replit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
modules = ["vue-node-20:v2-20240116-2181bf7"]
2+
3+
[nix]
4+
channel = "stable-23_11"

.vscode/extensions.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"recommendations": [
3+
"Vue.volar",
4+
"Vue.vscode-typescript-vue-plugin",
5+
"ms-playwright.playwright",
6+
"dbaeumer.vscode-eslint",
7+
"esbenp.prettier-vscode"
8+
]
9+
}

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
### About:
2+
3+
Vue-App With Core ViteJs.
4+
<br/>
5+
6+
### Used Technologies:
7+
8+
##### VueJs: (https://vuejs.org/guide)
9+
10+
### License:
11+
12+
MIT: [http://z4dev.mit-license.org](http://z4dev.mit-license.org)

e2e/vue.spec.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { test, expect } from '@playwright/test';
2+
3+
// See here how to get started:
4+
// https://playwright.dev/docs/intro
5+
test('visits the app root url', async ({ page }) => {
6+
await page.goto('/');
7+
await expect(page.locator('div.greetings > h1')).toHaveText('You did it!');
8+
})

eslintrc.cjs

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/* eslint-env node */
2+
require('@rushstack/eslint-patch/modern-module-resolution')
3+
4+
module.exports = {
5+
root: true,
6+
'extends': [
7+
'plugin:vue/vue3-essential',
8+
'eslint:recommended',
9+
'@vue/eslint-config-prettier/skip-formatting'
10+
],
11+
parserOptions: {
12+
ecmaVersion: 'latest'
13+
}
14+
}

0 commit comments

Comments
 (0)