-
-
Notifications
You must be signed in to change notification settings - Fork 165
/
package.json
97 lines (97 loc) · 5.82 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
{
"name": "nebula-logger",
"version": "4.14.6",
"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": ">= 20.16.0",
"npm": ">= 10.3.0"
},
"scripts": {
"apex:tail:log": "sf apex tail log --color",
"apex:tail:log:file": "sh scripts/build/tail-log-to-file.sh",
"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:deploy": "sf project deploy start --source-dir ./config/experience-cloud --wait 30",
"husky:pre-commit": "lint-staged --config ./config/linters/lint-staged.config.js",
"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:all": "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 --installation-key-bypass --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",
"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 --concise --test-level RunLocalTests --wait 30 --result-format human --output-dir ./test-coverage/apex",
"test:apex:suite": "npx sf apex run test --concise --suite-names LoggerCore --wait 30 --result-format human --code-coverage --detailed-coverage --output-dir ./tests/apex",
"test:lwc": "sfdx-lwc-jest --skipApiVersionCheck --coverage",
"test:lwc:nocoverage": "sfdx-lwc-jest --skipApiVersionCheck",
"test:nocoverage": "npm run test:lwc:nocoverage && npm run test:apex:nocoverage"
},
"devDependencies": {
"@babel/core": "7.24.4",
"@babel/eslint-parser": "7.24.1",
"@cparra/apexdocs": "1.13.7",
"@jongpie/sfdx-bummer-plugin": "^0.0.20",
"@lwc/eslint-plugin-lwc": "^1.8.2",
"@salesforce/cli": "^2.56.6",
"@salesforce/eslint-config-lwc": "^3.6.0",
"@salesforce/sfdx-lwc-jest": "^5.1.0",
"@salesforce/sfdx-scanner": "^4.4.0",
"@types/jest-when": "^3.5.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"husky": "^9.0.11",
"jest-when": "^3.6.0",
"jsdoc-to-markdown": "^8.0.1",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"prettier-plugin-apex": "^2.1.4",
"pwsh": "^0.3.0"
}
}