@portabletext/types
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -24,3 +24,3 @@ /** | ||
S extends string = PortableTextBlockStyle, | ||
L extends string = PortableTextListItemType | ||
L extends string = PortableTextListItemType, | ||
> extends TypedObject { | ||
@@ -104,3 +104,3 @@ /** | ||
S extends string = PortableTextBlockStyle, | ||
L extends string = PortableTextListItemType | ||
L extends string = PortableTextListItemType, | ||
> extends Omit<PortableTextBlock<M, C, S, L>, 'listItem'> { | ||
@@ -107,0 +107,0 @@ listItem: L |
{ | ||
"name": "@portabletext/types", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "Shared TypeScript definitions for core Portable Text data structures", | ||
@@ -38,15 +38,2 @@ "keywords": [ | ||
], | ||
"scripts": { | ||
"build": "run-s clean pkg:build pkg:check", | ||
"clean": "rimraf dist", | ||
"docs:build": "typedoc", | ||
"format": "prettier --write --cache --ignore-unknown .", | ||
"lint": "eslint . --ext .cjs,.js,.jsx,.mjs,.ts,.tsx", | ||
"node:test": "node test/test.js", | ||
"pkg:build": "pkg-utils build --strict", | ||
"pkg:check": "pkg-utils --strict", | ||
"prepare": "husky install", | ||
"prepublishOnly": "run-s build test", | ||
"test": "run-s lint build node:test" | ||
}, | ||
"commitlint": { | ||
@@ -88,40 +75,23 @@ "extends": [ | ||
}, | ||
"release": { | ||
"branches": [ | ||
"+([0-9])?(.{+([0-9]),x}).x", | ||
"main", | ||
{ | ||
"name": "beta", | ||
"prerelease": true | ||
}, | ||
{ | ||
"name": "alpha", | ||
"prerelease": true | ||
} | ||
], | ||
"extends": "@sanity/semantic-release-preset" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.6.5", | ||
"@commitlint/config-conventional": "^17.6.5", | ||
"@sanity/pkg-utils": "^2.3.3", | ||
"@sanity/semantic-release-preset": "^4.1.1", | ||
"@types/babel__core": "^7.20.1", | ||
"@typescript-eslint/eslint-plugin": "^5.60.0", | ||
"@typescript-eslint/parser": "^5.60.0", | ||
"@commitlint/cli": "^17.7.1", | ||
"@commitlint/config-conventional": "^17.7.0", | ||
"@sanity/pkg-utils": "^2.4.9", | ||
"@types/babel__core": "^7.20.2", | ||
"@typescript-eslint/eslint-plugin": "^6.7.3", | ||
"@typescript-eslint/parser": "^6.7.3", | ||
"commitizen": "^4.3.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.43.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint": "^8.50.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-config-sanity": "^6.0.0", | ||
"husky": "^8.0.3", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.8.8", | ||
"prettier-plugin-packagejson": "^2.4.3", | ||
"prettier": "^3.0.3", | ||
"prettier-plugin-packagejson": "^2.4.5", | ||
"rimraf": "^5.0.1", | ||
"semantic-release": "^21.0.5", | ||
"typedoc": "^0.24.8", | ||
"typescript": "^5.1.3" | ||
"typedoc": "^0.25.1", | ||
"typescript": "^5.2.2" | ||
}, | ||
"packageManager": "pnpm@8.6.12", | ||
"packageManager": "pnpm@8.8.0", | ||
"engines": { | ||
@@ -131,5 +101,15 @@ "node": "^14.13.1 || >=16.0.0 || >=18.0.0" | ||
"publishConfig": { | ||
"access": "public", | ||
"provenance": true | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"build": "run-s clean pkg:build pkg:check", | ||
"clean": "rimraf dist", | ||
"docs:build": "typedoc", | ||
"format": "prettier --write --cache --ignore-unknown .", | ||
"lint": "eslint . --ext .cjs,.js,.jsx,.mjs,.ts,.tsx", | ||
"node:test": "node test/test.js", | ||
"pkg:build": "pkg-utils build --strict", | ||
"pkg:check": "pkg-utils --strict", | ||
"test": "run-s lint build node:test" | ||
} | ||
} | ||
} |
@@ -18,3 +18,3 @@ import type {ArbitraryTypedObject, TypedObject} from './related.js' | ||
S extends string = PortableTextBlockStyle, | ||
L extends string = PortableTextListItemType | ||
L extends string = PortableTextListItemType, | ||
> extends TypedObject { | ||
@@ -80,3 +80,3 @@ /** | ||
S extends string = PortableTextBlockStyle, | ||
L extends string = PortableTextListItemType | ||
L extends string = PortableTextListItemType, | ||
> extends Omit<PortableTextBlock<M, C, S, L>, 'listItem'> { | ||
@@ -83,0 +83,0 @@ listItem: L |
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
18
12
345
17390