Skip to content

Commit

Permalink
chore: update @material/web package.json for first release
Browse files Browse the repository at this point in the history
- Set the version to what we published
- Add publishConfig section, which is required for publishing to npm @namespaces
- Pin the typescript version to ~4.7.3, because 4.8 introduced a small new typing error. It's a good idea to use ~ semver ranges for TypeScript generally, because TypeScript doesn't follow semver.

PiperOrigin-RevId: 470359331
  • Loading branch information
aomarks authored and copybara-github committed Aug 26, 2022
1 parent 8387a58 commit c0d107e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"name": "@material/web",
"version": "0.27.0",
"version": "0.1.0-alpha.0",
"publishConfig": {
"access": "public"
},
"description": "Material web components",
"repository": {
"type": "git",
Expand Down Expand Up @@ -40,6 +43,6 @@
"jasmine": "^4.2.0",
"sass": "^1.52.3",
"sass-true": "^6.1.0",
"typescript": "^4.7.3"
"typescript": "~4.7.3"
}
}

0 comments on commit c0d107e

Please sign in to comment.