Skip to content

Commit

Permalink
Merge pull request #571 from salesforcecli/devScripts2024-03-24
Browse files Browse the repository at this point in the history
refactor: devScripts update
  • Loading branch information
svc-cli-bot authored Mar 24, 2024
2 parents 3fc3ff6 + 511ad80 commit 25754d9
Show file tree
Hide file tree
Showing 4 changed files with 248 additions and 323 deletions.
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ docs
*.sig
package.json.bak.


npm-shrinkwrap.json
oclif.manifest.json
oclif.lock

# -- CLEAN ALL
*.tsbuildinfo
.eslintcache
Expand All @@ -42,7 +47,3 @@ node_modules
# os specific files
.DS_Store
.idea

oclif.manifest.json

oclif.lock
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@
"devDependencies": {
"@oclif/plugin-command-snapshot": "^5.1.1",
"@salesforce/cli-plugins-testkit": "^5.1.11",
"@salesforce/dev-scripts": "^8.3.0",
"@salesforce/dev-scripts": "^8.4.2",
"@salesforce/plugin-command-reference": "^3.0.67",
"@types/inquirer": "^8.2.0",
"eslint-plugin-sf-plugin": "^1.17.4",
"oclif": "^4.6.2",
"shx": "0.3.4",
"ts-node": "^10.9.2",
"typescript": "^5.4.2"
},
Expand All @@ -35,9 +34,10 @@
"files": [
"/lib",
"/messages",
"/npm-shrinkwrap.json",
"/oclif.lock",
"/oclif.manifest.json",
"/schemas",
"/oclif.lock"
"/schemas"
],
"homepage": "https://github.com/salesforcecli/plugin-sobject",
"keywords": [
Expand Down Expand Up @@ -77,13 +77,12 @@
"build": "wireit",
"clean": "sf-clean",
"clean-all": "sf-clean all",
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json oclif.lock",
"compile": "wireit",
"docs": "sf-docs",
"format": "wireit",
"link-check": "wireit",
"lint": "wireit",
"postpack": "shx rm -f oclif.manifest.json",
"postpack": "sf-clean --ignore-signing-artifacts",
"prepack": "sf-prepack",
"prepare": "sf-install",
"test": "wireit",
Expand Down
2 changes: 1 addition & 1 deletion src/shared/prompts/fields/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import input from '@inquirer/input';
import { integerValidation } from '../functions.js';

const MAX_LONG_TEXT_LENGTH = 131072;
const MAX_LONG_TEXT_LENGTH = 131_072;
const MAX_TEXT_LENGTH = 255;

export const lengthPrompt = async (type: string): Promise<number | undefined> =>
Expand Down
Loading

0 comments on commit 25754d9

Please sign in to comment.