Commit Graph

541 Commits

Author SHA1 Message Date
Jesse Chan
b5d926af84 Add a fully static "linuxstatic" variant
Bug: #72
2021-04-15 23:47:45 +08:00
Jesse Chan
21ab8a26c8 build: statically link against libgcc and libstdc++ on Alpine
Bug: vercel/pkg#555
2021-04-15 23:47:45 +08:00
Jesse Chan
07b80947e2 Add workflows for Alpine binaries 2021-04-15 23:47:45 +08:00
Jesse Chan
ae15753d5f Dockerfile.linux: properly install "python3" 2021-04-15 22:17:14 +08:00
Jesse Chan
e9c2efaf7a CI: don't fetch, build only 2021-04-15 22:17:13 +08:00
Jesse Chan
e59b746f26 build: fix improper use of ".concat" 2021-04-13 10:45:03 +08:00
Jesse Chan
748f67a0fe build: workaround win-arm64 cross compilation issue with small-icu 2021-04-11 23:59:25 +08:00
Jesse Chan
97c892758f build: defaults to small ICU
Bug: #164
2021-04-11 23:59:25 +08:00
Lee Robinson
db09e58f4a 3.0.1 2021-04-09 07:58:30 -05:00
Jesse Chan
62f2b20a3d
Include TypeScript types in package (#161) 2021-04-08 11:22:58 -05:00
Jesse Chan
8c6b98a39d
Dockerfile.linux: install "patch" utility (#162) 2021-04-08 11:22:40 -05:00
Jesse Chan
0cc2634d4f
build: tweak Node configure flags (#160)
* build: consolidate common configure args

* build: re-enable LTCG for Windows

* build: enable LTO for Linux

* build: disable DTrace and bundled npm

* build: strip debug symbols from executable
2021-04-08 22:39:28 +08:00
Lee Robinson
ab743049ee 3.0.0 2021-04-08 08:48:13 -05:00
Jesse Chan
52a1754e42
build: hash and create ".sha256sum" for binary built (#157) 2021-04-07 22:09:21 +08:00
Jesse Chan
f79a54c2c8
patches: bump to 10.24.1, 12.22.1 and 14.16.1 (#158) 2021-04-07 06:52:52 -05:00
Jesse Chan
549db84226
CI: output to dist/ with "node-*" prefix (#156)
* Add "--output" CLI argument

* CI: output to dist/ with "node-*" prefix

* requests: remove tempFile when download failed
2021-04-07 17:59:50 +08:00
Jesse Chan
c21646bf37
CI: add binary workflows (#153) 2021-04-06 07:09:36 -05:00
Jesse Chan
b47c260d38
Cleanup, remove unused dependencies (#154)
* places: simplify and remove dependency on "expand-template"

* Remove dependency on "unique-temp-dir"

* Remove unused dependencies
2021-04-06 16:34:39 +08:00
Jesse Chan
532fb10d91
Allow to override build path with PKG_BUILD_PATH (#152)
To workaround a path problem with older Node versions and some
Windows environments.
2021-04-02 20:01:47 +08:00
Jesse Chan
2c5d74bf04
patches: bump to 10.24.0 and 12.22.0 (#151) 2021-04-02 19:57:01 +08:00
Jesse Chan
d7f74907ad
Allow cross compiling (#150) 2021-04-02 19:05:18 +08:00
Jesse Chan
19d8d077e0
Simplify expected name of release asset (#149)
e.g. uploaded-v2.6-node-v14.16.0-linux-x64 -> node-v14.16.0-linux-x64
2021-04-01 07:52:54 -05:00
Jesse Chan
cc13355f33
Allow to run basic binary verification with "--test" (#147) 2021-03-31 11:09:10 -05:00
Jesse Chan
521517902b
Migrate from requests to axios (#146) 2021-03-31 10:57:21 -05:00
Jesse Chan
ba011e4474
Improved CLI interface. (#145)
$ pkg-fetch -h
Options:
  -n, --node-range                                  [string] [default: "latest"]
  -p, --platform                                     [string] [default: "linux"]
  -a, --arch                                           [string] [default: "x64"]
  -f, --force-fetch                                                    [boolean]
  -b, --force-build                                                    [boolean]
  -v, --version      Show version number                               [boolean]
  -h, --help         Show help                                         [boolean]
2021-03-31 09:27:28 -05:00
Jesse Chan
e314198e53
[BREAKING] Remove upload and release functions to prepare for CI step. (#144) 2021-03-31 09:03:14 -05:00
Jesse Chan
cf794f6881
Drop fancy progress bar and use inherent stdio for child processes (#143)
Progress bar is fancy but not really useful. In most cases, we
want outputs of commands for easier development and debugging.

This change is not visible to users of `pkg` unless they choose to
compile binaries.
2021-03-31 20:23:14 +08:00
Jesse Chan
97afb00894
test: Drop a test that is not needed. (#141) 2021-03-29 09:07:12 -05:00
Jesse Chan
d8a494b5f3
patches: drop Node < 8 and old point releases (#140) 2021-03-29 21:20:23 +08:00
Jesse Chan
f4264a8a09 .gitignore: ignore *.tsbuildinfo 2021-03-29 12:51:46 +08:00
Andrew Lisowski
6dd43cfafd
pkg-fetch: migrate to TypeScript (#139) 2021-03-29 12:46:10 +08:00
Andrew Lisowski
f7a75173f9
Run prettier, convert to standard eslint, add CI (#138)
* Run prettier and convert to standard eslint

* Add CI, fix broken test

* Update package.json

Co-authored-by: Lee Robinson <me@leerob.io>

* switch to single quote

* remove tests for now

Co-authored-by: Lee Robinson <me@leerob.io>
2021-03-26 16:51:31 -07:00
Daniel Lando
93431471c6
feat: Set MAKE_JOB_COUNT to available CPU length by default. (#133) 2021-03-26 09:51:28 -05:00
Lee Robinson
ca89bf8c92 2.6.10 2021-03-25 14:02:27 -05:00
Lee Robinson
d81d9d2537
Revert package.json to prior release. (#130) 2021-03-25 14:01:44 -05:00
Lee Robinson
8ed63bb200 2.7.0 2021-03-25 11:08:02 -05:00
Lee Robinson
346f9cb866
Update package.json to reflect correct version (#126) 2021-03-25 11:07:21 -05:00
xanonid
5b11dd8bef
patches: add Node.js v12.21.0 (#115)
Closes: #114
Needs: vercel/pkg#1059
2021-03-24 15:15:26 +08:00
Jesse Chan
b4ebfadc8e
patches: drop internalModuleReadJSON hack of v14.16.0 (#122)
Fixes: #118
Needs: vercel/pkg#1059
2021-03-24 15:04:14 +08:00
Lee Robinson
90be40b533
Fix broken tests. (#121) 2021-03-18 17:18:45 -05:00
Lee Robinson
af05f0f2cc
Fix lint issues before release. (#120) 2021-03-18 17:15:58 -05:00
Lee Robinson
3394388dcc
ZEIT -> Vercel. (#119) 2021-03-18 17:11:55 -05:00
David Mohr
b758417041
feat: add support for 14.16.0 (#118) 2021-03-18 15:55:00 -05:00
Daniel Lando
b1880a0c95
Add PKG_IGNORE_TAG env var (#67) 2021-03-02 09:38:37 -06:00
dependabot[bot]
92ccd55475
Bump ini from 1.3.5 to 1.3.8 (#113)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 09:39:19 -06:00
Laurin Quast
170c3adff9
Allow configuring number of processes used for compiling. (#103) 2021-03-01 09:37:57 -06:00
Paulo Castro
eef90fed0f
Improve ARM architecture detection (#106) 2021-03-01 09:33:43 -06:00
IgorKlopov
9f13288449 add v8.17.0 2020-06-28 01:41:17 +03:00
IgorKlopov
47d316ffee add v10.21.0 2020-06-28 01:39:44 +03:00
IgorKlopov
ee400a77c5 add v14.4.0 2020-06-28 01:34:51 +03:00