upcoming.js 1.0.0 → 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.
- package/package.json +5 -5
- package/readme.md +17 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "upcoming.js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"author": "Amir.Mahdi Sultani",
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"description": "a plugin package for react vite for adding the file and folder based routing feature based according to nextjs",
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"react-router": "^7.13.1",
|
|
35
|
+
"chalk": "^5.6.2"
|
|
36
|
+
},
|
|
33
37
|
"peerDependencies": {
|
|
34
38
|
"react": ">=18",
|
|
35
39
|
"react-dom": ">=18",
|
|
36
|
-
"react-router": "^7.13.1",
|
|
37
40
|
"vite": ">=4"
|
|
38
|
-
},
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"chalk": "^5.6.2"
|
|
41
41
|
}
|
|
42
42
|
}
|
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
|
[](https://www.npmjs.com/package/upcoming.js)
|
|
24
20
|
[](https://www.npmjs.com/package/upcoming.js)
|
|
25
21
|
[](https://github.com/amirmahdi390/upcoming.js/blob/main/LICENSE)
|
|
26
|
-
[](https://github.com/
|
|
22
|
+
[](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
|
|
294
|
-
|
|
|
295
|
-
| React
|
|
296
|
-
| React DOM
|
|
297
|
-
| Vite
|
|
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/
|
|
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/
|
|
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>
|