Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
catalandres committed Dec 26, 2023
1 parent 3aa602c commit fbdf639
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 127 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "plugin-documentation-atlas",
"description": "A Salesforce CLI plugin to generate documentation for projects",
"name": "plugin-atlas",
"description": "A Salesforce CLI plugin to generate documentation from metadata",
"version": "0.1.0",
"dependencies": {
"@oclif/core": "^3.11.0",
"@oclif/core": "^3.15.1",
"@salesforce/core": "^6",
"@salesforce/sf-plugins-core": "^5.0.5",
"@types/shelljs": "^0.8.15",
Expand All @@ -15,14 +15,14 @@
},
"devDependencies": {
"@oclif/plugin-command-snapshot": "^5.0.2",
"@salesforce/cli-plugins-testkit": "^5.0.4",
"@salesforce/cli-plugins-testkit": "^5.1.3",
"@salesforce/dev-scripts": "^7.1.1",
"@types/exceljs": "^1.3.0",
"eslint-plugin-sf-plugin": "^1.16.15",
"oclif": "^4.0.4",
"eslint-plugin-sf-plugin": "^1.17.0",
"oclif": "^4.1.0",
"shx": "0.3.4",
"ts-node": "^10.9.2",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"engines": {
"node": ">=18.0.0"
Expand Down
20 changes: 10 additions & 10 deletions src/commands/doc/generate/atlas.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { dirname } from 'node:path';
import { readdir } from 'node:fs/promises';
import { fileURLToPath } from 'node:url';
import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
import { SfCommand } from '@salesforce/sf-plugins-core';
import { SfProject, Messages, NamedPackageDir } from '@salesforce/core';
import { ExcelWriter } from '../../../shared/xlsx/ExcelWriter.js';

import { Atlas } from '../../../shared/metadata/Atlas.js';

Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url)));
const messages = Messages.loadMessages('plugin-documentation-atlas', 'doc.generate.atlas');
const messages = Messages.loadMessages('plugin-atlas', 'doc.generate.atlas');

export type DocGenerateAtlasResult = {
path: string;
Expand All @@ -19,14 +19,14 @@ export default class DocGenerateAtlas extends SfCommand<DocGenerateAtlasResult>
public static readonly description = messages.getMessage('description');
public static readonly examples = messages.getMessages('examples');

public static readonly flags = {
name: Flags.string({
summary: messages.getMessage('flags.name.summary'),
description: messages.getMessage('flags.name.description'),
char: 'n',
required: false,
}),
};
// public static readonly flags = {
// name: Flags.string({
// summary: messages.getMessage('flags.name.summary'),
// description: messages.getMessage('flags.name.description'),
// char: 'n',
// required: false,
// }),
// };

// TODO - add flags and remove this exception
// eslint-disable-next-line class-methods-use-this
Expand Down
Loading

0 comments on commit fbdf639

Please sign in to comment.