@just-web/presets-browser 7.0.0 → 7.0.2
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 +11 -5
- package/package.json +11 -14
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ This presets includes:
|
|
|
9
9
|
|
|
10
10
|
- [@just-web/browser](https://www.npmjs.com/package/@just-web/browser)
|
|
11
11
|
- [@just-web/browser-preferences](https://www.npmjs.com/package/@just-web/browser-preferences)
|
|
12
|
-
- [history](https://www.npmjs.com/package/history)
|
|
12
|
+
- [@just-web/history](https://www.npmjs.com/package/@just-web/history)
|
|
13
13
|
|
|
14
14
|
As a presets, you do not need to install any of the included packages yourself.
|
|
15
15
|
|
|
@@ -37,10 +37,16 @@ rush add -p @just-web/presets-browser
|
|
|
37
37
|
## Usage
|
|
38
38
|
|
|
39
39
|
```ts
|
|
40
|
-
import {
|
|
41
|
-
import
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
import { justApp } from '@just-web/app'
|
|
41
|
+
import { commandsGizmoFn } from '@just-web/commands'
|
|
42
|
+
import { keyboardGizmoFn } from '@just-web/keyboard' // optional
|
|
43
|
+
import { presetsBrowserGizmoFn } from '@just-web/presets-browser'
|
|
44
|
+
|
|
45
|
+
const app = await justApp({ name: 'your-awesome-app' })
|
|
46
|
+
.with(commandsGizmoFn())
|
|
47
|
+
.with(keyboardGizmoFn())
|
|
48
|
+
.with(presetsBrowserGizmoFn())
|
|
49
|
+
.create()
|
|
44
50
|
```
|
|
45
51
|
|
|
46
52
|
[`@just-web/presets-browser`]: https://github.com/justland/just-web/tree/main/plugins/presets-browser
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@just-web/presets-browser",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "just-web presets for browser related features",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"just-web",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"!**/*.{spec,test,unit,accept,integrate,system,perf,stress}.*"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@just-web/browser": "^
|
|
50
|
-
"@just-web/browser-preferences": "^
|
|
51
|
-
"@just-web/history": "^2.0.
|
|
49
|
+
"@just-web/browser": "^8.0.0",
|
|
50
|
+
"@just-web/browser-preferences": "^8.0.0",
|
|
51
|
+
"@just-web/history": "^2.0.8"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@repobuddy/jest": "^3.3.0",
|
|
@@ -69,19 +69,16 @@
|
|
|
69
69
|
"size-limit": "~8.2.0",
|
|
70
70
|
"ts-jest": "^29.1.0",
|
|
71
71
|
"tslib": "^2.5.0",
|
|
72
|
-
"type-plus": "^
|
|
72
|
+
"type-plus": "^7.0.1",
|
|
73
73
|
"typescript": "^5.0.4",
|
|
74
|
-
"@just-web/app": "^7.1.
|
|
75
|
-
"@just-web/commands": "^7.
|
|
76
|
-
"@just-web/keyboard": "^7.
|
|
74
|
+
"@just-web/app": "^7.1.5",
|
|
75
|
+
"@just-web/commands": "^7.2.0",
|
|
76
|
+
"@just-web/keyboard": "^7.2.0"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@just-web/app": "^7.1.
|
|
80
|
-
"@just-web/
|
|
81
|
-
"@just-web/
|
|
82
|
-
"@just-web/commands": "^7.1.4",
|
|
83
|
-
"@just-web/history": "^2.0.6",
|
|
84
|
-
"@just-web/keyboard": "^7.1.4"
|
|
79
|
+
"@just-web/app": "^7.1.5",
|
|
80
|
+
"@just-web/commands": "^7.2.0",
|
|
81
|
+
"@just-web/keyboard": "^7.2.0"
|
|
85
82
|
},
|
|
86
83
|
"peerDependenciesMeta": {
|
|
87
84
|
"@just-web/keyboard": {
|