1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-28 19:06:12 +01:00
Commit Graph

33 Commits

Author SHA1 Message Date
Gastón Fournier
a0fce0ec12
Revert "fix: yarn v4 requires prepack instead of prepare script when building…" (#7373)
Reverts Unleash/unleash#7371
2024-06-12 13:25:51 +02:00
Christopher Kolstad
a971c770e9
task: Yarn v4 (#7345)
Trying again, this time with correct .gitignore already setup, and a
workflow configured to try what was failing prior to our revert.
2024-06-12 11:18:21 +02:00
Jaanus Sellin
f0f339ead3
fix: revert yarn4 (#7334)
Reverting yarn4, because we are stuck on broker build for couple of days
now.
2024-06-10 14:35:18 +03:00
Christopher Kolstad
d69d826586
fix: Tweak docker build 2024-06-07 15:00:10 +02:00
Christopher Kolstad
15726cc8ac
chore: upgrade to yarn v4 (#7230)
![Outdated as of
2020](https://github.com/Unleash/unleash/assets/177402/689a1bcc-441d-4b87-88a6-125e68a17f26)

This has been on our TODO list for a long time.

We're moving to latest released at the time of commit (v4.2.2)
2024-06-07 14:00:19 +02:00
Christopher Kolstad
973870ccb2
chore: bump node 20 version in docker image (#7221)
As the title says, bumps from 20.13.1 to 20.14.0 to ensure v6 gets the
latest and greatest next week
2024-05-31 12:04:15 +02:00
Christopher Kolstad
7e38d6bae1
Node20 (#7095)
Upgrades workflows, nvmrc and package.json to use Node 20.
2024-05-23 14:14:09 +02:00
renovate[bot]
e296602174
chore(deps): update node.js to v18.20.2 (#6839)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [node](https://togithub.com/nodejs/node) | final | patch |
`18.20.1-alpine` -> `18.20.2-alpine` |
| [node](https://togithub.com/nodejs/node) | stage | patch |
`18.20.1-alpine` -> `18.20.2-alpine` |

---

### Release Notes

<details>
<summary>nodejs/node (node)</summary>

###
[`v18.20.2`](https://togithub.com/nodejs/node/releases/tag/v18.20.2):
2024-04-10, Version 18.20.2 &#x27;Hydrogen&#x27; (LTS),
@&#8203;RafaelGSS

[Compare
Source](https://togithub.com/nodejs/node/compare/v18.20.1...v18.20.2)

This is a security release.

##### Notable Changes

- CVE-2024-27980 - Command injection via args parameter of
`child_process.spawn` without shell option enabled on Windows

##### Commits

- \[[`6627222409`](https://togithub.com/nodejs/node/commit/6627222409)]
- **src**: disallow direct .bat and .cmd file spawning (Ben Noordhuis)
[nodejs-private/node-private#564](https://togithub.com/nodejs-private/node-private/pull/564)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 02:07:50 +00:00
renovate[bot]
451d475d21
chore(deps): update node.js to v18.20.1 (#6801)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change | Pending | Age | Adoption | Passing
| Confidence |
|---|---|---|---|---|---|---|---|---|
| [node](https://togithub.com/nodejs/node) | final | patch |
`18.20.0-alpine` -> `18.20.1-alpine` | |
[![age](https://developer.mend.io/api/mc/badges/age/docker/node/18.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/docker/node/18.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/docker/node/18.20.0/18.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/node/18.20.0/18.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [node](https://togithub.com/nodejs/node) | stage | patch |
`18.20.0-alpine` -> `18.20.1-alpine` | |
[![age](https://developer.mend.io/api/mc/badges/age/docker/node/18.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/docker/node/18.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/docker/node/18.20.0/18.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/node/18.20.0/18.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| devDependencies | patch | [`18.19.26` ->
`18.19.28`](https://renovatebot.com/diffs/npm/@types%2fnode/18.19.26/18.19.28)
| `18.19.30` (+1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.19.28?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.19.28?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.19.26/18.19.28?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.19.26/18.19.28?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>nodejs/node (node)</summary>

###
[`v18.20.1`](https://togithub.com/nodejs/node/releases/tag/v18.20.1):
2024-04-03, Version 18.20.1 &#x27;Hydrogen&#x27; (LTS),
@&#8203;RafaelGSS

[Compare
Source](https://togithub.com/nodejs/node/compare/v18.20.0...v18.20.1)

This is a security release.

##### Notable Changes

- CVE-2024-27983 - Assertion failed in
node::http2::Http2Session::~Http2Session() leads to HTTP/2 server crash-
(High)
- CVE-2024-27982 - HTTP Request Smuggling via Content Length Obfuscation
- (Medium)
-   llhttp version 9.2.1
-   undici version 5.28.4

##### Commits

- \[[`60d24938de`](https://togithub.com/nodejs/node/commit/60d24938de)]
- **deps**: update undici to v5.28.4 (Matteo Collina)
[nodejs-private/node-private#577](https://togithub.com/nodejs-private/node-private/pull/577)
- \[[`5d4d5848cf`](https://togithub.com/nodejs/node/commit/5d4d5848cf)]
- **http**: do not allow OBS fold in headers by default (Paolo Insogna)
[nodejs-private/node-private#558](https://togithub.com/nodejs-private/node-private/pull/558)
- \[[`0fb816dbcc`](https://togithub.com/nodejs/node/commit/0fb816dbcc)]
- **src**: ensure to close stream when destroying session (Anna
Henningsen)
[nodejs-private/node-private#561](https://togithub.com/nodejs-private/node-private/pull/561)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 19:51:36 +00:00
renovate[bot]
e7c55767d7
chore(deps): update node.js to v18.20.0 (#6748)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [node](https://togithub.com/nodejs/node) | final | minor |
`18.19.1-alpine` -> `18.20.0-alpine` |
| [node](https://togithub.com/nodejs/node) | stage | minor |
`18.19.1-alpine` -> `18.20.0-alpine` |

---

### Release Notes

<details>
<summary>nodejs/node (node)</summary>

###
[`v18.20.0`](https://togithub.com/nodejs/node/releases/tag/v18.20.0):
2024-03-26, Version 18.20.0 &#x27;Hydrogen&#x27; (LTS),
@&#8203;richardlau

[Compare
Source](https://togithub.com/nodejs/node/compare/v18.19.1...v18.20.0)

##### Notable Changes

##### Added support for import attributes

Support has been added for import attributes, to replace the old import
assertions syntax. This will aid migration by making the new syntax
available
across all currently supported Node.js release lines.

This adds the `with` keyword which should be used in place of the
previous
`assert` keyword, which will be removed in a future semver-major Node.js
release.

For example,

```console
import "foo" assert { ... }
```

should be replaced with

```console
import "foo" with { ... }
```

For more details, see

-   [#&#8203;50134](https://togithub.com/nodejs/node/issues/50134)
-   [#&#8203;51622](https://togithub.com/nodejs/node/issues/51622)

Contributed by Nicolò Ribaudo in
[#&#8203;51136](https://togithub.com/nodejs/node/pull/51136)
and Antoine du Hamel in
[#&#8203;50140](https://togithub.com/nodejs/node/pull/50140).

##### Doc deprecation for `dirent.path`

Please use newly added `dirent.parentPath` instead.

Contributed by Antoine du Hamel in
[#&#8203;50976](https://togithub.com/nodejs/node/pull/50976)
and [#&#8203;51020](https://togithub.com/nodejs/node/pull/51020).

##### Experimental node-api feature flags

Introduces an experimental feature to segregate finalizers that affect
GC state.
A new type called `node_api_nogc_env` has been introduced as the const
version
of `napi_env` and `node_api_nogc_finalize` as a variant of
`napi_finalize` that
accepts a `node_api_nogc_env` as its first argument.

This feature can be turned off by defining
`NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT`.

Contributed by Gabriel Schulhof in
[#&#8203;50060](https://togithub.com/nodejs/node/pull/50060).

##### Root certificates updated to NSS 3.98

Certificates added:

-   Telekom Security TLS ECC Root 2020
-   Telekom Security TLS RSA Root 2023

Certificates removed:

-   Security Communication Root CA

##### Updated dependencies

-   ada updated to 2.7.6.
-   base64 updated to 0.5.2.
-   c-ares updated to 1.27.0.
-   corepack updated to 0.25.2.
-   ICU updated to 74.2. Includes CLDR 44.1 and Unicode 15.1.
- npm updated to 10.5.0. Fixes a regression in signals not being passed
onto child processes.
-   simdutf8 updated to 4.0.8.
-   Timezone updated to 2024a.
-   zlib updated to 1.3.0.1-motley-40e35a7.

##### vm: fix V8 compilation cache support for vm.Script

Previously repeated compilation of the same source code using
`vm.Script`
stopped hitting the V8 compilation cache after v16.x when support for
`importModuleDynamically` was added to `vm.Script`, resulting in a
performance
regression that blocked users (in particular Jest users) from upgrading
from
v16.x.

The recent fixes allow the compilation cache to be hit again
for `vm.Script` when `--experimental-vm-modules` is not used even in the
presence of the `importModuleDynamically` option, so that users affected
by the
performance regression can now upgrade. Ongoing work is also being done
to
enable compilation cache support for `vm.CompileFunction`.

Contributed by Joyee Cheung in
[#&#8203;49950](https://togithub.com/nodejs/node/pull/49950)
and [#&#8203;50137](https://togithub.com/nodejs/node/pull/50137).

##### Commits

- \[[`c70383b8d4`](https://togithub.com/nodejs/node/commit/c70383b8d4)]
- **build**: support Python 3.12 (Shi Pujin)
[#&#8203;50209](https://togithub.com/nodejs/node/pull/50209)
- \[[`4b960c3a4a`](https://togithub.com/nodejs/node/commit/4b960c3a4a)]
- **build**: fix incorrect g++ warning message (Richard Lau)
[#&#8203;51695](https://togithub.com/nodejs/node/pull/51695)
- \[[`8fdea67694`](https://togithub.com/nodejs/node/commit/8fdea67694)]
- **crypto**: update root certificates to NSS 3.98 (Node.js GitHub Bot)
[#&#8203;51794](https://togithub.com/nodejs/node/pull/51794)
- \[[`812b126dd9`](https://togithub.com/nodejs/node/commit/812b126dd9)]
- **deps**: V8: cherry-pick
[`d90d453`](https://togithub.com/nodejs/node/commit/d90d4533b053)
(Michaël Zasso)
[#&#8203;50077](https://togithub.com/nodejs/node/pull/50077)
- \[[`9ab8c3db87`](https://togithub.com/nodejs/node/commit/9ab8c3db87)]
- **deps**: update c-ares to 1.27.0 (Node.js GitHub Bot)
[#&#8203;51846](https://togithub.com/nodejs/node/pull/51846)
- \[[`c688680387`](https://togithub.com/nodejs/node/commit/c688680387)]
- **deps**: update c-ares to 1.26.0 (Node.js GitHub Bot)
[#&#8203;51582](https://togithub.com/nodejs/node/pull/51582)
- \[[`9498ac8a47`](https://togithub.com/nodejs/node/commit/9498ac8a47)]
- **deps**: compile c-ares with C11 support (Michaël Zasso)
[#&#8203;51410](https://togithub.com/nodejs/node/pull/51410)
- \[[`8fb743642f`](https://togithub.com/nodejs/node/commit/8fb743642f)]
- **deps**: update c-ares to 1.25.0 (Node.js GitHub Bot)
[#&#8203;51385](https://togithub.com/nodejs/node/pull/51385)
- \[[`7bea2d7c12`](https://togithub.com/nodejs/node/commit/7bea2d7c12)]
- **deps**: update zlib to 1.3.0.1-motley-40e35a7 (Node.js GitHub Bot)
[#&#8203;51274](https://togithub.com/nodejs/node/pull/51274)
- \[[`57a38c8f75`](https://togithub.com/nodejs/node/commit/57a38c8f75)]
- **deps**: update zlib to 1.3.0.1-motley-dd5fc13 (Node.js GitHub Bot)
[#&#8203;51105](https://togithub.com/nodejs/node/pull/51105)
- \[[`b0ca084a6b`](https://togithub.com/nodejs/node/commit/b0ca084a6b)]
- **deps**: update zlib to 1.3-22124f5 (Node.js GitHub Bot)
[#&#8203;50910](https://togithub.com/nodejs/node/pull/50910)
- \[[`4b43823f37`](https://togithub.com/nodejs/node/commit/4b43823f37)]
- **deps**: update zlib to 1.2.13.1-motley-5daffc7 (Node.js GitHub Bot)
[#&#8203;50803](https://togithub.com/nodejs/node/pull/50803)
- \[[`f0da591812`](https://togithub.com/nodejs/node/commit/f0da591812)]
- **deps**: update zlib to 1.2.13.1-motley-dfc48fc (Node.js GitHub Bot)
[#&#8203;50456](https://togithub.com/nodejs/node/pull/50456)
- \[[`16d28a883a`](https://togithub.com/nodejs/node/commit/16d28a883a)]
- **deps**: update base64 to 0.5.2 (Node.js GitHub Bot)
[#&#8203;51455](https://togithub.com/nodejs/node/pull/51455)
- \[[`13a9e81cb6`](https://togithub.com/nodejs/node/commit/13a9e81cb6)]
- **deps**: update base64 to 0.5.1 (Node.js GitHub Bot)
[#&#8203;50629](https://togithub.com/nodejs/node/pull/50629)
- \[[`b4502d3ac5`](https://togithub.com/nodejs/node/commit/b4502d3ac5)]
- **deps**: update simdutf to 4.0.8 (Node.js GitHub Bot)
[#&#8203;51000](https://togithub.com/nodejs/node/pull/51000)
- \[[`183cf8a74a`](https://togithub.com/nodejs/node/commit/183cf8a74a)]
- **deps**: update simdutf to 4.0.4 (Node.js GitHub Bot)
[#&#8203;50772](https://togithub.com/nodejs/node/pull/50772)
- \[[`11ba8593ea`](https://togithub.com/nodejs/node/commit/11ba8593ea)]
- **deps**: update ada to 2.7.6 (Node.js GitHub Bot)
[#&#8203;51542](https://togithub.com/nodejs/node/pull/51542)
- \[[`73a946d55c`](https://togithub.com/nodejs/node/commit/73a946d55c)]
- **deps**: update ada to 2.7.5 (Node.js GitHub Bot)
[#&#8203;51542](https://togithub.com/nodejs/node/pull/51542)
- \[[`cc434c1a39`](https://togithub.com/nodejs/node/commit/cc434c1a39)]
- **deps**: update ada to 2.7.4 (Node.js GitHub Bot)
[#&#8203;50815](https://togithub.com/nodejs/node/pull/50815)
- \[[`3a3808a6ae`](https://togithub.com/nodejs/node/commit/3a3808a6ae)]
- **deps**: upgrade npm to 10.5.0 (npm team)
[#&#8203;51913](https://togithub.com/nodejs/node/pull/51913)
- \[[`c8876d765c`](https://togithub.com/nodejs/node/commit/c8876d765c)]
- **deps**: upgrade npm to 10.3.0 (npm team)
[#&#8203;51431](https://togithub.com/nodejs/node/pull/51431)
- \[[`5aec3af460`](https://togithub.com/nodejs/node/commit/5aec3af460)]
- **deps**: update corepack to 0.25.2 (Node.js GitHub Bot)
[#&#8203;51810](https://togithub.com/nodejs/node/pull/51810)
- \[[`a593985326`](https://togithub.com/nodejs/node/commit/a593985326)]
- **deps**: update corepack to 0.24.1 (Node.js GitHub Bot)
[#&#8203;51459](https://togithub.com/nodejs/node/pull/51459)
- \[[`d1a9237bf5`](https://togithub.com/nodejs/node/commit/d1a9237bf5)]
- **deps**: update corepack to 0.24.0 (Node.js GitHub Bot)
[#&#8203;51318](https://togithub.com/nodejs/node/pull/51318)
- \[[`adac0c7a63`](https://togithub.com/nodejs/node/commit/adac0c7a63)]
- **deps**: update corepack to 0.23.0 (Node.js GitHub Bot)
[#&#8203;50563](https://togithub.com/nodejs/node/pull/50563)
- \[[`4a6f83e32a`](https://togithub.com/nodejs/node/commit/4a6f83e32a)]
- **deps**: escape Python strings correctly (Michaël Zasso)
[#&#8203;50695](https://togithub.com/nodejs/node/pull/50695)
- \[[`c13969e52a`](https://togithub.com/nodejs/node/commit/c13969e52a)]
- **deps**: V8: cherry-pick
[`ea996ad`](https://togithub.com/nodejs/node/commit/ea996ad04a68)
(Nicolò Ribaudo)
[#&#8203;51136](https://togithub.com/nodejs/node/pull/51136)
- \[[`6fbf0ba5c3`](https://togithub.com/nodejs/node/commit/6fbf0ba5c3)]
- **deps**: V8: cherry-pick
[`a0fd320`](https://togithub.com/nodejs/node/commit/a0fd3209dda8)
(Nicolò Ribaudo)
[#&#8203;51136](https://togithub.com/nodejs/node/pull/51136)
- \[[`68fd7516e1`](https://togithub.com/nodejs/node/commit/68fd7516e1)]
- **deps**: update timezone to 2024a (Michaël Zasso)
[#&#8203;51723](https://togithub.com/nodejs/node/pull/51723)
- \[[`f9b229ebe1`](https://togithub.com/nodejs/node/commit/f9b229ebe1)]
- **deps**: update icu to 74.2 (Michaël Zasso)
[#&#8203;51723](https://togithub.com/nodejs/node/pull/51723)
- \[[`90c73d2eb4`](https://togithub.com/nodejs/node/commit/90c73d2eb4)]
- **deps**: update timezone to 2023d (Node.js GitHub Bot)
[#&#8203;51461](https://togithub.com/nodejs/node/pull/51461)
- \[[`2a2bf57028`](https://togithub.com/nodejs/node/commit/2a2bf57028)]
- **deps**: update icu to 74.1 (Node.js GitHub Bot)
[#&#8203;50515](https://togithub.com/nodejs/node/pull/50515)
- \[[`425e011e52`](https://togithub.com/nodejs/node/commit/425e011e52)]
- **deps**: add v8::Object::SetInternalFieldForNodeCore() (Joyee Cheung)
[#&#8203;49874](https://togithub.com/nodejs/node/pull/49874)
- \[[`58c70344a2`](https://togithub.com/nodejs/node/commit/58c70344a2)]
- **deps**: V8: cherry-pick
[`705e374`](https://togithub.com/nodejs/node/commit/705e374124ae) (Joyee
Cheung) [#&#8203;51004](https://togithub.com/nodejs/node/pull/51004)
- \[[`b0e88899e1`](https://togithub.com/nodejs/node/commit/b0e88899e1)]
- **deps**: V8: cherry-pick
[`1fada6b`](https://togithub.com/nodejs/node/commit/1fada6b36f8d) (Joyee
Cheung) [#&#8203;51004](https://togithub.com/nodejs/node/pull/51004)
- \[[`d87a810b81`](https://togithub.com/nodejs/node/commit/d87a810b81)]
- **deps**: V8: cherry-pick
[`3dd9576`](https://togithub.com/nodejs/node/commit/3dd9576ce336) (Joyee
Cheung) [#&#8203;51004](https://togithub.com/nodejs/node/pull/51004)
- \[[`6d50966876`](https://togithub.com/nodejs/node/commit/6d50966876)]
- **deps**: V8: cherry-pick
[`94e8282`](https://togithub.com/nodejs/node/commit/94e8282325a1) (Joyee
Cheung) [#&#8203;51004](https://togithub.com/nodejs/node/pull/51004)
- \[[`fafbacdfec`](https://togithub.com/nodejs/node/commit/fafbacdfec)]
- **deps**: V8: cherry-pick
[`9a98f96`](https://togithub.com/nodejs/node/commit/9a98f96b6d68) (Joyee
Cheung) [#&#8203;51004](https://togithub.com/nodejs/node/pull/51004)
- \[[`d4a530ed8d`](https://togithub.com/nodejs/node/commit/d4a530ed8d)]
- **deps**: V8: cherry-pick
[`7f5daed`](https://togithub.com/nodejs/node/commit/7f5daed62d47) (Joyee
Cheung) [#&#8203;51004](https://togithub.com/nodejs/node/pull/51004)
- \[[`1ce901b164`](https://togithub.com/nodejs/node/commit/1ce901b164)]
- **deps**: V8: cherry-pick
[`c400af4`](https://togithub.com/nodejs/node/commit/c400af48b5ef) (Joyee
Cheung) [#&#8203;51004](https://togithub.com/nodejs/node/pull/51004)
- \[[`f232064f35`](https://togithub.com/nodejs/node/commit/f232064f35)]
- **doc**: fix historical experimental fetch flag (Kenrick)
[#&#8203;51506](https://togithub.com/nodejs/node/pull/51506)
- \[[`194ff6a40f`](https://togithub.com/nodejs/node/commit/194ff6a40f)]
- **(SEMVER-MINOR)** **doc**: add deprecation notice to `dirent.path`
(Antoine du Hamel)
[#&#8203;50976](https://togithub.com/nodejs/node/pull/50976)
- \[[`0f09267dc6`](https://togithub.com/nodejs/node/commit/0f09267dc6)]
- **(SEMVER-MINOR)** **doc**: deprecate `dirent.path` (Antoine du Hamel)
[#&#8203;50976](https://togithub.com/nodejs/node/pull/50976)
- \[[`8bfb8f5b2f`](https://togithub.com/nodejs/node/commit/8bfb8f5b2f)]
- **doc,crypto**: further clarify RSA_PKCS1\_PADDING support (Tobias
Nießen) [#&#8203;51799](https://togithub.com/nodejs/node/pull/51799)
- \[[`c7baf7b274`](https://togithub.com/nodejs/node/commit/c7baf7b274)]
- **doc,crypto**: add changelog and note about disabled
RSA_PKCS1\_PADDING (Filip Skokan)
[#&#8203;51782](https://togithub.com/nodejs/node/pull/51782)
- \[[`a193be3dc2`](https://togithub.com/nodejs/node/commit/a193be3dc2)]
- **esm**: use import attributes instead of import assertions (Antoine
du Hamel) [#&#8203;50140](https://togithub.com/nodejs/node/pull/50140)
- \[[`26e8f7793e`](https://togithub.com/nodejs/node/commit/26e8f7793e)]
- **(SEMVER-MINOR)** **fs**: introduce `dirent.parentPath` (Antoine du
Hamel) [#&#8203;50976](https://togithub.com/nodejs/node/pull/50976)
- \[[`5b5e5192f7`](https://togithub.com/nodejs/node/commit/5b5e5192f7)]
- **lib**: fix compileFunction throws range error for negative numbers
(Jithil P Ponnan)
[#&#8203;49855](https://togithub.com/nodejs/node/pull/49855)
- \[[`7552de6806`](https://togithub.com/nodejs/node/commit/7552de6806)]
- **module**: fix the leak in SourceTextModule and ContextifySript
(Joyee Cheung)
[#&#8203;48510](https://togithub.com/nodejs/node/pull/48510)
- \[[`2e05cf1c60`](https://togithub.com/nodejs/node/commit/2e05cf1c60)]
- **module**: fix leak of vm.SyntheticModule (Joyee Cheung)
[#&#8203;48510](https://togithub.com/nodejs/node/pull/48510)
- \[[`a86a2e14a3`](https://togithub.com/nodejs/node/commit/a86a2e14a3)]
- **module**: use symbol in WeakMap to manage host defined options
(Joyee Cheung)
[#&#8203;48510](https://togithub.com/nodejs/node/pull/48510)
- \[[`32906ddcac`](https://togithub.com/nodejs/node/commit/32906ddcac)]
- **node-api**: segregate nogc APIs from rest via type system (Gabriel
Schulhof) [#&#8203;50060](https://togithub.com/nodejs/node/pull/50060)
- \[[`1aa71c26ff`](https://togithub.com/nodejs/node/commit/1aa71c26ff)]
- **node-api**: factor out common code into macros (Gabriel Schulhof)
[#&#8203;50664](https://togithub.com/nodejs/node/pull/50664)
- \[[`3d0b233f52`](https://togithub.com/nodejs/node/commit/3d0b233f52)]
- **node-api**: introduce experimental feature flags (Gabriel Schulhof)
[#&#8203;50991](https://togithub.com/nodejs/node/pull/50991)
- \[[`96514a8b9f`](https://togithub.com/nodejs/node/commit/96514a8b9f)]
- **src**: iterate on import attributes array correctly (Michaël Zasso)
[#&#8203;50703](https://togithub.com/nodejs/node/pull/50703)
- \[[`2c2892bf88`](https://togithub.com/nodejs/node/commit/2c2892bf88)]
- **src**: set ModuleWrap internal fields only once (Joyee Cheung)
[#&#8203;49391](https://togithub.com/nodejs/node/pull/49391)
- \[[`ff334cb774`](https://togithub.com/nodejs/node/commit/ff334cb774)]
- **src**: cast v8::Object::GetInternalField() return value to v8::Value
(Joyee Cheung)
[#&#8203;48943](https://togithub.com/nodejs/node/pull/48943)
- \[[`270b519971`](https://togithub.com/nodejs/node/commit/270b519971)]
- **stream**: do not defer construction by one microtick (Matteo
Collina) [#&#8203;52005](https://togithub.com/nodejs/node/pull/52005)
- \[[`95d7a75084`](https://togithub.com/nodejs/node/commit/95d7a75084)]
- **test**: fix dns test case failures after c-ares update to 1.21.0+
(Brad House)
[#&#8203;50743](https://togithub.com/nodejs/node/pull/50743)
- \[[`cd613e5167`](https://togithub.com/nodejs/node/commit/cd613e5167)]
- **test**: handle relative https redirect (Richard Lau)
[#&#8203;51121](https://togithub.com/nodejs/node/pull/51121)
- \[[`40f10eafcf`](https://togithub.com/nodejs/node/commit/40f10eafcf)]
- **test**: fix `internet/test-inspector-help-page` (Richard Lau)
[#&#8203;51693](https://togithub.com/nodejs/node/pull/51693)
- \[[`5e426511b1`](https://togithub.com/nodejs/node/commit/5e426511b1)]
- **test**: deflake test-vm-contextified-script-leak (Joyee Cheung)
[#&#8203;49710](https://togithub.com/nodejs/node/pull/49710)
- \[[`0b156c6d28`](https://togithub.com/nodejs/node/commit/0b156c6d28)]
- **test**: use checkIfCollectable in vm leak tests (Joyee Cheung)
[#&#8203;49671](https://togithub.com/nodejs/node/pull/49671)
- \[[`1586c11b3c`](https://togithub.com/nodejs/node/commit/1586c11b3c)]
- **test**: add checkIfCollectable to test/common/gc.js (Joyee Cheung)
[#&#8203;49671](https://togithub.com/nodejs/node/pull/49671)
- \[[`902d8b3d4b`](https://togithub.com/nodejs/node/commit/902d8b3d4b)]
- **test**: fix flaky http-chunk-extensions-limit test (Ethan Arrowood)
[#&#8203;51943](https://togithub.com/nodejs/node/pull/51943)
- \[[`1743d2bdc1`](https://togithub.com/nodejs/node/commit/1743d2bdc1)]
- **test**: test surrogate pair filenames on windows (Mert Can Altın)
[#&#8203;51800](https://togithub.com/nodejs/node/pull/51800)
- \[[`1c1a7ec22d`](https://togithub.com/nodejs/node/commit/1c1a7ec22d)]
- **test**: increase platform timeout zlib-brotli-16gb (Rafael Gonzaga)
[#&#8203;51792](https://togithub.com/nodejs/node/pull/51792)
- \[[`931d02fe3e`](https://togithub.com/nodejs/node/commit/931d02fe3e)]
- **test, v8**: fix wrong import attributes test (Nicolò Ribaudo)
[#&#8203;52184](https://togithub.com/nodejs/node/pull/52184)
- \[[`d9ea6c1f8d`](https://togithub.com/nodejs/node/commit/d9ea6c1f8d)]
- **tls**: fix order of setting cipher before setting cert and key
(Kumar Rishav)
[#&#8203;50186](https://togithub.com/nodejs/node/pull/50186)
- \[[`3184befa2e`](https://togithub.com/nodejs/node/commit/3184befa2e)]
- **tools**: fix update-icu.sh (Michaël Zasso)
[#&#8203;51723](https://togithub.com/nodejs/node/pull/51723)
- \[[`06646e11be`](https://togithub.com/nodejs/node/commit/06646e11be)]
- **(SEMVER-MINOR)** **vm**: use import attributes instead of import
assertions (Antoine du Hamel)
[#&#8203;50141](https://togithub.com/nodejs/node/pull/50141)
- \[[`fe66e9d06e`](https://togithub.com/nodejs/node/commit/fe66e9d06e)]
- **vm**: reject in importModuleDynamically without
--experimental-vm-modules (Joyee Cheung)
[#&#8203;50137](https://togithub.com/nodejs/node/pull/50137)
- \[[`052e095c6b`](https://togithub.com/nodejs/node/commit/052e095c6b)]
- **vm**: use internal versions of compileFunction and Script (Joyee
Cheung) [#&#8203;50137](https://togithub.com/nodejs/node/pull/50137)
- \[[`9f7899ed0a`](https://togithub.com/nodejs/node/commit/9f7899ed0a)]
- **vm**: unify host-defined option generation in vm.compileFunction
(Joyee Cheung)
[#&#8203;50137](https://togithub.com/nodejs/node/pull/50137)
- \[[`6291c107d0`](https://togithub.com/nodejs/node/commit/6291c107d0)]
- **vm**: use default HDO when importModuleDynamically is not set (Joyee
Cheung) [#&#8203;49950](https://togithub.com/nodejs/node/pull/49950)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 22:15:18 +00:00
renovate[bot]
e96f0c22af
chore(deps): update node.js to v18.19.1 (#6287)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [node](https://togithub.com/nodejs/node) | final | patch |
`18.19.0-alpine` -> `18.19.1-alpine` |
| [node](https://togithub.com/nodejs/node) | stage | patch |
`18.19.0-alpine` -> `18.19.1-alpine` |

---

### Release Notes

<details>
<summary>nodejs/node (node)</summary>

###
[`v18.19.1`](https://togithub.com/nodejs/node/releases/tag/v18.19.1):
2024-02-14, Version 18.19.1 &#x27;Hydrogen&#x27; (LTS),
@&#8203;RafaelGSS prepared by @&#8203;marco-ippolito

[Compare
Source](https://togithub.com/nodejs/node/compare/v18.19.0...v18.19.1)

##### Notable changes

This is a security release.

##### Notable changes

- CVE-2024-21892 - Code injection and privilege escalation through Linux
capabilities- (High)
- CVE-2024-22019 - http: Reading unprocessed HTTP request with unbounded
chunk extension allows DoS attacks- (High)
- CVE-2023-46809 - Node.js is vulnerable to the Marvin Attack (timing
variant of the Bleichenbacher attack against
[PKCS#1](https://togithub.com/PKCS/node/issues/1) v1.5 padding) -
(Medium)
- CVE-2024-22025 - Denial of Service by resource exhaustion in fetch()
brotli decoding - (Medium)
-   undici version 5.28.3
-   npm version 10.2.4

##### Commits

- \[[`69e0a1dba8`](https://togithub.com/nodejs/node/commit/69e0a1dba8)]
- **crypto**: update root certificates to NSS 3.95 (Node.js GitHub Bot)
[#&#8203;50805](https://togithub.com/nodejs/node/pull/50805)
- \[[`d3d357ab09`](https://togithub.com/nodejs/node/commit/d3d357ab09)]
- **crypto**: disable [PKCS#1](https://togithub.com/PKCS/node/issues/1)
padding for privateDecrypt (Michael Dawson)
[nodejs-private/node-private#525](https://togithub.com/nodejs-private/node-private/pull/525)
- \[[`3d27175c42`](https://togithub.com/nodejs/node/commit/3d27175c42)]
- **deps**: fix GHSA-f74f-cvh7-c6q6/CVE-2024-24806 (Santiago Gimeno)
[#&#8203;51614](https://togithub.com/nodejs/node/pull/51614)
- \[[`331558b8ab`](https://togithub.com/nodejs/node/commit/331558b8ab)]
- **deps**: update archs files for openssl-3.0.13+quic1 (Node.js GitHub
Bot) [#&#8203;51614](https://togithub.com/nodejs/node/pull/51614)
- \[[`99b77dfb9c`](https://togithub.com/nodejs/node/commit/99b77dfb9c)]
- **deps**: upgrade openssl sources to quictls/openssl-3.0.13+quic1
(Node.js GitHub Bot)
[#&#8203;51614](https://togithub.com/nodejs/node/pull/51614)
- \[[`6cdc71bff1`](https://togithub.com/nodejs/node/commit/6cdc71bff1)]
- **deps**: upgrade npm to 10.2.4 (npm team)
[#&#8203;50751](https://togithub.com/nodejs/node/pull/50751)
- \[[`911cb33cda`](https://togithub.com/nodejs/node/commit/911cb33cda)]
- **http**: add maximum chunk extension size (Paolo Insogna)
[nodejs-private/node-private#520](https://togithub.com/nodejs-private/node-private/pull/520)
- \[[`f48b89689d`](https://togithub.com/nodejs/node/commit/f48b89689d)]
- **lib**: update undici to v5.28.3 (Matteo Collina)
[nodejs-private/node-private#536](https://togithub.com/nodejs-private/node-private/pull/536)
- \[[`e6b4c105e0`](https://togithub.com/nodejs/node/commit/e6b4c105e0)]
- **src**: fix HasOnly(capability) in node::credentials (Tobias Nießen)
[nodejs-private/node-private#505](https://togithub.com/nodejs-private/node-private/pull/505)
- \[[`97c49076cd`](https://togithub.com/nodejs/node/commit/97c49076cd)]
- **test**: skip test-child-process-stdio-reuse-readable-stdio on
Windows (Joyee Cheung)
[#&#8203;49621](https://togithub.com/nodejs/node/pull/49621)
- \[[`60affdde8e`](https://togithub.com/nodejs/node/commit/60affdde8e)]
- **tools**: add macOS notarization verification step (Ulises Gascón)
[#&#8203;50833](https://togithub.com/nodejs/node/pull/50833)
- \[[`ccc676a327`](https://togithub.com/nodejs/node/commit/ccc676a327)]
- **tools**: use macOS keychain to notarize the releases (Ulises Gascón)
[#&#8203;50715](https://togithub.com/nodejs/node/pull/50715)
- \[[`31f1ceb380`](https://togithub.com/nodejs/node/commit/31f1ceb380)]
- **tools**: remove unused file (Ulises Gascon)
[#&#8203;50622](https://togithub.com/nodejs/node/pull/50622)
- \[[`bd5f6fb92a`](https://togithub.com/nodejs/node/commit/bd5f6fb92a)]
- **tools**: add macOS notarization stapler (Ulises Gascón)
[#&#8203;50625](https://togithub.com/nodejs/node/pull/50625)
- \[[`4168c4f71b`](https://togithub.com/nodejs/node/commit/4168c4f71b)]
- **tools**: improve macOS notarization process output readability
(Ulises Gascón)
[#&#8203;50389](https://togithub.com/nodejs/node/pull/50389)
- \[[`4622f775aa`](https://togithub.com/nodejs/node/commit/4622f775aa)]
- **tools**: remove unused `version` function (Ulises Gascón)
[#&#8203;50390](https://togithub.com/nodejs/node/pull/50390)
- \[[`b90804b1e7`](https://togithub.com/nodejs/node/commit/b90804b1e7)]
- **win,tools**: upgrade Windows signing to smctl (Stefan Stojanovic)
[#&#8203;50956](https://togithub.com/nodejs/node/pull/50956)
- \[[`f31d47e135`](https://togithub.com/nodejs/node/commit/f31d47e135)]
- **zlib**: pause stream if outgoing buffer is full (Matteo Collina)
[nodejs-private/node-private#542](https://togithub.com/nodejs-private/node-private/pull/542)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 00:57:34 +00:00
Ivar Conradi Østhus
1043efd89f
fix: use node v18.19.0 (#5662) 2023-12-18 19:57:24 +01:00
Christopher Kolstad
d013867f0f
Chore/bump dependencies (#5146)
We're getting security advisories against the node version we're using.
This PR bumps everything to 18.18.2/18.x again. And we'll trust our
excellent monitoring on detecting performance regressions again
2023-10-26 09:09:03 +02:00
Gard Rimestad
7cb471a0a4
chore: pin node version 18.17.1 (#4834)
We are pinning node to version 18.17.1 as we have seen some performance
degregation on node 18.18.0 on arm64. We will investigate this further
at a later point. This is to mitigate the issue.

Our next step in pinpointing the issue will be to compare between
running on musl vs libc on arm64.
2023-09-26 10:41:13 +02:00
Gastón Fournier
a53d50148b
fix: DigitalOcean template (#4287)
## About the changes
Instead of building from source (we require Node 18 but [DigitalOcean
buildpack currently does not support
it](https://www.digitalocean.com/community/questions/app-platform-node-build-pack-can-t-use-node-version-18)),
we're going to use our Docker image from DockerHub:
https://hub.docker.com/r/unleashorg/unleash-server

Additionally, I realized that our Dockerfile only works in our CI (or
performing a pre-build step which consists of building the frontend).
With this PR I've also made a change to build the frontend if needed.
That way our CI will continue to be optimal while anyone trying to build
it from source will be able to do it by just running `docker build .`

Closes #4261
2023-07-20 12:13:44 +00:00
Gastón Fournier
4599e5cc06
chore: Optimize docker build oss (#3951)
## About the changes
Reduce the build time of OSS docker image from
[~30m](https://github.com/Unleash/unleash/actions/workflows/docker_publish.yaml)
to [under
15m](https://github.com/Unleash/unleash/actions/runs/5222180536/jobs/9427342758)

1. Build frontend outside docker multiplatform.
2. Allow `frontend/build` to be copied to the image by removing this
from `.dockerignore`
3. Run with `--ignore-scripts` to avoid building the frontend on the
`prepare` script, but this requires us to run all the prepare scripts
manually (except the frontend build).
 
**Note:** we need to build frontend in the `prepare` script to be able
to have source code dependencies

## Manual Testing
Manually downloaded from
https://hub.docker.com/r/unleashorg/unleash-server/tags?page=1 and
compared both `unleash` folders from main and the version built with the
new process
https://github.com/Unleash/unleash/actions/runs/5223078089/jobs/9429430190#step:5:48

![Screenshot from 2023-06-10
21-11-33](https://github.com/Unleash/unleash/assets/455064/60a41739-904d-480d-8d80-bf17b7a70432)

No major difference was spotted (only expected changes due to
development done in main)

**Command used to extract the contents:** 

```
cd /tmp
mkdir main && cd main
docker pull unleashorg/unleash-server:main-edge-18-alpine
docker export $(docker create unleashorg/unleash-server:main-edge-18-alpine) > container.tar && tar xvf container.tar
mkdir ../new-process && cd ../new-process
docker pull unleashorg/unleash-server:sha-ccac902-18-alpine
docker export $(docker create unleashorg/unleash-server:sha-ccac902-18-alpine) > container.tar && tar xvf container.tar
meld ./unleash ../main/unleash
```
2023-06-12 09:15:09 +02:00
Gastón Fournier
a08c6f3c83
chore: remove unnecessary build (#3910)
## About the changes
This removes unnecessary build that's already triggered as part of the
prepare script
0efaa346c4/package.json (L41)

This should reduce the build time of this action:
https://github.com/Unleash/unleash/actions/workflows/docker_publish.yaml
(currently at 30m)

We can see the double execution from the log files of one execution:
```shell
$ grep " #14 " 1_build\ \(18-alpine\).txt  | grep "build:frontend" | grep built
2023-06-06T11:20:25.6513037Z #14 1198.7 [build:frontend] ✓ built in 7m 48s
2023-06-06T11:28:35.0518703Z #14 1688.1 [build:frontend] ✓ built in 7m 34s
```
_That is step 14 executing build:frontend twice_
2023-06-06 21:26:21 +02:00
Gastón Fournier
2f9da976e4
fix: use new build process (#3757)
## About the changes
This adapts the docker creation to the latest package.json changes
https://github.com/Unleash/unleash/pull/3736
2023-05-12 11:25:38 +00:00
Jaanus Sellin
d8d0261681
feat: set timezone to utc (#3666) 2023-05-03 10:25:56 +03:00
Gastón Fournier
0426dd505d
chore: update to node 18 (#3527)
## About the changes
This upgrades our main branch to use node 18 which is the active LTS
version and stops using node 14 which reaches the end of life in a few
weeks: https://nodejs.dev/en/about/releases/

This PR also adds `--no-experimental-fetch` for frontend tests and other
frontend commands. Related to:
https://github.com/node-fetch/node-fetch/issues/1566

More about the experimental fetch release:
https://nodejs.org/en/blog/announcements/v18-release-announce#fetch-experimental
2023-04-18 10:35:32 +02:00
Simon Hornby
3d0146cca7
Fix docker build (#2326)
* fix: patch stale docker lockfile
* fix: patch docker build to respect the fact that frontend now depends on some constants defined in unleash
2022-11-03 15:02:20 +01:00
sjaanus
c4da10b15f
Docker cross-compilation with buildx (#2003)
* Build docker test

* Change platform to build on amd64

* Put back buildplatform

* Run frontend as separate docker task

* Increase timeout

* Update docs
2022-08-30 12:39:28 +00:00
sjaanus
644fdc6709
Fix docker failing (#1993) 2022-08-29 13:00:04 +00:00
sjaanus
a1ce89bedc
Merge frontend with backend (#1962)
* fix: use the frontend dir from the backend

* Build is now working

* Fix workflows

* Fix workflows

* Fix build PRs

* Test coverage workflow

* Test coverage

* Test coverage run

* Fix jest report

* refactor: add missing frontend build

* refactor: ignore frontend dir for coverage

* refactor: run frontend build in PRs

* refactor: run backend tests in PRs

* Revert "refactor: run backend tests in PRs"

This reverts commit 22cabddfd1.

* refactor: remove unused frontend build file

* refactor: test workflows in PR

* refactor: use a prepare script for the frontend

* refactor: simplify yarn build scripts

* refactor: fix check-release script

* Revert "refactor: test workflows in PR"

This reverts commit 496ae19404.

* refactor: remove unused gitignore lines

* refactor: remove renovate config from the frontend repo

* refactor: remove frontend repo license

* refactor: remove frontend repo changelog

* refactor: update frontend repo readme

* refactor: add frontend node_modules to dockerignore

* refactor: update the docker yarn.lock snapshot

Co-authored-by: olav <mail@olav.io>
2022-08-26 07:25:31 +00:00
Gard Rimestad
e2082b4493
feat: slim down docker container (#1790)
* feat: slim down docker container

This changes the unleash-server node module to be as little as it can,
resulting in a much smaller docker container. From 383M -> 11M.
2022-07-05 16:08:06 +02:00
Gard Rimestad
5d5fc37dfd
Feat/docker container on main builds (#1762)
* feat: build docker containers when pushing to main

The intent here is to publish a docker container for every build of
main. This will make it easier to run the tip of main.
2022-06-28 16:13:00 +02:00
Ivar Conradi Østhus
77baaa5121 Introduce unleash-docker as a sperate submodule. (#136)
* Introduce unleash-docker as a sperate submodule.

this is related to #135 and will solve #126

* keep ide-user-settings out of repo

* Introduce unleash-docker as a sperate submodule.

this is related to #135 and will solve #126

* mv unleash-docker to packages/unleash-docker

* made docker work for now, by copying migrations

* minro cleanup

* docker on node:6

* minor cleanup
2020-02-20 08:30:26 +01:00
Ivar
5b4e14063e Upgrade to node 5.8 2020-02-20 08:30:24 +01:00
ivaosthu
94f10a3a4b upgrade node to 4.2.2. Closes #106 2020-02-20 08:30:24 +01:00
eirslett
4c9626b6a3 Remove envconsul from Dockerfile
The open source version of Unleash shouldn't depend on envconsul,
since that's an internal operations detail at FINN.no. Instead, we
accept configuration from environment variables passed through from
the "docker run" command, or via Marathon/Mesos.
2020-02-20 08:30:23 +01:00
Stig Kleppe-Jørgensen
0acee571f1 Use easier method for installing envconsul
Now when a bigger and more complete parent image is used, the curl and
tar tools are feature complete.
2020-02-20 08:30:23 +01:00
audstran
e800ad7a85 added docker container and vagrant 2020-02-20 08:30:23 +01:00
Stig Kleppe-Jørgensen
4854ca58e7 Add files for creating docker image
* Base on a small node image (alpine-node)
* Exclude some files from docker build to make the build go faster
2020-02-20 08:30:23 +01:00