Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the linting problem #4

Closed
huan opened this issue Jan 11, 2021 · 10 comments
Closed

Fix the linting problem #4

huan opened this issue Jan 11, 2021 · 10 comments
Labels
bug Something isn't working

Comments

@huan
Copy link
Member

huan commented Jan 11, 2021

$ git pull

$ npm install

$ npm test

> [email protected] test
> npm run lint && npm run test:unit


> [email protected] lint
> npm run lint:es && npm run lint:ts && npm run lint:md


> [email protected] lint:es
> eslint --ignore-pattern fixtures/ 'src/**/*.ts' 'tests/**/*.ts'


/Users/huan/chatie/wechaty-puppet-lark/src/puppet-lark.ts
  139:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  161:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  165:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  175:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  180:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  183:9   error  Expected object keys to be in ascending order. 'department_ids' should be before 'open_id'  sort-keys
  197:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  202:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  224:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  229:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  232:9   error  Expected object keys to be in ascending order. 'department_ids' should be before 'open_id'  sort-keys
  258:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  336:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  340:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  355:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  359:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  388:9   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  393:9   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  397:11  error  Expected object keys to be in ascending order. 'content' should be before 'msg_type'        sort-keys
  418:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  423:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  427:9   error  Expected object keys to be in ascending order. 'content' should be before 'msg_type'        sort-keys
  438:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  443:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  447:9   error  Expected object keys to be in ascending order. 'content' should be before 'msg_type'        sort-keys
  466:7   error  Expected object keys to be in ascending order. 'file' should be before 'image'              sort-keys
  473:7   error  Expected object keys to be in ascending order. 'fromId' should be before 'timestamp'        sort-keys
  485:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  490:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  509:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  514:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  531:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  536:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  555:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  560:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  577:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  588:11  error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  592:11  error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  617:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  622:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  641:9   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  646:9   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  656:9   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  660:9   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  687:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  691:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  709:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  713:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  731:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  736:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  750:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  754:7   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  773:9   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys
  777:9   error  Expected object keys to be in ascending order. 'data' should be before 'url'                sort-keys
  794:7   error  Expected object keys to be in ascending order. 'headers' should be before 'method'          sort-keys

✖ 55 problems (55 errors, 0 warnings)

npm ERR! code 1
npm ERR! path /Users/huan/chatie/wechaty-puppet-lark
npm ERR! command failed
npm ERR! command sh -c eslint --ignore-pattern fixtures/ 'src/**/*.ts' 'tests/**/*.ts'

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/huan/.npm/_logs/2021-01-11T13_41_18_165Z-debug.log
npm ERR! code 1
npm ERR! path /Users/huan/chatie/wechaty-puppet-lark
npm ERR! command failed
npm ERR! command sh -c npm run lint:es && npm run lint:ts && npm run lint:md

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/huan/.npm/_logs/2021-01-11T13_41_18_191Z-debug.log
npm ERR! code 1
npm ERR! path /Users/huan/chatie/wechaty-puppet-lark
npm ERR! command failed
npm ERR! command sh -c npm run lint && npm run test:unit

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/huan/.npm/_logs/2021-01-11T13_41_18_218Z-debug.log
@huan
Copy link
Member Author

huan commented Jan 11, 2021

And the GitHub Actions shows the same output at https://github.com/wechaty/wechaty-puppet-lark/runs/1680755043?check_suite_focus=true#step:5:17

@Roxanne718
Copy link
Collaborator

Roxanne718 commented Jan 12, 2021

I run npm test but got this:

> [email protected] test D:\Projects\Wechaty\wechaty-puppet-lark
> npm run lint && npm run test:unit


> [email protected] lint D:\Projects\Wechaty\wechaty-puppet-lark
> npm run lint:es && npm run lint:ts && npm run lint:md


> [email protected] lint:es D:\Projects\Wechaty\wechaty-puppet-lark
> eslint --ignore-pattern fixtures/ 'src/**/*.ts' 'tests/**/*.ts'


Oops! Something went wrong! :(

ESLint: 7.17.0

No files matching the pattern "'src/**/*.ts'" were found.
Please check for typing mistakes in the pattern.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] lint:es: `eslint --ignore-pattern fixtures/ 'src/**/*.ts' 'tests/**/*.ts'`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] lint:es script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\rui.LAPTOP-K9989SLH\AppData\Roaming\npm-cache\_logs\2021-01-12T06_57_22_090Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] lint: `npm run lint:es && npm run lint:ts && npm run lint:md`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\rui.LAPTOP-K9989SLH\AppData\Roaming\npm-cache\_logs\2021-01-12T06_57_22_179Z-debug.log
npm ERR! Test failed.  See above for more details.

@huan
Copy link
Member Author

huan commented Jan 14, 2021

Please post the output of node --version and npm --version in your system.

I'd like to suggest that you to install the node v14 with the latest version of npm, then run rm -fr node_modules && npm install && npm test to see if the problem can be solved.

@huan huan added the bug Something isn't working label Jan 14, 2021
@huan
Copy link
Member Author

huan commented Jan 18, 2021

Kindly ping

Just want to know did you get the lining script ran on your local environment successfully?

@Roxanne718
Copy link
Collaborator

Roxanne718 commented Jan 19, 2021

I'm sorry I didn't see this message.
I run rm -fr node_modules && npm install && npm test but the question still bothers me.
Here is details.

> node --version
v14.15.4

> npm --version
6.14.11

@huan
Copy link
Member Author

huan commented Jan 19, 2021

That's wired.

Could you please post all the output messages when running rm -fr node_modules && npm install && npm test ?

And can you try running this on another windows computer, or a linux server?

@Roxanne718
Copy link
Collaborator

Roxanne718 commented Jan 22, 2021

Here are outputs. I‘m sorry I have no chance to use another computer recently.

D:\Projects\Wechaty\wechaty-puppet-lark>rm -rf node_modules

D:\Projects\Wechaty\wechaty-puppet-lark>npm install

> [email protected] install D:\Projects\Wechaty\wechaty-puppet-lark\node_modules\grpc
> node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using request for node-pre-gyp https download 
[grpc] Success: "D:\Projects\Wechaty\wechaty-puppet-lark\node_modules\grpc\src\node\extension_binary\node-v83-win32-x64-u

> [email protected] postinstall D:\Projects\Wechaty\wechaty-puppet-lark\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> [email protected] postinstall D:\Projects\Wechaty\wechaty-puppet-lark\node_modules\git-scripts
> node bin/install


> [email protected] postinstall D:\Projects\Wechaty\wechaty-puppet-lark\node_modules\node-jq
> npm run install-binary


> [email protected] install-binary D:\Projects\Wechaty\wechaty-puppet-lark\node_modules\node-jq
> node scripts/install-binary.js

Downloading jq from https://github.com/stedolan/jq/releases/download/jq-1.6/jq-win64.exe
Downloaded in D:\Projects\Wechaty\wechaty-puppet-lark\node_modules\node-jq\bin

> @chatie/[email protected] postinstall D:\Projects\Wechaty\wechaty-puppet-lark\node_modules\@chatie\eslint-config
> node bin/install.js


> @chatie/[email protected] postinstall D:\Projects\Wechaty\wechaty-puppet-lark\node_modules\@chatie\git-scripts
> node scripts/install.js


> @chatie/[email protected] postinstall D:\Projects\Wechaty\wechaty-puppet-lark\node_modules\@chatie\tsconfig
> node bin/install.js


> [email protected] postinstall D:\Projects\Wechaty\wechaty-puppet-lark\node_modules\wechaty
> opencollective-postinstall

Thank you for using wechaty!
If you rely on this package, please consider supporting our open collective:
> https://opencollective.com/wechaty/donate

added 983 packages from 985 contributors and audited 984 packages in 36.048s

77 packages are looking for funding
  run `npm fund` for details

found 5 vulnerabilities (3 low, 1 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

D:\Projects\Wechaty\wechaty-puppet-lark>npm test

> [email protected] test D:\Projects\Wechaty\wechaty-puppet-lark
> npm run lint && npm run test:unit


> [email protected] lint D:\Projects\Wechaty\wechaty-puppet-lark


Oops! Something went wrong! :(

ESLint: 7.17.0

No files matching the pattern "'src/**/*.ts'" were found.
Please check for typing mistakes in the pattern.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] lint:es: `eslint --ignore-pattern fixtures/ 'src/**/*.ts' 'tests/**/*.ts'`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] lint:es script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\rui.LAPTOP-K9989SLH\AppData\Roaming\npm-cache\_logs\2021-01-22T02_15_33_081Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] lint: `npm run lint:es && npm run lint:ts && npm run lint:md`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\rui.LAPTOP-K9989SLH\AppData\Roaming\npm-cache\_logs\2021-01-22T02_15_33_155Z-debug.log
npm ERR! Test failed.  See above for more details.

@huan
Copy link
Member Author

huan commented Jan 22, 2021

It seems that your windows environment has some problems with Node.js.

Do you have an ssh pub key? If you have one, please set it to your GitHub account, or send it to me.

We have a Wechaty Contributor Server that you can use as a development environment. (Ubuntu Linux)

See: wechaty/PMC#13

@huan
Copy link
Member Author

huan commented Feb 3, 2021

Kindly ping @Roxanne718

Do we have any new progress on this issue?

Let's fix those linting problems in the following days so that we can keep moving on! 💪

@Roxanne718 Roxanne718 mentioned this issue Feb 9, 2021
@huan
Copy link
Member Author

huan commented Feb 10, 2021

Thanks for the great work from @Roxanne718 , all linting problems have been resolved!

The latest master branch code was CI/CD to NPM now.

@huan huan closed this as completed Feb 10, 2021
huan added a commit to wechaty/wechaty that referenced this issue Feb 10, 2021
su-chang added a commit to su-chang/wechaty that referenced this issue Feb 22, 2021
* 0.45.3

* 0.45.4

* upgrade puppet to use async-map-like memory-card

* upgrade puppet

* 0.45.5

* build onbuild docker image

* 0.45.6

* test for onbuild home dir

* 0.45.7

* deploy wechaty/onbuld

* fix test for both wechaty & /bot

* 0.45.8

* publish to wechaty/wechatyh

* 0.45.9

* build with onbuld

* 0.45.10

* rename zixia/wechaty -> wechaty/wechaty

* 0.45.11

* fix typo

* 0.45.12

* fix onbuild npm run

* 0.45.13

* update official example

* Update README.md

* fix asscessory tests, and protect user class constructor from public to private

* Increase MaxListener for Wechaty

* 0.45.14

* add plugin uninstaller logic

* 0.45.15

* fix race condition for plugin uninstallation

* 0.45.16

* template clean

* 0.45.17

* upgrade puppet

* 0.46.0

* 0.46.1

* add new puppet for official account

* 0.46.2

* Wechaty is a Conversational SDK for Chatbot Makers

* fix bio

* 0.46.3

* clean log message

* 0.46.4

* upgrade hostie

* 0.45.6

* 0.46.5

* 0.47.0

* 0.47.1

* support onbuild:version

* 0.47.2

* use artifact image name

* 0.47.3

* clean version & tag

* 0.47.4

* 0.47.5

* fix hostie start bug

* 0.47.6

* clean

* 0.46.5

* 0.47.7

* add svg logos

* use wechaty.js.org host

* 0.47.7

* 0.47.8

* update

* 0.47.9

* use docker for changelog

* 0.47.10

* update changelog

* 0.47.11

* use wechaty.js.org/qrcode/ to replace wechaty.github.io/qrcode/

* 0.47.12

* Update README.md

* feat: add scoped wxwork puppet into puppet config (wechaty#2043)

* add scoped wxwork puppet into puppet config

* skip install scoped puppet

* 0.47.13

* add phone method in contact class (wechaty#2039)

* add phone method in contact class

* 0.47.13

* 0.47.14

* update wechaty-puppet version

* add jsdoc for contact.phone

* use puppet.dirtyPayload (wechaty/puppet-service#43)

* 0.47.15

* fix dirty exception

* 0.47.16

* TODO: implement the dirty logic (wechaty/puppet-service#43)

* 0.47.17

* TODO: implement the dirty logic (wechaty/puppet-service#43)

* 0.47.18

* implement the dirty logic (wechaty/puppet-service#43)

* 0.47.19

* clean

* 0.47.20

* remove deprecated methods (wechaty#2049)

* 0.47.21

* Upgrade to TypeScript 4.0!

* 0.47.22

* feat: add more methods into contact class (wechaty#2048)

* add more methods into contact class

* fix code with new wechaty-puppet

* 0.47.21

* 0.47.23

* throw a nice error message when we call user module before start wechaty

* 0.47.24

* 0.48.0 (wechaty#2050)

* bump hostie version to be the stable one (wechaty#2051)

* bump hostie version to be the stable one

* 0.48.1

* link images to wechaty.js.org

* update links

* 0.48.2

* update jsdocs

* 0.48.3

* add gitter puppet

* 0.48.4

* fix typo

* 0.48.5

* add location user module

* 0.47.25

* 0.48.6

* clean

* 0.48.7

* add telegram channel for wechaty

* 0.48.8

* add bibtex cite code

* 0.48.9

* add star history badge

* 0.48.10

* Split to trunks when making requests of room.findAll() and room.ready() (wechaty#2067)

* add pagination on room.findAll() and room.ready()

* 0.48.11

* fix wechaty#2073 (wechaty#2074)

* fix wechaty#2073

* 0.48.12

* 0.48.13

* Bump minor 49 (wechaty#2078)

* 0.49.0

* update hostie version to take advantage of the new stream grpc methods

* fix io client qrcode by encodeURIComponent

* 0.48.11

* upgrade deps

* 0.49.1

* upgrade puppet to v0.33

* 0.49.2

* 0.49.3

* 0.49.4

* fix typos

* 0.49.5

* clean

* Update README.md

* add credit link

* fix typo

* upgrade json-rpc-peer to v0.17

* 0.49.7

* 0.49.8

* Update Dockerfile (wechaty#2079)

按照 wechaty#1986 的方法用docker创建Hostie Token时,docker端报错。加入libxtst6库后可以完美运行。

* 0.50.0

* 0.50.1

* clean scan payload after login

* 0.50.2

* enable io sync message botie support

* 0.50.3

* use source for botie payload

* 0.50.4

* add whatsapp to official puppet names (wechaty/puppet-whatsapp#1)

* 0.50.5

* use a helper function for better FileBox instance check (wechaty/puppet-service#99)

* 0.50.6

* loost Puppet instance type checking (wechaty#2024)

* 0.50.7

* create looseInstanceOfClass (wechaty#2090) (wechaty#2091)

* create looseInstanceOfClass (wechaty#2090)

* 0.50.8

* 0.51.0

* 0.51.1

* fix file-box

* fix file-box

* 0.51.2

* rename from -> talker (wechaty#2094)

* 0.51.3

* add gitter & deprecate padplus

* strict typing check for typescript v4

* 0.51.4

* Update contact.ts (wechaty#2095)

fix: return payload friend

* rename from() to talker() from message

* 0.51.5

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* add wechaty-puppet-padlocal to the puppet config (wechaty#2102)

* 0.51.6

* 0.51.7

* remove padplus from smoke testing (wechaty#2087)

* 0.51.8

* add url link unit test

* 0.51.9

* add strict check

* clean

* 0.51.10

* Update room-invitation.ts (wechaty#2104)

topic() returns a Promise<string> instead of Promise<Contact>. The document is incorrect.

* add puppet event to emitter typing

* 0.51.11

* add puppet to wechaty event names

* Working on RxJS related deps

* 0.53.1

* Rename NODE_AUTH_TOKEN -> NPM_TOKEN

* Use Debian instead of Ubuntu for our Docker (wechaty#2114)

* 0.53.2

* Update Node.js v12 -> v14 (wechaty#2115)

* 0.53.3

* RPA SDK

* RPA SDK

* use cache to speed up github action

* use cache for node & npm

* 0.53.4

* node v15 not support grpc yet

* 0.53.5

* Update package.json

* Upgrade pkg-jq

* use better cache for gh actions

* 0.53.6

* 0.53.7

* Update README.md (wechaty#2118)

change puppet service provider link

* use naive hashFile

* 0.53.8

* fix typo

* 0.53.9

* rename wechaty-puppet-hostie -> wechaty-puppet-service (wechaty#2124)

* add deprecate warning message for WECHATY_HOSTIE_PORT (wechaty#2122)

* 0.55.1

* 0.56.0

* 0.56.1

* Changelog for v0.56

* compatible with wechaty-puppet-hostie module name (wechaty/puppet-service#118)

* 0.56.2

* use node v12 instead of v14 in docker image for maximum compatibility. (e.g. huggingface/tokenizers#603)

* 0.56.3

* 0.57.0

* default puppet: service (wechaty#2127)

* 0.57.1

* upgrade wechaty-puppet to v0.34

* 0.57.2

* change default puppet to puppet-service

* 0.57.3

* upgrade deps

* 0.57.4

* fix docker deploy for branches

* 0.57.5

* pass custom server host to io server (wechaty#2138)

* pass custom server host to io server

* fix test

* modify code according to comments

* 0.57.6

* support puppet lark (wechaty/puppet-lark#4)

* 0.57.7

* clean

* 0.57.8

* use npm-run-all

* 0.57.9

* specific puppet versions

* 0.57.10

* upgrade upppeteer version

* 0.57.11

Co-authored-by: Huan LI (李卓桓) <[email protected]>
Co-authored-by: Yuan Gao <[email protected]>
Co-authored-by: 陶鑫 <[email protected]>
Co-authored-by: lijiarui <[email protected]>
Co-authored-by: profthecopyright <54515051 [email protected]>
huan added a commit to wechaty/wechaty that referenced this issue Mar 19, 2021
* 0.29.3

* Merge master (#18)

* update puppeteer puppet

* 0.31.18

* upgrade to [email protected]

* 0.31.19

* upgrade puppet configs

* 0.31.20

* dep upgrade & clean (#1917)

* 0.31.21

* upgrade eslint-config (#1917)

* 0.31.22

* use green version of powered by wechaty badge

* 0.31.23

* use NODE_AUTH_TOKEN instead of NPM_TOKEN

* 0.31.24

* use bright green for badge

* 0.31.25

* restore pkg-jq

* 0.31.26

* Upgrade docker base image & node.js (#1920)

* 0.32.1

* fix scan status for padplus (wechaty/wechaty-puppet-padplus#161)

* 0.32.2

Co-authored-by: Huan (李卓桓) <[email protected]>

* merge master (#20)

* 0.45.3

* 0.45.4

* upgrade puppet to use async-map-like memory-card

* upgrade puppet

* 0.45.5

* build onbuild docker image

* 0.45.6

* test for onbuild home dir

* 0.45.7

* deploy wechaty/onbuld

* fix test for both wechaty & /bot

* 0.45.8

* publish to wechaty/wechatyh

* 0.45.9

* build with onbuld

* 0.45.10

* rename zixia/wechaty -> wechaty/wechaty

* 0.45.11

* fix typo

* 0.45.12

* fix onbuild npm run

* 0.45.13

* update official example

* Update README.md

* fix asscessory tests, and protect user class constructor from public to private

* Increase MaxListener for Wechaty

* 0.45.14

* add plugin uninstaller logic

* 0.45.15

* fix race condition for plugin uninstallation

* 0.45.16

* template clean

* 0.45.17

* upgrade puppet

* 0.46.0

* 0.46.1

* add new puppet for official account

* 0.46.2

* Wechaty is a Conversational SDK for Chatbot Makers

* fix bio

* 0.46.3

* clean log message

* 0.46.4

* upgrade hostie

* 0.45.6

* 0.46.5

* 0.47.0

* 0.47.1

* support onbuild:version

* 0.47.2

* use artifact image name

* 0.47.3

* clean version & tag

* 0.47.4

* 0.47.5

* fix hostie start bug

* 0.47.6

* clean

* 0.46.5

* 0.47.7

* add svg logos

* use wechaty.js.org host

* 0.47.7

* 0.47.8

* update

* 0.47.9

* use docker for changelog

* 0.47.10

* update changelog

* 0.47.11

* use wechaty.js.org/qrcode/ to replace wechaty.github.io/qrcode/

* 0.47.12

* Update README.md

* feat: add scoped wxwork puppet into puppet config (#2043)

* add scoped wxwork puppet into puppet config

* skip install scoped puppet

* 0.47.13

* add phone method in contact class (#2039)

* add phone method in contact class

* 0.47.13

* 0.47.14

* update wechaty-puppet version

* add jsdoc for contact.phone

* use puppet.dirtyPayload (wechaty/puppet-service#43)

* 0.47.15

* fix dirty exception

* 0.47.16

* TODO: implement the dirty logic (wechaty/puppet-service#43)

* 0.47.17

* TODO: implement the dirty logic (wechaty/puppet-service#43)

* 0.47.18

* implement the dirty logic (wechaty/puppet-service#43)

* 0.47.19

* clean

* 0.47.20

* remove deprecated methods (#2049)

* 0.47.21

* Upgrade to TypeScript 4.0!

* 0.47.22

* feat: add more methods into contact class (#2048)

* add more methods into contact class

* fix code with new wechaty-puppet

* 0.47.21

* 0.47.23

* throw a nice error message when we call user module before start wechaty

* 0.47.24

* 0.48.0 (#2050)

* bump hostie version to be the stable one (#2051)

* bump hostie version to be the stable one

* 0.48.1

* link images to wechaty.js.org

* update links

* 0.48.2

* update jsdocs

* 0.48.3

* add gitter puppet

* 0.48.4

* fix typo

* 0.48.5

* add location user module

* 0.47.25

* 0.48.6

* clean

* 0.48.7

* add telegram channel for wechaty

* 0.48.8

* add bibtex cite code

* 0.48.9

* add star history badge

* 0.48.10

* Split to trunks when making requests of room.findAll() and room.ready() (#2067)

* add pagination on room.findAll() and room.ready()

* 0.48.11

* fix #2073 (#2074)

* fix #2073

* 0.48.12

* 0.48.13

* Bump minor 49 (#2078)

* 0.49.0

* update hostie version to take advantage of the new stream grpc methods

* fix io client qrcode by encodeURIComponent

* 0.48.11

* upgrade deps

* 0.49.1

* upgrade puppet to v0.33

* 0.49.2

* 0.49.3

* 0.49.4

* fix typos

* 0.49.5

* clean

* Update README.md

* add credit link

* fix typo

* upgrade json-rpc-peer to v0.17

* 0.49.7

* 0.49.8

* Update Dockerfile (#2079)

按照 #1986 的方法用docker创建Hostie Token时,docker端报错。加入libxtst6库后可以完美运行。

* 0.50.0

* 0.50.1

* clean scan payload after login

* 0.50.2

* enable io sync message botie support

* 0.50.3

* use source for botie payload

* 0.50.4

* add whatsapp to official puppet names (wechaty/puppet-whatsapp#1)

* 0.50.5

* use a helper function for better FileBox instance check (wechaty/puppet-service#99)

* 0.50.6

* loost Puppet instance type checking (#2024)

* 0.50.7

* create looseInstanceOfClass (#2090) (#2091)

* create looseInstanceOfClass (#2090)

* 0.50.8

* 0.51.0

* 0.51.1

* fix file-box

* fix file-box

* 0.51.2

* rename from -> talker (#2094)

* 0.51.3

* add gitter & deprecate padplus

* strict typing check for typescript v4

* 0.51.4

* Update contact.ts (#2095)

fix: return payload friend

* rename from() to talker() from message

* 0.51.5

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* add wechaty-puppet-padlocal to the puppet config (#2102)

* 0.51.6

* 0.51.7

* remove padplus from smoke testing (#2087)

* 0.51.8

* add url link unit test

* 0.51.9

* add strict check

* clean

* 0.51.10

* Update room-invitation.ts (#2104)

topic() returns a Promise<string> instead of Promise<Contact>. The document is incorrect.

* add puppet event to emitter typing

* 0.51.11

* add puppet to wechaty event names

* Working on RxJS related deps

* 0.53.1

* Rename NODE_AUTH_TOKEN -> NPM_TOKEN

* Use Debian instead of Ubuntu for our Docker (#2114)

* 0.53.2

* Update Node.js v12 -> v14 (#2115)

* 0.53.3

* RPA SDK

* RPA SDK

* use cache to speed up github action

* use cache for node & npm

* 0.53.4

* node v15 not support grpc yet

* 0.53.5

* Update package.json

* Upgrade pkg-jq

* use better cache for gh actions

* 0.53.6

* 0.53.7

* Update README.md (#2118)

change puppet service provider link

* use naive hashFile

* 0.53.8

* fix typo

* 0.53.9

* rename wechaty-puppet-hostie -> wechaty-puppet-service (#2124)

* add deprecate warning message for WECHATY_HOSTIE_PORT (#2122)

* 0.55.1

* 0.56.0

* 0.56.1

* Changelog for v0.56

* compatible with wechaty-puppet-hostie module name (wechaty/puppet-service#118)

* 0.56.2

* use node v12 instead of v14 in docker image for maximum compatibility. (e.g. huggingface/tokenizers#603)

* 0.56.3

* 0.57.0

* default puppet: service (#2127)

* 0.57.1

* upgrade wechaty-puppet to v0.34

* 0.57.2

* change default puppet to puppet-service

* 0.57.3

* upgrade deps

* 0.57.4

* fix docker deploy for branches

* 0.57.5

* pass custom server host to io server (#2138)

* pass custom server host to io server

* fix test

* modify code according to comments

* 0.57.6

* support puppet lark (wechaty/puppet-lark#4)

* 0.57.7

* clean

* 0.57.8

* use npm-run-all

* 0.57.9

* specific puppet versions

* 0.57.10

* upgrade upppeteer version

* 0.57.11

Co-authored-by: Huan LI (李卓桓) <[email protected]>
Co-authored-by: Yuan Gao <[email protected]>
Co-authored-by: 陶鑫 <[email protected]>
Co-authored-by: lijiarui <[email protected]>
Co-authored-by: profthecopyright <54515051 [email protected]>

* feat: modify friendshipAdd for support add room member be friends

* 0.57.14

* refactor

* fix: bump wechaty-puppet version

* fix: add warn message for using hello params in Friendship.add()

* 0.57.18

* fix: bump [email protected]

Co-authored-by: Huan (李卓桓) <[email protected]>
Co-authored-by: Yuan Gao <[email protected]>
Co-authored-by: 陶鑫 <[email protected]>
Co-authored-by: lijiarui <[email protected]>
Co-authored-by: profthecopyright <54515051 [email protected]>
huan added a commit to wechaty/wechaty that referenced this issue Mar 19, 2021
* 0.29.3

* Merge master (#18)

* update puppeteer puppet

* 0.31.18

* upgrade to [email protected]

* 0.31.19

* upgrade puppet configs

* 0.31.20

* dep upgrade & clean (#1917)

* 0.31.21

* upgrade eslint-config (#1917)

* 0.31.22

* use green version of powered by wechaty badge

* 0.31.23

* use NODE_AUTH_TOKEN instead of NPM_TOKEN

* 0.31.24

* use bright green for badge

* 0.31.25

* restore pkg-jq

* 0.31.26

* Upgrade docker base image & node.js (#1920)

* 0.32.1

* fix scan status for padplus (wechaty/wechaty-puppet-padplus#161)

* 0.32.2

Co-authored-by: Huan (李卓桓) <[email protected]>

* merge master (#20)

* 0.45.3

* 0.45.4

* upgrade puppet to use async-map-like memory-card

* upgrade puppet

* 0.45.5

* build onbuild docker image

* 0.45.6

* test for onbuild home dir

* 0.45.7

* deploy wechaty/onbuld

* fix test for both wechaty & /bot

* 0.45.8

* publish to wechaty/wechatyh

* 0.45.9

* build with onbuld

* 0.45.10

* rename zixia/wechaty -> wechaty/wechaty

* 0.45.11

* fix typo

* 0.45.12

* fix onbuild npm run

* 0.45.13

* update official example

* Update README.md

* fix asscessory tests, and protect user class constructor from public to private

* Increase MaxListener for Wechaty

* 0.45.14

* add plugin uninstaller logic

* 0.45.15

* fix race condition for plugin uninstallation

* 0.45.16

* template clean

* 0.45.17

* upgrade puppet

* 0.46.0

* 0.46.1

* add new puppet for official account

* 0.46.2

* Wechaty is a Conversational SDK for Chatbot Makers

* fix bio

* 0.46.3

* clean log message

* 0.46.4

* upgrade hostie

* 0.45.6

* 0.46.5

* 0.47.0

* 0.47.1

* support onbuild:version

* 0.47.2

* use artifact image name

* 0.47.3

* clean version & tag

* 0.47.4

* 0.47.5

* fix hostie start bug

* 0.47.6

* clean

* 0.46.5

* 0.47.7

* add svg logos

* use wechaty.js.org host

* 0.47.7

* 0.47.8

* update

* 0.47.9

* use docker for changelog

* 0.47.10

* update changelog

* 0.47.11

* use wechaty.js.org/qrcode/ to replace wechaty.github.io/qrcode/

* 0.47.12

* Update README.md

* feat: add scoped wxwork puppet into puppet config (#2043)

* add scoped wxwork puppet into puppet config

* skip install scoped puppet

* 0.47.13

* add phone method in contact class (#2039)

* add phone method in contact class

* 0.47.13

* 0.47.14

* update wechaty-puppet version

* add jsdoc for contact.phone

* use puppet.dirtyPayload (wechaty/puppet-service#43)

* 0.47.15

* fix dirty exception

* 0.47.16

* TODO: implement the dirty logic (wechaty/puppet-service#43)

* 0.47.17

* TODO: implement the dirty logic (wechaty/puppet-service#43)

* 0.47.18

* implement the dirty logic (wechaty/puppet-service#43)

* 0.47.19

* clean

* 0.47.20

* remove deprecated methods (#2049)

* 0.47.21

* Upgrade to TypeScript 4.0!

* 0.47.22

* feat: add more methods into contact class (#2048)

* add more methods into contact class

* fix code with new wechaty-puppet

* 0.47.21

* 0.47.23

* throw a nice error message when we call user module before start wechaty

* 0.47.24

* 0.48.0 (#2050)

* bump hostie version to be the stable one (#2051)

* bump hostie version to be the stable one

* 0.48.1

* link images to wechaty.js.org

* update links

* 0.48.2

* update jsdocs

* 0.48.3

* add gitter puppet

* 0.48.4

* fix typo

* 0.48.5

* add location user module

* 0.47.25

* 0.48.6

* clean

* 0.48.7

* add telegram channel for wechaty

* 0.48.8

* add bibtex cite code

* 0.48.9

* add star history badge

* 0.48.10

* Split to trunks when making requests of room.findAll() and room.ready() (#2067)

* add pagination on room.findAll() and room.ready()

* 0.48.11

* fix #2073 (#2074)

* fix #2073

* 0.48.12

* 0.48.13

* Bump minor 49 (#2078)

* 0.49.0

* update hostie version to take advantage of the new stream grpc methods

* fix io client qrcode by encodeURIComponent

* 0.48.11

* upgrade deps

* 0.49.1

* upgrade puppet to v0.33

* 0.49.2

* 0.49.3

* 0.49.4

* fix typos

* 0.49.5

* clean

* Update README.md

* add credit link

* fix typo

* upgrade json-rpc-peer to v0.17

* 0.49.7

* 0.49.8

* Update Dockerfile (#2079)

按照 #1986 的方法用docker创建Hostie Token时,docker端报错。加入libxtst6库后可以完美运行。

* 0.50.0

* 0.50.1

* clean scan payload after login

* 0.50.2

* enable io sync message botie support

* 0.50.3

* use source for botie payload

* 0.50.4

* add whatsapp to official puppet names (wechaty/puppet-whatsapp#1)

* 0.50.5

* use a helper function for better FileBox instance check (wechaty/puppet-service#99)

* 0.50.6

* loost Puppet instance type checking (#2024)

* 0.50.7

* create looseInstanceOfClass (#2090) (#2091)

* create looseInstanceOfClass (#2090)

* 0.50.8

* 0.51.0

* 0.51.1

* fix file-box

* fix file-box

* 0.51.2

* rename from -> talker (#2094)

* 0.51.3

* add gitter & deprecate padplus

* strict typing check for typescript v4

* 0.51.4

* Update contact.ts (#2095)

fix: return payload friend

* rename from() to talker() from message

* 0.51.5

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* add wechaty-puppet-padlocal to the puppet config (#2102)

* 0.51.6

* 0.51.7

* remove padplus from smoke testing (#2087)

* 0.51.8

* add url link unit test

* 0.51.9

* add strict check

* clean

* 0.51.10

* Update room-invitation.ts (#2104)

topic() returns a Promise<string> instead of Promise<Contact>. The document is incorrect.

* add puppet event to emitter typing

* 0.51.11

* add puppet to wechaty event names

* Working on RxJS related deps

* 0.53.1

* Rename NODE_AUTH_TOKEN -> NPM_TOKEN

* Use Debian instead of Ubuntu for our Docker (#2114)

* 0.53.2

* Update Node.js v12 -> v14 (#2115)

* 0.53.3

* RPA SDK

* RPA SDK

* use cache to speed up github action

* use cache for node & npm

* 0.53.4

* node v15 not support grpc yet

* 0.53.5

* Update package.json

* Upgrade pkg-jq

* use better cache for gh actions

* 0.53.6

* 0.53.7

* Update README.md (#2118)

change puppet service provider link

* use naive hashFile

* 0.53.8

* fix typo

* 0.53.9

* rename wechaty-puppet-hostie -> wechaty-puppet-service (#2124)

* add deprecate warning message for WECHATY_HOSTIE_PORT (#2122)

* 0.55.1

* 0.56.0

* 0.56.1

* Changelog for v0.56

* compatible with wechaty-puppet-hostie module name (wechaty/puppet-service#118)

* 0.56.2

* use node v12 instead of v14 in docker image for maximum compatibility. (e.g. huggingface/tokenizers#603)

* 0.56.3

* 0.57.0

* default puppet: service (#2127)

* 0.57.1

* upgrade wechaty-puppet to v0.34

* 0.57.2

* change default puppet to puppet-service

* 0.57.3

* upgrade deps

* 0.57.4

* fix docker deploy for branches

* 0.57.5

* pass custom server host to io server (#2138)

* pass custom server host to io server

* fix test

* modify code according to comments

* 0.57.6

* support puppet lark (wechaty/puppet-lark#4)

* 0.57.7

* clean

* 0.57.8

* use npm-run-all

* 0.57.9

* specific puppet versions

* 0.57.10

* upgrade upppeteer version

* 0.57.11

Co-authored-by: Huan LI (李卓桓) <[email protected]>
Co-authored-by: Yuan Gao <[email protected]>
Co-authored-by: 陶鑫 <[email protected]>
Co-authored-by: lijiarui <[email protected]>
Co-authored-by: profthecopyright <54515051 [email protected]>

* feat: modify friendshipAdd for support add room member be friends

* 0.57.14

* refactor

* fix: bump wechaty-puppet version

* fix: add warn message for using hello params in Friendship.add()

* 0.57.18

* fix: bump [email protected]

Co-authored-by: Huan (李卓桓) <[email protected]>
Co-authored-by: Yuan Gao <[email protected]>
Co-authored-by: 陶鑫 <[email protected]>
Co-authored-by: lijiarui <[email protected]>
Co-authored-by: profthecopyright <54515051 [email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants