Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init-things
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
init-things
Commits
543cda49
Commit
543cda49
authored
Aug 04, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
koishi-plugin
parent
7241ccc8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
46 deletions
+45
-46
things/koishi-plugin-init/.eslintrc.js
things/koishi-plugin-init/.eslintrc.js
+24
-0
things/koishi-plugin-init/.gitlab-ci.yml
things/koishi-plugin-init/.gitlab-ci.yml
+1
-5
things/koishi-plugin-init/install-npm.sh
things/koishi-plugin-init/install-npm.sh
+20
-0
things/koishi-plugin-init/package.json
things/koishi-plugin-init/package.json
+0
-41
No files found.
things/koishi-plugin-init/.eslintrc.js
0 → 100644
View file @
543cda49
module
.
exports
=
{
parser
:
'
@typescript-eslint/parser
'
,
parserOptions
:
{
project
:
'
tsconfig.json
'
,
sourceType
:
'
module
'
,
},
plugins
:
[
'
@typescript-eslint/eslint-plugin
'
],
extends
:
[
'
plugin:@typescript-eslint/recommended
'
,
'
plugin:prettier/recommended
'
,
],
root
:
true
,
env
:
{
node
:
true
,
jest
:
true
,
},
ignorePatterns
:
[
'
.eslintrc.js
'
],
rules
:
{
'
@typescript-eslint/interface-name-prefix
'
:
'
off
'
,
'
@typescript-eslint/explicit-function-return-type
'
:
'
off
'
,
'
@typescript-eslint/explicit-module-boundary-types
'
:
'
off
'
,
'
@typescript-eslint/no-explicit-any
'
:
'
off
'
,
},
};
things/koishi-plugin-init/.gitlab-ci.yml
View file @
543cda49
...
@@ -9,7 +9,6 @@ build:
...
@@ -9,7 +9,6 @@ build:
stage
:
build
stage
:
build
tags
:
tags
:
-
linux
-
linux
image
:
node:buster-slim
script
:
script
:
-
npm ci
-
npm ci
-
npm run build
-
npm run build
...
@@ -23,9 +22,7 @@ upload_to_minio:
...
@@ -23,9 +22,7 @@ upload_to_minio:
-
build
-
build
tags
:
tags
:
-
linux
-
linux
image
:
python
script
:
script
:
-
pip install -U -i https://mirrors.aliyun.com/pypi/simple/ awscli
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete dist/ s3://nanahira/koishi-plugin/hisoutensoku-jammer
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete dist/ s3://nanahira/koishi-plugin/hisoutensoku-jammer
only
:
only
:
-
master
-
master
...
@@ -36,10 +33,9 @@ deploy_npm:
...
@@ -36,10 +33,9 @@ deploy_npm:
-
build
-
build
tags
:
tags
:
-
linux
-
linux
image
:
node:buster-slim
script
:
script
:
-
apt update;apt -y install coreutils
-
apt update;apt -y install coreutils
-
echo $NPMRC | base64 --decode > ~/.npmrc
-
echo $NPMRC | base64 --decode > ~/.npmrc
-
npm publish . ||
true
-
npm publish . ||
true
only
:
only
:
-
master
-
master
\ No newline at end of file
things/koishi-plugin-init/install-npm.sh
0 → 100755
View file @
543cda49
#!/bin/bash
npm
install
--save
\
source-map-support
npm
install
--save-dev
\
lodash
\
@types/node
\
@types/lodash
\
typescript
\
'@typescript-eslint/eslint-plugin@^4.28.2'
\
'@typescript-eslint/parser@^4.28.2 '
\
'eslint@^7.30.0'
\
'eslint-config-prettier@^8.3.0'
\
'eslint-plugin-prettier@^3.4.0'
\
prettier
\
raw-loader
\
ts-loader
\
webpack
\
webpack-cli
\
koishi-core
things/koishi-plugin-init/package.json
deleted
100644 → 0
View file @
7241ccc8
{
"name"
:
"koishi-plugin-init"
,
"version"
:
"1.0.0"
,
"description"
:
"Koishi Plugin"
,
"main"
:
"dist/index.js"
,
"dependencies"
:
{
"source-map-support"
:
"^0.5.19"
},
"devDependencies"
:
{
"@types/lodash"
:
"^4.14.168"
,
"@types/node"
:
"^15.0.1"
,
"koishi"
:
"^3.10.1"
,
"koishi-core"
:
"^3.10.1"
,
"lodash"
:
"^4.17.21"
,
"raw-loader"
:
"^4.0.2"
,
"ts-loader"
:
"^9.1.1"
,
"ts-node"
:
"^9.1.1"
,
"typescript"
:
"^4.2.4"
,
"webpack"
:
"^5.36.2"
,
"webpack-cli"
:
"^4.6.0"
},
"scripts"
:
{
"build"
:
"webpack"
},
"repository"
:
{
"type"
:
"git"
,
"url"
:
"https://code.mycard.moe//koishi-plugin-init.git"
},
"keywords"
:
[
"Koishi.js"
,
"qqbot"
,
"onebot"
,
"cqhttp"
],
"author"
:
"Nanahira"
,
"license"
:
"MIT"
,
"bugs"
:
{
"url"
:
"https://code.mycard.moe/nanahira/koishi-plugin-init/issues"
},
"homepage"
:
"https://code.mycard.moe/nanahira/koishi-plugin-init"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment