Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
a388daf
Gh/neyunse/canary (#459)
neyunse Jun 24, 2025
c74b874
chore(release): 1.2.0-canary.2
neyunse Jun 25, 2025
8a9a94b
update 7 files
neyunse Jun 25, 2025
e4660c0
Gh/neyunse/canary (#462)
neyunse Jun 25, 2025
791dd92
chore(release): 1.2.0-canary.3
neyunse Jun 25, 2025
96146c3
chore(release): 1.2.0-canary.4
neyunse Jun 25, 2025
725590c
chore(release): 1.2.0-canary.5
neyunse Jun 25, 2025
96d7ea3
chore(release): 1.2.0-canary.6
neyunse Jun 25, 2025
3a45052
chore(release): 1.2.0-canary.7
neyunse Jun 25, 2025
812f7c5
chore(release): 1.2.0-canary.8
neyunse Jun 25, 2025
2437847
chore(release): 1.2.0-canary.9
neyunse Jun 25, 2025
95dd52e
chore(release): 1.2.0-canary.10
neyunse Jun 25, 2025
d7a4b35
chore(release): 1.2.0-canary.11
neyunse Jun 25, 2025
d6ce5d1
chore(release): 1.2.0-canary.12
neyunse Jun 25, 2025
58690da
chore(release): 1.2.0-canary.13
neyunse Jun 25, 2025
362f400
chore(release): 1.2.0-canary.14
neyunse Jun 25, 2025
de6f456
chore(release): 1.2.0-canary.15
neyunse Jun 25, 2025
674b57e
chore(release): 1.2.0-canary.16
neyunse Jun 25, 2025
31519d0
chore(release): 1.2.0-canary.17
neyunse Jun 25, 2025
3792263
chore(release): 1.2.0-canary.18
neyunse Jun 25, 2025
668ddf4
chore(release): 1.2.0-canary.19
neyunse Jun 25, 2025
af4155c
chore(release): 1.2.0-canary.20
neyunse Jun 25, 2025
ff90f39
chore(release): 1.2.0-canary.21
neyunse Jun 25, 2025
4bb9ba8
chore(release): 1.2.0-canary.22
neyunse Jun 25, 2025
d63fcb3
chore(release): 1.2.0-canary.23
neyunse Jun 25, 2025
248daf3
chore(release): 1.2.0-canary.24
neyunse Jun 25, 2025
807b41a
chore(release): 1.2.0-canary.25
neyunse Jun 25, 2025
3a16dfc
added: Added support for pre-render & better SEO support
neyunse Jun 25, 2025
9256f36
chore(release): 1.2.0-canary.26
neyunse Jun 25, 2025
259f7f4
chore(release): 1.2.0-canary.27
neyunse Jun 25, 2025
fbbcc92
fix: Upgrades version to 1.2.0-canary.27 and improves the cleanup of …
neyunse Jun 25, 2025
8508b32
Gh/neyunse/canary (#463)
neyunse Jun 25, 2025
9216b89
chore(release): 1.2.0-canary.28
neyunse Jun 26, 2025
75b7beb
chore(release): 1.2.0-canary.29
neyunse Jun 26, 2025
83dd753
chore(release): 1.2.0-canary.30
neyunse Jun 26, 2025
21ac78d
chore(release): 1.2.0-canary.31
neyunse Jun 26, 2025
506d470
fix: update version to 1.2.0-canary.31 and add sitemap generation in …
neyunse Jun 26, 2025
499b0e8
chore(release): 1.2.0-canary.32
neyunse Jun 26, 2025
dd22d13
chore(release): 1.2.0-canary.33
neyunse Jun 26, 2025
8e87efd
update 5 files
neyunse Jun 26, 2025
c2ad8b8
Merge branch 'canary' into gh/neyunse/canary
neyunse Jun 26, 2025
1be0a6a
Gh/neyunse/canary (#464)
neyunse Jun 26, 2025
2f8d336
chore(release): 1.2.0-canary.34
neyunse Jul 25, 2025
a173b7a
chore(release): 1.2.0-canary.35
neyunse Jul 25, 2025
97890cc
chore(release): 1.2.0-canary.36
neyunse Jul 25, 2025
5aaa2d2
chore(release): 1.2.0-canary.37
neyunse Jul 25, 2025
96fd02d
chore(release): 1.2.0-canary.38
neyunse Jul 25, 2025
089cc1c
chore(release): 1.2.0-canary.39
neyunse Jul 25, 2025
a434989
chore(release): 1.2.0-canary.40
neyunse Jul 25, 2025
8d27fc0
chore(release): 1.2.0-canary.41
neyunse Jul 25, 2025
efa0c0e
chore(release): 1.2.0-canary.42
neyunse Jul 25, 2025
0eaf092
chore(release): 1.2.0-canary.43
neyunse Jul 25, 2025
2da27da
chore(release): 1.2.0-canary.44
neyunse Jul 25, 2025
626007f
chore(release): 1.2.0-canary.45
neyunse Jul 25, 2025
846786a
chore(release): 1.2.0-canary.46
neyunse Jul 25, 2025
d7700d3
chore(release): 1.2.0-canary.47
neyunse Jul 25, 2025
a271b5c
chore(release): 1.2.0-canary.48
neyunse Jul 25, 2025
0eda1e8
chore(release): 1.2.0-canary.49
neyunse Jul 25, 2025
dfe3805
chore(release): 1.2.0-canary.50
neyunse Jul 25, 2025
4917840
chore(release): 1.2.0-canary.51
neyunse Jul 25, 2025
2ffc0d3
chore(release): 1.2.0-canary.52
neyunse Jul 25, 2025
25d13d7
chore(release): 1.2.0-canary.53
neyunse Jul 25, 2025
8914bb6
chore(release): 1.2.0-canary.54
neyunse Jul 25, 2025
c2a03a0
chore(release): 1.2.0-canary.55
neyunse Jul 25, 2025
ba9d88f
chore(release): 1.2.0-canary.56
neyunse Jul 25, 2025
8cdb478
chore(release): 1.2.0-canary.57
neyunse Jul 25, 2025
ef14092
chore(release): 1.2.0-canary.58
neyunse Jul 25, 2025
5156639
chore(release): 1.2.0-canary.59
neyunse Jul 25, 2025
90c3a46
chore(release): 1.2.0-canary.60
neyunse Jul 25, 2025
b4e81d7
chore(release): 1.2.0-canary.61
neyunse Jul 25, 2025
e5f9ee2
chore(release): 1.2.0-canary.62
neyunse Jul 25, 2025
1aa19b1
chore(release): 1.2.0-canary.63
neyunse Jul 25, 2025
043c400
update 13 files
neyunse Jul 25, 2025
833a253
build: update package.json
neyunse Jul 25, 2025
6bc3856
chore(release): 1.2.0-canary.64
neyunse Jul 25, 2025
dc9495c
chore(release): 1.2.0-canary.65
neyunse Jul 25, 2025
3102a58
chore(release): 1.2.0-canary.66
neyunse Jul 25, 2025
48c9c65
chore(release): 1.2.0-canary.67
neyunse Jul 25, 2025
a1686d8
chore(release): 1.2.0-canary.68
neyunse Jul 25, 2025
3807474
chore(release): 1.2.0-canary.69
neyunse Jul 25, 2025
9b1ffee
update 6 files
neyunse Jul 25, 2025
5a880e2
Merge branch 'canary' into gh/neyunse/canary
neyunse Jul 25, 2025
0fad534
Gh/neyunse/canary (#465)
neyunse Jul 25, 2025
3e89335
build: update package.json
neyunse Jul 25, 2025
1310448
Merge branch 'gh/neyunse/canary' of https://github.com/UnSetSoft/Ryun…
neyunse Jul 25, 2025
d6efaef
Merge branch 'canary' into gh/neyunse/canary
neyunse Jul 25, 2025
5a0741b
Gh/neyunse/canary (#466)
neyunse Jul 25, 2025
a275b66
chore(release): 1.2.0-canary.70
neyunse Jul 25, 2025
e2dc3a5
chore(release): 1.2.0-canary.71
neyunse Jul 25, 2025
8795797
update CHANGELOG.md, package.json, config.cjs and package.json
neyunse Jul 25, 2025
0bc6716
fix: change vercel yarn to prevent babel-loader error
neyunse Jul 25, 2025
b78bcf7
chore(release): 1.2.0-canary.72
neyunse Jul 25, 2025
d975313
chore(release): 1.2.0-canary.73
neyunse Jul 25, 2025
7cfa683
chore(release): 1.2.0-canary.74
neyunse Jul 25, 2025
d91c303
update CHANGELOG.md, package.json, packages/ryunix-webpack/utils/inde…
neyunse Jul 25, 2025
fb7ccd2
Merge branch 'canary' into gh/neyunse/canary
neyunse Jul 25, 2025
fcb3edd
Gh/neyunse/canary (#467)
neyunse Jul 25, 2025
74c6999
update CHANGELOG.md, package.json, package.json and package.json upda…
neyunse Jul 25, 2025
6b580fb
Merge branch 'canary' into gh/neyunse/canary
neyunse Jul 25, 2025
b257d5d
update CHANGELOG.md, package.json, package.json and package.json upda…
neyunse Jul 25, 2025
cfca129
Merge branch 'main' into canary
neyunse Jul 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated
168 changes: 168 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,173 @@
# Changelog

### [1.2.1](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.74...v1.2.1) (2025-07-25)

## [1.2.0-canary.74](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.73...v1.2.0-canary.74) (2025-07-25)

## [1.2.0-canary.73](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.72...v1.2.0-canary.73) (2025-07-25)

## [1.2.0-canary.72](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.71...v1.2.0-canary.72) (2025-07-25)

### Bug Fixes

- change vercel yarn to prevent babel-loader error ([0bc6716](https://github.com/UnSetSoft/Ryunixjs/commit/0bc671646b2681bf45e336577309ac0b820b0a8f))

## [1.2.0-canary.71](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.70...v1.2.0-canary.71) (2025-07-25)

## [1.2.0-canary.70](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.69...v1.2.0-canary.70) (2025-07-25)

## [1.2.0-canary.69](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.68...v1.2.0-canary.69) (2025-07-25)

## [1.2.0-canary.68](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.67...v1.2.0-canary.68) (2025-07-25)

## [1.2.0-canary.67](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.66...v1.2.0-canary.67) (2025-07-25)

## [1.2.0-canary.66](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.65...v1.2.0-canary.66) (2025-07-25)

## [1.2.0-canary.65](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.64...v1.2.0-canary.65) (2025-07-25)

## [1.2.0-canary.64](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.63...v1.2.0-canary.64) (2025-07-25)

## [1.2.0-canary.63](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.62...v1.2.0-canary.63) (2025-07-25)

## [1.2.0-canary.62](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.61...v1.2.0-canary.62) (2025-07-25)

## [1.2.0-canary.61](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.60...v1.2.0-canary.61) (2025-07-25)

## [1.2.0-canary.60](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.59...v1.2.0-canary.60) (2025-07-25)

## [1.2.0-canary.59](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.58...v1.2.0-canary.59) (2025-07-25)

## [1.2.0-canary.58](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.57...v1.2.0-canary.58) (2025-07-25)

## [1.2.0-canary.57](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.56...v1.2.0-canary.57) (2025-07-25)

## [1.2.0-canary.56](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.55...v1.2.0-canary.56) (2025-07-25)

## [1.2.0-canary.55](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.54...v1.2.0-canary.55) (2025-07-25)

## [1.2.0-canary.54](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.53...v1.2.0-canary.54) (2025-07-25)

## [1.2.0-canary.53](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.52...v1.2.0-canary.53) (2025-07-25)

## [1.2.0-canary.52](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.51...v1.2.0-canary.52) (2025-07-25)

## [1.2.0-canary.51](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.50...v1.2.0-canary.51) (2025-07-25)

## [1.2.0-canary.50](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.49...v1.2.0-canary.50) (2025-07-25)

## [1.2.0-canary.49](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.48...v1.2.0-canary.49) (2025-07-25)

## [1.2.0-canary.48](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.47...v1.2.0-canary.48) (2025-07-25)

## [1.2.0-canary.47](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.46...v1.2.0-canary.47) (2025-07-25)

## [1.2.0-canary.46](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.45...v1.2.0-canary.46) (2025-07-25)

## [1.2.0-canary.45](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.44...v1.2.0-canary.45) (2025-07-25)

## [1.2.0-canary.44](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.43...v1.2.0-canary.44) (2025-07-25)

## [1.2.0-canary.43](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.42...v1.2.0-canary.43) (2025-07-25)

## [1.2.0-canary.42](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.41...v1.2.0-canary.42) (2025-07-25)

## [1.2.0-canary.41](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.40...v1.2.0-canary.41) (2025-07-25)

## [1.2.0-canary.40](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.39...v1.2.0-canary.40) (2025-07-25)

## [1.2.0-canary.39](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.38...v1.2.0-canary.39) (2025-07-25)

## [1.2.0-canary.38](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.37...v1.2.0-canary.38) (2025-07-25)

## [1.2.0-canary.37](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.36...v1.2.0-canary.37) (2025-07-25)

## [1.2.0-canary.36](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.35...v1.2.0-canary.36) (2025-07-25)

## [1.2.0-canary.35](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.34...v1.2.0-canary.35) (2025-07-25)

## [1.2.0-canary.34](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.33...v1.2.0-canary.34) (2025-07-25)

## [1.2.0-canary.33](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.32...v1.2.0-canary.33) (2025-06-26)

## [1.2.0-canary.32](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.31...v1.2.0-canary.32) (2025-06-26)

### Bug Fixes

- update version to 1.2.0-canary.31 and add sitemap generation in prerender ([506d470](https://github.com/UnSetSoft/Ryunixjs/commit/506d470f2cae8fec2454ad56f70efde1b8820fb5))

## [1.2.0-canary.31](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.30...v1.2.0-canary.31) (2025-06-26)

## [1.2.0-canary.30](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.29...v1.2.0-canary.30) (2025-06-26)

## [1.2.0-canary.29](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.28...v1.2.0-canary.29) (2025-06-26)

## [1.2.0-canary.28](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.27...v1.2.0-canary.28) (2025-06-26)

### Bug Fixes

- Upgrades version to 1.2.0-canary.27 and improves the cleanup of the build directory based on the prerender configuration. ([fbbcc92](https://github.com/UnSetSoft/Ryunixjs/commit/fbbcc9222cb3b86a38a79b4df3fdf2fb3b6370f9))

## [1.2.0-canary.27](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.26...v1.2.0-canary.27) (2025-06-25)

## [1.2.0-canary.26](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.25...v1.2.0-canary.26) (2025-06-25)

## [1.2.0-canary.25](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.24...v1.2.0-canary.25) (2025-06-25)

## [1.2.0-canary.24](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.23...v1.2.0-canary.24) (2025-06-25)

## [1.2.0-canary.23](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.22...v1.2.0-canary.23) (2025-06-25)

## [1.2.0-canary.22](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.21...v1.2.0-canary.22) (2025-06-25)

## [1.2.0-canary.21](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.20...v1.2.0-canary.21) (2025-06-25)

## [1.2.0-canary.20](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.19...v1.2.0-canary.20) (2025-06-25)

## [1.2.0-canary.19](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.18...v1.2.0-canary.19) (2025-06-25)

## [1.2.0-canary.18](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.17...v1.2.0-canary.18) (2025-06-25)

## [1.2.0-canary.17](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.16...v1.2.0-canary.17) (2025-06-25)

## [1.2.0-canary.16](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.15...v1.2.0-canary.16) (2025-06-25)

## [1.2.0-canary.15](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.14...v1.2.0-canary.15) (2025-06-25)

## [1.2.0-canary.14](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.13...v1.2.0-canary.14) (2025-06-25)

## [1.2.0-canary.13](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.12...v1.2.0-canary.13) (2025-06-25)

## [1.2.0-canary.12](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.11...v1.2.0-canary.12) (2025-06-25)

## [1.2.0-canary.11](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.10...v1.2.0-canary.11) (2025-06-25)

## [1.2.0-canary.10](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.9...v1.2.0-canary.10) (2025-06-25)

## [1.2.0-canary.9](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.8...v1.2.0-canary.9) (2025-06-25)

## [1.2.0-canary.8](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.7...v1.2.0-canary.8) (2025-06-25)

## [1.2.0-canary.7](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.6...v1.2.0-canary.7) (2025-06-25)

## [1.2.0-canary.6](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.5...v1.2.0-canary.6) (2025-06-25)

## [1.2.0-canary.5](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.4...v1.2.0-canary.5) (2025-06-25)

## [1.2.0-canary.4](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.3...v1.2.0-canary.4) (2025-06-25)

## [1.2.0-canary.3](https://github.com/UnSetSoft/Ryunixjs/compare/v1.2.0-canary.2...v1.2.0-canary.3) (2025-06-25)

## [1.2.0-canary.2](https://github.com/UnSetSoft/Ryunixjs/compare/v1.1.37-canary.10...v1.2.0-canary.2) (2025-06-25)

### Features

- update changelog and package versions, improve configuration and add hook useMetadata for SEO ([fac9daa](https://github.com/UnSetSoft/Ryunixjs/commit/fac9daa1fda2fbd0db7f1982743a8154d9db3f10))

### [1.1.21](https://github.com/UnSetSoft/Ryunixjs/compare/v1.1.20-canary.14...v1.1.21) (2025-06-11)

### [1.1.20](https://github.com/UnSetSoft/Ryunixjs/compare/v1.1.19-canary.35...v1.1.20) (2025-06-05)

### [1.1.38](https://github.com/UnSetSoft/Ryunixjs/compare/v1.1.37-canary.10...v1.1.38) (2025-06-24)

### [1.1.37-canary.10](https://github.com/UnSetSoft/Ryunixjs/compare/v1.1.37-canary.9...v1.1.37-canary.10) (2025-06-24)
Expand Down
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "RyunixJS",
"version": "1.1.38",
"version": "1.2.0-canary.74",
"private": true,
"homepage": "./",
"workspaces": [
"packages/*"
],
"license": "MIT",
"scripts": {
"lint-eslint": "eslint . --max-warnings=0 --config eslint.config.mjs ",
"lint-fix": "yarn prettier-fix && eslint . --fix --max-warnings=0 --config eslint.config.mjs ",
"lint": "eslint . --max-warnings=0 --config eslint.config.mjs ",
"lint:fix": "yarn prettier-fix && eslint . --fix --max-warnings=0 --config eslint.config.mjs ",
"prettier-check": "prettier -c .",
"prettier-fix": "prettier -w .",
"kg:init": "gmvu init",
Expand All @@ -30,7 +30,7 @@
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-transform-react-jsx": "7.27.1",
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.29.0",
"@eslint/js": "9.31.0",
"@kagarisoft/gmvu-cli": "1.0.5",
"@swc/core": "1.12.6",
"@typescript-eslint/eslint-plugin": "8.35.0",
Expand All @@ -43,9 +43,11 @@
"css-loader": "7.1.2",
"css-minimizer-webpack-plugin": "7.0.2",
"dotenv-webpack": "8.1.0",
"eslint": "9.29.0",
"eslint": "9.31.0",
"eslint-plugin-eslint-plugin": "6.5.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-react": "^7.37.5",
"eslint-webpack-plugin": "5.0.2",
"file-loader": "6.2.0",
"glob": "11.0.3",
"globals": "16.2.0",
Expand Down Expand Up @@ -79,5 +81,5 @@
"standard-version": "9.5.0",
"typescript": "5.8.3"
},
"packageManager": "yarn@4.9.1"
"packageManager": "yarn@4.9.2"
}
2 changes: 1 addition & 1 deletion packages/cra/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unsetsoft/cra",
"description": "Create Ryunix app",
"version": "1.1.16",
"version": "1.1.17",
"author": "Neyunse",
"repository": "https://github.com/UnSetSoft/Ryunixjs",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/cra/templates/Rspack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"build": "cross-env NODE_ENV=production rspack build"
},
"engines": {
"node": "^18 || ^22"
"node": "^20 || ^22"
}
}
2 changes: 1 addition & 1 deletion packages/cra/templates/Vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"preview": "vite preview"
},
"engines": {
"node": "^18 || ^22"
"node": "^20 || ^22"
}
}
6 changes: 4 additions & 2 deletions packages/cra/templates/Webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
"homepage": "./",
"scripts": {
"dev": "ryunix server",
"build": "ryunix build"
"build": "ryunix build",
"lint": "ryunix lint",
"lint:fix": "ryunix lint --fix"
},
"engines": {
"node": "^18 || ^22"
"node": "^20 || ^22"
}
}
6 changes: 3 additions & 3 deletions packages/cra/templates/Webpack/vercel.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"outputDirectory": ".ryunix/static",
"buildCommand": "yarn build",
"devCommand": "yarn dev",
"installCommand": "yarn install",
"buildCommand": "npm run build",
"devCommand": "npm run dev",
"installCommand": "npm install",
"framework": null,
"rewrites": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/ryunix-presets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"./rspack": "./rspack/index.js"
},
"engines": {
"node": "^18 || ^22"
"node": "^20 || ^22"
}
}
56 changes: 54 additions & 2 deletions packages/ryunix-webpack/bin/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,45 @@ import { compiler } from './compiler.mjs'
import logger from 'terminal-log'
import chalk from 'chalk'
import defaultSettings from '../utils/config.cjs'
import Prerender from './prerender.mjs'
import {
cleanBuildDirectory,
convertFlatToClassic,
resolveApp,
} from '../utils/index.mjs'
import { ESLint } from 'eslint'
import eslintConfig from '../eslint.config.mjs'
const lint = {
command: 'lint',
describe: 'Lint code',
builder: {
fix: {
alias: 'f',
type: 'boolean',
default: false,
describe: 'Automatically fix problems',
},
},
handler: async (arg) => {
const classicConfig = eslintConfig[0]

const fix = arg.fix
const eslint = new ESLint({
cwd: process.cwd(),
overrideConfigFile: true,
overrideConfig: classicConfig,
fix,
})

const results = await eslint.lintFiles(defaultSettings.eslint.files)

await ESLint.outputFixes(results)

const formatter = await eslint.loadFormatter('stylish')
const report = formatter.format(results)
console.log(report)
},
}

const serv = {
command: 'server',
Expand Down Expand Up @@ -33,7 +72,16 @@ const build = {
return
}

compiler.run((err, stats) => {
if (defaultSettings.experimental.ssg.prerender.length > 0) {
await cleanBuildDirectory(
resolveApp(
process.cwd(),
`${defaultSettings.webpack.output.buildDirectory}/static`,
),
)
}

compiler.run(async (err, stats) => {
if (err || stats.hasErrors()) {
logger.error(chalk.red('Error during compilation:'))
logger.error(err || stats.toString('errors-only'))
Expand All @@ -48,6 +96,10 @@ const build = {
const formattedTime =
minutes > 0 ? `${minutes}m ${seconds}s` : `${seconds}s`

if (defaultSettings.experimental.ssg.prerender.length > 0) {
await Prerender()
}

logger.info(chalk.green('Compilation successful! 🎉'))
logger.info(`Done in ${formattedTime}`)

Expand All @@ -60,4 +112,4 @@ const build = {
},
}

yargs(hideBin(process.argv)).command(serv).command(build).parse()
yargs(hideBin(process.argv)).command(serv).command(build).command(lint).parse()
Loading