Skip to content

Commit

Permalink
Patch(timekeeper): updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Jul 27, 2024
1 parent a5cf041 commit 6c11477
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 9 deletions.
6 changes: 3 additions & 3 deletions packages/timekeeper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"version": "0.0.8-blizzard.4",
"description": "CLI tool for automated function tracing",
"main": "dist/index.js",
"bin": {
"timekeeper": "dist/index.js"
},
"bin": "dist/index.js",
"scripts": {
"build": "node ../../scripts/esbuild.config.js",
"build:watch": "bash ../../scripts/esbuild.watch.sh",
Expand All @@ -16,6 +14,8 @@
},
"dependencies": {
"@colors/colors": "1.5.0",
"@sliit-foss/babel-plugin-transform-trace": "0.3.0",
"@sliit-foss/functions": "2.7.0",
"commander": "11.1.0"
},
"author": "SLIIT FOSS",
Expand Down
12 changes: 6 additions & 6 deletions packages/timekeeper/src/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ const runner = async (p, options) => {
"clean": options.clean ?? false
});
fs.writeFileSync(configPath, `module.exports = ${JSON.stringify(config)}`);
await exec(
`npx -p @babel/core@7 -p @babel/node@7 -p @sliit-foss/[email protected] -p @sliit-foss/[email protected] babel-node --config-file=${configPath} ${p}`
).then(({ stdout, stderr }) => {
if (stdout) console.log(stdout);
if (stderr) console.error(stderr.red);
});
await exec(`npx -p @babel/core@7 -p @babel/node@7 babel-node --config-file=${configPath} ${p}`).then(
({ stdout, stderr }) => {
if (stdout) console.log(stdout);
if (stderr) console.error(stderr.red);
}
);
};

export default runner;
20 changes: 20 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6c11477

Please sign in to comment.