From 1f237d112cffe1a03281ddf910aaba9bb35c44b3 Mon Sep 17 00:00:00 2001 From: Louis Bompart Date: Thu, 7 Nov 2024 10:37:44 -0500 Subject: [PATCH] chore: replace `assert` with `with` for Node 22 support (#4640) https://coveord.atlassian.net/browse/KIT-3692 CD runs on node 22 we need this :) --- scripts/deploy/execute-deployment-pipeline.mjs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/deploy/execute-deployment-pipeline.mjs b/scripts/deploy/execute-deployment-pipeline.mjs index 0a9331716af..741559cc3bf 100644 --- a/scripts/deploy/execute-deployment-pipeline.mjs +++ b/scripts/deploy/execute-deployment-pipeline.mjs @@ -1,10 +1,10 @@ import {execSync} from 'node:child_process'; import {parse} from 'semver'; -import atomicHostedPageJson from '../../packages/atomic-hosted-page/package.json' assert {type: 'json'}; -import atomicReactJson from '../../packages/atomic-react/package.json' assert {type: 'json'}; -import atomicJson from '../../packages/atomic/package.json' assert {type: 'json'}; -import headlessJson from '../../packages/headless/package.json' assert {type: 'json'}; -import rootJson from '../../package.json' assert {type: 'json'}; +import atomicHostedPageJson from '../../packages/atomic-hosted-page/package.json' with {type: 'json'}; +import atomicReactJson from '../../packages/atomic-react/package.json' with {type: 'json'}; +import atomicJson from '../../packages/atomic/package.json' with {type: 'json'}; +import headlessJson from '../../packages/headless/package.json' with {type: 'json'}; +import rootJson from '../../package.json' with {type: 'json'}; const releaseCommit = execSync('git rev-parse HEAD').toString().trim();