Skip to content

Commit dcdb444

Browse files
committed
feat: init
0 parents  commit dcdb444

16 files changed

+3009
-0
lines changed

.editorconfig

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

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist/
2+
node_modules/

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
coverage/
2+
dist/
3+
CHANGELOG.md
4+
pnpm-lock.yaml

.prettierrc.cjs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// @ts-check
2+
3+
/**
4+
* @type {import('prettier').Options}
5+
*/
6+
module.exports = {
7+
plugins: [require.resolve('prettier-plugin-organize-imports')],
8+
singleQuote: true,
9+
overrides: [
10+
{
11+
files: '*.json5',
12+
options: {
13+
parser: 'json5',
14+
quoteProps: 'preserve',
15+
singleQuote: false,
16+
trailingComma: 'none',
17+
},
18+
},
19+
],
20+
};

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 Christopher Quadflieg
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# vite-plugin-vue-hsml

package.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"name": "vite-plugin-vue-hsml",
3+
"version": "0.1.0",
4+
"description": "Vite plugin for using hsml in Vue SFC",
5+
"keywords": [],
6+
"author": {
7+
"name": "Christopher Quadflieg",
8+
"email": "chrissi92@hotmail.de",
9+
"url": "https://github.com/Shinigami92"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/Shinigami92/vite-plugin-vue-hsml.git"
14+
},
15+
"funding": [
16+
{
17+
"type": "github",
18+
"url": "https://github.com/Shinigami92"
19+
},
20+
{
21+
"type": "paypal",
22+
"url": "https://www.paypal.com/donate/?hosted_button_id=L7GY729FBKTZY"
23+
}
24+
],
25+
"bugs": "https://github.com/Shinigami92/vite-plugin-vue-hsml/issues",
26+
"license": "MIT",
27+
"type": "module",
28+
"exports": "./dist/index.js",
29+
"files": [
30+
"dist"
31+
],
32+
"scripts": {
33+
"clean": "rimraf coverage dist pnpm-lock.yaml node_modules",
34+
"build": "tsup-node",
35+
"format": "prettier --cache --write .",
36+
"lint": "echo 'No linting configured.'",
37+
"test": "vitest",
38+
"test:update-snapshots": "vitest run -u",
39+
"coverage": "vitest run --coverage",
40+
"prepublishOnly": "pnpm run clean && pnpm install && pnpm run build",
41+
"preflight": "pnpm install && run-s format lint build test:update-snapshots"
42+
},
43+
"devDependencies": {
44+
"@types/node": "~20.2.5",
45+
"@types/prettier": "~2.7.2",
46+
"@vitest/coverage-c8": "~0.31.1",
47+
"c8": "~7.13.0",
48+
"npm-run-all": "~4.1.5",
49+
"prettier": "2.8.8",
50+
"prettier-plugin-organize-imports": "~3.2.2",
51+
"rimraf": "~5.0.1",
52+
"tsup": "~6.7.0",
53+
"tsx": "~3.12.7",
54+
"typescript": "~5.0.4",
55+
"vitest": "~0.31.1"
56+
},
57+
"peerDependencies": {
58+
"vite": "^4.0.0"
59+
},
60+
"packageManager": "pnpm@8.5.1",
61+
"engines": {
62+
"node": "^16.13.0 || >=18.0.0",
63+
"npm": ">=7.0.0",
64+
"pnpm": ">=8.0.0"
65+
}
66+
}

0 commit comments

Comments
 (0)