@modern-js/sandpack-react 2.58.1 → 2.58.2

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.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { SandpackSetup, SandpackFiles, SandpackThemeProp } from '@codesandbox/sandpack-react';
2
+ import { type SandpackSetup, type SandpackFiles, type SandpackThemeProp } from '@codesandbox/sandpack-react';
3
3
  export type ModernSandpackProps = {
4
4
  template: 'web-app' | 'npm-module';
5
5
  customSetup?: SandpackSetup;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.58.1",
18
+ "version": "2.58.2",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -37,7 +37,7 @@
37
37
  "react-dom": "^18"
38
38
  },
39
39
  "devDependencies": {
40
- "@modern-js/codesmith-api-handlebars": "2.4.0",
40
+ "@modern-js/codesmith-api-handlebars": "2.4.1",
41
41
  "@types/jest": "^29",
42
42
  "@types/node": "^14",
43
43
  "@types/react": "^18",
@@ -47,15 +47,15 @@
47
47
  "recursive-readdir": "^2.2.3",
48
48
  "ts-node": "^10.9.1",
49
49
  "typescript": "^5",
50
- "@modern-js/base-generator": "3.4.15",
51
- "@modern-js/entry-generator": "3.4.15",
52
- "@modern-js/generator-common": "3.4.15",
53
- "@modern-js/generator-utils": "3.4.15",
54
- "@modern-js/module-generator": "3.4.15",
55
- "@modern-js/mwa-generator": "3.4.15",
56
- "@modern-js/utils": "2.58.1",
57
- "@scripts/build": "2.58.1",
58
- "@scripts/jest-config": "2.58.1"
50
+ "@modern-js/entry-generator": "3.4.16",
51
+ "@modern-js/generator-common": "3.4.16",
52
+ "@modern-js/generator-utils": "3.4.16",
53
+ "@modern-js/module-generator": "3.4.16",
54
+ "@modern-js/base-generator": "3.4.16",
55
+ "@modern-js/mwa-generator": "3.4.16",
56
+ "@scripts/build": "2.58.2",
57
+ "@modern-js/utils": "2.58.2",
58
+ "@scripts/jest-config": "2.58.2"
59
59
  },
60
60
  "sideEffects": false,
61
61
  "publishConfig": {
@@ -164,6 +164,5 @@ export const ModuleFiles = {
164
164
 
165
165
  main().catch(e => {
166
166
  console.error(e);
167
- // eslint-disable-next-line no-process-exit
168
167
  process.exit(1);
169
168
  });