@salesforce/telemetry 3.2.19 → 3.2.21
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/package.json +88 -14
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/telemetry",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.21",
|
|
4
4
|
"description": "Library for application insights",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"repository": "forcedotcom/telemetry",
|
|
7
7
|
"author": "Salesforce",
|
|
8
8
|
"license": "BSD-3-Clause",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"build": "
|
|
10
|
+
"build": "wireit",
|
|
11
11
|
"clean": "sf-clean",
|
|
12
12
|
"clean-all": "sf-clean all",
|
|
13
|
-
"compile": "
|
|
13
|
+
"compile": "wireit",
|
|
14
14
|
"docs": "sf-docs",
|
|
15
|
-
"format": "
|
|
16
|
-
"lint": "
|
|
15
|
+
"format": "wireit",
|
|
16
|
+
"lint": "wireit",
|
|
17
17
|
"lint-fix": "yarn sfdx-lint --fix",
|
|
18
18
|
"prepack": "sf-prepack",
|
|
19
19
|
"prepare": "sf-install",
|
|
20
|
-
"
|
|
21
|
-
"test": "
|
|
20
|
+
"test": "wireit",
|
|
21
|
+
"test:only": "wireit"
|
|
22
22
|
},
|
|
23
23
|
"keywords": [
|
|
24
24
|
"force",
|
|
@@ -33,21 +33,21 @@
|
|
|
33
33
|
"!lib/**/*.map"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@salesforce/core": "^3.
|
|
36
|
+
"@salesforce/core": "^3.34.4",
|
|
37
37
|
"@salesforce/ts-types": "^1.7.3",
|
|
38
38
|
"applicationinsights": "^1.4.0",
|
|
39
39
|
"axios": "^0.27.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@salesforce/dev-config": "^3.0.1",
|
|
43
|
-
"@salesforce/dev-scripts": "^
|
|
43
|
+
"@salesforce/dev-scripts": "^4.1.2",
|
|
44
44
|
"@salesforce/prettier-config": "^0.0.2",
|
|
45
45
|
"@salesforce/ts-sinon": "^1.4.6",
|
|
46
46
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
47
|
-
"@typescript-eslint/parser": "^5.
|
|
47
|
+
"@typescript-eslint/parser": "^5.56.0",
|
|
48
48
|
"chai": "^4.3.7",
|
|
49
|
-
"eslint": "^8.
|
|
50
|
-
"eslint-config-prettier": "^8.
|
|
49
|
+
"eslint": "^8.36.0",
|
|
50
|
+
"eslint-config-prettier": "^8.8.0",
|
|
51
51
|
"eslint-config-salesforce": "^1.1.1",
|
|
52
52
|
"eslint-config-salesforce-license": "^0.2.0",
|
|
53
53
|
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
@@ -57,14 +57,88 @@
|
|
|
57
57
|
"husky": "^7.0.4",
|
|
58
58
|
"mocha": "^9.1.3",
|
|
59
59
|
"nyc": "^15.1.0",
|
|
60
|
-
"prettier": "^2.8.
|
|
60
|
+
"prettier": "^2.8.7",
|
|
61
61
|
"pretty-quick": "^3.1.0",
|
|
62
62
|
"sinon": "10.0.0",
|
|
63
63
|
"ts-node": "^10.0.0",
|
|
64
|
-
"typescript": "^4.9.5"
|
|
64
|
+
"typescript": "^4.9.5",
|
|
65
|
+
"wireit": "^0.9.5"
|
|
65
66
|
},
|
|
66
67
|
"types": "lib/exported.d.ts",
|
|
67
68
|
"publishConfig": {
|
|
68
69
|
"access": "public"
|
|
70
|
+
},
|
|
71
|
+
"wireit": {
|
|
72
|
+
"build": {
|
|
73
|
+
"dependencies": [
|
|
74
|
+
"compile",
|
|
75
|
+
"lint"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"compile": {
|
|
79
|
+
"command": "tsc -p . --pretty --incremental",
|
|
80
|
+
"files": [
|
|
81
|
+
"src/**/*.ts",
|
|
82
|
+
"tsconfig.json",
|
|
83
|
+
"messages/**"
|
|
84
|
+
],
|
|
85
|
+
"output": [
|
|
86
|
+
"lib/**",
|
|
87
|
+
"*.tsbuildinfo"
|
|
88
|
+
],
|
|
89
|
+
"clean": "if-file-deleted"
|
|
90
|
+
},
|
|
91
|
+
"format": {
|
|
92
|
+
"command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
|
|
93
|
+
"files": [
|
|
94
|
+
"src/**/*.ts",
|
|
95
|
+
"test/**/*.ts",
|
|
96
|
+
"schemas/**/*.json",
|
|
97
|
+
"command-snapshot.json",
|
|
98
|
+
".prettier*"
|
|
99
|
+
],
|
|
100
|
+
"output": []
|
|
101
|
+
},
|
|
102
|
+
"lint": {
|
|
103
|
+
"command": "eslint src test --color --cache --cache-location .eslintcache",
|
|
104
|
+
"files": [
|
|
105
|
+
"src/**/*.ts",
|
|
106
|
+
"test/**/*.ts",
|
|
107
|
+
"messages/**",
|
|
108
|
+
".eslint*"
|
|
109
|
+
],
|
|
110
|
+
"output": []
|
|
111
|
+
},
|
|
112
|
+
"test:compile": {
|
|
113
|
+
"command": "tsc -p \"./test\" --pretty",
|
|
114
|
+
"files": [
|
|
115
|
+
"test/**/*.ts",
|
|
116
|
+
"tsconfig.json",
|
|
117
|
+
"test/tsconfig.json"
|
|
118
|
+
],
|
|
119
|
+
"output": []
|
|
120
|
+
},
|
|
121
|
+
"test": {
|
|
122
|
+
"dependencies": [
|
|
123
|
+
"test:only",
|
|
124
|
+
"test:compile"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
"test:only": {
|
|
128
|
+
"command": "nyc mocha \"test/**/*.test.ts\"",
|
|
129
|
+
"env": {
|
|
130
|
+
"FORCE_COLOR": "2"
|
|
131
|
+
},
|
|
132
|
+
"files": [
|
|
133
|
+
"test/**/*.ts",
|
|
134
|
+
"src/**/*.ts",
|
|
135
|
+
"tsconfig.json",
|
|
136
|
+
".mocha*",
|
|
137
|
+
"test/tsconfig.json",
|
|
138
|
+
"!*.nut.ts",
|
|
139
|
+
".nycrc"
|
|
140
|
+
],
|
|
141
|
+
"output": []
|
|
142
|
+
}
|
|
69
143
|
}
|
|
70
144
|
}
|