@prismicio/client 6.0.0-alpha.7 → 6.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,13 @@
1
+ <!--
2
+
3
+ Replace all on all files (README.md, CONTRIBUTING.md, bug_report.md, package.json):
4
+ - @prismicio/client
5
+ - The official JavaScript + TypeScript client library for Prismic
6
+ - prismicio/prismic-client
7
+ - prismic-client
8
+
9
+ -->
10
+
1
11
  # @prismicio/client
2
12
 
3
13
  [![npm version][npm-version-src]][npm-version-href]
@@ -27,51 +37,44 @@ const blogPosts = await client.getAllByType("blog_post");
27
37
 
28
38
  ## Install
29
39
 
30
- ```sh
40
+ ```bash
31
41
  npm install @prismicio/client
32
42
  ```
33
43
 
34
44
  ## Documentation
35
45
 
36
- To discover what's new in this package, check out [the changelog][changelog].
37
- For full documentation, visit the [official Prismic
38
- documentation][prismic-docs].
46
+ To discover what's new on this package check out [the changelog][changelog]. For full documentation, visit the [official Prismic documentation][prismic-docs].
39
47
 
40
48
  ## Contributing
41
49
 
42
- Whether you're helping us fix bugs, improve the docs, or spread the word, we'd
43
- love to have you as part of the Prismic developer community!
50
+ Whether you're helping us fix bugs, improve the docs, or spread the word, we'd love to have you as part of the Prismic developer community!
51
+
52
+ **Asking a question**: [Open a new topic][forum-question] on our community forum explaining what you want to achieve / your question. Our support team will get back to you shortly.
44
53
 
45
- **Asking a question**: [Open a new topic][forum-question] on our community forum
46
- explaining what you want to achieve / your question. Our support team will get
47
- back to you shortly.
54
+ **Reporting a bug**: [Open an issue][repo-bug-report] explaining your application's setup and the bug you're encountering.
48
55
 
49
- **Reporting a bug**: [Open an issue][repo-bug-report] explaining your
50
- application's setup and the bug you're encountering.
56
+ **Suggesting an improvement**: [Open an issue][repo-feature-request] explaining your improvement or feature so we can discuss and learn more.
51
57
 
52
- **Suggesting an improvement**: [Open an issue][repo-feature-request] explaining
53
- your improvement or feature so we can discuss and learn more.
58
+ **Submitting code changes**: For small fixes, feel free to [open a pull request][repo-pull-requests] with a description of your changes. For large changes, please first [open an issue][repo-feature-request] so we can discuss if and how the changes should be implemented.
54
59
 
55
- **Submitting code changes**: For small fixes, feel free to [open a
56
- PR][repo-pull-requests] with a description of your changes. For large changes,
57
- please first [open an issue][repo-feature-request] so we can discuss if and how
58
- the changes should be implemented.
60
+ For more clarity on this project and its structure you can also check out the detailed [CONTRIBUTING.md][contributing] document.
59
61
 
60
62
  ## License
61
63
 
62
64
  ```
63
- Copyright 2013-2021 Prismic <contact@prismic.io> (https://prismic.io)
65
+ Copyright 2013-2021 Prismic <contact@prismic.io> (https://prismic.io)
64
66
 
65
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
66
- this file except in compliance with the License. You may obtain a copy of the
67
- License at
67
+ Licensed under the Apache License, Version 2.0 (the "License");
68
+ you may not use this file except in compliance with the License.
69
+ You may obtain a copy of the License at
68
70
 
69
- http://www.apache.org/licenses/LICENSE-2.0
71
+ http://www.apache.org/licenses/LICENSE-2.0
70
72
 
71
- Unless required by applicable law or agreed to in writing, software distributed
72
- under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
73
- CONDITIONS OF ANY KIND, either express or implied. See the License for the
74
- specific language governing permissions and limitations under the License.
73
+ Unless required by applicable law or agreed to in writing, software
74
+ distributed under the License is distributed on an "AS IS" BASIS,
75
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
76
+ See the License for the specific language governing permissions and
77
+ limitations under the License.
75
78
  ```
76
79
 
77
80
  <!-- Links -->
@@ -80,11 +83,12 @@ specific language governing permissions and limitations under the License.
80
83
  [prismic-predicates]: https://prismic.io/docs/technologies/query-predicate-reference-javascript
81
84
  [prismic-previews]: https://prismic.io/docs/core-concepts/previews
82
85
  [prismic-docs]: https://prismic.io/docs/technologies/javascript
83
- [changelog]: /CHANGELOG.md
86
+ [changelog]: ./CHANGELOG.md
87
+ [contributing]: ./CONTRIBUTING.md
84
88
  [forum-question]: https://community.prismic.io/c/kits-and-dev-languages/javascript/14
85
- [repo-bug-report]: https://github.com/prismicio/prismic-javascript/issues/new?assignees=&labels=bug&template=bug_report.md&title=
86
- [repo-feature-request]: https://github.com/prismicio/prismic-javascript/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=
87
- [repo-pull-requests]: https://github.com/prismicio/prismic-javascript/pulls
89
+ [repo-bug-report]: https://github.com/prismicio/prismic-client/issues/new?assignees=&labels=bug&template=bug_report.md&title=
90
+ [repo-feature-request]: https://github.com/prismicio/prismic-client/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=
91
+ [repo-pull-requests]: https://github.com/prismicio/prismic-client/pulls
88
92
 
89
93
  <!-- Badges -->
90
94
 
@@ -92,10 +96,10 @@ specific language governing permissions and limitations under the License.
92
96
  [npm-version-href]: https://npmjs.com/package/@prismicio/client
93
97
  [npm-downloads-src]: https://img.shields.io/npm/dm/@prismicio/client.svg
94
98
  [npm-downloads-href]: https://npmjs.com/package/@prismicio/client
95
- [github-actions-ci-src]: https://github.com/prismicio/prismic-javascript/workflows/ci/badge.svg
96
- [github-actions-ci-href]: https://github.com/prismicio/prismic-javascript/actions?query=workflow%3Aci
97
- [codecov-src]: https://img.shields.io/codecov/c/github/prismicio/prismic-javascript.svg
98
- [codecov-href]: https://codecov.io/gh/prismicio/prismic-javascript
99
+ [github-actions-ci-src]: https://github.com/prismicio/prismic-client/workflows/ci/badge.svg
100
+ [github-actions-ci-href]: https://github.com/prismicio/prismic-client/actions?query=workflow%3Aci
101
+ [codecov-src]: https://img.shields.io/codecov/c/github/prismicio/prismic-client.svg
102
+ [codecov-href]: https://codecov.io/gh/prismicio/prismic-client
99
103
  [conventional-commits-src]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg
100
104
  [conventional-commits-href]: https://conventionalcommits.org
101
105
  [license-src]: https://img.shields.io/npm/l/@prismicio/client.svg