@unsetsoft/ryunixjs 0.2.37-nightly.7 → 0.2.37-nightly.9

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsetsoft/ryunixjs",
3
- "version": "0.2.37-nightly.7",
3
+ "version": "0.2.37-nightly.9",
4
4
  "license": "MIT",
5
5
  "main": "./dist/Ryunix.js",
6
6
  "private": false,
@@ -29,10 +29,8 @@
29
29
  "@babel/preset-react": "^7.22.5",
30
30
  "@mdx-js/loader": "^2.3.0",
31
31
  "babel-loader": "^9.1.3",
32
- "cors": "^2.8.5",
33
32
  "crypto": "^1.0.1",
34
33
  "css-loader": "^6.8.1",
35
- "express": "^4.18.2",
36
34
  "file-loader": "^6.2.0",
37
35
  "glob": "^10.3.7",
38
36
  "html-loader": "^4.2.0",
package/src/main.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import Ryunix from "./lib/index.js";
2
- import Server from "./server/index.js";
2
+
3
3
  export {
4
4
  useStore,
5
5
  useEffect,
@@ -12,5 +12,5 @@ export {
12
12
 
13
13
  window.Ryunix = Ryunix;
14
14
 
15
- export { Server };
15
+
16
16
  export default Ryunix;
package/utils/config.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const config = require("../../../../ryunix.config.js");
2
-
2
+ console.log(config);
3
3
  const defaultSettings = {
4
4
  buildDirectory: ".ryunix" || config.buildDirectory,
5
5
  appDirectory: "src" || config.appDirectory,
@@ -1,11 +0,0 @@
1
- import express from "express";
2
- import cors from "cors";
3
- const route = express();
4
-
5
- const useCors = (config = {}) => app.use(cors(config));
6
- const init = (port) =>
7
- route.listen(port, () => {
8
- console.log("Server is runing at: https://localhost:" + port);
9
- });
10
-
11
- export default { useCors, route, init };