@jupiterone/integration-sdk-entities 12.7.0 → 12.8.1
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/README.md +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ to manually install them to get this working.
|
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
To generate the types after these are installed simply run
|
|
20
|
-
`
|
|
20
|
+
`npm run generate-ts-classes`
|
|
21
21
|
|
|
22
22
|
It reads directly from node_modules to get the schemas so ensure that you have
|
|
23
23
|
the proper version of the data model installed before trying to execute this
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupiterone/integration-sdk-entities",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.8.1",
|
|
4
4
|
"description": "Generated types for the JupiterOne data-model",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"test": "jest",
|
|
21
21
|
"prebuild:dist": "rm -rf dist && mkdir dist",
|
|
22
22
|
"build:dist": "tsc -p tsconfig.dist.json --declaration",
|
|
23
|
-
"prepack": "
|
|
23
|
+
"prepack": "npm run build:dist",
|
|
24
24
|
"copy-schemas": "node tools/copy-schemas/index.js ../../node_modules/@jupiterone/data-model/dist/schemas",
|
|
25
25
|
"create-barrel": "node tools/create-barrel/index.js src",
|
|
26
|
-
"generate-ts-classes": "
|
|
26
|
+
"generate-ts-classes": "npm run copy-schemas && rm -rf src && mkdir src && json2ts -i 'tools/copy-schemas/_schemas/*.json' -o src --cwd=tools/copy-schemas/_schemas --declareExternallyReferenced=false && ts-dedupe --duplicatesFile=src/Base.ts && npm run create-barrel"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@jupiterone/data-model": "^0.
|
|
29
|
+
"@jupiterone/data-model": "^0.61.3",
|
|
30
30
|
"lodash": "^4.17.21"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/lodash": "^4.14.168"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "01bd7c6824a549f9931ac045468d5642fb2cc677"
|
|
36
36
|
}
|