@promoboxx/react-scripts-vite 0.1.31-esm.6 → 0.1.31-esm.8

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/dist/cjs/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  // src/cli.ts
4
- var import_child_process = require("child_process/index");
4
+ var import_child_process = require("child_process");
5
5
  function main(command2, args2) {
6
6
  switch (command2) {
7
7
  case "start":
@@ -34,7 +34,7 @@ __export(viteConfig_exports, {
34
34
  pluginOptions: () => pluginOptions
35
35
  });
36
36
  module.exports = __toCommonJS(viteConfig_exports);
37
- var import_fs = __toESM(require("fs/index"));
37
+ var import_fs = __toESM(require("fs"));
38
38
  var import_plugin_react = __toESM(require("@vitejs/plugin-react"));
39
39
  var import_alias_hq = __toESM(require("alias-hq"));
40
40
  var import_vite_plugin_checker = __toESM(require("vite-plugin-checker"));
package/dist/esm/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/cli.ts
2
- import { spawn } from "child_process/index.mjs";
2
+ import { spawn } from "child_process";
3
3
  function main(command2, args2) {
4
4
  switch (command2) {
5
5
  case "start":
@@ -0,0 +1,5 @@
1
+ /// <reference types="vite/client" />
2
+ /// <reference types="vite-plugin-svgr/client" />
3
+ /// <reference types="vitest/globals" />
4
+ /// <reference types="vite-plugin-pwa/vanillajs" />
5
+ /// <reference types="vite-plugin-pwa/react" />
@@ -1,5 +1,5 @@
1
1
  // src/viteConfig.ts
2
- import fs from "fs/index.mjs";
2
+ import fs from "fs";
3
3
  import react from "@vitejs/plugin-react";
4
4
  import aliasHq from "alias-hq";
5
5
  import pluginChecker from "vite-plugin-checker";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/react-scripts-vite",
3
- "version": "0.1.31-esm.6",
3
+ "version": "0.1.31-esm.8",
4
4
  "description": "",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",
@@ -17,8 +17,10 @@
17
17
  "author": "",
18
18
  "license": "ISC",
19
19
  "devDependencies": {
20
- "@promoboxx/eslint-config": "^3.1.0",
20
+ "@promoboxx/eslint-config": "^3.2.0",
21
+ "@types/node": "^20.10.4",
21
22
  "concurrently": "^8.2.2",
23
+ "esbuild": "x",
22
24
  "prettier": "^3.1.0",
23
25
  "tsup": "^8.0.1",
24
26
  "typescript": "^5.3.2"
@@ -36,7 +38,7 @@
36
38
  "dependencies": {
37
39
  "@vitejs/plugin-react": "^4.2.0",
38
40
  "alias-hq": "^6.2.3",
39
- "eslint": "^8.54.0",
41
+ "eslint": "^8.55.0",
40
42
  "jsdom": "^23.0.0",
41
43
  "vite": "^5.0.2",
42
44
  "vite-plugin-checker": "^0.6.2",
@@ -46,6 +48,6 @@
46
48
  "vitest": "^0.34.6"
47
49
  },
48
50
  "files": [
49
- "dist/*"
51
+ "dist"
50
52
  ]
51
53
  }
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,2 +0,0 @@
1
-
2
- export { }
File without changes
File without changes