Skip to content

Commit 8d86cff

Browse files
committed
template sync
1 parent 54d9c69 commit 8d86cff

File tree

9 files changed

+56
-111
lines changed

9 files changed

+56
-111
lines changed

.editorconfig

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

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Normalize text files to LF in the repo regardless of platform
2+
* text=auto eol=lf
3+
4+
# Optional: allow CRLF where required on Windows scripts
5+
*.bat text eol=crlf
6+
*.cmd text eol=crlf

.prettierrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2-
"endOfLine": "crlf",
2+
"embeddedLanguageFormatting": "auto",
3+
"endOfLine": "lf",
4+
"proseWrap": "never",
35
"singleQuote": true
46
}

.vscode/extensions.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"recommendations": [
33
"dbaeumer.vscode-eslint",
44
"esbenp.prettier-vscode",
5-
"vitest.explorer",
5+
"github.vscode-github-actions",
6+
"gruntfuggly.todo-tree",
67
"jebbs.plantuml",
78
"redhat.vscode-yaml",
8-
"gruntfuggly.todo-tree",
9-
"github.vscode-github-actions"
9+
"vitest.explorer"
1010
]
1111
}

LICENSE

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2025, Jason Williscroft
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
7+
8+
1. Redistributions of source code must retain the above copyright notice, this
9+
list of conditions and the following disclaimer.
10+
11+
2. Redistributions in binary form must reproduce the above copyright notice,
12+
this list of conditions and the following disclaimer in the documentation
13+
and/or other materials provided with the distribution.
14+
15+
3. Neither the name of the copyright holder nor the names of its
16+
contributors may be used to endorse or promote products derived from
17+
this software without specific prior written permission.
18+
19+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

eslint.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,17 @@ export default tseslint.config(
1616
ignores: [
1717
'.rollup.cache/**/*',
1818
'.stan/**/*',
19+
'assets/**/*',
1920
'coverage/**/*',
21+
'diagrams/out/**/*',
2022
'dist/**/*',
2123
'docs/**/*',
2224
'node_modules/**/*',
2325
],
2426
},
2527
eslint.configs.recommended,
26-
tseslint.configs.strictTypeChecked, prettierConfig,
28+
tseslint.configs.strictTypeChecked,
29+
prettierConfig,
2730
{
2831
...vitestPlugin.configs.recommended,
2932
files: ['**/*.test.ts'],

knip.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"entry": ["src/**/index.ts"],
3+
"ignoreBinaries": ["plantuml"],
34
"project": ["*/**", "!docs/**"],
45
"rules": {
56
"exports": "off",
67
"types": "off"
78
},
89
"vitest": {
910
"entry": ["*/**/*.test.!(*.*)"]
10-
},
11-
"binaries": ["plantuml"]
12-
}
11+
}
12+
}

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"url": "https://github.com/karmaniverous/npm-package-template-ts/issues"
1414
},
1515
"dependencies": {
16-
"@karmaniverous/stan": "^0.1.0",
1716
"commander": "^14.0.0"
1817
},
1918
"description": "A feature-rich NPM package template for TypeScript projects.",
@@ -135,7 +134,6 @@
135134
"lint:fix": "eslint --fix .",
136135
"release": "dotenvx run -f .env.local -- release-it",
137136
"release:pre": "dotenvx run -f .env.local -- release-it --no-git.requireBranch --github.prerelease --preRelease",
138-
"stan": "stan",
139137
"stan:build": "rimraf stan.dist && rollup --config stan.rollup.config.ts --configPlugin @rollup/plugin-typescript && rimraf stan.dist",
140138
"stan:docs": "typedoc --emit none",
141139
"test": "vitest --run --coverage",

rollup.config.example.ts

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)