@react-native/community-cli-plugin 0.73.6 → 0.74.0-nightly-20231004-2000acc6c

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.
@@ -59,6 +59,6 @@ declare function buildBundleWithConfig(
59
59
  * re-used for several bundling calls if multiple platforms are being
60
60
  * bundled.
61
61
  */
62
- declare export const unstable_buildBundleWithConfig: buildBundleWithConfig;
62
+ declare export const unstable_buildBundleWithConfig: typeof buildBundleWithConfig;
63
63
 
64
- declare export default buildBundle;
64
+ declare export default typeof buildBundle;
@@ -14,4 +14,4 @@ declare function filterPlatformAssetScales(
14
14
  scales: $ReadOnlyArray<number>
15
15
  ): $ReadOnlyArray<number>;
16
16
 
17
- declare export default filterPlatformAssetScales;
17
+ declare export default typeof filterPlatformAssetScales;
@@ -16,4 +16,4 @@ declare function getAssetDestPathAndroid(
16
16
  scale: number
17
17
  ): string;
18
18
 
19
- declare export default getAssetDestPathAndroid;
19
+ declare export default typeof getAssetDestPathAndroid;
@@ -16,4 +16,4 @@ declare function getAssetDestPathIOS(
16
16
  scale: number
17
17
  ): string;
18
18
 
19
- declare export default getAssetDestPathIOS;
19
+ declare export default typeof getAssetDestPathIOS;
@@ -15,4 +15,4 @@ export type { BundleCommandArgs } from "./buildBundle";
15
15
 
16
16
  declare const bundleCommand: Command;
17
17
 
18
- declare export default bundleCommand;
18
+ declare export default typeof bundleCommand;
@@ -18,4 +18,4 @@ declare function saveAssets(
18
18
  assetCatalogDest?: string
19
19
  ): Promise<void>;
20
20
 
21
- declare export default saveAssets;
21
+ declare export default typeof saveAssets;
@@ -12,4 +12,4 @@
12
12
  import type { Command } from "@react-native-community/cli-types";
13
13
  declare const ramBundleCommand: Command;
14
14
 
15
- declare export default ramBundleCommand;
15
+ declare export default typeof ramBundleCommand;
@@ -15,4 +15,4 @@ export type { StartCommandArgs } from "./runServer";
15
15
 
16
16
  declare const startCommand: Command;
17
17
 
18
- declare export default startCommand;
18
+ declare export default typeof startCommand;
@@ -35,4 +35,4 @@ declare function runServer(
35
35
  args: StartCommandArgs
36
36
  ): void;
37
37
 
38
- declare export default runServer;
38
+ declare export default typeof runServer;
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@react-native/community-cli-plugin",
3
- "version": "0.73.6",
3
+ "version": "0.74.0-nightly-20231004-2000acc6c",
4
4
  "description": "Core CLI commands for React Native",
5
- "keywords": ["react-native", "tools"],
5
+ "keywords": [
6
+ "react-native",
7
+ "tools"
8
+ ],
6
9
  "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/buid-scripts#readme",
7
10
  "bugs": "https://github.com/facebook/react-native/issues",
8
11
  "repository": {
@@ -11,13 +14,18 @@
11
14
  "directory": "packages/community-cli-plugin"
12
15
  },
13
16
  "license": "MIT",
14
- "exports": { ".": "./dist/index.js", "./package.json": "./package.json" },
15
- "files": ["dist"],
17
+ "exports": {
18
+ ".": "./dist/index.js",
19
+ "./package.json": "./package.json"
20
+ },
21
+ "files": [
22
+ "dist"
23
+ ],
16
24
  "dependencies": {
17
- "@react-native/dev-middleware": "^0.73.3",
18
- "@react-native-community/cli-server-api": "12.0.0-alpha.17",
19
- "@react-native-community/cli-tools": "12.0.0-alpha.17",
20
- "@react-native/metro-babel-transformer": "^0.73.12",
25
+ "@react-native/dev-middleware": "0.74.0-nightly-20231004-2000acc6c",
26
+ "@react-native-community/cli-server-api": "12.0.0-alpha.15",
27
+ "@react-native-community/cli-tools": "12.0.0-alpha.15",
28
+ "@react-native/metro-babel-transformer": "0.74.0-nightly-20231004-2000acc6c",
21
29
  "chalk": "^4.0.0",
22
30
  "execa": "^5.1.1",
23
31
  "metro": "0.79.1",
@@ -26,6 +34,10 @@
26
34
  "node-fetch": "^2.2.0",
27
35
  "readline": "^1.3.0"
28
36
  },
29
- "devDependencies": { "metro-resolver": "0.79.1" },
30
- "engines": { "node": ">=18" }
37
+ "devDependencies": {
38
+ "metro-resolver": "0.79.1"
39
+ },
40
+ "engines": {
41
+ "node": ">=18"
42
+ }
31
43
  }