pypeline 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.
Files changed (43) hide show
  1. package/README.md +448 -0
  2. package/lib/commands/pypeline/build.d.ts +18 -0
  3. package/lib/commands/pypeline/build.js +86 -0
  4. package/lib/commands/pypeline/build.js.map +1 -0
  5. package/lib/commands/pypeline/deploy/training.d.ts +15 -0
  6. package/lib/commands/pypeline/deploy/training.js +62 -0
  7. package/lib/commands/pypeline/deploy/training.js.map +1 -0
  8. package/lib/commands/pypeline/package.d.ts +11 -0
  9. package/lib/commands/pypeline/package.js +27 -0
  10. package/lib/commands/pypeline/package.js.map +1 -0
  11. package/lib/commands/pypeline/prd.d.ts +16 -0
  12. package/lib/commands/pypeline/prd.js +78 -0
  13. package/lib/commands/pypeline/prd.js.map +1 -0
  14. package/lib/commands/pypeline/quickdeploy.d.ts +18 -0
  15. package/lib/commands/pypeline/quickdeploy.js +116 -0
  16. package/lib/commands/pypeline/quickdeploy.js.map +1 -0
  17. package/lib/commands/pypeline/run.d.ts +19 -0
  18. package/lib/commands/pypeline/run.js +161 -0
  19. package/lib/commands/pypeline/run.js.map +1 -0
  20. package/lib/commands/pypeline/training.d.ts +15 -0
  21. package/lib/commands/pypeline/training.js +67 -0
  22. package/lib/commands/pypeline/training.js.map +1 -0
  23. package/lib/commands/pypeline/validate/prd.d.ts +16 -0
  24. package/lib/commands/pypeline/validate/prd.js +78 -0
  25. package/lib/commands/pypeline/validate/prd.js.map +1 -0
  26. package/lib/config.d.ts +23 -0
  27. package/lib/config.js +72 -0
  28. package/lib/config.js.map +1 -0
  29. package/lib/fileUtils.d.ts +2 -0
  30. package/lib/fileUtils.js +78 -0
  31. package/lib/fileUtils.js.map +1 -0
  32. package/lib/index.d.ts +2 -0
  33. package/lib/index.js +2 -0
  34. package/lib/index.js.map +1 -0
  35. package/messages/pypeline.build.md +16 -0
  36. package/messages/pypeline.deploy.training.md +15 -0
  37. package/messages/pypeline.package.md +8 -0
  38. package/messages/pypeline.quickdeploy.md +22 -0
  39. package/messages/pypeline.run.md +26 -0
  40. package/messages/pypeline.validate.prd.md +15 -0
  41. package/oclif.lock +7808 -0
  42. package/oclif.manifest.json +544 -0
  43. package/package.json +163 -0
package/package.json ADDED
@@ -0,0 +1,163 @@
1
+ {
2
+ "name": "pypeline",
3
+ "description": "Complete pipeline devops, for build a project based on git repo, generation of package xml, validate on producction enviroment and a quick deploy structure.",
4
+ "version": "1.0.0",
5
+ "license" : "MIT",
6
+ "dependencies": {
7
+ "@oclif/core": "^4",
8
+ "@salesforce/core": "^8",
9
+ "@salesforce/sf-plugins-core": "^12"
10
+ },
11
+ "devDependencies": {
12
+ "@oclif/plugin-command-snapshot": "^5.1.9",
13
+ "@salesforce/cli-plugins-testkit": "^5.3.10",
14
+ "@salesforce/dev-scripts": "^10",
15
+ "eslint-plugin-sf-plugin": "^1.18.6",
16
+ "oclif": "^4.14.0",
17
+ "ts-node": "^10.9.2",
18
+ "typescript": "^5.3.3"
19
+ },
20
+ "engines": {
21
+ "node": ">=18.0.0"
22
+ },
23
+ "files": [
24
+ "/lib",
25
+ "/messages",
26
+ "/oclif.manifest.json",
27
+ "/oclif.lock"
28
+ ],
29
+ "keywords": [
30
+ "force",
31
+ "salesforce",
32
+ "salesforcedx",
33
+ "sf",
34
+ "sf-plugin",
35
+ "sfdx",
36
+ "sfdx-plugin"
37
+ ],
38
+ "oclif": {
39
+ "commands": "./lib/commands",
40
+ "bin": "sf",
41
+ "topicSeparator": " ",
42
+ "devPlugins": [
43
+ "@oclif/plugin-help"
44
+ ],
45
+ "topics": {
46
+ "pypeline": {
47
+ "description": "Pipeline DevOps Salesforce: build, package, validate e quick deploy."
48
+ },
49
+ "pypeline deploy": {
50
+ "description": "Comandos de deploy do pipeline."
51
+ },
52
+ "pypeline validate": {
53
+ "description": "Comandos de validação do pipeline."
54
+ }
55
+ },
56
+ "flexibleTaxonomy": true
57
+ },
58
+ "scripts": {
59
+ "build": "wireit",
60
+ "clean": "sf-clean",
61
+ "clean-all": "sf-clean all",
62
+ "compile": "wireit",
63
+ "docs": "sf-docs",
64
+ "format": "wireit",
65
+ "link-check": "wireit",
66
+ "lint": "wireit",
67
+ "postinstall": "yarn husky install",
68
+ "postpack": "sf-clean --ignore-signing-artifacts",
69
+ "prepack": "sf-prepack",
70
+ "test": "wireit",
71
+ "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
72
+ "test:only": "wireit",
73
+ "version": "oclif readme"
74
+ },
75
+ "publishConfig": {
76
+ "access": "public"
77
+ },
78
+ "wireit": {
79
+ "build": {
80
+ "dependencies": [
81
+ "compile",
82
+ "lint"
83
+ ]
84
+ },
85
+ "compile": {
86
+ "command": "tsc -p ./tsconfig.json --pretty --incremental",
87
+ "files": [
88
+ "src/**/*.ts",
89
+ "**/tsconfig.json",
90
+ "messages/**"
91
+ ],
92
+ "output": [
93
+ "lib/**",
94
+ "*.tsbuildinfo"
95
+ ],
96
+ "clean": "if-file-deleted"
97
+ },
98
+ "format": {
99
+ "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
100
+ "files": [
101
+ "src/**/*.ts",
102
+ "test/**/*.ts",
103
+ "schemas/**/*.json",
104
+ "command-snapshot.json",
105
+ ".prettier*"
106
+ ],
107
+ "output": []
108
+ },
109
+ "lint": {
110
+ "command": "eslint --ext .ts --config .eslintrc.cjs src test --color --cache --cache-location .eslintcache",
111
+ "files": [
112
+ "src/**/*.ts",
113
+ "test/**/*.ts",
114
+ "messages/**",
115
+ "**/.eslint*",
116
+ "**/tsconfig.json"
117
+ ],
118
+ "output": []
119
+ },
120
+ "test:compile": {
121
+ "command": "tsc -p \"./test\" --pretty",
122
+ "files": [
123
+ "test/**/*.ts",
124
+ "**/tsconfig.json"
125
+ ],
126
+ "output": []
127
+ },
128
+ "test": {
129
+ "dependencies": [
130
+ "test:compile",
131
+ "test:only",
132
+ "lint"
133
+ ]
134
+ },
135
+ "test:only": {
136
+ "command": "nyc mocha \"test/**/*.test.ts\"",
137
+ "env": {
138
+ "FORCE_COLOR": "2"
139
+ },
140
+ "files": [
141
+ "test/**/*.ts",
142
+ "src/**/*.ts",
143
+ "**/tsconfig.json",
144
+ ".mocha*",
145
+ "!*.nut.ts",
146
+ ".nycrc"
147
+ ],
148
+ "output": []
149
+ },
150
+ "link-check": {
151
+ "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|%s\" --markdown --retry --directory-listing --verbosity error",
152
+ "files": [
153
+ "./*.md",
154
+ "./!(CHANGELOG).md",
155
+ "messages/**/*.md"
156
+ ],
157
+ "output": []
158
+ }
159
+ },
160
+ "exports": "./lib/index.js",
161
+ "type": "module",
162
+ "author": "Andre Carvalho"
163
+ }