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
ff3520e7
Commit
ff3520e7
authored
Feb 18, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better workflow
parent
713d4dd5
Pipeline
#9742
passed with stages
in 1 minute and 14 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
40 additions
and
9 deletions
+40
-9
things/koishi-plugin-init/.gitlab-ci.yml
things/koishi-plugin-init/.gitlab-ci.yml
+22
-4
things/koishi-plugin-init/.npmignore
things/koishi-plugin-init/.npmignore
+5
-0
things/koishi-plugin-init/install-npm.sh
things/koishi-plugin-init/install-npm.sh
+7
-1
things/koishi-plugin-init/package.json
things/koishi-plugin-init/package.json
+3
-1
things/koishi-plugin-init/tsconfig.json
things/koishi-plugin-init/tsconfig.json
+3
-1
things/npm/install-npm.sh
things/npm/install-npm.sh
+0
-2
No files found.
things/koishi-plugin-init/.gitlab-ci.yml
View file @
ff3520e7
stages
:
-
install
-
build
-
deploy
variables
:
GIT_DEPTH
:
"
1"
build
:
stage
:
build
tags
:
npm_ci
:
stage
:
install
tags
:
-
linux
script
:
-
npm ci
-
npm run build
artifacts
:
paths
:
-
node_modules
.build_base
:
stage
:
build
tags
:
-
linux
dependencies
:
-
npm_ci
build
:
extends
:
.build_base
script
:
npm run build
artifacts
:
paths
:
-
dist/
test
:
extends
:
.build_base
script
:
npm run test
upload_to_minio
:
stage
:
deploy
dependencies
:
...
...
things/koishi-plugin-init/.npmignore
View file @
ff3520e7
...
...
@@ -8,3 +8,8 @@
Dockerfile
/src
/dist/full
/coverage
/tests
/dist/tests
/dev
/dist/dev
things/koishi-plugin-init/install-npm.sh
View file @
ff3520e7
...
...
@@ -19,4 +19,10 @@ npm install --save-dev \
ts-loader
\
webpack
\
webpack-cli
\
ws
ws
\
ts-node
\
@koishijs/plugin-console
\
@koishijs/plugin-sandbox
\
jest
\
ts-jest
\
@types/jest
things/koishi-plugin-init/package.json
View file @
ff3520e7
...
...
@@ -6,7 +6,9 @@
"types"
:
"dist/index.d.ts"
,
"scripts"
:
{
"lint"
:
"eslint --fix ."
,
"build"
:
"webpack && env PACK_ALL=1 webpack"
"build"
:
"webpack && env PACK_ALL=1 webpack"
,
"start"
:
"ts-node ./dev"
,
"test"
:
"jest --passWithNoTests"
},
"repository"
:
{
"type"
:
"git"
,
...
...
things/koishi-plugin-init/tsconfig.json
View file @
ff3520e7
...
...
@@ -14,6 +14,8 @@
"allowJs"
:
true
,
"include"
:
[
"*.ts"
,
"src/**/*.ts"
"src/**/*.ts"
,
"tests/**/*.ts"
,
"dev/**/*.ts"
]
}
things/npm/install-npm.sh
View file @
ff3520e7
...
...
@@ -13,5 +13,3 @@ npm install --save-dev \
@types/jest
\
ts-jest
\
rimraf
mkdir
tests
||
true
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