@simplysf/simply-data 2.1.1 → 2.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @simplysf/simply-data
2
2
 
3
- [![NPM](https://img.shields.io/npm/v/@simplysf/simply-data?label=@simplysf/simply-data)](https://npmjs.com/@simplysf/simply-data) [![Downloads/week](https://img.shields.io/npm/dw/@simplysf/simply-data.svg)](https://npmjs.com/@simplysf/simply-data) [![License: BSD-3-Clause](https://img.shields.io/badge/License-BSD_3--Clause-yellow.svg)](https://raw.githubusercontent.com/SimplySF/simply-data/main/LICENSE.txt)
3
+ [![NPM](https://img.shields.io/npm/v/@simplysf/simply-data?label=@simplysf/simply-data)](https://npmjs.com/@simplysf/simply-data) [![Downloads/week](https://img.shields.io/npm/dw/@simplysf/simply-data.svg)](https://npmjs.com/@simplysf/simply-data) [![License: Apache-2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://raw.githubusercontent.com/SimplySF/simply/main/packages/simply-data/LICENSE.txt)
4
4
 
5
5
  ## Install
6
6
 
@@ -10,48 +10,11 @@ sf plugins install @simplysf/simply-data
10
10
 
11
11
  ## Issues
12
12
 
13
- Please report any issues at https://github.com/SimplySF/simply-data/issues
13
+ Please report any issues at https://github.com/SimplySF/simply/issues
14
14
 
15
15
  ## Contributing
16
16
 
17
- 1. Please read our [Code of Conduct](CODE_OF_CONDUCT.md)
18
- 2. Create a new issue before starting your project so that we can keep track of
19
- what you are trying to add/fix. That way, we can also offer suggestions or
20
- let you know if there is already an effort in progress.
21
- 3. Fork this repository.
22
- 4. [Build the plugin locally](#build)
23
- 5. Create a _topic_ branch in your fork. Note, this step is recommended but technically not required if contributing using a fork.
24
- 6. Edit the code in your fork.
25
- 7. Write appropriate tests for your changes. Try to achieve at least 95% code coverage on any new code. No pull request will be accepted without unit tests.
26
- 8. Send us a pull request when you are done. We'll review your code, suggest any needed changes, and merge it in.
27
-
28
- ### Build
29
-
30
- To build the plugin locally, make sure to have yarn installed and run the following commands:
31
-
32
- ```bash
33
- # Clone the repository
34
- git clone git@github.com:SimplySF/simply-data
35
-
36
- # Install the dependencies and compile
37
- yarn && yarn build
38
- ```
39
-
40
- To use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file.
41
-
42
- ```bash
43
- # Run using local run file.
44
- ./bin/dev.cmd simply data
45
- ```
46
-
47
- There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be useful to link the plugin to do some additional testing or run your commands from anywhere on your machine.
48
-
49
- ```bash
50
- # Link your plugin to the sf cli
51
- sf plugins link .
52
- # To verify
53
- sf plugins
54
- ```
17
+ This package is part of the [`@simplysf/simply`](https://github.com/SimplySF/simply) monorepo. See the repo's [CONTRIBUTING.md](../../CONTRIBUTING.md) for the repo structure, how to set up and build the project, our commit conventions, and how to submit a pull request. Please also read our [Code of Conduct](../../CODE_OF_CONDUCT.md).
55
18
 
56
19
  ## Commands
57
20
 
@@ -92,7 +55,7 @@ EXAMPLES
92
55
  $ sf simply data file upload --file-path fileToUpload.txt --first-publish-location-id 0019000000DmehK --target-org myTargetOrg
93
56
  ```
94
57
 
95
- _See code: [lib/commands/simply/data/file/upload.js](https://github.com/SimplySF/simply-data/blob/2.1.1/lib/commands/simply/data/file/upload.js)_
58
+ _See code: [lib/commands/simply/data/file/upload.js](https://github.com/SimplySF/simply/blob/2.1.9/lib/commands/simply/data/file/upload.js)_
96
59
 
97
60
  ## `sf simply data files download`
98
61
 
@@ -137,7 +100,7 @@ FLAG DESCRIPTIONS
137
100
  Provide a WHERE clause to allow the plugin to specify which ContentVersion records should be downloaded.
138
101
  ```
139
102
 
140
- _See code: [lib/commands/simply/data/files/download.js](https://github.com/SimplySF/simply-data/blob/2.1.1/lib/commands/simply/data/files/download.js)_
103
+ _See code: [lib/commands/simply/data/files/download.js](https://github.com/SimplySF/simply/blob/2.1.9/lib/commands/simply/data/files/download.js)_
141
104
 
142
105
  ## `sf simply data files upload`
143
106
 
@@ -182,5 +145,5 @@ FLAG DESCRIPTIONS
182
145
  quasi concurrent uploads. Please note that setting this value too high can cause performance issues.
183
146
  ```
184
147
 
185
- _See code: [lib/commands/simply/data/files/upload.js](https://github.com/SimplySF/simply-data/blob/2.1.1/lib/commands/simply/data/files/upload.js)_
148
+ _See code: [lib/commands/simply/data/files/upload.js](https://github.com/SimplySF/simply/blob/2.1.9/lib/commands/simply/data/files/upload.js)_
186
149
  <!-- commandsstop -->
package/package.json CHANGED
@@ -1,30 +1,14 @@
1
1
  {
2
2
  "name": "@simplysf/simply-data",
3
3
  "description": "Utilities for working with data",
4
- "version": "2.1.1",
4
+ "version": "2.1.9",
5
5
  "author": "@ClayChipps",
6
- "bugs": "https://github.com/SimplySF/simply-data/issues",
7
- "dependencies": {
8
- "@oclif/core": "^4.11.2",
9
- "@salesforce/core": "^8.30.0",
10
- "@salesforce/kit": "^3.2.6",
11
- "@salesforce/sf-plugins-core": "^12.2.16",
12
- "csv-parse": "^6.2.1",
13
- "csv-writer": "^1.6.0",
14
- "form-data": "^4.0.5",
15
- "got": "14.6.6",
16
- "p-queue": "^9.2.0"
17
- },
18
- "devDependencies": {
19
- "@oclif/plugin-command-snapshot": "^5.3.19",
20
- "@salesforce/cli-plugins-testkit": "^5.3.57",
21
- "@salesforce/plugin-command-reference": "^3.1.99",
22
- "@salesforce/ts-sinon": "^1.4.34",
23
- "@simplysf/dev-scripts": "^11.1.1",
24
- "eslint-plugin-sf-plugin": "^1.20.33",
25
- "nock": "^14.0.15",
26
- "oclif": "^4.23.0",
27
- "ts-node": "^10.9.2"
6
+ "homepage": "https://github.com/SimplySF/simply",
7
+ "bugs": "https://github.com/SimplySF/simply/issues",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/SimplySF/simply",
11
+ "directory": "packages/simply-data"
28
12
  },
29
13
  "engines": {
30
14
  "node": ">=22.0.0"
@@ -36,7 +20,6 @@
36
20
  "/oclif.lock",
37
21
  "/oclif.manifest.json"
38
22
  ],
39
- "homepage": "https://github.com/SimplySF/simply-data",
40
23
  "keywords": [
41
24
  "force",
42
25
  "salesforce",
@@ -47,6 +30,8 @@
47
30
  "sf"
48
31
  ],
49
32
  "license": "Apache-2.0",
33
+ "exports": "./lib/index.js",
34
+ "type": "module",
50
35
  "oclif": {
51
36
  "bin": "sf",
52
37
  "commands": "./lib/commands",
@@ -75,29 +60,43 @@
75
60
  },
76
61
  "topicSeparator": " "
77
62
  },
78
- "repository": "SimplySF/simply-data",
63
+ "dependencies": {
64
+ "@oclif/core": "^4.11.2",
65
+ "@salesforce/core": "^8.30.0",
66
+ "@salesforce/kit": "^3.2.6",
67
+ "@salesforce/sf-plugins-core": "^12.2.16",
68
+ "csv-parse": "^6.2.1",
69
+ "csv-writer": "^1.6.0",
70
+ "form-data": "^4.0.5",
71
+ "got": "14.6.6",
72
+ "p-queue": "^9.2.0"
73
+ },
74
+ "devDependencies": {
75
+ "@oclif/plugin-command-snapshot": "^5.3.19",
76
+ "@salesforce/cli-plugins-testkit": "^5.3.57",
77
+ "@salesforce/plugin-command-reference": "^3.1.99",
78
+ "@salesforce/ts-sinon": "^1.4.34",
79
+ "eslint-plugin-sf-plugin": "^1.20.33",
80
+ "nock": "^14.0.15",
81
+ "oclif": "^4.23.0",
82
+ "ts-node": "^10.9.2"
83
+ },
84
+ "publishConfig": {
85
+ "access": "public"
86
+ },
79
87
  "scripts": {
80
88
  "build": "wireit",
81
- "clean": "sf-clean",
82
- "clean-all": "sf-clean all",
83
89
  "compile": "wireit",
84
- "docs": "sf-docs",
85
90
  "fix-license": "eslint src test --fix --rule \"header/header: [2]\"",
86
91
  "format": "wireit",
87
92
  "link-check": "wireit",
88
93
  "lint": "wireit",
89
- "postpack": "sf-clean --ignore-signing-artifacts",
90
- "prepack": "sf-prepack",
91
- "prepare": "sf-install",
92
94
  "test": "wireit",
93
95
  "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --jobs 5",
94
96
  "test:only": "wireit",
95
97
  "test:watch": "mocha --watch \"./test/**/*.test.ts\"",
96
98
  "version": "oclif readme"
97
99
  },
98
- "publishConfig": {
99
- "access": "public"
100
- },
101
100
  "wireit": {
102
101
  "build": {
103
102
  "dependencies": [
@@ -213,6 +212,5 @@
213
212
  "output": []
214
213
  }
215
214
  },
216
- "exports": "./lib/index.js",
217
- "type": "module"
215
+ "gitHead": "da7382a69839e5df798bdbfe83f6f126f238dda3"
218
216
  }