@sharinpix/sharinpix-sf-cli 1.0.0 → 1.2.0

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.
@@ -1,4 +1,68 @@
1
1
  {
2
- "commands": {},
3
- "version": "1.0.0"
2
+ "commands": {
3
+ "sharinpix:form:pull": {
4
+ "aliases": [],
5
+ "args": {},
6
+ "description": "Retrieves all SharinPix form templates from the connected Salesforce org and saves them as JSON files in the local sharinpix/forms directory. This command fetches the form template metadata and downloads the actual form definition files.",
7
+ "examples": [
8
+ "Pull all form templates from the default org:\n<%= config.bin %> <%= command.id %>",
9
+ "Pull form templates from a specific org:\n<%= config.bin %> <%= command.id %> --target-org myorg@example.com"
10
+ ],
11
+ "flags": {
12
+ "json": {
13
+ "description": "Format output as json.",
14
+ "helpGroup": "GLOBAL",
15
+ "name": "json",
16
+ "allowNo": false,
17
+ "type": "boolean"
18
+ },
19
+ "flags-dir": {
20
+ "helpGroup": "GLOBAL",
21
+ "name": "flags-dir",
22
+ "summary": "Import flag values from a directory.",
23
+ "hasDynamicHelp": false,
24
+ "multiple": false,
25
+ "type": "option"
26
+ },
27
+ "org": {
28
+ "char": "o",
29
+ "description": "The target Salesforce org containing the SharinPix form templates to be pulled.",
30
+ "name": "org",
31
+ "noCacheDefault": true,
32
+ "required": true,
33
+ "summary": "The Salesforce org to pull form templates from.",
34
+ "hasDynamicHelp": true,
35
+ "multiple": false,
36
+ "type": "option"
37
+ }
38
+ },
39
+ "hasDynamicHelp": true,
40
+ "hiddenAliases": [],
41
+ "id": "sharinpix:form:pull",
42
+ "pluginAlias": "@sharinpix/sharinpix-sf-cli",
43
+ "pluginName": "@sharinpix/sharinpix-sf-cli",
44
+ "pluginType": "core",
45
+ "strict": true,
46
+ "summary": "Pull SharinPix form templates from Salesforce org.",
47
+ "enableJsonFlag": true,
48
+ "isESM": true,
49
+ "relativePath": [
50
+ "lib",
51
+ "commands",
52
+ "sharinpix",
53
+ "form",
54
+ "pull.js"
55
+ ],
56
+ "aliasPermutations": [],
57
+ "permutations": [
58
+ "sharinpix:form:pull",
59
+ "form:sharinpix:pull",
60
+ "form:pull:sharinpix",
61
+ "sharinpix:pull:form",
62
+ "pull:sharinpix:form",
63
+ "pull:form:sharinpix"
64
+ ]
65
+ }
66
+ },
67
+ "version": "1.2.0"
4
68
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sharinpix/sharinpix-sf-cli",
3
3
  "description": "SharinPix salesforce cli plugin",
4
- "version": "1.0.0",
4
+ "version": "1.2.0",
5
5
  "dependencies": {
6
6
  "@oclif/core": "^4",
7
7
  "@salesforce/core": "^8",
@@ -12,10 +12,12 @@
12
12
  "@salesforce/cli-plugins-testkit": "^5.3.10",
13
13
  "@salesforce/dev-scripts": "^10",
14
14
  "eslint-plugin-sf-plugin": "^1.18.6",
15
+ "husky": "^9.1.7",
15
16
  "oclif": "^4.14.0",
16
17
  "ts-node": "^10.9.2",
17
- "typescript": "^5.4.5",
18
- "husky": "^9.1.7"
18
+ "typescript": "^5.9.2",
19
+ "semantic-release": "^24.2.7",
20
+ "@types/mocha": "^10.0.7"
19
21
  },
20
22
  "engines": {
21
23
  "node": ">=18.0.0"
@@ -43,11 +45,7 @@
43
45
  "devPlugins": [
44
46
  "@oclif/plugin-help"
45
47
  ],
46
- "topics": {
47
- "hello": {
48
- "description": "Commands to say hello."
49
- }
50
- },
48
+ "topics": {},
51
49
  "flexibleTaxonomy": true
52
50
  },
53
51
  "scripts": {
@@ -60,13 +58,13 @@
60
58
  "link-check": "wireit",
61
59
  "lint": "wireit",
62
60
  "postpack": "sf-clean --ignore-signing-artifacts",
63
- "postinstall": "npm install --dev && npm run build",
64
61
  "prepack": "sf-prepack",
65
62
  "test": "wireit",
66
63
  "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
67
64
  "test:only": "wireit",
68
65
  "version": "oclif readme",
69
- "prepare": "husky"
66
+ "prepare": "husky",
67
+ "semantic-release": "semantic-release"
70
68
  },
71
69
  "publishConfig": {
72
70
  "access": "public"
@@ -131,7 +129,8 @@
131
129
  "test:only": {
132
130
  "command": "nyc mocha \"test/**/*.test.ts\"",
133
131
  "env": {
134
- "FORCE_COLOR": "2"
132
+ "FORCE_COLOR": "2",
133
+ "TS_NODE_PROJECT": "./test/tsconfig.json"
135
134
  },
136
135
  "files": [
137
136
  "test/**/*.ts",
@@ -184,5 +183,11 @@
184
183
  },
185
184
  "exports": "./lib/index.js",
186
185
  "type": "module",
187
- "author": "SharinPix"
188
- }
186
+ "author": "SharinPix",
187
+ "resolutions": {
188
+ "@types/node": "^20.5.1"
189
+ },
190
+ "overrides": {
191
+ "@types/node": "^20.5.1"
192
+ }
193
+ }
@@ -1,29 +0,0 @@
1
- # summary
2
-
3
- Say hello.
4
-
5
- # description
6
-
7
- Say hello either to the world or someone you know.
8
-
9
- # flags.org.summary
10
-
11
- The name of the person you'd like to say hello to.
12
-
13
- # flags.org.description
14
-
15
- This person can be anyone in the world!
16
-
17
- # examples
18
-
19
- - Say hello to the world:
20
-
21
- <%= config.bin %> <%= command.id %>
22
-
23
- - Say hello to someone you know:
24
-
25
- <%= config.bin %> <%= command.id %> --name Astro
26
-
27
- # info.hello
28
-
29
- Hello %s at %s
@@ -1,19 +0,0 @@
1
- # summary
2
-
3
- Summary of a command.
4
-
5
- # description
6
-
7
- More information about a command. Don't repeat the summary.
8
-
9
- # flags.name.summary
10
-
11
- Description of a flag.
12
-
13
- # flags.name.description
14
-
15
- More information about a flag. Don't repeat the summary.
16
-
17
- # examples
18
-
19
- - <%= config.bin %> <%= command.id %>
@@ -1,19 +0,0 @@
1
- # summary
2
-
3
- Summary of a command.
4
-
5
- # description
6
-
7
- More information about a command. Don't repeat the summary.
8
-
9
- # flags.name.summary
10
-
11
- Description of a flag.
12
-
13
- # flags.name.description
14
-
15
- More information about a flag. Don't repeat the summary.
16
-
17
- # examples
18
-
19
- - <%= config.bin %> <%= command.id %>