Skip to content

Commit

Permalink
fix: remove schema check (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele authored May 7, 2024
1 parent 159a593 commit 0f6d78c
Show file tree
Hide file tree
Showing 16 changed files with 49 additions and 350 deletions.
12 changes: 12 additions & 0 deletions .sfdevrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{
"test": {
"testsPath": "test/**/*.test.ts"
},
"wireit": {
"test": {
"dependencies": [
"test:compile",
"test:only",
"test:command-reference",
"test:deprecation-policy",
"lint",
"link-check"
]
}
}
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@
"test:command-reference",
"test:deprecation-policy",
"lint",
"test:json-schema",
"link-check"
]
},
Expand Down
109 changes: 0 additions & 109 deletions schemas/schema-generate-field.json

This file was deleted.

59 changes: 0 additions & 59 deletions schemas/schema-generate-platformevent.json

This file was deleted.

141 changes: 0 additions & 141 deletions schemas/schema-generate-sobject.json

This file was deleted.

28 changes: 0 additions & 28 deletions schemas/schema-generate-tab.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/commands/schema/generate/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import confirm from '@inquirer/confirm';
import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
import { Messages } from '@salesforce/core';
import type { AnyJson } from '@salesforce/ts-types';
import type { CustomField } from '../../../../node_modules/@salesforce/types/lib/metadata.js';
import type { CustomField } from '@salesforce/types/metadata';
import { convertJsonToXml } from '../../../shared/convert.js';
import { picklistPrompts } from '../../../shared/prompts/picklist.js';
import { integerValidation } from '../../../shared/prompts/functions.js';
Expand Down
2 changes: 1 addition & 1 deletion src/commands/schema/generate/tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import path from 'node:path';

import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
import { Messages } from '@salesforce/core/messages';
import type { CustomTab } from '../../../../node_modules/@salesforce/types/lib/metadata.js';
import type { CustomTab } from '@salesforce/types/metadata';
import { isTabsFolder } from '../../../shared/flags.js';
import { convertJsonToXml } from '../../../shared/convert.js';

Expand Down
2 changes: 1 addition & 1 deletion src/shared/convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import * as jsToXml from 'js2xmlparser';
import { XMLParser } from 'fast-xml-parser';
import type { IOptions } from 'js2xmlparser/lib/options.js';
import type { JsonMap } from '@salesforce/ts-types';
import type { CustomObject, CustomField } from '../../node_modules/@salesforce/types/lib/metadata.js';
import type { CustomObject, CustomField } from '@salesforce/types/metadata';

const standardOptions: IOptions = {
declaration: {
Expand Down
Loading

0 comments on commit 0f6d78c

Please sign in to comment.