@sketch-hq/sketch-file-format-ts
Advanced tools
Comparing version 5.2.2 to 5.2.3
# @sketch-hq/sketch-file-format-ts | ||
## 5.2.3 | ||
### Patch Changes | ||
- Updated dependencies [34bb488] | ||
- Updated dependencies [0ec06d1] | ||
- @sketch-hq/sketch-file-format@5.2.3 | ||
## 5.2.2 | ||
@@ -4,0 +12,0 @@ |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FileFormat3 = exports.FileFormat2 = exports.FileFormat1 = void 0; | ||
const FileFormat1 = __importStar(require("./v1-types.js")); | ||
@@ -11,0 +24,0 @@ exports.FileFormat1 = FileFormat1; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ClassValue = exports.NumericalBool = exports.BundleId = exports.TextBehaviour = exports.LineSpacingBehaviour = exports.CurveMode = exports.PointsRadiusBehaviour = exports.ResizeType = exports.LayerListExpanded = exports.AnimationType = exports.VisibleScaleType = exports.ExportFormatNamingScheme = exports.ExportFileFormat = exports.BooleanOperation = exports.UnderlineStyle = exports.TextTransform = exports.TextHorizontalAlignment = exports.TextVerticalAlignment = exports.WindingRule = exports.MarkerType = exports.PatternFillType = exports.BlurType = exports.LineJoinStyle = exports.LineCapStyle = exports.BlendMode = exports.BorderPosition = exports.FillType = exports.ColorSpace = exports.GradientType = void 0; | ||
/** | ||
@@ -4,0 +5,0 @@ * Enumeration of the gradient types |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ClassValue = exports.NumericalBool = exports.BundleId = exports.TextBehaviour = exports.LineSpacingBehaviour = exports.CurveMode = exports.PointsRadiusBehaviour = exports.InferredLayoutAnchor = exports.InferredLayoutAxis = exports.ResizeType = exports.LayerListExpanded = exports.AnimationType = exports.VisibleScaleType = exports.ExportFormatNamingScheme = exports.ExportFileFormat = exports.BooleanOperation = exports.UnderlineStyle = exports.TextTransform = exports.TextHorizontalAlignment = exports.TextVerticalAlignment = exports.WindingRule = exports.MarkerType = exports.PatternFillType = exports.BlurType = exports.LineJoinStyle = exports.LineCapStyle = exports.BlendMode = exports.BorderPosition = exports.FillType = exports.ColorSpace = exports.GradientType = void 0; | ||
/** | ||
@@ -4,0 +5,0 @@ * Enumeration of the gradient types |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ClassValue = exports.NumericalBool = exports.BundleId = exports.TextBehaviour = exports.LineSpacingBehaviour = exports.CurveMode = exports.PointsRadiusBehaviour = exports.InferredLayoutAnchor = exports.InferredLayoutAxis = exports.ResizeType = exports.LayerListExpanded = exports.AnimationType = exports.VisibleScaleType = exports.ExportFormatNamingScheme = exports.ExportFileFormat = exports.BooleanOperation = exports.UnderlineStyle = exports.TextTransform = exports.TextHorizontalAlignment = exports.TextVerticalAlignment = exports.WindingRule = exports.MarkerType = exports.PatternFillType = exports.BlurType = exports.LineJoinStyle = exports.LineCapStyle = exports.BlendMode = exports.BorderPosition = exports.FillType = exports.ColorSpace = exports.GradientType = void 0; | ||
/** | ||
@@ -323,2 +324,3 @@ * Enumeration of the gradient types | ||
ClassValue["MSImmutableOverrideProperty"] = "MSImmutableOverrideProperty"; | ||
ClassValue["MSImmutablePatchInfo"] = "MSImmutablePatchInfo"; | ||
ClassValue["MSJSONFileReference"] = "MSJSONFileReference"; | ||
@@ -325,0 +327,0 @@ ClassValue["MSJSONOriginalDataReference"] = "MSJSONOriginalDataReference"; |
@@ -321,2 +321,3 @@ /** | ||
ClassValue["MSImmutableOverrideProperty"] = "MSImmutableOverrideProperty"; | ||
ClassValue["MSImmutablePatchInfo"] = "MSImmutablePatchInfo"; | ||
ClassValue["MSJSONFileReference"] = "MSJSONFileReference"; | ||
@@ -323,0 +324,0 @@ ClassValue["MSJSONOriginalDataReference"] = "MSJSONOriginalDataReference"; |
{ | ||
"name": "@sketch-hq/sketch-file-format-ts", | ||
"description": "TypeScript types for the Sketch File Format", | ||
"version": "5.2.2", | ||
"version": "5.2.3", | ||
"main": "dist/cjs/index", | ||
@@ -12,3 +12,3 @@ "types": "dist/cjs/index", | ||
], | ||
"repository": "github:sketch-hq/sketch-file-format-ts", | ||
"repository": "github:sketch-hq/sketch-document", | ||
"keywords": [ | ||
@@ -22,17 +22,11 @@ "sketch", | ||
], | ||
"devDependencies": { | ||
"@changesets/cli": "2.12.0", | ||
"dependencies": { | ||
"@sketch-hq/sketch-file-format-1": "npm:@sketch-hq/sketch-file-format@1.1.7", | ||
"@sketch-hq/sketch-file-format-2": "npm:@sketch-hq/sketch-file-format@2.0.3", | ||
"@sketch-hq/sketch-file-format-3": "npm:@sketch-hq/sketch-file-format@3.7.2", | ||
"@sketch-hq/sketch-file-format": "5.2.3" | ||
}, | ||
"devDependencies": { | ||
"@types/humps": "2.0.0", | ||
"@types/jest": "26.0.16", | ||
"@types/node": "14.14.10", | ||
"@types/prettier": "2.1.5", | ||
"humps": "2.0.1", | ||
"jest": "26.6.2", | ||
"prettier": "2.2.1", | ||
"ts-jest": "26.4.4", | ||
"ts-node": "9.1.0", | ||
"typescript": "3.8.3" | ||
"ts-node": "9.1.1" | ||
}, | ||
@@ -43,5 +37,4 @@ "scripts": { | ||
"test": "jest", | ||
"release": "yarn build && changeset publish", | ||
"format-check": "prettier --check {**/,}*.{ts,md,json}" | ||
"format-check": "prettier --check {**/,}*.{ts,md,json} --ignore-path ../../.prettierignore" | ||
} | ||
} |
# Sketch File Format TS | ||
> TypeScript types for the Sketch File Format | ||
Contains TypeScript types automatically generated from the | ||
[Sketch File Format](../file-format) JSON Schemas. | ||
## Overview | ||
This repo contains TypeScript types automatically generated from the | ||
[Sketch File Format](https://github.com/sketch-hq/sketch-file-format) JSON | ||
Schemas. | ||
Types are maintained and exported for each Sketch File Format major version. See | ||
usage instructions below for more information. | ||
## Use cases | ||
- Strongly type objects representing Sketch documents, or fragments of Sketch | ||
documents in TypeScript projects | ||
## Related projects | ||
- [sketch-file-format](https://github.com/sketch-hq/sketch-file-format) | ||
## Usage | ||
@@ -103,4 +91,4 @@ | ||
This section of the readme is related to developing the file format spec. If you | ||
just want to consume the schemas you can safely ignore this. | ||
Following is further information for making changes to how the types are | ||
generated. | ||
@@ -118,2 +106,5 @@ ### Approach | ||
Please note that the latest version of the schemas is referenced directly within | ||
the monorepo and **not** using aliases. | ||
### Scripts | ||
@@ -153,6 +144,1 @@ | ||
1. Open a PR to `main` | ||
#### Release | ||
1. Merge the release PR maintained by the changesets | ||
[GitHub Action](https://github.com/changesets/action). |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
3
105863
3
11
2221
142
1