upcoming.js 1.0.2 → 1.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/package.json +1 -1
  2. package/readme.md +17 -19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "upcoming.js",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "exports": {
package/readme.md CHANGED
@@ -1,9 +1,6 @@
1
-
2
-
3
1
  <div align="center">
4
2
  <br />
5
3
 
6
-
7
4
  ██╗ ██╗██████╗ ██████╗ ██████╗ ███╗ ███╗██╗███╗ ██╗ ██████╗
8
5
  ██║ ██║██╔══██╗██╔════╝██╔═══██╗████╗ ████║██║████╗ ██║██╔════╝
9
6
  ██║ ██║██████╔╝██║ ██║ ██║██╔████╔██║██║██╔██╗ ██║██║ ███╗
@@ -19,19 +16,20 @@
19
16
 
20
17
  <br />
21
18
 
22
-
23
19
  [![npm version](https://img.shields.io/npm/v/upcoming.js?color=black&style=flat-square)](https://www.npmjs.com/package/upcoming.js)
24
20
  [![npm downloads](https://img.shields.io/npm/dm/upcoming.js?color=black&style=flat-square)](https://www.npmjs.com/package/upcoming.js)
25
21
  [![license](https://img.shields.io/npm/l/upcoming.js?color=black&style=flat-square)](https://github.com/amirmahdi390/upcoming.js/blob/main/LICENSE)
26
- [![github](https://img.shields.io/badge/github-upcoming.js-black?style=flat-square&logo=github)](https://github.com/amirmahdi390/upcoming.js)
22
+ [![github](https://img.shields.io/badge/github-upcoming.js-black?style=flat-square&logo=github)](https://github.com/amirmahdi1390/upcoming.js)
27
23
 
28
24
  <br />
29
25
 
30
26
  </div>
31
27
  ---
32
28
 
29
+
33
30
  ---
34
31
 
32
+ ---
35
33
 
36
34
  ---
37
35
 
@@ -106,12 +104,12 @@ import react from '@vitejs/plugin-react'
106
104
  import upcoming from 'upcoming.js'
107
105
 
108
106
  export default defineConfig({
109
- plugins: [
110
- react(),
111
- upcoming()
112
- ],
107
+ plugins: [react(), upcoming()],
113
108
  resolve: {
114
- dedupe: ['react', 'react-dom', 'react-router']
109
+ dedupe: ['react', 'react-dom', 'react-router'] // (optional) for better performance
110
+ },
111
+ optimizeDeps: {
112
+ include: ['react-router'] // (optional) for better performance
115
113
  }
116
114
  })
117
115
  ```
@@ -290,30 +288,30 @@ src/
290
288
 
291
289
  ## Requirements
292
290
 
293
- | Dependency | Version |
294
- | ---------- | ------- |
295
- | React | ≥ 18 |
296
- | React DOM | ≥ 18 |
297
- | Vite | ≥ 4 |
291
+ | Dependency | Version |
292
+ | ------------ | ------- |
293
+ | React | ≥ 18 |
294
+ | React DOM | ≥ 18 |
295
+ | Vite | ≥ 4 |
296
+ | react-router | ≥ 7 |
298
297
 
299
298
  ---
300
299
 
301
300
  ## Links
302
301
 
303
302
  * 📦 [npm](https://www.npmjs.com/package/upcoming.js)
304
- * 🐙 [GitHub](https://github.com/amirmahdi390/upcoming.js)
303
+ * 🐙 [GitHub](https://github.com/amirmahdi1390/upcoming.js)
305
304
 
306
305
  ---
307
306
 
308
307
  ## License
309
308
 
310
- MIT © [Amir.Mahdi Sultani](https://github.com/amirmahdi390)
309
+ MIT © [Amir.Mahdi Sultani](https://github.com/amirmahdi1390)
311
310
 
312
311
  ---
313
312
 
314
313
  <div align="center">
315
314
 
316
-
317
- **If upcoming.js saved you time, give it a ⭐ on [GitHub](https://github.com/amirmahdi390/upcoming.js)**
315
+ **If upcoming.js saved you time, give it a ⭐ on [GitHub](https://github.com/amirmahdi1390/upcoming.js)**
318
316
 
319
317
  </div>