You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.
Clean all files that match src/**/*.d.ts and src/**/*.js and the .dist folder (which contains local builds).
npm run clean
Commit
Following semantic commit message via commitizen.
npm run commit
Lint
Coding style: StandardJS
Linter: tslint + tslint-config-standard
npm run lint
Build
Compile all .ts files in place.
Since the main field in package.json is configured to be src/index, either typescript or javascript projects can find their corresponding entry files.
Compiler: tsc
npm run build
Webpack
Generate the cq-websocket.min.js and cq-websocket.kaomojified.js as the legacy work did. The output directory is dist on CI servers and .dist at local.
Compiler: webpack
npm run webpack
Release
Run semantic-release.
This will do actual release if it is master branch and there is any commit that causes version changed.
Parse all tsdoc comment blocks under src folder and update CQHTTP version in the CQHTTP document URL according to the minimal version specified by engines.cqhttp field in package.json.
gulp docs:update-cqhttp-version
The text was updated successfully, but these errors were encountered:
Scripts
Clean
Clean all files that match
src/**/*.d.ts
andsrc/**/*.js
and the.dist
folder (which contains local builds).Commit
Following semantic commit message via
commitizen
.Lint
tslint
+tslint-config-standard
Build
Compile all .ts files in place.
Since the
main
field inpackage.json
is configured to besrc/index
, either typescript or javascript projects can find their corresponding entry files.tsc
Webpack
Generate the
cq-websocket.min.js
andcq-websocket.kaomojified.js
as the legacy work did. The output directory isdist
on CI servers and.dist
at local.webpack
Release
Run
semantic-release
.This will do actual release if it is master branch and there is any commit that causes version changed.
Test
Run tests with AVA with ts-node/register enabled.
For
nyc
to correctly report the coverage, intsconfig.json
inlineSourceMap
is set totrue
andsource-map-support
is installed.Coverage
Coverage will be reported to coveralls.
Docs
API references are generated using Typedoc with typedoc-plugin-external-module-name under
/docs/api
folder.Update CQHTTP version in comment blocks
Parse all tsdoc comment blocks under
src
folder and update CQHTTP version in the CQHTTP document URL according to the minimal version specified byengines.cqhttp
field inpackage.json
.The text was updated successfully, but these errors were encountered: