Skip to content

Commit 4a05a89

Browse files
committed
chore: update template
1 parent a5c1797 commit 4a05a89

15 files changed

+2022
-168
lines changed

.eslintrc

-3
This file was deleted.

.github/CODEOWNERS

-1
This file was deleted.

.github/renovate.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"extends": [
3-
"config:base"
4-
]
5-
}
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["github>nezuchan/renovate-config"]
4+
}

.github/workflows/build.yml

-27
This file was deleted.

.github/workflows/lint.yml

-27
This file was deleted.

.github/workflows/release.yml

-26
This file was deleted.

.github/workflows/test.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Lint code & compile test
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
pull_request:
8+
branches:
9+
- "**"
10+
11+
jobs:
12+
test:
13+
uses: kakushindev/workflows/.github/workflows/lint-and-compile-test.yml@main

.gitignore

+119-28
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,127 @@
1-
# Ignore a blackhole and the folder for development
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
.pnpm-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30+
.grunt
31+
32+
# Bower dependency directory (https://bower.io/)
33+
bower_components
34+
35+
# node-waf configuration
36+
.lock-wscript
37+
38+
# Compiled binary addons (https://nodejs.org/api/addons.html)
39+
build/Release
40+
41+
# Dependency directories
242
node_modules/
3-
.vs/
4-
.idea/
5-
*.iml
6-
coverage/
7-
docs/
43+
jspm_packages/
844

9-
# Yarn files
10-
.yarn/install-state.gz
11-
.yarn/build-state.yml
45+
# Snowpack dependency directory (https://snowpack.dev/)
46+
web_modules/
1247

13-
# Ignore tsc dist folder
14-
dist/
48+
# TypeScript cache
49+
*.tsbuildinfo
1550

16-
# Ignore JavaScript files
17-
**/*.js
18-
**/*.mjs
19-
**/*.js.map
20-
**/*.d.ts
21-
!src/**/*.d.ts
22-
**/*.tsbuildinfo
23-
!jest.config.ts
51+
# Optional npm cache directory
52+
.npm
2453

25-
# Ignore heapsnapshot and log files
26-
*.heapsnapshot
27-
*.log
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional stylelint cache
58+
.stylelintcache
59+
60+
# Microbundle cache
61+
.rpt2_cache/
62+
.rts2_cache_cjs/
63+
.rts2_cache_es/
64+
.rts2_cache_umd/
2865

29-
# Ignore package locks
30-
package-lock.json
66+
# Optional REPL history
67+
.node_repl_history
3168

32-
# Ignore the GH cli downloaded by workflows
33-
gh
69+
# Output of 'npm pack'
70+
*.tgz
3471

35-
# Ignore the "wiki" folder so we can checkout the wiki inside the same folder
36-
wiki/
72+
# Yarn Integrity file
73+
.yarn-integrity
74+
75+
# dotenv environment variable files
76+
.env
77+
.env.development.local
78+
.env.test.local
79+
.env.production.local
80+
.env.local
81+
82+
# parcel-bundler cache (https://parceljs.org/)
83+
.cache
84+
.parcel-cache
85+
86+
# Next.js build output
87+
.next
88+
out
89+
90+
# Nuxt.js build / generate output
91+
.nuxt
92+
dist
93+
94+
# Gatsby files
95+
.cache/
96+
# Comment in the public line in if your project uses Gatsby and not Next.js
97+
# https://nextjs.org/blog/next-9-1#public-directory-support
98+
# public
99+
100+
# vuepress build output
101+
.vuepress/dist
102+
103+
# vuepress v2.x temp and cache directory
104+
.temp
105+
.cache
106+
107+
# Serverless directories
108+
.serverless/
109+
110+
# FuseBox cache
111+
.fusebox/
112+
113+
# DynamoDB Local files
114+
.dynamodb/
115+
116+
# TernJS port file
117+
.tern-port
118+
119+
# Stores VSCode versions used for testing VSCode extensions
120+
.vscode-test
121+
122+
# yarn v2
123+
.yarn/cache
124+
.yarn/unplugged
125+
.yarn/build-state.yml
126+
.yarn/install-state.gz
127+
.pnp.*

.node-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
./.node-version

README.md

-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,3 @@
55
# @kirishima/template
66

77
</div>
8-
9-
# Features
10-
- lorem
11-
- ipsum

build.config.ts

-9
This file was deleted.

package.json

+34-32
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,39 @@
11
{
2-
"name": "kirishima-template",
3-
"author": {
4-
"name": "KagChi"
5-
},
6-
"version": "0.1.0",
7-
"license": "GPL-3.0",
8-
"repository": {
9-
"url": "https://github.com/kirishima-ship/kirishima-template"
10-
},
11-
"bugs": {
12-
"url": "https://github.com/kirishima-ship/kirishima-template/issues"
13-
},
14-
"readme": "https://github.com/kirishima-ship/kirishima-template/blob/main/README.md",
15-
"engines": {
16-
"node": ">=14.0.0",
17-
"npm": ">=7.0.0"
18-
},
2+
"name": "template",
3+
"version": "1.0.0",
4+
"description": "A TypeScript template project.",
5+
"main": "dist",
196
"scripts": {
20-
"build": "rimraf dist && unbuild && tsc",
21-
"lint": "eslint src",
22-
"lint:fix": "eslint src --fix",
23-
"format": "prettier --write {src,tests}/**/*.ts"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"lint": "eslint src --ext ts",
9+
"lint:fix": "eslint src --fix --ext ts",
10+
"build": "tsc"
2411
},
12+
"type": "module",
13+
"author": "kakushin-dev",
14+
"license": "GPL-3.0",
2515
"devDependencies": {
26-
"@babel/types": "7.17.0",
27-
"@sapphire/eslint-config": "4.3.3",
28-
"@sapphire/prettier-config": "1.4.3",
29-
"@sapphire/ts-config": "3.3.4",
30-
"eslint": "8.13.0",
31-
"prettier": "2.6.2",
32-
"rimraf": "3.0.2",
33-
"typescript": "4.6.3",
34-
"unbuild": "0.7.4"
16+
"@hazmi35/eslint-config": "^11.0.0",
17+
"@types/node": "^18.18.9",
18+
"@typescript-eslint/eslint-plugin": "^6.13.1",
19+
"@typescript-eslint/parser": "^6.13.1",
20+
"eslint": "^8.54.0",
21+
"rimraf": "^5.0.5",
22+
"typescript": "^5.3.2"
3523
},
36-
"prettier": "@sapphire/prettier-config"
37-
}
24+
"eslintConfig": {
25+
"parser": "@typescript-eslint/parser",
26+
"plugins": [
27+
"@typescript-eslint"
28+
],
29+
"parserOptions": {
30+
"project": "./tsconfig.json"
31+
},
32+
"extends": [
33+
"eslint:recommended",
34+
"plugin:@typescript-eslint/recommended",
35+
"@hazmi35/eslint-config/typescript"
36+
],
37+
"rules": {}
38+
}
39+
}

0 commit comments

Comments
 (0)