Skip to content

Commit

Permalink
fix release pipeline (#805)
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Brose <kim.brose@nordeck.net>
  • Loading branch information
HarHarLinks committed Oct 21, 2024
1 parent 6299d5f commit ddc548c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/postpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
const PACKAGE_PATH = 'package.json';
const PACKAGE_PATH_BACKUP = 'package.json-prepack';

const fs = require('fs');
import * as fs from "fs";

fs.renameSync(PACKAGE_PATH_BACKUP, PACKAGE_PATH);
2 changes: 1 addition & 1 deletion scripts/prepack.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
const PACKAGE_PATH = 'package.json';
const PACKAGE_PATH_BACKUP = 'package.json-prepack';

const fs = require('fs');
import * as fs from "fs";

const packageContent = JSON.parse(fs.readFileSync(PACKAGE_PATH));

Expand Down
6 changes: 3 additions & 3 deletions scripts/publishAllPackages.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* !!! This script is intended to only be run by the github workflow! !!!
*/

const fs = require('fs');
const path = require('path');
const child_process = require('child_process');
import * as fs from "fs";
import * as path from "path";
import * as child_process from "child_process";

const packages = fs.readdirSync('packages');

Expand Down

0 comments on commit ddc548c

Please sign in to comment.