Skip to content

Commit 54e79fd

Browse files
committed
Initial commit
0 parents  commit 54e79fd

Some content is hidden

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

65 files changed

+21416
-0
lines changed

.editorconfig

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# https://github.com/jokeyrhyme/standard-editorconfig
4+
5+
# top-most EditorConfig file
6+
root = true
7+
8+
# defaults
9+
[*]
10+
charset = utf-8
11+
end_of_line = lf
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
indent_size = 2
15+
indent_style = space
16+
17+
[*.md]
18+
trim_trailing_whitespace = false

.env.development

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This is a stub.
2+
# It is needed as a data sample for TypeScript & Typechecking.
3+
# The real value of the variable is set in scripts/watch.js and depend on packages/main/vite.config.js
4+
VITE_DEV_SERVER_URL=http://localhost:3000/

.eslintrc.json

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"root": true,
3+
"env": {
4+
"es2021": true,
5+
"node": true,
6+
"browser": false
7+
},
8+
"extends": [
9+
"eslint:recommended",
10+
/** @see https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#recommended-configs */
11+
"plugin:@typescript-eslint/recommended"
12+
],
13+
"parser": "@typescript-eslint/parser",
14+
"parserOptions": {
15+
"ecmaVersion": 12,
16+
"sourceType": "module"
17+
},
18+
"plugins": [
19+
"@typescript-eslint"
20+
],
21+
"ignorePatterns": [
22+
"types/env.d.ts",
23+
"node_modules/**",
24+
"**/dist/**"
25+
],
26+
"rules": {
27+
"@typescript-eslint/no-unused-vars": "error",
28+
"@typescript-eslint/no-var-requires": "off",
29+
"@typescript-eslint/consistent-type-imports": "error",
30+
31+
/**
32+
* Having a semicolon helps the optimizer interpret your code correctly.
33+
* This avoids rare errors in optimized code.
34+
* @see https://twitter.com/alex_kozack/status/1364210394328408066
35+
*/
36+
"semi": [
37+
"error",
38+
"always"
39+
],
40+
/**
41+
* This will make the history of changes in the hit a little cleaner
42+
*/
43+
"comma-dangle": [
44+
"warn",
45+
"always-multiline"
46+
],
47+
/**
48+
* Just for beauty
49+
*/
50+
"quotes": [
51+
"warn", "single"
52+
]
53+
}
54+
}

.github/FUNDING.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
patreon: Kozack
4+
open_collective: vite-electron-builder

.github/ISSUE_TEMPLATE/bug_report.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: cawa-93
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Additional context**
27+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Questions & Discussions
4+
url: https://github.com/cawa-93/vite-electron-builder/discussions/categories/q-a
5+
about: Use GitHub discussions for message-board style questions and discussions.
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: cawa-93
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: 'Release Notes'
2+
description: 'Return release notes based on Git Commits'
3+
inputs:
4+
from:
5+
description: 'Commit from which start log'
6+
required: true
7+
to:
8+
description: 'Commit to which end log'
9+
required: true
10+
include-commit-body:
11+
description: 'Should the commit body be in notes'
12+
required: false
13+
default: 'false'
14+
include-abbreviated-commit:
15+
description: 'Should the commit sha be in notes'
16+
required: false
17+
default: 'true'
18+
outputs:
19+
release-note: # id of output
20+
description: 'Release notes'
21+
runs:
22+
using: 'node12'
23+
main: 'main.js'

0 commit comments

Comments
 (0)