Skip to content

Commit 3ba1777

Browse files
committed
[npm] Support npm publish flow
See go/npm-publish and b/160246223 Change-Id: I5a92a19ae6be814ca9a98679cfe39184f7cdb184 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/303580 Reviewed-by: Joe Gregorio <[email protected]>
1 parent 1860aed commit 3ba1777

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

modules/canvaskit/CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2727

2828
### Changed
2929
- In all places where color arrays are accepted (gradient makers, drawAtlas, and MakeSkVertices),
30-
You can now provide either flat Float32Arrays of float colors, Uint32Arrays of int colors, or
30+
You can now provide either flat Float32Arrays of float colors, Uint32Arrays of int colors, or
3131
2d Arrays of Float32Array(4) colors. The one thing you should not pass is an Array of numbers,
3232
since canvaskit wouldn't be able to tell whether they're ints or floats without checking them all.
3333
The fastest choice for gradients is the flat Float32Array, the fastest choice for drawAtlas and
@@ -38,7 +38,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3838
can be used to override default attributes.
3939
### Fixed
4040
- `TextStyle.color` can correctly be a Malloc'd Float32Array.
41-
41+
- Support wombat-dressing-room. go/npm-publish
42+
4243
### Deprecated
4344
- `CanvasKit.MakePathFromCmds` has been renamed to `CanvasKit.SkPath.MakeFromCmds`. The alias
4445
will be removed in an upcoming release.

modules/canvaskit/canvaskit/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"description": "A WASM version of Skia's Canvas API",
55
"main": "bin/canvaskit.js",
66
"homepage": "https://github.com/google/skia/tree/master/modules/canvaskit",
7-
"scripts": {
8-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"bugs": {
8+
"url": "https://bugs.chromium.org/p/skia/issues/entry"
99
},
10+
"permsRepo": "skia-dev/.github",
1011
"license": "BSD-3-Clause"
1112
}

modules/pathkit/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Changed
1010
- Updated to emscripten 1.39.16
11+
- Support wombat-dressing-room. go/npm-publish
1112

1213
### Breaking
1314
- `PathKitInit(...)` now directly returns a Promise. As such, `PathKitInit(...).ready()`

modules/pathkit/npm-asmjs/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"description": "A asm.js version of Skia's PathOps toolkit",
55
"main": "bin/pathkit.js",
66
"homepage": "https://github.com/google/skia/tree/master/modules/pathkit",
7-
"scripts": {
8-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"bugs": {
8+
"url": "https://bugs.chromium.org/p/skia/issues/entry"
99
},
10+
"permsRepo": "skia-dev/.github",
1011
"license": "BSD-3-Clause"
1112
}

modules/pathkit/npm-wasm/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"description": "A WASM version of Skia's PathOps toolkit",
55
"main": "bin/pathkit.js",
66
"homepage": "https://github.com/google/skia/tree/master/modules/pathkit",
7-
"scripts": {
8-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"bugs": {
8+
"url": "https://bugs.chromium.org/p/skia/issues/entry"
99
},
10+
"permsRepo": "skia-dev/.github",
1011
"license": "BSD-3-Clause"
1112
}

0 commit comments

Comments
 (0)