enonic-types
Advanced tools
Comparing version 0.5.0-next.1 to 0.5.0
{ | ||
"name": "enonic-types", | ||
"sideEffects": false, | ||
"version": "0.5.0-next.1", | ||
"version": "0.5.0", | ||
"description": "TypeScript types for Enonic XP", | ||
@@ -29,9 +29,9 @@ "typings": "index.d.ts", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^5.30.0", | ||
"@typescript-eslint/parser": "^5.30.0", | ||
"@typescript-eslint/eslint-plugin": "^5.33.0", | ||
"@typescript-eslint/parser": "^5.33.0", | ||
"copyfiles": "^2.4.1", | ||
"eslint": "^8.18.0", | ||
"eslint": "^8.22.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"json-schema-to-typescript": "^11.0.0", | ||
"json-schema-to-typescript": "^11.0.2", | ||
"prettier": "^2.7.1", | ||
@@ -38,0 +38,0 @@ "rimraf": "^3.0.2", |
@@ -24,6 +24,14 @@ # TypeScript types for Enonic XP | ||
"compilerOptions": { | ||
"types": ["node", "enonic-types"] | ||
} | ||
"types": ["node", "enonic-types"], | ||
"rootDirs": [ | ||
"./src/main/resources", | ||
"./.xp-codegen" | ||
], | ||
}, | ||
"include": [ | ||
"./.xp-codegen/**/*", | ||
"./src/main/resources/**/*" | ||
], | ||
"exclude": ["./build/*"] | ||
} | ||
``` | ||
@@ -42,3 +50,3 @@ | ||
```typescript | ||
import { Article } from "../../site/content-types/article/article"; // 1 | ||
import { Article } from "../../site/content-types"; // 1 | ||
import * as contentLib from "/lib/xp/content"; // 2 | ||
@@ -45,0 +53,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
287536
66
179