@simplysf/simply-permissions 1.0.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.
- package/lib/commands/simply/permissions/analyze.d.ts +19 -0
- package/lib/commands/simply/permissions/analyze.js +192 -0
- package/lib/commands/simply/permissions/analyze.js.map +1 -0
- package/lib/commands/simply/permissions/build.d.ts +25 -0
- package/lib/commands/simply/permissions/build.js +317 -0
- package/lib/commands/simply/permissions/build.js.map +1 -0
- package/lib/common/permissionSetXmlTemplate.d.ts +37 -0
- package/lib/common/permissionSetXmlTemplate.js +76 -0
- package/lib/common/permissionSetXmlTemplate.js.map +1 -0
- package/lib/common/permissionsReportTemplate.d.ts +41 -0
- package/lib/common/permissionsReportTemplate.js +109 -0
- package/lib/common/permissionsReportTemplate.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +17 -0
- package/lib/index.js.map +1 -0
- package/lib/schemas/build/permissionConfig.d.ts +24 -0
- package/lib/schemas/build/permissionConfig.js +43 -0
- package/lib/schemas/build/permissionConfig.js.map +1 -0
- package/messages/simply.permissions.analyze.md +57 -0
- package/messages/simply.permissions.build.md +97 -0
- package/package.json +201 -0
package/package.json
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@simplysf/simply-permissions",
|
|
3
|
+
"description": "Utilities for working with permissions",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"author": "@ClayChipps",
|
|
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-permissions"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=22.0.0"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"/lib",
|
|
18
|
+
"/messages",
|
|
19
|
+
"/npm-shrinkwrap.json",
|
|
20
|
+
"/oclif.lock",
|
|
21
|
+
"/oclif.manifest.json"
|
|
22
|
+
],
|
|
23
|
+
"keywords": [
|
|
24
|
+
"force",
|
|
25
|
+
"salesforce",
|
|
26
|
+
"sfdx",
|
|
27
|
+
"salesforcedx",
|
|
28
|
+
"sfdx-plugin",
|
|
29
|
+
"sf-plugin",
|
|
30
|
+
"sf"
|
|
31
|
+
],
|
|
32
|
+
"license": "Apache-2.0",
|
|
33
|
+
"exports": "./lib/index.js",
|
|
34
|
+
"type": "module",
|
|
35
|
+
"oclif": {
|
|
36
|
+
"bin": "sf",
|
|
37
|
+
"commands": "./lib/commands",
|
|
38
|
+
"devPlugins": [
|
|
39
|
+
"@oclif/plugin-command-snapshot",
|
|
40
|
+
"@oclif/plugin-help",
|
|
41
|
+
"@salesforce/plugin-command-reference"
|
|
42
|
+
],
|
|
43
|
+
"flexibleTaxonomy": true,
|
|
44
|
+
"plugins": [],
|
|
45
|
+
"repositoryPrefix": "<%- repo %>/blob/@simplysf/simply-permissions@<%- version %>/packages/simply-permissions/<%- commandPath %>",
|
|
46
|
+
"topics": {
|
|
47
|
+
"simply": {
|
|
48
|
+
"description": "Commands for simplifying Salesforce",
|
|
49
|
+
"subtopics": {
|
|
50
|
+
"permissions": {
|
|
51
|
+
"description": "Commands for working with permissions"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"topicSeparator": " "
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@oclif/core": "^4.11.2",
|
|
60
|
+
"@salesforce/core": "^8.30.0",
|
|
61
|
+
"@salesforce/kit": "^3.2.6",
|
|
62
|
+
"@salesforce/sf-plugins-core": "^12.2.16",
|
|
63
|
+
"@salesforce/source-deploy-retrieve": "^12.37.2",
|
|
64
|
+
"zod": "^4.1.12"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@oclif/plugin-command-snapshot": "^5.3.19",
|
|
68
|
+
"@salesforce/plugin-command-reference": "^3.1.99"
|
|
69
|
+
},
|
|
70
|
+
"publishConfig": {
|
|
71
|
+
"access": "public"
|
|
72
|
+
},
|
|
73
|
+
"scripts": {
|
|
74
|
+
"build": "wireit",
|
|
75
|
+
"compile": "wireit",
|
|
76
|
+
"fix-license": "eslint src test --fix --rule \"header/header: [2]\"",
|
|
77
|
+
"format": "wireit",
|
|
78
|
+
"link-check": "wireit",
|
|
79
|
+
"lint": "wireit",
|
|
80
|
+
"readme": "oclif readme --no-aliases",
|
|
81
|
+
"test": "wireit",
|
|
82
|
+
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --jobs 5",
|
|
83
|
+
"test:only": "wireit",
|
|
84
|
+
"test:watch": "mocha --watch \"./test/**/*.test.ts\""
|
|
85
|
+
},
|
|
86
|
+
"wireit": {
|
|
87
|
+
"build": {
|
|
88
|
+
"dependencies": [
|
|
89
|
+
"compile",
|
|
90
|
+
"lint"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"compile": {
|
|
94
|
+
"command": "tsc -p . --pretty --incremental",
|
|
95
|
+
"files": [
|
|
96
|
+
"src/**/*.ts",
|
|
97
|
+
"**/tsconfig.json",
|
|
98
|
+
"messages/**"
|
|
99
|
+
],
|
|
100
|
+
"output": [
|
|
101
|
+
"lib/**",
|
|
102
|
+
"*.tsbuildinfo"
|
|
103
|
+
],
|
|
104
|
+
"clean": "if-file-deleted"
|
|
105
|
+
},
|
|
106
|
+
"format": {
|
|
107
|
+
"command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
|
|
108
|
+
"files": [
|
|
109
|
+
"src/**/*.ts",
|
|
110
|
+
"test/**/*.ts",
|
|
111
|
+
"schemas/**/*.json",
|
|
112
|
+
"command-snapshot.json",
|
|
113
|
+
".prettier*"
|
|
114
|
+
],
|
|
115
|
+
"output": []
|
|
116
|
+
},
|
|
117
|
+
"lint": {
|
|
118
|
+
"command": "eslint src test --color --cache --cache-location .eslintcache",
|
|
119
|
+
"files": [
|
|
120
|
+
"src/**/*.ts",
|
|
121
|
+
"test/**/*.ts",
|
|
122
|
+
"messages/**",
|
|
123
|
+
"**/.eslint*",
|
|
124
|
+
"**/tsconfig.json"
|
|
125
|
+
],
|
|
126
|
+
"output": []
|
|
127
|
+
},
|
|
128
|
+
"test": {
|
|
129
|
+
"dependencies": [
|
|
130
|
+
"test:compile",
|
|
131
|
+
"test:only",
|
|
132
|
+
"test:command-reference",
|
|
133
|
+
"test:deprecation-policy",
|
|
134
|
+
"lint",
|
|
135
|
+
"test:json-schema",
|
|
136
|
+
"link-check"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
"test:command-reference": {
|
|
140
|
+
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
|
|
141
|
+
"files": [
|
|
142
|
+
"src/**/*.ts",
|
|
143
|
+
"messages/**",
|
|
144
|
+
"package.json"
|
|
145
|
+
],
|
|
146
|
+
"output": [
|
|
147
|
+
"tmp/root"
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
"test:deprecation-policy": {
|
|
151
|
+
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
|
|
152
|
+
"files": [
|
|
153
|
+
"src/**/*.ts"
|
|
154
|
+
],
|
|
155
|
+
"output": [],
|
|
156
|
+
"dependencies": [
|
|
157
|
+
"compile"
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
"test:json-schema": {
|
|
161
|
+
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
|
|
162
|
+
"files": [
|
|
163
|
+
"src/**/*.ts",
|
|
164
|
+
"schemas"
|
|
165
|
+
],
|
|
166
|
+
"output": []
|
|
167
|
+
},
|
|
168
|
+
"test:compile": {
|
|
169
|
+
"command": "tsc -p \"./test\" --pretty",
|
|
170
|
+
"files": [
|
|
171
|
+
"test/**/*.ts",
|
|
172
|
+
"**/tsconfig.json"
|
|
173
|
+
],
|
|
174
|
+
"output": []
|
|
175
|
+
},
|
|
176
|
+
"test:only": {
|
|
177
|
+
"command": "nyc mocha \"test/**/*.test.ts\"",
|
|
178
|
+
"env": {
|
|
179
|
+
"FORCE_COLOR": "2"
|
|
180
|
+
},
|
|
181
|
+
"files": [
|
|
182
|
+
"test/**/*.ts",
|
|
183
|
+
"src/**/*.ts",
|
|
184
|
+
"**/tsconfig.json",
|
|
185
|
+
".mocha*",
|
|
186
|
+
"!*.nut.ts",
|
|
187
|
+
".nycrc"
|
|
188
|
+
],
|
|
189
|
+
"output": []
|
|
190
|
+
},
|
|
191
|
+
"link-check": {
|
|
192
|
+
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|localhost|blob/.*/lib/|%s\" --markdown --retry --directory-listing --verbosity error",
|
|
193
|
+
"files": [
|
|
194
|
+
"./*.md",
|
|
195
|
+
"./!(CHANGELOG).md",
|
|
196
|
+
"messages/**/*.md"
|
|
197
|
+
],
|
|
198
|
+
"output": []
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|