Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxuanzhangsfdx committed Mar 7, 2024
1 parent d6aceb5 commit 4e96bf0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@salesforce/core",
"version": "6.7.0",
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
"main": "lib/exported",
"types": "lib/exported.d.ts",
"main": "lib/index",
"types": "lib/index.d.ts",
"license": "BSD-3-Clause",
"engines": {
"node": ">=18.0.0"
Expand Down
4 changes: 2 additions & 2 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { Generator } = require('npm-dts');
const fs = require('fs');

new Generator({
output: 'lib/exported.d.ts',
output: 'lib/index.d.ts',
}).generate();

const sharedConfig = {
Expand All @@ -33,7 +33,7 @@ const sharedConfig = {
platform: 'node', // for CJS
outdir: 'lib',
});
const filePath = 'lib/exported.js';
const filePath = 'lib/index.js';
let bundledEntryPoint = fs.readFileSync(filePath, 'utf8');

const searchString = /\$\{process\.cwd\(\)\}\$\{require\("path"\)\.sep\}lib/g;
Expand Down

2 comments on commit 4e96bf0

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger Benchmarks - ubuntu-latest

Benchmark suite Current: 4e96bf0 Previous: 81c5f7d Ratio
Child logger creation 484642 ops/sec (±0.58%) 479584 ops/sec (±1.54%) 0.99
Logging a string on root logger 791644 ops/sec (±6.65%) 795800 ops/sec (±11.74%) 1.01
Logging an object on root logger 661918 ops/sec (±9.08%) 630387 ops/sec (±6.03%) 0.95
Logging an object with a message on root logger 4775 ops/sec (±219.89%) 5098 ops/sec (±212.84%) 1.07
Logging an object with a redacted prop on root logger 526385 ops/sec (±6.52%) 411871 ops/sec (±13.95%) 0.78
Logging a nested 3-level object on root logger 395187 ops/sec (±7.01%) 391081 ops/sec (±6.65%) 0.99

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger Benchmarks - windows-latest

Benchmark suite Current: 4e96bf0 Previous: 81c5f7d Ratio
Child logger creation 347346 ops/sec (±0.49%) 351826 ops/sec (±0.52%) 1.01
Logging a string on root logger 836631 ops/sec (±9.23%) 872805 ops/sec (±6.67%) 1.04
Logging an object on root logger 637768 ops/sec (±4.82%) 644136 ops/sec (±7.78%) 1.01
Logging an object with a message on root logger 4431 ops/sec (±219.93%) 2329 ops/sec (±255.67%) 0.53
Logging an object with a redacted prop on root logger 485261 ops/sec (±6.53%) 475122 ops/sec (±6.35%) 0.98
Logging a nested 3-level object on root logger 335922 ops/sec (±5.85%) 344838 ops/sec (±4.69%) 1.03

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.