nyte 1.3.0-alpha.3 → 1.3.0

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/dist/builder.js +2 -2
  2. package/package.json +1 -1
package/dist/builder.js CHANGED
@@ -19,7 +19,7 @@ const { rollup, watch: rollupWatch } = require('rollup');
19
19
  const path = require('path');
20
20
  const Console = require("./api/console").default;
21
21
  const fs = require('fs');
22
- const { readdir, stat } = require("node:fs/promises");
22
+ const { readdir, stat, rm } = require("node:fs/promises");
23
23
  // Plugins Oficiais do Rollup
24
24
  const nodeResolve = require('@rollup/plugin-node-resolve').default;
25
25
  const commonjs = require('@rollup/plugin-commonjs').default;
@@ -521,7 +521,7 @@ async function cleanDirectoryExcept(dirPath, excludeFolder) {
521
521
  return;
522
522
  const itemPath = path.join(dirPath, item);
523
523
  const info = await stat(itemPath);
524
- fs.rm(itemPath, { recursive: info.isDirectory(), force: true });
524
+ await rm(itemPath, { recursive: info.isDirectory(), force: true });
525
525
  }));
526
526
  }
527
527
  catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nyte",
3
- "version": "1.3.0-alpha.3",
3
+ "version": "1.3.0",
4
4
  "description": "Nyte.js is a high-level framework for building web applications with ease and speed. It provides a robust set of tools and features to streamline development and enhance productivity.",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "itsmuzin",