forked from jongpie/NebulaLogger
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
141 lines (141 loc) · 8.45 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "nebula-logger",
"version": "4.13.1",
"description": "The most robust logger for Salesforce. Works with Apex, Lightning Components, Flow, Process Builder & Integrations. Designed for Salesforce admins, developers & architects.",
"author": "Jonathan Gillespie",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/jongpie/NebulaLogger.git"
},
"homepage": "https://github.com/jongpie/NebulaLogger#readme",
"bugs": {
"url": "https://github.com/jongpie/NebulaLogger/issues"
},
"keywords": [
"logger",
"logging",
"log",
"salesforce",
"monitoring",
"observability",
"platform events",
"apex",
"flow",
"lightning components",
"lwc",
"aura",
"big objects"
],
"engines": {
"node": ">= 12.18.0",
"npm": ">= 6.14.0"
},
"scripts": {
"devhub:details": "pwsh ./scripts/build/get-devhub-org-details.ps1",
"devhub:limits": "pwsh ./scripts/build/get-devhub-org-limits.ps1",
"devhub:open": "pwsh ./scripts/build/open-devhub-org.ps1",
"docs:fix": "npm run docs:fix:apex && npm run docs:fix:lwc",
"docs:fix:apex": "pwsh ./scripts/build/generate-apex-docs.ps1 && git add ./docs/apex",
"docs:fix:lwc": "pwsh ./scripts/build/generate-lwc-docs.ps1 && git add ./docs/lightning-components",
"docs:verify": "pwsh ./scripts/build/verify-docs-up-to-date.ps1",
"experience:create": "sf community create --name \"Logger Test Site\" --template-name \"Customer Service\" --url-path-prefix logger --description \"Logger Test Site\"",
"experience:deploy": "sf project deploy start --source-dir ./config/experience-cloud --wait 30",
"husky:pre-commit": "lint-staged --config ./config/linters/lint-staged.config.js",
"org:create:base": "pwsh ./scripts/build/create-scratch-org.ps1 -definitionfile ./config/scratch-orgs/base-scratch-def.json && npm run org:debug:enable",
"org:create:experience-cloud": "pwsh ./scripts/build/create-scratch-org.ps1 -definitionfile ./config/scratch-orgs/experience-cloud-scratch-def.json && sfdx force:apex:execute --apexcodefile ./scripts/build/enable-debug-mode.apex",
"org:delete": "sf org delete scratch --json",
"org:debug:enable": "sf apex run --file ./scripts/build/enable-debug-mode.apex",
"org:delete:noprompt": "sf org delete scratch --json --no-prompt",
"org:details": "sf org display --json --verbose",
"org:open": "sf org open",
"org:open:chrome": "sf org open --browser chrome",
"org:open:firefox": "sf org open --browser firefox",
"package:version:create:managed": "pwsh ./scripts/build/create-managed-package-beta-version.ps1",
"package:version:create:unlocked": "sf package version create --json --package \"Nebula Logger - Core\" --skip-ancestor-check --code-coverage --installation-key-bypass --wait 30",
"package:version:number:fix": "pwsh ./scripts/build/sync-package-version-number.ps1",
"package:version:number:verify": "pwsh ./scripts/build/validate-current-package-version-number.ps1",
"permset:assign": "npm run permset:assign:admin && npm run permset:assign:big-object-admin && npm run permset:assign:recipes-admin && npm run permset:assign:slack-admin",
"permset:assign:admin": "sf org assign permset --name LoggerAdmin",
"permset:assign:big-object-admin": "sf org assign permset --name LoggerLogEntryArchiveAdmin",
"permset:assign:recipes-admin": "sf org assign permset --name LoggerRecipesAdmin",
"permset:assign:slack-admin": "sf org assign permset --name LoggerSlackPluginAdmin",
"plugin:version:create:async-failure-additions": "sf package version create --json --package \"Nebula Logger - Core Plugin - Async Failure Additions\" --skip-ancestor-check --code-coverage --installation-key-bypass --wait 30",
"plugin:version:create:big-object": "sf package version create --json --package \"Nebula Logger - Core Plugin - Big Object Archiving\" --skip-ancestor-check --code-coverage --installation-key-bypass --wait 30",
"plugin:version:create:log-retention-rules": "sf package version create --json --package \"Nebula Logger - Core Plugin - Log Retention Rules\" --skip-ancestor-check --code-coverage --installation-key-bypass --wait 30",
"plugin:version:create:logger-admin-dashboard": "sf package version create --json --package \"Nebula Logger - Core Plugin - Logger Admin Dashboard\" --skip-ancestor-check --code-coverage --installation-key-bypass --wait 30",
"plugin:version:create:slack": "sf package version create --json --package \"Nebula Logger - Core Plugin - Slack\" --skip-ancestor-check --code-coverage -k --wait 30",
"prepare": "husky install && chmod +x ./.husky/pre-commit",
"prettier:fix": "prettier --write \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"prettier:verify": "prettier --list-different \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"scan:fix:lwc": "eslint --config ./config/linters/.eslintrc.json **/lwc/** --fix",
"scan": "npm run scan:apex && npm run scan:lwc",
"scan:apex": "sf scanner:run --pmdconfig ./config/linters/pmd-ruleset.xml --target ./nebula-logger/ --engine pmd --severity-threshold 3",
"scan:lwc": "eslint --config ./config/linters/.eslintrc.json **/lwc/**",
"sf:plugins:link:bummer": "npx sf plugins link ./node_modules/@jongpie/sfdx-bummer-plugin",
"sf:plugins:link:prettier": "npx sf plugins link ./node_modules/@jayree/sfdx-plugin-prettier",
"sf:plugins:link:scanner": "npx sf plugins link ./node_modules/@salesforce/sfdx-scanner",
"source:deploy": "sf project deploy start --source-dir ./nebula-logger/ --wait 30",
"source:deploy:core": "sf project deploy start --source-dir ./nebula-logger/core --wait 30",
"source:push": "sf project deploy start --ignore-conflicts",
"source:push:test": "npm run source:push && npm run test:apex",
"test": "npm run test:lwc && npm run test:apex",
"test:apex": "npm run test:apex:nocoverage -- --code-coverage --detailed-coverage",
"test:apex:nocoverage": "npx sf apex run test --test-level RunLocalTests --wait 30 --result-format human --output-dir ./test-coverage/apex",
"test:apex:suites": "npx sf apex run test --suite-names LoggerCore,LoggerExtraTests --wait 30 --result-format human --code-coverage --detailed-coverage --output-dir ./tests/apex",
"test:lwc": "sf force lightning lwc test run --coverage",
"test:lwc:nocoverage": "sf force lightning lwc test run",
"test:nocoverage": "npm run test:lwc && npm run test:apex"
},
"dependencies": {
"@xmldom/xmldom": ">=0.8.4",
"ansi-regex": ">=5.0.1",
"async": ">=2.6.4",
"ejs": ">=3.1.7",
"fast-xml-parser": ">=4.1.2",
"follow-redirects": ">=1.14.8",
"glob-parent": ">=5.1.2",
"got": ">=11.8.5",
"http-cache-semantics": ">=4.1.1",
"json-schema": ">=0.4.0",
"json5": ">=2.2.2",
"jsonwebtoken": ">=9.0.0",
"markdown-it": ">=12.3.2",
"marked": ">=4.0.10",
"minimatch": ">=3.0.5",
"moment": ">=2.29.4",
"nanoid": ">=3.1.31",
"shelljs": ">=0.8.5",
"simple-get": ">=4.0.1",
"tough-cookie": ">=4.1.3",
"vm2": ">=3.9.18",
"word-wrap": ">=1.2.4",
"xml2js": ">=0.5.0"
},
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/eslint-parser": "^7.23.3",
"@cparra/apexdocs": "1.13.7",
"@jayree/sfdx-plugin-prettier": "^1.3.41",
"@jongpie/sfdx-bummer-plugin": "^0.0.20",
"@lwc/eslint-plugin-lwc": "^1.7.2",
"@prettier/plugin-xml": "^3.2.2",
"@salesforce/cli": "^2.24.4",
"@salesforce/eslint-config-lwc": "^3.5.2",
"@salesforce/eslint-plugin-lightning": "^1.0.0",
"@salesforce/sfdx-lwc-jest": "^3.1.1",
"@salesforce/sfdx-scanner": "^3.20.0",
"@types/jest-when": "^3.5.5",
"babel-eslint": "^10.1.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"husky": "^8.0.3",
"jest-when": "^3.6.0",
"jsdoc-to-markdown": "^8.0.0",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"prettier-plugin-apex": "^2.0.1",
"pwsh": "^0.3.0"
}
}