Skip to content

Commit 0ed0105

Browse files
Merge pull request #1926 from forcedotcom/release-5.6.1
RELEASE @W-20065451@ Conducting v5.6.1 release
2 parents 84301d4 + 9fec1a5 commit 0ed0105

File tree

8 files changed

+43
-23
lines changed

8 files changed

+43
-23
lines changed

.github/workflows/create-release-branch.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
# Checkout `dev`
3030
- uses: actions/checkout@v4
3131
with:
32-
ref: 'dev'
32+
ref: "dev"
3333
# We need to set up Node and install our Node dependencies.
3434
- uses: actions/setup-node@v4
3535
with:
36-
node-version: 'lts/*' # Always use Node LTS for building dependencies.
36+
node-version: "lts/*" # Always use Node LTS for building dependencies.
3737
- run: npm install
3838
# Increment the version as desired locally, without actually committing anything.
3939
- name: Locally increment version
@@ -122,5 +122,6 @@ jobs:
122122
needs: create-release-branch
123123
uses: ./.github/workflows/run-tests.yml
124124
with:
125-
node-matrix: "[{version: 'lts/*', artifact: 'lts'}, {version: 'latest', artifact: 'latest'}]"
125+
# NOTE: We are temporarily hardcoding the `latest` version to 24.x, since 25.x is not yet supported in the CLI.
126+
node-matrix: "[{version: 'lts/*', artifact: 'lts'}, {version: '24.x', artifact: 'latest'}]"
126127
target-branch: ${{ needs.create-release-branch.outputs.branch-name }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![License](https://img.shields.io/npm/l/scanner.svg)](https://github.com/forcedotcom/code-analyzer/blob/master/package.json)
1+
[![License](https://img.shields.io/npm/l/@salesforce/plugin-code-analyzer.svg)](https://github.com/forcedotcom/code-analyzer/blob/master/package.json)
22

33
# Salesforce Code Analyzer
44
Salesforce Code Analyzer is a unified tool to help Salesforce developers analyze their source code for security vulnerabilities, performance issues, best practices, and more.

package-lock.json

Lines changed: 29 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-code-analyzer",
33
"description": "Salesforce Code Analyzer is a unified tool to help Salesforce developers analyze their source code for security vulnerabilities, performance issues, best practices, and more.",
4-
"version": "5.6.0",
4+
"version": "5.6.1",
55
"author": "Salesforce Code Analyzer Team",
66
"bugs": "https://github.com/forcedotcom/code-analyzer/issues",
77
"type": "module",

src/lib/utils/WorkspaceUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as fg from 'fast-glob';
1+
import fg from 'fast-glob';
22
import {CodeAnalyzer, Workspace} from '@salesforce/code-analyzer-core';
33
import {getMessage, BundleName} from '../messages.js';
44

test/lib/actions/RunAction.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from 'node:path';
1+
import * as path from 'node:path';
22
import * as fs from 'node:fs';
33
import ansis from 'ansis';
44
import {SfError} from '@salesforce/core';

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"sourceMap": true,
77
"declaration": true,
88
"moduleResolution": "NodeNext",
9+
"allowSyntheticDefaultImports": false,
910
"alwaysStrict": true,
1011
"noUnusedLocals": true,
1112
"outDir": "./lib",

vitest.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ import { defineConfig } from "vitest/config";
22

33
export default defineConfig({
44
test: {
5+
deps: {
6+
// We turn this off so that vitest catches "default imports" vs "namespace imports" issues
7+
// instead of treating both types of imports as the same.
8+
interopDefault: false
9+
},
510
setupFiles: ["test/setup-tests.ts"],
611
testTimeout: 60000,
712
environment: "node",

0 commit comments

Comments
 (0)