@buildplease/webkit 1.0.0 → 1.0.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 +30 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @buildplease/webkit
|
|
2
|
+
|
|
3
|
+
WebKit provides the shared browser-side runtime for BuildPlease applications, including dependency injection, HTTP networking, request interceptors, web models, and L10n integration.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm add @buildplease/webkit
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { HttpError, InterceptorSet, webkitAssembly } from '@buildplease/webkit';
|
|
15
|
+
|
|
16
|
+
const assemblies = webkitAssembly();
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
WebKit re-exports the Core API, so shared BuildPlease primitives can be imported from the same package in browser applications.
|
|
20
|
+
|
|
21
|
+
## What’s included
|
|
22
|
+
|
|
23
|
+
- browser application assembly
|
|
24
|
+
- Axios-based remote networking primitives
|
|
25
|
+
- request interceptors and cookie handling
|
|
26
|
+
- HTTP error handling
|
|
27
|
+
- shared web models
|
|
28
|
+
- L10n integration
|
|
29
|
+
|
|
30
|
+
Part of [BuildPlease](https://github.com/BuildPlease/buildplease).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buildplease/webkit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"axios": "1.19.0",
|
|
41
|
-
"@buildplease/core": "1.0.
|
|
41
|
+
"@buildplease/core": "1.0.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@buildplease/identity": "1.0.0"
|