Vladimir Safonkin
348e008008
Fix node version file parsing ( #553 )
...
* Fix node version file parsing
* Build index.js
* Non-json file error handling
* Format code
* Add package.json to e2e tests
* Minor fix
2022-08-04 09:57:19 +02:00
mannie.exe
2a814b57e1
Respect package.json
's engines.node
field when used as a node-version-file
( #485 )
...
* Allow reading 'package.json' as node-version-file
* Run 'npm run build'
* Read package.json contents directly during tests
- this eliminates OS-specific line-ending issues
* Run project Prettier 💅
2022-07-21 13:17:21 -04:00
Marko Zivic
5b949b50c3
Merge pull request #373 from ganta/add-support-for-asdf-format-as-node-version-file
...
Add support for asdf format as Node.js version file
2022-07-11 13:48:55 +02:00
Jack Bates
eeb10cff27
Support lts/-n aliases ( #481 )
2022-06-02 12:30:33 +02:00
Hideki Igarashi
dbb64ac1d1
Add support for asdf format as Node.js version file
2022-05-30 20:13:04 +09:00
panticmilos
b14573ddb9
remove installer import
2022-05-23 12:53:31 +02:00
panticmilos
7569de03e7
rename dist manifest to node versions
2022-05-20 16:32:52 +02:00
panticmilos
b20a2561b9
get manifest once
2022-05-20 13:45:28 +02:00
panticmilos
141334fcd1
remove unnecessary dist call
2022-05-19 18:21:03 +02:00
panticmilos
fd1b409bc3
unit tests
2022-05-19 17:33:13 +02:00
panticmilos
45e544a71a
fix versionSpec required error
2022-05-19 17:02:08 +02:00
panticmilos
8c66f89aef
improve latest version syntax
2022-05-19 16:48:16 +02:00
Milos Pantic
17f8bd9264
Expand current syntax to support aliases for latest version (current/latest/node) ( #483 )
2022-05-12 17:26:02 +02:00
Hargun Kaur
d08cf22211
Adding Node.js version file support ( #338 )
2021-11-29 12:18:31 +03:00
Alena Sviridenko
d21ecc7c5b
Revert "Temporarily disabled cache usage for v2"
2021-08-04 17:00:35 +03:00
AlyonaSviridenko
004fb83876
Temporarily disabled cache usage
2021-08-03 18:33:25 +03:00
Dmitry Shibanov
55e10498cf
Merge branch 'main' into add-caching-for-node-dependencies
2021-06-30 11:39:23 +03:00
Gordey Doronin
48042628a6
Stricter check and cleaner messaging
2021-06-30 09:34:42 +02:00
Gordey Doronin
c2dfe2df98
Reuse manifest code
2021-06-22 17:52:06 +02:00
Gordey Doronin
d9ce83b637
Formatter
2021-06-22 16:11:44 +02:00
Gordey Doronin
92722aec8c
Logic remastered to not force check-latest
2021-06-22 15:45:25 +02:00
Gordey Doronin
c62861c1e7
Rename
2021-06-22 13:10:16 +02:00
Gordey Doronin
36d2ce149e
Switch warning to info logging
2021-06-21 14:33:27 +02:00
Gordey Doronin
0ec4841e4b
Function renaming
2021-06-21 11:39:00 +02:00
Gordey Doronin
e761a7024e
Interface extraction
2021-06-21 11:37:50 +02:00
Gordey Doronin
c8c6442c74
Add brief comment about supported formats
2021-06-21 11:37:06 +02:00
Gordey Doronin
c8889b24a3
Support lts/* alias
2021-06-17 18:34:09 +02:00
Gordey Doronin
88d5bfde31
Support LTS aliases
2021-06-17 17:51:02 +02:00
Dmitry Shibanov
3d0d4edb10
Add node's caching implementation ( #2 )
...
* first iteration for implementation of caching
* add logs
* add debug line
* fix build command
* fix path
* add possible post-if
* remove braces
* test new action post-if variant
* work on built-in caching
* remove post-if
* pass version
* work on yarn support
* fix return value
* change names and remove logs
* worked on resolving comments
* check post-if for null
* add success() condition
* remove primary key field
* work on resolving comments
* remove logs
* resolving comments
* resolving comments
* resolving comments
* resolving comments
* fix getpackageManagerVersion
* run clean for unstaged changes
* fix falling version tests
* work on resolving comments
* resolving comments
* fix comment
* resolve comments
* Add tests to cover node's caching (#3 )
* add tests to cover node's caching
* work on fixing tests
* fix e2e tests
* rebuild and fix test
* fixing tests
* change name of describes, it and fix test
* add names for jobs
* fix issue
2021-06-16 09:52:44 +03:00
Amin Yahyaabadi
0a161fe2f9
fix: use arch instead of osArch in INodeVersionInfo
2020-09-05 06:58:15 -05:00
Amin Yahyaabadi
66f3e9f7ce
feat: add arch to queryDistForMatch
2020-09-03 12:22:16 -05:00
Amin Yahyaabadi
82271389a6
feat: add arch to cacheDir
2020-09-03 12:22:16 -05:00
Amin Yahyaabadi
2e40994c28
feat: add arch to getInfoFromDist
2020-09-03 12:22:16 -05:00
Amin Yahyaabadi
c7e4d38541
feat: add arch to downloading message
2020-09-03 12:18:12 -05:00
Amin Yahyaabadi
3eb4bc9d68
feat: add arch to acquireNodeFromFallbackLocation
2020-09-03 09:03:26 -05:00
Amin Yahyaabadi
bf47decdc2
feat: add arch to tc.find
...
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
2020-09-03 09:03:26 -05:00
Amin Yahyaabadi
6afbfca452
feat: add arch to getInfoFromManifest
2020-09-03 09:03:26 -05:00
Amin Yahyaabadi
3e84c3523b
feat: add arch to INodeVersionInfo
2020-09-03 07:52:40 -05:00
Amin Yahyaabadi
6668516d2a
feat: add arch to resolveVersionFromManifest
2020-09-03 07:52:39 -05:00
Amin Yahyaabadi
f27ebaf08b
feat: add arch to getNode
...
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
2020-09-03 07:52:39 -05:00
Maxim Lobanov
321b6ccb03
Switch from "master" to "main" branch ( #171 )
...
* Switch from "master" to "main" branch
* Update README.md
2020-07-20 12:50:59 -04:00
Maxim Lobanov
1ae8f4b1fd
Implement "check-latest" flag to check if pre-cached version is latest one ( #165 )
2020-06-29 14:56:37 -04:00
Bryan MacFarlane
e434342e4e
download from node-versions and fallback to node dist ( #147 )
...
* download LTS versions from releases
* support upcoiming ghes
Co-authored-by: eric sciple <ericsciple@users.noreply.github.com>
2020-05-19 09:25:54 -04:00
eric sciple
83c9f7a7df
Update tool-cache for download retries ( #120 )
2020-03-10 11:51:57 -04:00
eric sciple
1c5c1375b3
consume getJson function for better error messages ( #110 )
2020-02-05 11:20:33 -05:00
eric sciple
d123f10543
follow proxy settings ( #105 )
2020-01-27 10:37:12 -05:00
David Kale
93313caf82
Add extra info
2019-11-20 15:30:44 -05:00
David Kale
43d44139c7
Get correct url for arm dist
2019-11-20 12:21:56 -05:00
damccorm
1c24df3126
User agent
2019-08-16 14:05:26 -04:00
Danny McCormick
0675b87d74
Update installer.js ( #24 )
...
* Update installer.js
* Update installer.ts
* Update installer.js
2019-08-05 22:23:46 -04:00