skywalking-client-js
skywalking-client-js copied to clipboard
support to "import ClientMonitor from 'skywalking-client-js'" in "typescript" and "es6"
1.Add index.d.ts to the package.json's files. 2.change the index.d.ts , use any type. 3.change the python file , exclude index.d.ts
Please correct the title of PR to match your code change.
my local "CI" is ok, why that dosen't effective
CI shows,
- This header seems not expected, maybe wrong comment formart for ts file?
- Can't pass compiling in Node 16.x.
I am not a frontend developer, but these should not be an issue.
You could check the CI logs on your own. You need to make sure versions of tools(skywalking-eyes) and npm/nodejs are consistent.
my "node" version is v16.17.0
i use command "npm ci " 、"npm run build --if-present " 、"python3 tools/check-license-header.py ." 。
its ok
You could use your own fork repo, to trigger GitHub action. We can't know your local env.
i fork repo anew , it‘s error when take a command "npm install " . because the webpack version. 12.xx is ok.