@just-web/presets-browser 7.0.1 → 7.0.3

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.
Files changed (2) hide show
  1. package/README.md +11 -5
  2. package/package.json +8 -11
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 { createApp } from '@just-web/app'
41
- import browserPresetsPlugin from '@just-web/presets-browser'
42
-
43
- createApp({ name: 'your-awesome-app' }).extend(browserPresetsPlugin())
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.1",
3
+ "version": "7.0.3",
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": "^7.2.1",
50
- "@just-web/browser-preferences": "^7.2.1",
51
- "@just-web/history": "^2.0.7"
49
+ "@just-web/browser": "^8.0.1",
50
+ "@just-web/browser-preferences": "^8.0.1",
51
+ "@just-web/history": "^2.0.8"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@repobuddy/jest": "^3.3.0",
@@ -72,16 +72,13 @@
72
72
  "type-plus": "^7.0.1",
73
73
  "typescript": "^5.0.4",
74
74
  "@just-web/app": "^7.1.5",
75
- "@just-web/commands": "^7.1.5",
76
- "@just-web/keyboard": "^7.1.5"
75
+ "@just-web/commands": "^7.2.1",
76
+ "@just-web/keyboard": "^7.2.1"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "@just-web/app": "^7.1.5",
80
- "@just-web/browser": "^7.2.1",
81
- "@just-web/browser-preferences": "^7.2.1",
82
- "@just-web/commands": "^7.1.5",
83
- "@just-web/history": "^2.0.7",
84
- "@just-web/keyboard": "^7.1.5"
80
+ "@just-web/commands": "^7.2.1",
81
+ "@just-web/keyboard": "^7.2.1"
85
82
  },
86
83
  "peerDependenciesMeta": {
87
84
  "@just-web/keyboard": {