Skip to content

Commit e15861f

Browse files
committed
[docs] Little comment about NPM usage
1 parent 1afe8f1 commit e15861f

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,10 @@
12261226
<!-- https://nodejs.org/en/about/previous-releases#looking-for-latest-release-of-a-version-branch -->
12271227
<version.nodejs>v20.9.0</version.nodejs>
12281228
<version.npm>10.8.1</version.npm>
1229+
<!--
1230+
this is strange, but irrelevant. install-node-and-corepack somehow fails,
1231+
but install-node-and-yarn works with actual package manager defined in package.json
1232+
-->
12291233
<version.yarn>v1.22.22</version.yarn>
12301234

12311235
<!-- Versions of test-related dependencies -->

src/documentation/manual/modules/ROOT/pages/client/javascript.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
[#client-javascript]
1717
== JavaScript Client Library
1818
19+
NOTE: Documentation for the previous version (pre-NPM, not based on TypeScript) of JavaScript library is available here: xref:client/javascript-old.adoc[JavaScript Client Library (before ES modules)].
20+
1921
Notable difference from previous version (pre 2.1.0) are:
2022
2123
* The code is developed now using TypeScript language and processed using https://rollupjs.org/[Rollup JS] into ESM version (`jolokia.mjs` to be used with `import` statement) and UMD version (`jolokia.js` - to be used with browsers when not loading the script as `type="module"`)
@@ -34,7 +36,7 @@ All methods of this library are available via the
3436
`Jolokia` client object, which needs to be
3537
instantiated up-front. In the following example a client object is
3638
created and the used heap memory is requested synchronously via
37-
the simple API. The agent is deployed within the same webarchive
39+
the simple API. The agent is deployed within the same web archive
3840
which also serves this script.
3941
4042
Here's a sample code fragment that uses global `Jolokia` class which is used to create a `jolokia`

0 commit comments

Comments
 (0)