Skip to content

Commit

Permalink
chore: replace assert with with for Node 22 support (#4640)
Browse files Browse the repository at this point in the history
https://coveord.atlassian.net/browse/KIT-3692

CD runs on node 22 we need this :)
  • Loading branch information
louis-bompart authored Nov 7, 2024
1 parent 4756ceb commit 1f237d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/deploy/execute-deployment-pipeline.mjs
Original file line number Diff line number Diff line change
@@ -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();

Expand Down

0 comments on commit 1f237d1

Please sign in to comment.