generated from kirishima-ship/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
1,243 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
{ | ||
"name": "kirishima-template", | ||
"author": { | ||
"name": "KagChi" | ||
}, | ||
"version": "0.1.0", | ||
"name": "@kirishima/sources", | ||
"version": "0.0.0", | ||
"private": true, | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"license": "GPL-3.0", | ||
"repository": { | ||
"url": "https://github.com/kirishima-ship/kirishima-template" | ||
|
@@ -12,26 +13,29 @@ | |
"url": "https://github.com/kirishima-ship/kirishima-template/issues" | ||
}, | ||
"readme": "https://github.com/kirishima-ship/kirishima-template/blob/main/README.md", | ||
"engines": { | ||
"node": ">=14.0.0", | ||
"npm": ">=7.0.0" | ||
}, | ||
"scripts": { | ||
"build": "rimraf dist && unbuild && tsc", | ||
"lint": "eslint src", | ||
"lint:fix": "eslint src --fix", | ||
"format": "prettier --write {src,tests}/**/*.ts" | ||
"build": "turbo run build", | ||
"dev": "turbo run dev --parallel", | ||
"lint": "turbo run lint", | ||
"lint:fix": "turbo run lint:fix", | ||
"format": "prettier --write \"**/*.{ts,tsx,md}\"" | ||
}, | ||
"devDependencies": { | ||
"prettier": "^2.5.1", | ||
"@babel/types": "7.17.0", | ||
"@sapphire/eslint-config": "4.3.2", | ||
"@sapphire/prettier-config": "1.4.1", | ||
"@sapphire/ts-config": "3.3.3", | ||
"eslint": "8.11.0", | ||
"prettier": "2.6.0", | ||
"rimraf": "3.0.2", | ||
"typescript": "4.6.2", | ||
"unbuild": "0.7.0" | ||
"unbuild": "0.7.0", | ||
"turbo": "latest" | ||
}, | ||
"engines": { | ||
"npm": ">=7.0.0", | ||
"node": ">=14.0.0" | ||
}, | ||
"prettier": "@sapphire/prettier-config" | ||
} | ||
"prettier": "@sapphire/prettier-config", | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "@sapphire" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @KagChi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"extends": [ | ||
"config:base" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: | ||
- "**" | ||
pull_request: | ||
branches: | ||
- "**" | ||
|
||
jobs: | ||
compile: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- run: npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: eslint-check | ||
|
||
on: | ||
push: | ||
branches: | ||
- "**" | ||
pull_request: | ||
branches: | ||
- "**" | ||
|
||
jobs: | ||
eslint: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- run: npm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
on: | ||
release: | ||
types: | ||
- published | ||
jobs: | ||
generate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Installing Node.js v16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
registry-url: 'https://registry.npmjs.org/' | ||
- run: | | ||
git fetch origin main | ||
git checkout main | ||
- name: Installing dependencies | ||
run: yarn install --frozen-lockfile | ||
- name: Compile source | ||
run: yarn build | ||
- name: Publish source | ||
run: | | ||
npm publish --access public || true | ||
env: | ||
NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Ignore a blackhole and the folder for development | ||
node_modules/ | ||
.vs/ | ||
.idea/ | ||
*.iml | ||
coverage/ | ||
docs/ | ||
|
||
# Yarn files | ||
.yarn/install-state.gz | ||
.yarn/build-state.yml | ||
|
||
# Ignore tsc dist folder | ||
dist/ | ||
|
||
# Ignore JavaScript files | ||
**/*.js | ||
**/*.mjs | ||
**/*.js.map | ||
**/*.d.ts | ||
!src/**/*.d.ts | ||
**/*.tsbuildinfo | ||
!jest.config.ts | ||
|
||
# Ignore heapsnapshot and log files | ||
*.heapsnapshot | ||
*.log | ||
|
||
# Ignore package locks | ||
package-lock.json | ||
|
||
# Ignore the GH cli downloaded by workflows | ||
gh | ||
|
||
# Ignore the "wiki" folder so we can checkout the wiki inside the same folder | ||
wiki/ |
Oops, something went wrong.