Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
node_version:
description: version of node to run tests against
type: string
default: 'latest'
default: 'lts'
os:
description: operating system to run tests on
type: enum
Expand Down Expand Up @@ -157,7 +157,7 @@ workflows:
- maintenance
exclude:
- os: windows
node_version: lts
node_version: latest
- os: windows
node_version: maintenance
- external-nut:
Expand Down
8 changes: 7 additions & 1 deletion METADATA_SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This list compares metadata types found in Salesforce v54 with the [metadata reg

This repository is used by both the Salesforce CLIs and Salesforce's VSCode Extensions.

Currently, there are 420/464 supported metadata types.
Currently, there are 420/465 supported metadata types.
For status on any existing gaps, please search or file an issue in the [Salesforce CLI issues only repo](https://github.com/forcedotcom/cli/issues).
To contribute a new metadata type, please see the [Contributing Metadata Types to the Registry](./contributing/metadata.md)

Expand Down Expand Up @@ -139,6 +139,7 @@ To contribute a new metadata type, please see the [Contributing Metadata Types t
|Dashboard|✅||
|DashboardFolder|✅||
|DataCategoryGroup|✅||
|DataConnectorIngestApi|❌|Not supported, but support could be added|
|DataConnectorS3|✅||
|DataDotComSettings|✅||
|DataMapping|✅||
Expand Down Expand Up @@ -482,7 +483,12 @@ v55 introduces the following new types. Here's their current level of support

|Metadata Type|Support|Notes|
|:---|:---|:---|
|DataActionDefinition|❌|Not supported, but support could be added|
|Experience|undefined|undefined|
|ExternalDataTranField|❌|Not supported, but support could be added|
|ExternalDataTranObject|❌|Not supported, but support could be added|
|RegisteredExternalService|❌|Not supported, but support could be added|
|StreamingAppDataConnector|❌|Not supported, but support could be added|

## Additional Types

Expand Down
5 changes: 5 additions & 0 deletions src/resolve/metadataResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ export class MetadataResolver {
return components;
}
}
} else {
// the file is not metadata, but could be in the forceignore, in which case we'd want to report it
if (this.forceIgnore.denies(fsPath)) {
this.forceIgnoredPaths.add(fsPath);
}
}
}

Expand Down
7 changes: 5 additions & 2 deletions test/convert/transformers/metadataTransformerFactory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { DECOMPOSED_COMPONENT } from '../../mock/type-constants/customObjectCons
import { COMPONENT_1 } from '../../mock/type-constants/customlabelsConstant';
import { RegistryError } from '../../../src/errors';
import { nls } from '../../../src/i18n';
import { registry } from '../../../scripts/update-registry/update2';
import { registry } from '../../../src/registry';

const registryAccess = new RegistryAccess();

Expand Down Expand Up @@ -61,7 +61,10 @@ describe('MetadataTransformerFactory', () => {
it('should throw an error for a missing transformer mapping', () => {
const component = new SourceComponent({
name: 'Test',
type: registry.types.apexclass,
type: {
...registry.types.apexclass,
strategies: { adapter: 'matchingContentFile', transformer: 'MissingStrategies' },
},
xml: 'Test.xml',
});
component.type.strategies.transformer = 'MissingStrategies';
Expand Down