refactor: update documentation about generating JS examples#1348
refactor: update documentation about generating JS examples#1348danielpeintner wants to merge 1 commit intoeclipse-thingweb:masterfrom
Conversation
update the JS output accordingly also
|
Mhh, the failing "coding style check" seems to have something to do with my local setup. See also #1349 |
relu91
left a comment
There was a problem hiding this comment.
I had similar problems in previous PRs, it might be a misalignment with the version of prettier used by CI and the one used by our local stack.
About the PR itself, I found some issues below
| * | ||
| * SPDX-License-Identifier: EPL-2.0 OR W3C-20150513 | ||
| ********************************************************************************/ | ||
| Object.defineProperty(exports, "__esModule", { value: true }); |
There was a problem hiding this comment.
This should not be there (according to the tests that I did in the past), I'll double-check locally to understand why it generates this line now.
| "use strict"; | ||
| /******************************************************************************** | ||
| * Copyright (c) 2022 Contributors to the Eclipse Foundation | ||
| * Copyright (c) 2021 Contributors to the Eclipse Foundation |
There was a problem hiding this comment.
These license changes are ok? should we maybe update the ones coming from TS ? are they good?
There was a problem hiding this comment.
I noticed that also, but I think we should not bother too much. I think updating according to TS files is fine...
What I don't understand is how does the prettier GH action gets the information which prettier options are to be used. Does it just pick up .prettierrc.json from the repository? node-wot/.github/workflows/ci.yaml Lines 102 to 109 in 4d083fc |
|
Based on #1335 (comment) and the change to
I convert this PR to draft given that
|
Update the JS output accordingly also
fixes #1347