Commit Graph

556 Commits

Author SHA1 Message Date
Nikolai Laevskii
fd2f9a08fe Remove hard dependency from installer 2023-09-08 15:21:18 +02:00
Nikolai Laevskii
3edc8ffab8 Update install scripts 2023-09-08 15:08:01 +02:00
dependabot[bot]
4dba25fa31
Bump word-wrap from 1.2.3 to 1.2.4 (#444)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 13:49:28 +02:00
dependabot[bot]
ada8800330
Bump semver from 6.3.0 to 6.3.1 (#443) 2023-07-18 15:41:43 +02:00
Ivan
e1749123a8
Update dependencies (#440)
* chore: update version of the fast-xml-parser

* chore: update tough-cookie and @azure/ms-rest-js

* chore: update license for the @azure/ms-rest-js
2023-07-10 17:20:56 +02:00
Ivan
a6be55a915
Update fast-xml-parser and dotnet installer scripts (#437)
* chore: update fast-xlm-parser and dotnet installer scripts

* chore: update license for the fast-xml-parser
2023-06-23 09:47:16 +02:00
Nikolai Laevskii
9b40770825
Merge pull request #433 from akv-platform/sequential-version-install-fix
Sequential version install fix
2023-06-06 13:43:07 +02:00
Nikolai Laevskii
48277343a5 Reduce number of e2e tests 2023-06-06 13:23:53 +02:00
Nikolai Laevskii
70fa3206c9
Merge pull request #431 from akv-platform/allow-json-comments
Allow json comments
2023-06-06 13:17:59 +02:00
Nikolai Laevskii
7ed547ca75
Merge pull request #432 from akv-platform/refactor-installer
Refactor installer
2023-06-06 13:17:23 +02:00
Nikolai Laevskii
b5ebe9e10a Update license 2023-05-31 12:28:26 +02:00
Nikolai Laevskii
89f1766d87 Add test for global.json with comments 2023-05-31 12:28:10 +02:00
Nikolai Laevskii
d1c99df34e Parse global.json with JSON5 2023-05-31 12:27:52 +02:00
Nikolai Laevskii
faa708d00b Fix e2e tests 2023-05-31 11:21:34 +02:00
Nikolai Laevskii
ea6d1c26e7 Add more comprehensive testing 2023-05-31 11:21:34 +02:00
Nikolai Laevskii
9471c5df0b Update e2e tests 2023-05-31 11:21:34 +02:00
Nikolai Laevskii
6eb2af61b6 Update tests to accomodate for changes 2023-05-31 11:21:34 +02:00
Nikolai Laevskii
8f71719d12 Add dotnet runtime installation before main script run 2023-05-31 11:21:29 +02:00
Nikolai Laevskii
3cdb09485a Build 2023-05-31 11:19:26 +02:00
Nikolai Laevskii
6019612129 Merge remote-tracking branch 'github/main' into refactor-installer 2023-05-31 11:18:52 +02:00
Nikolai Laevskii
addb470701 Make setup script functions synchronous 2023-05-30 13:19:37 +02:00
Nikolai Laevskii
820f30d332 Make assigning of the script path intuitive 2023-05-30 12:54:41 +02:00
Nikolai Laevskii
427804d76a Update tests 2023-05-30 12:45:38 +02:00
Nikolai Laevskii
89b480a0df Call addToPath method on DotnetInstallDir directly 2023-05-30 12:19:28 +02:00
Nikolai Laevskii
defac2491f Rename initialize to setEnvironmentVariable 2023-05-30 12:18:10 +02:00
Nikolai Laevskii
916aec40c9 Rename DotnetInstallDir.path to DotnetInstallDir.dirPath 2023-05-30 12:14:34 +02:00
Nogic
3447fd6a9f
feat: Cache NuGet global-packages folder (#303)
* feat: cache NuGet global-packages folder

* fix: remove unused files

* docs: fix incorrect action

* ci: add e2e test for cache

* docs: accept suggested changes on README

* docs: add simple cache example

* build: change main script path

* fix: change relative path to install scripts

* fix: change relative path to problem matcher

* refactor: accept changes on cache-utils

* fix: revert main script path changes

* test: fix cache-utils unit test

* test: fix cache-utils unit test

* feat: add `cache-dependency-path` variables

* build: change main script dist path

* ci: add `cache-dependency-path` e2e test & missing lock file

* fix: accept change suggestions

* ci: copy NuGet lock file to root

to pass "test-setup-with-cache" e2e test

* docs: change README guide

* fix: apply suggestions from code review

Co-authored-by: Ivan <98037481+IvanZosimov@users.noreply.github.com>

* test: fix some failed unit tests

- fix `restoreCache()` test for 9703c8
- update installer script

* build: rebuild dist

* Update unit-tests
- Additional unit test were added to setup-dotnet.test.ts

* Update unit tests for unix systems

* Format and lint unit tests

* fix: avoid use '/' on `path.join`

* fix: rebuild dist

* fix: apply suggestions from code review

Co-authored-by: Ivan <98037481+IvanZosimov@users.noreply.github.com>

* build: add `DisableImplicitNuGetFallbackFolder` option

also add guide on README

* docs: highlight warnings and notes

* docs: update note about handling NU1403

---------

Co-authored-by: Ivan <98037481+IvanZosimov@users.noreply.github.com>
Co-authored-by: IvanZosimov <ivanzosimov@github.com>
2023-05-29 12:43:18 +02:00
Marko Zivic
916351aac9
Merge pull request #430 from akv-platform/remove-implicit-dependencies
Remove implicit dependencies
2023-05-26 08:30:48 +02:00
Nikolai Laevskii
1ad2e312fa Add missing dependency 2023-05-25 13:40:06 +02:00
Nikolai Laevskii
e3f84b8f7a Install eslint-plugin-node 2023-05-25 13:38:43 +02:00
Nikolai Laevskii
2785e21d5e Update build 2023-05-25 13:27:30 +02:00
Nikolai Laevskii
80a318b8b8 Change PLATFORM to constant instead of function 2023-05-25 13:11:13 +02:00
Nikolai Laevskii
eb0b7f8852 Update build 2023-05-24 17:11:47 +02:00
Nikolai Laevskii
5c7ae4f903 Apply consistent naming 2023-05-24 16:59:05 +02:00
Nikolai Laevskii
b7461a1b69 Remove excessive whitespace 2023-05-24 16:41:16 +02:00
Nikolai Laevskii
cce8e1bad1 Merge branch 'main' into refactor-installer 2023-05-24 16:40:29 +02:00
Nikolai Laevskii
df506c2d9c Refactor convertInstallPathToAbsolute 2023-05-24 15:28:40 +02:00
Nikolai Laevskii
abf9166e44 build: Fix DOTNET_INSTALL_DIR enviornment variable 2023-05-24 15:27:58 +02:00
Nikolai Laevskii
7e164d3c3b Fix DOTNET_INSTALL_DIR enviornment variable 2023-05-24 15:27:12 +02:00
Nikolai Laevskii
3dfe2673eb Format: Refactor installer 2023-05-24 15:22:01 +02:00
github-actions[bot]
ba848a34bb Update configuration files 2023-05-24 09:54:37 +00:00
Marko Zivic
aa983c550d
Merge pull request #428 from akv-platform/add-latest-patch-syntax
Add latest patch syntax
2023-05-24 08:41:30 +02:00
IvanZosimov
b891376106 Merge branch 'main' into add-latest-patch-syntax 2023-05-22 12:29:35 +02:00
IvanZosimov
b05a3f26b3 Fix review points, rebuild solution 2023-05-22 12:27:33 +02:00
Nikolai Laevskii
5fdecd2063
Increase amount of retries for Dotnet installation scripts tests (#427)
* Increase amount of retries for Dotnet installation scripts tests

* Format: Increase amount of retries for Dotnet installation scripts tests
2023-05-19 08:50:54 +02:00
IvanZosimov
38b49fb717 Fix informational and debug messages 2023-05-18 12:39:22 +02:00
IvanZosimov
3cf3e230c1 Fix informational message 2023-05-18 12:01:55 +02:00
IvanZosimov
83a1653fa3 Update regular expresiion for isLatestPatchSyntax() 2023-05-18 11:46:40 +02:00
IvanZosimov
898aa0ce4d Fix typo 2023-05-18 11:16:22 +02:00
IvanZosimov
2f028bc044 update unit and e2e tests 2023-05-18 11:11:51 +02:00