Commit Graph

94 Commits

Author SHA1 Message Date
Ilya Goncharov 2932f49f65 [JS] Use npx instead of yarn in kotlin-test-js-runner 2023-12-12 12:01:04 +00:00
Alexander.Likhachev eab2c6b9b9 [Build] Bump gradle-node-plugin version to 7.0.1
This change is required to fix a configuration cache problem revealed after migration to Gradle 8.4
^KTI-1473 In Progress
2023-12-07 18:31:06 +00:00
Ilya Goncharov 8dbeb721a2 [JS] Use only rollup action, copy and delete through Gradle task 2023-12-05 18:00:27 +00:00
Ilya Goncharov 4e37ac6ed8 [JS] Silent rollup build
^KT-53077 fixed
2023-10-16 21:20:49 +00:00
Bogdan Mukvich 4ded83d266 Add SBOM publishing for kotlin-test-js-runner
^KTI-1273
2023-06-27 09:02:18 +00:00
Alexander.Likhachev cb087b7def [Build] Bump gradle-node-plugin version to 5.0.0
This change is required to fix a configuration cache problem revealed after migration to Gradle 8.1
2023-06-26 10:36:25 +00:00
Vyacheslav Gerasimov 80758b36e3 Build: Add NodeJs to implicitDependencies
#KTI-72
2023-06-16 12:19:01 +00:00
Bogdan Mukvich 303b01b89b Add SBOM configuration for all published artifacts by default 2023-06-06 13:27:26 +00:00
Ilya Goncharov 2de4f471e9 [Gradle, JS] Use default browsers for wasm
^KT-56585 fixed
2023-03-14 17:06:35 +00:00
Ilya Goncharov 40d75d531b [Gradle, JS] Wasm Karma support
^KT-56159 fixed
2023-02-09 09:47:05 +00:00
Ilya Goncharov bea80f8b54 [Gradle, JS] Add debugger.js with debugger statement to stop on the first line in a browser
^KT-56488 fixed
2023-02-08 12:50:29 +00:00
Ilya Goncharov 42ded7be09 [Gradle, JS] Disable optimization in webpack for karma tests
^KT-56192 fixed
2023-01-25 16:06:29 +00:00
Ilya Goncharov e93fa380e2 [Gradle, Wasm] Detect correct browser executable depends on OS 2023-01-17 22:01:33 +00:00
dependabot[bot] 1371216207 Bump decode-uri-component in /libraries/tools/kotlin-test-js-runner
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 16:27:53 +01:00
Ilya Goncharov b01411544a [Gradle, JS] Improvements of kotlin test adapters
- divide adapter.js into different files, which frameworks could load separately
- possibility to inject something to kotlin-test adapter by user

^KT-54418 fixed
2022-10-12 14:14:50 +00:00
Ilya Goncharov 3a39a0d468 [Gradle, JS] Karma kotlin reporter initialize browser if it was not initialized
^KT-54132
2022-09-21 13:15:27 +00:00
dependabot[bot] 494962bf95 Bump terser in /libraries/tools/kotlin-test-js-runner
Bumps [terser](https://github.com/terser/terser) from 5.11.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 19:15:14 +03:00
Zalim Bashorov 90c867ae1d [JS] Define Node.js version in one place and use a single version everywhere
Consequently, it fixes the inability to run some JS related tests on Apple devices with ARM.
2022-04-23 17:58:42 +02:00
Alexander Likhachev 899964ba30 [Build] Update gradle-node-plugin to 3.2.1
#KT-44611 In Progress
2022-04-19 00:39:21 +03:00
Ilya Goncharov c8237cb5e2 rra/ilgonmic/mocha-fail
[Gradle, JS] Use empty adapter to just dry run

[Gradle, JS] Not dry run, but full run

[Gradle, JS] Fix test to be failed without dry run

[Gradle, JS] Not use client twice

[Gradle, JS] Add test on mocha failing

[Gradle, JS] Fail mocha in case of infrastructure problems

Merge-request: KT-MR-5802
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com>

^KT-51623 fixed
2022-03-15 11:18:35 +00:00
Ilya Goncharov 8b34be9490 rra/ilgonmic/update-lock-files
[Gradle, JS] Update npm versions

[JS] Update package.json's and lock files

Merge-request: KT-MR-5852
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com>

^KT-51503 fixed
2022-03-01 10:24:56 +00:00
Ilya Goncharov 7aef45d5cf [JS] Implement strategy with adapterTransformer on global object to mutate adapter of kotlin-test 2021-11-19 21:39:23 +00:00
Ilya Goncharov 4cca78f8d8 [Gradle, JS] Igore if kotlin_test not found 2021-10-15 11:37:42 +03:00
Svyatoslav Kuzmich 841f5a583e [Wasm] Support wasm target in multiplatform plugin 2021-09-28 18:26:07 +03:00
sebastian.sellmair fefc6f9b53 [Gradle] :kotlin-test-js-runner: Update nodejs to 16.2.0
^KT-45302
2021-05-28 14:27:36 +00:00
Ilya Goncharov 4107378d2c [Gradle, JS] Add workaround for debugging with webpack 5
^KT-45621 fixed
2021-03-24 15:17:11 +03:00
Ilya Goncharov fef1892219 [Gradle, JS] Changed API for warnings filter in Webpack 5
^KT-45621 fixed
2021-03-24 15:17:10 +03:00
Ilya Goncharov a113df8c43 [Gradle, JS] Use karma 6.0 API to set ping timeout
^KT-45621 fixed
2021-03-24 15:17:09 +03:00
Ilya Goncharov b2a2616c10 [Gradle, JS] Fix of using format-util
^KT-42921 fixed
2021-03-18 21:32:11 +03:00
Ilya Goncharov 1b8c74337e [Gradle, JS] Adopt Gradle plugin to webpack 5
^KT-42921 fixed
2021-03-18 21:32:07 +03:00
Alexander Likhachev 0e4e90dc13 [Build] Bump gradle-node-plugin version to 3.0.1 to support conf cache
:kotlin-test:kotlin-test-js:kotlin-test-js-it will still have old version as integration test run logic cannot be fully refactored to the new version (approximately till 3.1)
Relates to #KT-44611
2021-03-11 14:12:34 +03:00
Ilya Goncharov b9bc11d5e0 [Gradle, JS] Consider custom launcher's base
^KT-41475 fixed
2020-09-01 17:47:25 +03:00
Vyacheslav Gerasimov da6c2ddb2f Build: Migrate stdlib & kotlin-test to maven-publish publication 2020-06-14 20:31:27 +03:00
Vyacheslav Gerasimov 4aa3040550 Build: Use runtimeOnly instead of deprecated runtime
maven-publish plugin uses `runtimeOnly` for runtime scope instead of
`runtime`
2020-06-14 20:31:26 +03:00
Ilya Goncharov 97e4d23d75 [Gradle, JS] Filter warning with source maps
#KT-39377 fixed
2020-06-04 15:02:54 +03:00
Ilya Goncharov ee218e9855 [Gradle, JS] Less verbosity for karma parsing
#KT-38109 fixed
2020-04-16 13:47:26 +03:00
Ilya Goncharov df41397a32 [Gradle, JS] Add cohesion for console method and message type
#KT-38286 fixed
2020-04-16 13:47:13 +03:00
Ilya Goncharov db41c65240 [Gradle, JS] Typed message for log type
#KT-38109 fixed
#KT-38286 fixed
2020-04-16 13:46:46 +03:00
Ilya Goncharov dccf670849 [Gradle, JS] Simple message to message
#KT-38109 fixed
2020-04-16 13:46:18 +03:00
Ilya Goncharov 7347c44cb1 [Gradle, JS] Divide tc message type on stdout and stderr
#KT-38109 fixed
2020-04-16 13:45:43 +03:00
Ilya Goncharov 005ecc5f29 [Gradle, JS] Add TeamCity simple message log4js appender
#KT-38109 fixed
2020-04-16 13:39:19 +03:00
Ilya Goncharov 91a25417f5 [Gradle, JS] Add custom log4js appender for karma
#KT-38109 fixed
2020-04-16 13:38:56 +03:00
Ilya Goncharov dc2dd2e3e3 [Gradle, JS] Remove idle test runner
#KT-37037 fixed
2020-03-12 13:23:45 +03:00
Vyacheslav Gerasimov b2039a9a13 Build: Specify version explicitly for com.github.node-gradle.node 2020-01-13 18:17:43 +03:00
Ilya Goncharov f8b1e95830 [Gradle, JS] Inline single used method for prefix matching 2019-12-10 11:41:03 +03:00
Ilya Goncharov 8c6941dc5b [Gradle, JS] Java and JS difference in fqn should affect exclude patterns too 2019-12-10 11:37:13 +03:00
Ilya Goncharov 770e5147d0 [Gradle, JS] Java and JS difference in fqn should affect exclude patterns too 2019-12-10 11:37:13 +03:00
Ilya Goncharov da16d48068 [Gradle, JS] Remove debug console 2019-12-10 11:26:48 +03:00
Ilya Goncharov 408f958273 [Gradle, JS] Add idle run for debug node tests
Source maps can be loaded by NodeJS
2019-12-02 13:23:03 +03:00
Ilya Goncharov 25dea2ccce [Gradle, JS] Add description of separator of java inner classes 2019-11-29 15:09:36 +03:00