Skip to content

Commit

Permalink
chore: apply prettier config to json, md and yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
Codeneos committed Jan 24, 2023
1 parent 73bb34d commit a865a0d
Show file tree
Hide file tree
Showing 25 changed files with 524 additions and 525 deletions.
14 changes: 4 additions & 10 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": false
"out": false
},
"search.exclude": {
"out": true
"out": true
},
"typescript.tsc.autoDetect": "off",
"typescript.tsdk": "node_modules\\typescript\\lib",
"cSpell.words": [
"Frontdoor",
"jsforce",
"SOQL",
"Visualforce",
"vlocode"
],
"cSpell.words": ["Frontdoor", "jsforce", "SOQL", "Visualforce", "vlocode"],
"cSpell.enabled": true,
"eslint.packageManager": "pnpm"
}
}
35 changes: 21 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,40 @@
# **Vlocode**: Vlocity/Salesforce support libraries

This is the monorepo root for all *@vlocode* packages and the Vlocode VSCode extension. For information on the **Vlocode** VSCode extension [click here](packages/vscode-extension/README.md).
This is the monorepo root for all _@vlocode_ packages and the Vlocode VSCode extension. For information on the **Vlocode** VSCode extension [click here](packages/vscode-extension/README.md).

## Packages
- [**@vlocode/util**](packages/util) - re-unable utility functions and classes
- [**@vlocode/vlocity-deploy**](packages/vlocity-deploy) - high performance Vlocity DataPack deployment library
- [**@vlocode/core**](packages/core) - IoC core and logging framework
- [**@vlocode/salesforce**](packages/salesforce) - Salesforce specific classes and functions
- [**Vlocode**](packages/vscode-extension) - Vlocode VSCode extension
- [**@vlocode/cli**](packages/cli) - Vlocode Standalone DataPack deployment CLI

- [**@vlocode/util**](packages/util) - re-unable utility functions and classes
- [**@vlocode/vlocity-deploy**](packages/vlocity-deploy) - high performance Vlocity DataPack deployment library
- [**@vlocode/core**](packages/core) - IoC core and logging framework
- [**@vlocode/salesforce**](packages/salesforce) - Salesforce specific classes and functions
- [**Vlocode**](packages/vscode-extension) - Vlocode VSCode extension
- [**@vlocode/cli**](packages/cli) - Vlocode Standalone DataPack deployment CLI

## Setup development environment
Vlocode uses `pnpm` as package manager and lerna release manager. To setup a developer environment for Vlocode you should always use the latest LTS version of node with corepack. VScode is the preferred IDE for developing and debugging.

- check out this repository
- enable corepack and activate the `pnpm` package manager
Vlocode uses `pnpm` as package manager and lerna release manager. To setup a developer environment for Vlocode you should always use the latest LTS version of node with corepack. VScode is the preferred IDE for developing and debugging.

- check out this repository
- enable corepack and activate the `pnpm` package manager

```shell
$ corepack enable
$ corepack enable
$ corepack prepare $(node -p "require('./package.json').packageManager") --activate
```
- install all dependencies using pnpm, this will install all dependencies for packages in the monorepo

- install all dependencies using pnpm, this will install all dependencies for packages in the monorepo

```shell
pnpm install
```
- open the folder in VSCode and start coding; the `launch.json` and `tasks.json` that are part of this repository should allow you to run both the Vlocode CLI as well as debug the Vlocode extension without requiring any configuration

- open the folder in VSCode and start coding; the `launch.json` and `tasks.json` that are part of this repository should allow you to run both the Vlocode CLI as well as debug the Vlocode extension without requiring any configuration

## Tests

Each vlocode package comes with unit tests. To run all tests simply run `pnpm test` from the root folder which will run all package tests. P

Vlocode uses jest as test runner and is pre-configured to generate a test converge report.

**Note** you should run `pnpm build` if you are not running a watcher to ensure that all packages are transpiled and linked under *node_modules*.
**Note** you should run `pnpm build` if you are not running a watcher to ensure that all packages are transpiled and linked under _node_modules_.
24 changes: 14 additions & 10 deletions SITE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,30 @@ Vlocode uses a set of API libraries that provide common reusable components and
All libraries are available on NPMJS and can be installed using either npm or yarn. There is no dependency on the vlocode VSCode extension or on vscode itself.

### Install with NPM

```shell
npm install @vlocode/core @vlocode/util --save
npm install @vlocode/core @vlocode/util --save
```

### Install with yarn

```shell
yarn add @vlocode/core @vlocode/util
```

## **@vlocode/core**
- `IoC Container FW` flexible IoC container framework
- `Logging` highly configurable logging framework with VSCode Terminal and output channel writers.
- `Minimal FS` minimal FS abstraction layer with VSCode and Native implementations

- `IoC Container FW` flexible IoC container framework
- `Logging` highly configurable logging framework with VSCode Terminal and output channel writers.
- `Minimal FS` minimal FS abstraction layer with VSCode and Native implementations

_Note_ **@vlocode/core** depends on the same version of **@vlocode/util**

## **@vlocode/util**
- `Iterable` utility methods exposing common iterable operations
- `Salesforce Utilities` several Utility methods to make working with Salesforce data easier
- `SFDX Utility` expose common SFDX methods to easily build a connection using existing SFDX credentials
- `Cache` cache decorator to cache function/method responses
- `Singleton` singleton utility pattern
- `Async Event Emitter` generic Typescript compatible Async Event emitter

- `Iterable` utility methods exposing common iterable operations
- `Salesforce Utilities` several Utility methods to make working with Salesforce data easier
- `SFDX Utility` expose common SFDX methods to easily build a connection using existing SFDX credentials
- `Cache` cache decorator to cache function/method responses
- `Singleton` singleton utility pattern
- `Async Event Emitter` generic Typescript compatible Async Event emitter
54 changes: 26 additions & 28 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
{
"useNx": false,
"version": "0.18.6",
"npmClient": "pnpm",
"packages": [
"packages/*"
],
"command": {
"publish": {
"conventionalCommits": true
"useNx": false,
"version": "0.18.6",
"npmClient": "pnpm",
"packages": ["packages/*"],
"command": {
"publish": {
"conventionalCommits": true
},
"version": {
"gitRemote": "origin",
"conventionalCommits": true,
"syncWorkspaceLock": true,
"message": "chore: publish version %v",
"changelogHeaderMessage": "## Vlocity/Salesforce Integration for VSCode"
},
"run": {
"cmdDryRun": false
}
},
"version": {
"gitRemote": "origin",
"conventionalCommits": true,
"syncWorkspaceLock": true,
"message": "chore: publish version %v",
"changelogHeaderMessage": "## Vlocity/Salesforce Integration for VSCode"
},
"run": {
"cmdDryRun": false
}
},
"ignoreChanges": [
"**/__fixtures__/**",
"**/__tests__/**",
"**/helpers/**",
"**/*.md",
".vscode",
".github"
]
"ignoreChanges": [
"**/__fixtures__/**",
"**/__tests__/**",
"**/helpers/**",
"**/*.md",
".vscode",
".github"
]
}
32 changes: 19 additions & 13 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<img src="https://raw.githubusercontent.com/Codeneos/vlocode/master/resources/logo1.png" height="160">

[![CircleCI](https://circleci.com/gh/Codeneos/vlocode/tree/master.svg?style=svg)](https://circleci.com/gh/Codeneos/vlocode/tree/master)
[![GitHub top language](https://img.shields.io/github/languages/top/codeneos/vlocode.svg?logo=github)](https://github.com/Codeneos/vlocode)
[![Bugs](https://img.shields.io/sonar/https/sonarcloud.io/curlybracket.vlocode/bugs.svg?color=lightgray&label=bugs&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAolBMVEUAAAD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgCXdjhZAAAANXRSTlMA%2Bg335ykFAwnr7hDZON7Ie1ZDMfTUmIUUSSLPoVAa4r6K8rtyXD62gG2xpsKSjnZpYx6qTp5XIo8AAAOWSURBVFjD7VbZtqIwEGSVRXYQAVFBFvf16v%2F%2F2tgJKsYEvPM4Z%2FLiwV7SXV2phPu3lyB71fnserLwN9HD%2BGBL4u2%2BRMk%2BeMJvw887CH6uIKuGvwhXvIK%2FEYtf1sq38epRu1GWtFa%2FLH%2FPNxFFvq6q9aGQ8LeYC19hH2L30VFWm4p8Z4Tb2H%2BRYbBC%2B2urWfvfy1hHGZx%2BHNwFeBox4alMDfhfv%2FbFJxNUvv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ybracket.vlocode)
[![GitHub top language](https://img.shields.io/github/languages/top/codeneos/vlocode.svg?logo=github)](https://github.com/Codeneos/vlocode)
[![Bugs](https://img.shields.io/sonar/https/sonarcloud.io/curlybracket.vlocode/bugs.svg?color=lightgray&label=bugs&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAolBMVEUAAAD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgD%2FZgCXdjhZAAAANXRSTlMA%2Bg335ykFAwnr7hDZON7Ie1ZDMfTUmIUUSSLPoVAa4r6K8rtyXD62gG2xpsKSjnZpYx6qTp5XIo8AAAOWSURBVFjD7VbZtqIwEGSVRXYQAVFBFvf16v%2F%2F2tgJKsYEvPM4Z%2FLiwV7SXV2phPu3lyB71fnserLwN9HD%2BGBL4u2%2BRMk%2BeMJvw887CH6uIKuGvwhXvIK%2FEYtf1sq38epRu1GWtFa%2FLH%2FPNxFFvq6q9aGQ8LeYC19hH2L30VFWm4p8Z4Tb2H%2BRYbBC%2B2urWfvfy1hHGZx%2BHNwFeBox4alMDfhfv%2FbFJxNUvvlpqVEGe9aTYAxe85pmihGWTne8bEGnJ7qx5KG5pDNBCZssBcZ8M7CeOkcILuKUCTAP6bvo5GuAE5P1ESAsyR0JKqhxzLYfACG3ZwY8dMDsoWcOKXDFZ9tNYFnYQeMNkPh09fzZgD5loMKWfYxrREOeF3VjU%2FqUHMn8bp8w5Elwl4tba2nbTwWRNSRPBUWeFHMjkgqirckMXuPDFx5hUtcSGU4b%2BemV3BHeSHpoUut2uirL8XYSwNfCJEDetjQyjFrtNyJmjE3cnBJ54b3dgmhVBgytfIRTpENChPQ8aYNSHxzy4DkoTrmMseju1XcRmg64L866eL0nj1ER4rkZ7oghQuScgadNWz5ijIVBzlkiRCDoQKOB25Dagqhw8ECGP%2FXGHwOEwKPvCj4184HMpk%2Fwo72IGpWfzEEjze8WGwqL%2BwrIMbNafrUO52LGefCb9RUwtFG82ybvBnaecsd%2BrQYEfgD0d6lZ4x6gFdGj3%2FLDV2H%2B0tr4FHVZcjaUllDnvppk8etrRqrxzAJUOQNIGLEEcHTpwAVpNIfSRCyFDcwOZu6ACbgC6o25Quj0VrAjhINAuWInuGAMUtiHyqMp333L1AFQmCuZbr7WSTHMoBVngpsd0UCCCetm50W88DihgB5c5mNjz0oQB3hnjNWOVoKpA8Amo4Dl4wwkBupFoR4AgGnIfq7M5ScYOq0JD9jO5wPmgwmDH%2B2Qpk0%2FKyjxa32lfsYjRZtcmo0kfJERE4vyoHnihgRT1TOK0J97ngLk92MOWk5XKKxZtiu0CvNTXNlReQmu2FzIbgLlKoJ8XuLtdQ0XUZxkAfzVyzSV8N02Vtvd6s2NN8%2FSMNzaEo%2B%2F525sPG5a%2BycM08xqLAtHfX8Kj26UlZmgRTzFYlTkbJK9RjrNHUSvYWmQFj2UKbQxQ6u1Fz8ay8ojuTMR24nTekAX0aQKd5am65KRHaZvo4vivDAkfaFZdnhOKOEt7ZR9XwYBJZeKLJf7LP4vYv0BK5jBy9A2z3IAAAAASUVORK5CYII%3D)](https://sonarcloud.io/dashboard?id=curlybracket.vlocode)
[![Vulnerabilities](https://img.shields.io/sonar/https/sonarcloud.io/curlybracket.vlocode/vulnerabilities.svg?label=vulnerabilities&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAolBMVEUAAA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FXGHwOEwKPvCj4184HMpk%2Fwo72IGpWfzEEjze8WGwqL%2BwrIMbNafrUO52LGefCb9RUwtFG82ybvBnaecsd%2BrQYEfgD0d6lZ4x6gFdGj3%2FLDV2H%2B0tr4FHVZcjaUllDnvppk8etrRqrxzAJUOQNIGLEEcHTpwAVpNIfSRCyFDcwOZu6ACbgC6o25Quj0VrAjhINAuWInuGAMUtiHyqMp333L1AFQmCuZbr7WSTHMoBVngpsd0UCCCetm50W88DihgB5c5mNjz0oQB3hnjNWOVoKpA8Amo4Dl4wwkBupFoR4AgGnIfq7M5ScYOq0JD9jO5wPmgwmDH%2B2Qpk0%2FKyjxa32lfsYjRZtcmo0kfJERE4vyoHnihgRT1TOK0J97ngLk92MOWk5XKKxZtiu0CvNTXNlReQmu2FzIbgLlKoJ8XuLtdQ0XUZxkAfzVyzSV8N02Vtvd6s2NN8%2FSMNzaEo%2B%2F525sPG5a%2BycM08xqLAtHfX8Kj26UlZmgRTzFYlTkbJK9RjrNHUSvYWmQFj2UKbQxQ6u1Fz8ay8ojuTMR24nTekAX0aQKd5am65KRHaZvo4vivDAkfaFZdnhOKOEt7ZR9XwYBJZeKLJf7LP4vYv0BK5jBy9A2z3IAAAAASUVORK5CYII%3D)](https://sonarcloud.io/dashboard?id=curlybracket.vlocode)

# **vlocode-cli** a hyper fast :rocket: Vlocity Datapack deployment CLI
Expand All @@ -11,28 +11,31 @@ Provides a fast Salesforce native tool for deploying **any** Vlocity Datapack JS

This CLI is built as showcase for the _[@vlocode/vlocity-deploy](https://www.npmjs.com/package/@vlocode/vlocity-deploy)_ NPM library, and does not use the Vlocity build tools NPM library.The CLI exposes a single command `deploy` which leverages _@vlocode/vlocity-deploy_.


## Key differences with **[vlocityinc/vlocity_build](https://github.com/vlocityinc/vlocity_build)** and **Vlocity DX**
- :rocket: Vlocode is **significantly faster** up to 10x-20x compared to Vlocity DX depending on the use case
- :computer: Vlocode does all the heavy lifting, dependency resolution, converting of datapacks **client side**
- :rainbow: Vlocode supports **true delta** check that is both fast and **reliable** as it can detect changes made in your org and restore them without relying on git

- :rocket: Vlocode is **significantly faster** up to 10x-20x compared to Vlocity DX depending on the use case
- :computer: Vlocode does all the heavy lifting, dependency resolution, converting of datapacks **client side**
- :rainbow: Vlocode supports **true delta** check that is both fast and **reliable** as it can detect changes made in your org and restore them without relying on git

## What does it **not** do...
- Vlocode deployment CLI is meant for deploying datapacks **not** for exporting/extracting them from an org
- Activate LWC OmniScripts and flex cards; for that use the client side LWC compiler of Vlocode (integration planed for future version)
- Provide you with a UI

- Vlocode deployment CLI is meant for deploying datapacks **not** for exporting/extracting them from an org
- Activate LWC OmniScripts and flex cards; for that use the client side LWC compiler of Vlocode (integration planed for future version)
- Provide you with a UI

## How to install

The Vlocode CLI is packaged as a dependency-free CLI with a bit of help from Webpack making it _very_ fast to install. This also allows Vlocode CLI to be easily integrated in any CI/CD setup and helps guarantee consistent behavior as all dependencies (and their dependencies) are pinned.

> **Note**
> You should not depend on this package if you intend to use it as library, instead depend on **@vlocode/vlocity-deploy** which is the underlying library that implements all deployment logic.
> You should not depend on this package if you intend to use it as library, instead depend on **@vlocode/vlocity-deploy** which is the underlying library that implements all deployment logic.
```shell
$ npm i @vlocode/cli -g
```

## Command Line Syntax

```shell
Usage: vlocode-cli deploy [options] <folder>

Expand All @@ -52,17 +55,20 @@ Options:
--bulk-api use the Salesforce bulk API to update and insert records (default: false)
--delta check for changes between the source data packs and source org and only deploy the datapacks that are changed (default: false)
-h, --help display help for command
```
```

## How to deploy using Vlocode CLI

You can use any existing SFDX credentials or OAuth2 to login into tge target org. If you do not provided an SFDX username or alias you will automatically get an OAuth popup.

To deploy and login using OAuth2 (for production orgs pass `--instance login.salesforce.com`) use the following basic command, where the last argument is the path (relative or full) to the folder containing the *_DataPack.json files to deploy. Vlocode will recursively scan the specified folder and deploy all datapacks found.
To deploy and login using OAuth2 (for production orgs pass `--instance login.salesforce.com`) use the following basic command, where the last argument is the path (relative or full) to the folder containing the \*\_DataPack.json files to deploy. Vlocode will recursively scan the specified folder and deploy all datapacks found.

```shell
vlocode deploy ./path-to-datapack-json-files
```

To use an existing SFDX credential or alias use:

```shell
vlocode deploy ./path-to-datapack-json-files -u <SFDX alias/username>
```
```
4 changes: 2 additions & 2 deletions packages/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"declaration": true,
"declarationMap": true
},
"include": [ "src/**/*" ],
"include": ["src/**/*"],
"references": [
{ "path": "../util" },
{ "path": "../core" },
{ "path": "../salesforce" },
{ "path": "../vlocity-deploy" }
]
}
}
8 changes: 3 additions & 5 deletions packages/cli/webpack/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{
{
"extends": "../tsconfig",
"compilerOptions": {
"outDir": "lib",
"sourceMap": true,
"baseUrl": ".",
"forceConsistentCasingInFileNames": true,
"types": [
"node"
]
"types": ["node"]
}
}
}
8 changes: 3 additions & 5 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
"declaration": true,
"declarationMap": true
},
"include": [ "src/**/*" ],
"references": [
{ "path": "../util" }
]
}
"include": ["src/**/*"],
"references": [{ "path": "../util" }]
}
Loading

0 comments on commit a865a0d

Please sign in to comment.