@nx/expo 23.0.0-beta.24 → 23.0.0-beta.25
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/{index.d.ts → dist/index.d.ts} +0 -1
- package/{plugin.d.ts → dist/plugin.d.ts} +0 -1
- package/dist/plugins/jest/svg-mock.d.ts +1 -0
- package/{plugins → dist/plugins}/jest/svg-mock.js +2 -0
- package/{plugins → dist/plugins}/metro-resolver.d.ts +0 -1
- package/{plugins → dist/plugins}/plugin.d.ts +0 -1
- package/{plugins → dist/plugins}/with-nx-metro.d.ts +0 -1
- package/dist/readme-template.md +18 -0
- package/{src → dist/src}/executors/build/build.impl.d.ts +0 -1
- package/{src → dist/src}/executors/build-list/build-list.impl.d.ts +0 -1
- package/{src → dist/src}/executors/ensure-symlink/ensure-symlink.impl.d.ts +0 -1
- package/{src → dist/src}/executors/export/export.impl.d.ts +0 -1
- package/{src → dist/src}/executors/install/install.impl.d.ts +0 -1
- package/{src → dist/src}/executors/prebuild/prebuild.impl.d.ts +0 -1
- package/{src → dist/src}/executors/run/run.impl.d.ts +0 -1
- package/{src → dist/src}/executors/serve/lib/is-packager-running.d.ts +0 -1
- package/{src → dist/src}/executors/serve/serve.impl.d.ts +0 -1
- package/{src → dist/src}/executors/start/start.impl.d.ts +0 -1
- package/{src → dist/src}/executors/submit/submit.impl.d.ts +0 -1
- package/{src → dist/src}/executors/sync-deps/sync-deps.impl.d.ts +0 -1
- package/{src → dist/src}/executors/update/update.impl.d.ts +0 -1
- package/{src → dist/src}/generators/application/application.d.ts +0 -1
- package/{src → dist/src}/generators/application/application.js +2 -0
- package/{src → dist/src}/generators/application/lib/add-e2e.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/add-eas-scripts.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/add-project.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/create-application-files.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/normalize-options.d.ts +0 -1
- package/{src → dist/src}/generators/component/component.d.ts +0 -1
- package/{src → dist/src}/generators/component/component.js +2 -0
- package/{src → dist/src}/generators/component/lib/add-import.d.ts +0 -1
- package/{src → dist/src}/generators/component/lib/normalize-options.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/convert-to-inferred.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/convert-to-inferred.js +2 -0
- package/{src → dist/src}/generators/convert-to-inferred/lib/post-target-transformer.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/lib/process-build-options.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/lib/process-export-options.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/lib/process-generic-options.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/lib/process-install-options.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/lib/process-prebuild-options.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/lib/process-run-options.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/lib/process-serve-options.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/lib/process-start-options.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/lib/process-submit-options.d.ts +0 -1
- package/{src → dist/src}/generators/init/init.d.ts +0 -1
- package/{src → dist/src}/generators/init/init.js +2 -1
- package/{src → dist/src}/generators/init/lib/add-git-ignore-entry.d.ts +0 -1
- package/{src → dist/src}/generators/init/lib/gitignore-entries.d.ts +0 -1
- package/{src → dist/src}/generators/init/schema.d.ts +1 -1
- package/{src → dist/src}/generators/init/schema.json +1 -1
- package/{src → dist/src}/generators/library/lib/normalize-options.d.ts +0 -1
- package/{src → dist/src}/generators/library/library.d.ts +0 -1
- package/{src → dist/src}/generators/library/library.js +4 -2
- package/{src → dist/src}/migrations/update-21-4-0/add-jest-resolver.d.ts +0 -1
- package/{src → dist/src}/migrations/update-21-4-0/remove-deprecated-deps.d.ts +0 -1
- package/{src → dist/src}/migrations/update-21-4-0/update-splash-screen-config.d.ts +0 -1
- package/{src → dist/src}/migrations/update-22-2-0/add-expo-system-ui.d.ts +0 -1
- package/{src → dist/src}/migrations/update-22-2-0/update-jest-for-expo-54.d.ts +0 -1
- package/{src → dist/src}/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.d.ts +0 -1
- package/{src → dist/src}/utils/add-linting.d.ts +0 -1
- package/{src → dist/src}/utils/add-linting.js +2 -2
- package/{src → dist/src}/utils/deprecation.d.ts +0 -1
- package/{src → dist/src}/utils/ensure-dependencies.d.ts +0 -1
- package/{src → dist/src}/utils/ensure-dependencies.js +1 -1
- package/{src → dist/src}/utils/ensure-node-modules-symlink.d.ts +0 -1
- package/{src → dist/src}/utils/expo-project-detection.d.ts +0 -1
- package/{src → dist/src}/utils/find-all-npm-dependencies.d.ts +0 -1
- package/{src → dist/src}/utils/has-expo-plugin.d.ts +0 -1
- package/{src → dist/src}/utils/init-root-babel-config.d.ts +0 -1
- package/{src → dist/src}/utils/jest/add-jest.d.ts +0 -1
- package/{src → dist/src}/utils/jest/add-jest.js +7 -6
- package/{src → dist/src}/utils/pod-install-task.d.ts +0 -1
- package/{src → dist/src}/utils/resolve-eas.d.ts +0 -1
- package/{src → dist/src}/utils/update-tsconfig-files.d.ts +0 -1
- package/{src → dist/src}/utils/version-utils.d.ts +3 -11
- package/dist/src/utils/version-utils.js +133 -0
- package/{src → dist/src}/utils/versions.d.ts +32 -14
- package/dist/src/utils/versions.js +87 -0
- package/dist/typings/svg.d.ts +6 -0
- package/executors.json +24 -24
- package/generators.json +10 -10
- package/migrations.json +89 -63
- package/package.json +82 -12
- package/index.d.ts.map +0 -1
- package/plugin.d.ts.map +0 -1
- package/plugins/jest/svg-mock.d.ts +0 -1
- package/plugins/jest/svg-mock.d.ts.map +0 -1
- package/plugins/metro-resolver.d.ts.map +0 -1
- package/plugins/plugin.d.ts.map +0 -1
- package/plugins/with-nx-metro.d.ts.map +0 -1
- package/src/executors/build/build.impl.d.ts.map +0 -1
- package/src/executors/build-list/build-list.impl.d.ts.map +0 -1
- package/src/executors/ensure-symlink/ensure-symlink.impl.d.ts.map +0 -1
- package/src/executors/export/export.impl.d.ts.map +0 -1
- package/src/executors/install/install.impl.d.ts.map +0 -1
- package/src/executors/prebuild/prebuild.impl.d.ts.map +0 -1
- package/src/executors/run/run.impl.d.ts.map +0 -1
- package/src/executors/serve/lib/is-packager-running.d.ts.map +0 -1
- package/src/executors/serve/serve.impl.d.ts.map +0 -1
- package/src/executors/start/start.impl.d.ts.map +0 -1
- package/src/executors/submit/submit.impl.d.ts.map +0 -1
- package/src/executors/sync-deps/sync-deps.impl.d.ts.map +0 -1
- package/src/executors/update/update.impl.d.ts.map +0 -1
- package/src/generators/application/application.d.ts.map +0 -1
- package/src/generators/application/lib/add-e2e.d.ts.map +0 -1
- package/src/generators/application/lib/add-eas-scripts.d.ts.map +0 -1
- package/src/generators/application/lib/add-project.d.ts.map +0 -1
- package/src/generators/application/lib/create-application-files.d.ts.map +0 -1
- package/src/generators/application/lib/normalize-options.d.ts.map +0 -1
- package/src/generators/component/component.d.ts.map +0 -1
- package/src/generators/component/lib/add-import.d.ts.map +0 -1
- package/src/generators/component/lib/normalize-options.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/convert-to-inferred.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/lib/post-target-transformer.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/lib/process-build-options.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/lib/process-export-options.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/lib/process-generic-options.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/lib/process-install-options.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/lib/process-prebuild-options.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/lib/process-run-options.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/lib/process-serve-options.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/lib/process-start-options.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/lib/process-submit-options.d.ts.map +0 -1
- package/src/generators/init/init.d.ts.map +0 -1
- package/src/generators/init/lib/add-git-ignore-entry.d.ts.map +0 -1
- package/src/generators/init/lib/gitignore-entries.d.ts.map +0 -1
- package/src/generators/library/lib/normalize-options.d.ts.map +0 -1
- package/src/generators/library/library.d.ts.map +0 -1
- package/src/migrations/update-21-4-0/add-jest-resolver.d.ts.map +0 -1
- package/src/migrations/update-21-4-0/remove-deprecated-deps.d.ts.map +0 -1
- package/src/migrations/update-21-4-0/update-splash-screen-config.d.ts.map +0 -1
- package/src/migrations/update-22-2-0/add-expo-system-ui.d.ts.map +0 -1
- package/src/migrations/update-22-2-0/update-jest-for-expo-54.d.ts.map +0 -1
- package/src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.d.ts.map +0 -1
- package/src/utils/add-linting.d.ts.map +0 -1
- package/src/utils/deprecation.d.ts.map +0 -1
- package/src/utils/ensure-dependencies.d.ts.map +0 -1
- package/src/utils/ensure-node-modules-symlink.d.ts.map +0 -1
- package/src/utils/expo-project-detection.d.ts.map +0 -1
- package/src/utils/find-all-npm-dependencies.d.ts.map +0 -1
- package/src/utils/has-expo-plugin.d.ts.map +0 -1
- package/src/utils/init-root-babel-config.d.ts.map +0 -1
- package/src/utils/jest/add-jest.d.ts.map +0 -1
- package/src/utils/pod-install-task.d.ts.map +0 -1
- package/src/utils/resolve-eas.d.ts.map +0 -1
- package/src/utils/update-tsconfig-files.d.ts.map +0 -1
- package/src/utils/version-utils.d.ts.map +0 -1
- package/src/utils/version-utils.js +0 -132
- package/src/utils/versions.d.ts.map +0 -1
- package/src/utils/versions.js +0 -60
- /package/{LICENSE → dist/LICENSE} +0 -0
- /package/{docs → dist/docs}/build-list-examples.md +0 -0
- /package/{docs → dist/docs}/export-examples.md +0 -0
- /package/{docs → dist/docs}/prebuild-examples.md +0 -0
- /package/{docs → dist/docs}/run-examples.md +0 -0
- /package/{docs → dist/docs}/start-examples.md +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{plugin.js → dist/plugin.js} +0 -0
- /package/{plugins → dist/plugins}/metro-resolver.js +0 -0
- /package/{plugins → dist/plugins}/plugin.js +0 -0
- /package/{plugins → dist/plugins}/with-nx-metro.js +0 -0
- /package/{src → dist/src}/executors/build/build.impl.js +0 -0
- /package/{src → dist/src}/executors/build/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/build/schema.json +0 -0
- /package/{src → dist/src}/executors/build-list/build-fragment.d.ts +0 -0
- /package/{src → dist/src}/executors/build-list/build-list.impl.js +0 -0
- /package/{src → dist/src}/executors/build-list/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/build-list/schema.json +0 -0
- /package/{src → dist/src}/executors/ensure-symlink/ensure-symlink.impl.js +0 -0
- /package/{src → dist/src}/executors/ensure-symlink/schema.json +0 -0
- /package/{src → dist/src}/executors/export/export.impl.js +0 -0
- /package/{src → dist/src}/executors/export/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/export/schema.json +0 -0
- /package/{src → dist/src}/executors/install/install.impl.js +0 -0
- /package/{src → dist/src}/executors/install/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/install/schema.json +0 -0
- /package/{src → dist/src}/executors/prebuild/prebuild.impl.js +0 -0
- /package/{src → dist/src}/executors/prebuild/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/prebuild/schema.json +0 -0
- /package/{src → dist/src}/executors/run/run.impl.js +0 -0
- /package/{src → dist/src}/executors/run/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/run/schema.json +0 -0
- /package/{src → dist/src}/executors/serve/lib/is-packager-running.js +0 -0
- /package/{src → dist/src}/executors/serve/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/serve/schema.json +0 -0
- /package/{src → dist/src}/executors/serve/serve.impl.js +0 -0
- /package/{src → dist/src}/executors/start/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/start/schema.json +0 -0
- /package/{src → dist/src}/executors/start/start.impl.js +0 -0
- /package/{src → dist/src}/executors/submit/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/submit/schema.json +0 -0
- /package/{src → dist/src}/executors/submit/submit.impl.js +0 -0
- /package/{src → dist/src}/executors/sync-deps/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/sync-deps/schema.json +0 -0
- /package/{src → dist/src}/executors/sync-deps/sync-deps.impl.js +0 -0
- /package/{src → dist/src}/executors/update/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/update/schema.json +0 -0
- /package/{src → dist/src}/executors/update/update.impl.js +0 -0
- /package/{src → dist/src}/generators/application/files/base/.babelrc.js.template +0 -0
- /package/{src → dist/src}/generators/application/files/base/app.json.template +0 -0
- /package/{src → dist/src}/generators/application/files/base/assets/fonts/.gitkeep +0 -0
- /package/{src → dist/src}/generators/application/files/base/assets/images/adaptive-icon.png +0 -0
- /package/{src → dist/src}/generators/application/files/base/assets/images/favicon.png +0 -0
- /package/{src → dist/src}/generators/application/files/base/assets/images/icon.png +0 -0
- /package/{src → dist/src}/generators/application/files/base/assets/images/splash-icon.png +0 -0
- /package/{src → dist/src}/generators/application/files/base/eas.json.template +0 -0
- /package/{src → dist/src}/generators/application/files/base/index.js.template +0 -0
- /package/{src → dist/src}/generators/application/files/base/metro.config.js.template +0 -0
- /package/{src → dist/src}/generators/application/files/base/package.json.template +0 -0
- /package/{src → dist/src}/generators/application/files/base/src/app/App.spec.tsx.template +0 -0
- /package/{src → dist/src}/generators/application/files/base/tsconfig.app.json.template +0 -0
- /package/{src → dist/src}/generators/application/files/base/tsconfig.json.template +0 -0
- /package/{src → dist/src}/generators/application/files/nx-welcome/claimed/src/app/App.tsx.template +0 -0
- /package/{src → dist/src}/generators/application/files/nx-welcome/not-configured/src/app/App.tsx.template +0 -0
- /package/{src → dist/src}/generators/application/files/nx-welcome/unclaimed/src/app/App.tsx.template +0 -0
- /package/{src → dist/src}/generators/application/lib/add-e2e.js +0 -0
- /package/{src → dist/src}/generators/application/lib/add-eas-scripts.js +0 -0
- /package/{src → dist/src}/generators/application/lib/add-project.js +0 -0
- /package/{src → dist/src}/generators/application/lib/create-application-files.js +0 -0
- /package/{src → dist/src}/generators/application/lib/normalize-options.js +0 -0
- /package/{src → dist/src}/generators/application/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/application/schema.json +0 -0
- /package/{src → dist/src}/generators/component/files/js/__fileName__.__ext__ +0 -0
- /package/{src → dist/src}/generators/component/files/js/__fileName__.spec.__ext__ +0 -0
- /package/{src → dist/src}/generators/component/files/ts/__fileName__.__ext__ +0 -0
- /package/{src → dist/src}/generators/component/files/ts/__fileName__.spec.__ext__ +0 -0
- /package/{src → dist/src}/generators/component/lib/add-import.js +0 -0
- /package/{src → dist/src}/generators/component/lib/normalize-options.js +0 -0
- /package/{src → dist/src}/generators/component/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/component/schema.json +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/lib/post-target-transformer.js +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/lib/process-build-options.js +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/lib/process-export-options.js +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/lib/process-generic-options.js +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/lib/process-install-options.js +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/lib/process-prebuild-options.js +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/lib/process-run-options.js +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/lib/process-serve-options.js +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/lib/process-start-options.js +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/lib/process-submit-options.js +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/schema.json +0 -0
- /package/{src → dist/src}/generators/init/lib/add-git-ignore-entry.js +0 -0
- /package/{src → dist/src}/generators/init/lib/gitignore-entries.js +0 -0
- /package/{src → dist/src}/generators/library/files/lib/.babelrc.js.template +0 -0
- /package/{src → dist/src}/generators/library/files/lib/README.md +0 -0
- /package/{src → dist/src}/generators/library/files/lib/src/index.ts.template +0 -0
- /package/{src → dist/src}/generators/library/files/lib/tsconfig.json.template +0 -0
- /package/{src → dist/src}/generators/library/files/lib/tsconfig.lib.json.template +0 -0
- /package/{src → dist/src}/generators/library/lib/normalize-options.js +0 -0
- /package/{src → dist/src}/generators/library/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/library/schema.json +0 -0
- /package/{src → dist/src}/migrations/update-21-4-0/add-jest-resolver.js +0 -0
- /package/{src → dist/src}/migrations/update-21-4-0/remove-deprecated-deps.js +0 -0
- /package/{src → dist/src}/migrations/update-21-4-0/update-splash-screen-config.js +0 -0
- /package/{src → dist/src}/migrations/update-22-2-0/add-expo-system-ui.js +0 -0
- /package/{src → dist/src}/migrations/update-22-2-0/ai-instructions-for-expo-54.md +0 -0
- /package/{src → dist/src}/migrations/update-22-2-0/update-jest-for-expo-54.js +0 -0
- /package/{src → dist/src}/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.js +0 -0
- /package/{src → dist/src}/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.md +0 -0
- /package/{src → dist/src}/utils/deprecation.js +0 -0
- /package/{src → dist/src}/utils/ensure-node-modules-symlink.js +0 -0
- /package/{src → dist/src}/utils/expo-project-detection.js +0 -0
- /package/{src → dist/src}/utils/find-all-npm-dependencies.js +0 -0
- /package/{src → dist/src}/utils/has-expo-plugin.js +0 -0
- /package/{src → dist/src}/utils/init-root-babel-config.js +0 -0
- /package/{src → dist/src}/utils/jest/files/jest.resolver.js +0 -0
- /package/{src → dist/src}/utils/pod-install-task.js +0 -0
- /package/{src → dist/src}/utils/resolve-eas.js +0 -0
- /package/{src → dist/src}/utils/update-tsconfig-files.js +0 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getExpoDependenciesVersionsToInstall = getExpoDependenciesVersionsToInstall;
|
|
4
|
+
exports.isExpoV53 = isExpoV53;
|
|
5
|
+
exports.getInstalledExpoVersion = getInstalledExpoVersion;
|
|
6
|
+
exports.getInstalledExpoVersionFromGraph = getInstalledExpoVersionFromGraph;
|
|
7
|
+
const devkit_1 = require("@nx/devkit");
|
|
8
|
+
const semver_1 = require("semver");
|
|
9
|
+
const versions_1 = require("./versions");
|
|
10
|
+
// Version-independent deps shared by every Expo lane.
|
|
11
|
+
const sharedVersions = {
|
|
12
|
+
reactNativeSvgTransformer: versions_1.reactNativeSvgTransformerVersion,
|
|
13
|
+
reactNativeSvg: versions_1.reactNativeSvgVersion,
|
|
14
|
+
testingLibraryReactNative: versions_1.testingLibraryReactNativeVersion,
|
|
15
|
+
babelRuntime: versions_1.babelRuntimeVersion,
|
|
16
|
+
};
|
|
17
|
+
// Per-major Expo install lanes. 55 is the latest/default; 53 and 54 are kept
|
|
18
|
+
// for existing workspaces. Anything outside this window routes to 55 — the
|
|
19
|
+
// below-floor throw is assertSupportedExpoVersion's job, not the router's.
|
|
20
|
+
const expoVersionsByMajor = {
|
|
21
|
+
53: {
|
|
22
|
+
expo: versions_1.expoV53Version,
|
|
23
|
+
expoSplashScreen: versions_1.expoV53SplashScreenVersion,
|
|
24
|
+
expoStatusBar: versions_1.expoV53StatusBarVersion,
|
|
25
|
+
expoSystemUi: versions_1.expoV53SystemUiVersion,
|
|
26
|
+
expoCli: versions_1.expoV53CliVersion,
|
|
27
|
+
babelPresetExpo: versions_1.babelPresetExpoV53Version,
|
|
28
|
+
expoMetroConfig: versions_1.expoV53MetroConfigVersion,
|
|
29
|
+
expoMetroRuntime: versions_1.expoV53MetroRuntimeVersion,
|
|
30
|
+
jestExpo: versions_1.jestExpoV53Version,
|
|
31
|
+
react: versions_1.reactV53Version,
|
|
32
|
+
reactDom: versions_1.reactDomV53Version,
|
|
33
|
+
typesReact: versions_1.typesReactV53Version,
|
|
34
|
+
reactNative: versions_1.reactNativeV53Version,
|
|
35
|
+
metro: versions_1.metroV53Version,
|
|
36
|
+
reactNativeWeb: versions_1.reactNativeWebV53Version,
|
|
37
|
+
reactTestRenderer: versions_1.reactTestRendererV53Version,
|
|
38
|
+
...sharedVersions,
|
|
39
|
+
},
|
|
40
|
+
54: {
|
|
41
|
+
expo: versions_1.expoV54Version,
|
|
42
|
+
expoSplashScreen: versions_1.expoV54SplashScreenVersion,
|
|
43
|
+
expoStatusBar: versions_1.expoV54StatusBarVersion,
|
|
44
|
+
expoSystemUi: versions_1.expoV54SystemUiVersion,
|
|
45
|
+
expoCli: versions_1.expoV54CliVersion,
|
|
46
|
+
babelPresetExpo: versions_1.babelPresetExpoV54Version,
|
|
47
|
+
expoMetroConfig: versions_1.expoV54MetroConfigVersion,
|
|
48
|
+
expoMetroRuntime: versions_1.expoV54MetroRuntimeVersion,
|
|
49
|
+
jestExpo: versions_1.jestExpoV54Version,
|
|
50
|
+
react: versions_1.reactV54Version,
|
|
51
|
+
reactDom: versions_1.reactDomV54Version,
|
|
52
|
+
typesReact: versions_1.typesReactV54Version,
|
|
53
|
+
reactNative: versions_1.reactNativeV54Version,
|
|
54
|
+
metro: versions_1.metroV54Version,
|
|
55
|
+
reactNativeWeb: versions_1.reactNativeWebV54Version,
|
|
56
|
+
reactTestRenderer: versions_1.reactTestRendererV54Version,
|
|
57
|
+
...sharedVersions,
|
|
58
|
+
},
|
|
59
|
+
55: {
|
|
60
|
+
expo: versions_1.expoV55Version,
|
|
61
|
+
expoSplashScreen: versions_1.expoV55SplashScreenVersion,
|
|
62
|
+
expoStatusBar: versions_1.expoV55StatusBarVersion,
|
|
63
|
+
expoSystemUi: versions_1.expoV55SystemUiVersion,
|
|
64
|
+
expoCli: versions_1.expoV55CliVersion,
|
|
65
|
+
babelPresetExpo: versions_1.babelPresetExpoV55Version,
|
|
66
|
+
expoMetroConfig: versions_1.expoV55MetroConfigVersion,
|
|
67
|
+
expoMetroRuntime: versions_1.expoV55MetroRuntimeVersion,
|
|
68
|
+
jestExpo: versions_1.jestExpoV55Version,
|
|
69
|
+
react: versions_1.reactV55Version,
|
|
70
|
+
reactDom: versions_1.reactDomV55Version,
|
|
71
|
+
typesReact: versions_1.typesReactV55Version,
|
|
72
|
+
reactNative: versions_1.reactNativeV55Version,
|
|
73
|
+
metro: versions_1.metroV55Version,
|
|
74
|
+
reactNativeWeb: versions_1.reactNativeWebV55Version,
|
|
75
|
+
reactTestRenderer: versions_1.reactTestRendererV55Version,
|
|
76
|
+
...sharedVersions,
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Get the appropriate dependency versions based on the installed Expo version.
|
|
81
|
+
* Returns v53 or v54 versions when those are detected, otherwise v55 (latest).
|
|
82
|
+
*/
|
|
83
|
+
async function getExpoDependenciesVersionsToInstall(tree) {
|
|
84
|
+
const installedMajor = await getInstalledExpoMajor(tree);
|
|
85
|
+
if (installedMajor === 53 || installedMajor === 54) {
|
|
86
|
+
return expoVersionsByMajor[installedMajor];
|
|
87
|
+
}
|
|
88
|
+
return expoVersionsByMajor[55];
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Resolve the installed Expo major version. Prefers the resolved version from
|
|
92
|
+
* the project graph, falling back to the declared package.json version.
|
|
93
|
+
* Returns null when Expo isn't installed.
|
|
94
|
+
*/
|
|
95
|
+
async function getInstalledExpoMajor(tree) {
|
|
96
|
+
const installedExpoVersion = (await getInstalledExpoVersionFromGraph()) ?? getInstalledExpoVersion(tree);
|
|
97
|
+
return installedExpoVersion ? (0, semver_1.major)(installedExpoVersion) : null;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Check if the workspace is using Expo v53 — the only SDK that still needs the
|
|
101
|
+
* legacy Jest resolver. SDK 54+ use the winter-runtime mock instead.
|
|
102
|
+
*/
|
|
103
|
+
async function isExpoV53(tree) {
|
|
104
|
+
return (await getInstalledExpoMajor(tree)) === 53;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Get the installed Expo version from package.json.
|
|
108
|
+
*/
|
|
109
|
+
function getInstalledExpoVersion(tree) {
|
|
110
|
+
const installedExpoVersion = (0, devkit_1.getDependencyVersionFromPackageJson)(tree, 'expo');
|
|
111
|
+
if (!installedExpoVersion ||
|
|
112
|
+
installedExpoVersion === 'latest' ||
|
|
113
|
+
installedExpoVersion === 'beta') {
|
|
114
|
+
return null;
|
|
115
|
+
}
|
|
116
|
+
return ((0, semver_1.clean)(installedExpoVersion) ?? (0, semver_1.coerce)(installedExpoVersion)?.version ?? null);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Get the installed Expo version from the project graph.
|
|
120
|
+
*/
|
|
121
|
+
async function getInstalledExpoVersionFromGraph() {
|
|
122
|
+
try {
|
|
123
|
+
const graph = await (0, devkit_1.createProjectGraphAsync)();
|
|
124
|
+
const expoDep = graph.externalNodes?.['npm:expo'];
|
|
125
|
+
if (!expoDep) {
|
|
126
|
+
return undefined;
|
|
127
|
+
}
|
|
128
|
+
return (0, semver_1.clean)(expoDep.data.version) ?? (0, semver_1.coerce)(expoDep.data.version)?.version;
|
|
129
|
+
}
|
|
130
|
+
catch {
|
|
131
|
+
return undefined;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -1,4 +1,23 @@
|
|
|
1
|
+
import { type Tree } from '@nx/devkit';
|
|
1
2
|
export declare const nxVersion: any;
|
|
3
|
+
export declare const minSupportedExpoVersion = "53.0.0";
|
|
4
|
+
export declare function assertSupportedExpoVersion(tree: Tree): void;
|
|
5
|
+
export declare const expoV55Version = "~55.0.26";
|
|
6
|
+
export declare const expoV55SplashScreenVersion = "~55.0.21";
|
|
7
|
+
export declare const expoV55StatusBarVersion = "~55.0.6";
|
|
8
|
+
export declare const expoV55SystemUiVersion = "~55.0.18";
|
|
9
|
+
export declare const expoV55CliVersion = "~55.0.11";
|
|
10
|
+
export declare const babelPresetExpoV55Version = "~55.0.7";
|
|
11
|
+
export declare const expoV55MetroConfigVersion = "~55.0.8";
|
|
12
|
+
export declare const expoV55MetroRuntimeVersion = "~55.0.11";
|
|
13
|
+
export declare const jestExpoV55Version = "~55.0.18";
|
|
14
|
+
export declare const reactV55Version = "^19.2.0";
|
|
15
|
+
export declare const reactDomV55Version = "^19.2.0";
|
|
16
|
+
export declare const typesReactV55Version = "^19.2.0";
|
|
17
|
+
export declare const reactNativeV55Version = "0.83.6";
|
|
18
|
+
export declare const metroV55Version = "~0.83.0";
|
|
19
|
+
export declare const reactNativeWebV55Version = "~0.21.0";
|
|
20
|
+
export declare const reactTestRendererV55Version = "^19.2.0";
|
|
2
21
|
export declare const expoV54Version = "~54.0.0";
|
|
3
22
|
export declare const expoV54SplashScreenVersion = "~31.0.11";
|
|
4
23
|
export declare const expoV54StatusBarVersion = "~3.0.8";
|
|
@@ -31,23 +50,22 @@ export declare const reactNativeV53Version = "0.79.3";
|
|
|
31
50
|
export declare const metroV53Version = "~0.82.4";
|
|
32
51
|
export declare const reactNativeWebV53Version = "~0.20.0";
|
|
33
52
|
export declare const reactTestRendererV53Version = "^19.0.0";
|
|
34
|
-
export declare const expoVersion = "~
|
|
35
|
-
export declare const expoSplashScreenVersion = "~
|
|
36
|
-
export declare const expoStatusBarVersion = "~
|
|
37
|
-
export declare const expoSystemUiVersion = "~
|
|
38
|
-
export declare const expoCliVersion = "~
|
|
39
|
-
export declare const babelPresetExpoVersion = "~
|
|
40
|
-
export declare const expoMetroConfigVersion = "~
|
|
41
|
-
export declare const expoMetroRuntimeVersion = "~
|
|
42
|
-
export declare const jestExpoVersion = "~
|
|
43
|
-
export declare const reactVersion = "^19.
|
|
44
|
-
export declare const reactDomVersion = "^19.
|
|
45
|
-
export declare const typesReactVersion = "^19.
|
|
46
|
-
export declare const reactNativeVersion = "0.
|
|
53
|
+
export declare const expoVersion = "~55.0.26";
|
|
54
|
+
export declare const expoSplashScreenVersion = "~55.0.21";
|
|
55
|
+
export declare const expoStatusBarVersion = "~55.0.6";
|
|
56
|
+
export declare const expoSystemUiVersion = "~55.0.18";
|
|
57
|
+
export declare const expoCliVersion = "~55.0.11";
|
|
58
|
+
export declare const babelPresetExpoVersion = "~55.0.7";
|
|
59
|
+
export declare const expoMetroConfigVersion = "~55.0.8";
|
|
60
|
+
export declare const expoMetroRuntimeVersion = "~55.0.11";
|
|
61
|
+
export declare const jestExpoVersion = "~55.0.18";
|
|
62
|
+
export declare const reactVersion = "^19.2.0";
|
|
63
|
+
export declare const reactDomVersion = "^19.2.0";
|
|
64
|
+
export declare const typesReactVersion = "^19.2.0";
|
|
65
|
+
export declare const reactNativeVersion = "0.83.6";
|
|
47
66
|
export declare const metroVersion = "~0.83.0";
|
|
48
67
|
export declare const reactNativeWebVersion = "~0.21.0";
|
|
49
68
|
export declare const reactNativeSvgTransformerVersion = "~1.5.1";
|
|
50
69
|
export declare const reactNativeSvgVersion = "15.12.1";
|
|
51
70
|
export declare const testingLibraryReactNativeVersion = "~13.2.0";
|
|
52
71
|
export declare const babelRuntimeVersion = "~7.27.6";
|
|
53
|
-
//# sourceMappingURL=versions.d.ts.map
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.reactTestRendererV53Version = exports.reactNativeWebV53Version = exports.metroV53Version = exports.reactNativeV53Version = exports.typesReactV53Version = exports.reactDomV53Version = exports.reactV53Version = exports.jestExpoV53Version = exports.expoV53MetroRuntimeVersion = exports.expoV53MetroConfigVersion = exports.babelPresetExpoV53Version = exports.expoV53CliVersion = exports.expoV53SystemUiVersion = exports.expoV53StatusBarVersion = exports.expoV53SplashScreenVersion = exports.expoV53Version = exports.reactTestRendererV54Version = exports.reactNativeWebV54Version = exports.metroV54Version = exports.reactNativeV54Version = exports.typesReactV54Version = exports.reactDomV54Version = exports.reactV54Version = exports.jestExpoV54Version = exports.expoV54MetroRuntimeVersion = exports.expoV54MetroConfigVersion = exports.babelPresetExpoV54Version = exports.expoV54CliVersion = exports.expoV54SystemUiVersion = exports.expoV54StatusBarVersion = exports.expoV54SplashScreenVersion = exports.expoV54Version = exports.reactTestRendererV55Version = exports.reactNativeWebV55Version = exports.metroV55Version = exports.reactNativeV55Version = exports.typesReactV55Version = exports.reactDomV55Version = exports.reactV55Version = exports.jestExpoV55Version = exports.expoV55MetroRuntimeVersion = exports.expoV55MetroConfigVersion = exports.babelPresetExpoV55Version = exports.expoV55CliVersion = exports.expoV55SystemUiVersion = exports.expoV55StatusBarVersion = exports.expoV55SplashScreenVersion = exports.expoV55Version = exports.minSupportedExpoVersion = exports.nxVersion = void 0;
|
|
4
|
+
exports.babelRuntimeVersion = exports.testingLibraryReactNativeVersion = exports.reactNativeSvgVersion = exports.reactNativeSvgTransformerVersion = exports.reactNativeWebVersion = exports.metroVersion = exports.reactNativeVersion = exports.typesReactVersion = exports.reactDomVersion = exports.reactVersion = exports.jestExpoVersion = exports.expoMetroRuntimeVersion = exports.expoMetroConfigVersion = exports.babelPresetExpoVersion = exports.expoCliVersion = exports.expoSystemUiVersion = exports.expoStatusBarVersion = exports.expoSplashScreenVersion = exports.expoVersion = void 0;
|
|
5
|
+
exports.assertSupportedExpoVersion = assertSupportedExpoVersion;
|
|
6
|
+
const path_1 = require("path");
|
|
7
|
+
const internal_1 = require("@nx/devkit/internal");
|
|
8
|
+
exports.nxVersion = require((0, path_1.join)('@nx/expo', 'package.json')).version;
|
|
9
|
+
// Lowest supported Expo SDK. Below this, generators throw via
|
|
10
|
+
// assertSupportedExpoVersion. Expo Go only supports the latest SDK, but the
|
|
11
|
+
// plugin keeps install lanes for the recent SDKs it has constants for (53–55).
|
|
12
|
+
exports.minSupportedExpoVersion = '53.0.0';
|
|
13
|
+
function assertSupportedExpoVersion(tree) {
|
|
14
|
+
(0, internal_1.assertSupportedPackageVersion)(tree, 'expo', exports.minSupportedExpoVersion);
|
|
15
|
+
}
|
|
16
|
+
// Expo v55 versions (default for new projects) — RN 0.83, React 19.2
|
|
17
|
+
exports.expoV55Version = '~55.0.26';
|
|
18
|
+
exports.expoV55SplashScreenVersion = '~55.0.21';
|
|
19
|
+
exports.expoV55StatusBarVersion = '~55.0.6';
|
|
20
|
+
exports.expoV55SystemUiVersion = '~55.0.18';
|
|
21
|
+
exports.expoV55CliVersion = '~55.0.11';
|
|
22
|
+
exports.babelPresetExpoV55Version = '~55.0.7';
|
|
23
|
+
exports.expoV55MetroConfigVersion = '~55.0.8';
|
|
24
|
+
exports.expoV55MetroRuntimeVersion = '~55.0.11';
|
|
25
|
+
exports.jestExpoV55Version = '~55.0.18';
|
|
26
|
+
exports.reactV55Version = '^19.2.0';
|
|
27
|
+
exports.reactDomV55Version = '^19.2.0';
|
|
28
|
+
exports.typesReactV55Version = '^19.2.0';
|
|
29
|
+
exports.reactNativeV55Version = '0.83.6';
|
|
30
|
+
exports.metroV55Version = '~0.83.0';
|
|
31
|
+
exports.reactNativeWebV55Version = '~0.21.0';
|
|
32
|
+
exports.reactTestRendererV55Version = '^19.2.0';
|
|
33
|
+
// Expo v54 versions (for existing workspaces)
|
|
34
|
+
exports.expoV54Version = '~54.0.0';
|
|
35
|
+
exports.expoV54SplashScreenVersion = '~31.0.11';
|
|
36
|
+
exports.expoV54StatusBarVersion = '~3.0.8';
|
|
37
|
+
exports.expoV54SystemUiVersion = '~6.0.8';
|
|
38
|
+
exports.expoV54CliVersion = '~54.0.16';
|
|
39
|
+
exports.babelPresetExpoV54Version = '~54.0.7';
|
|
40
|
+
exports.expoV54MetroConfigVersion = '~54.0.9';
|
|
41
|
+
exports.expoV54MetroRuntimeVersion = '~6.1.2';
|
|
42
|
+
exports.jestExpoV54Version = '~54.0.13';
|
|
43
|
+
exports.reactV54Version = '^19.1.0';
|
|
44
|
+
exports.reactDomV54Version = '^19.1.0';
|
|
45
|
+
exports.typesReactV54Version = '^19.1.0';
|
|
46
|
+
exports.reactNativeV54Version = '0.81.5';
|
|
47
|
+
exports.metroV54Version = '~0.83.0';
|
|
48
|
+
exports.reactNativeWebV54Version = '~0.21.0';
|
|
49
|
+
exports.reactTestRendererV54Version = '^19.1.0';
|
|
50
|
+
// Expo v53 versions (for existing workspaces)
|
|
51
|
+
exports.expoV53Version = '~53.0.10';
|
|
52
|
+
exports.expoV53SplashScreenVersion = '~0.30.9';
|
|
53
|
+
exports.expoV53StatusBarVersion = '~2.2.3';
|
|
54
|
+
exports.expoV53SystemUiVersion = '~5.0.8';
|
|
55
|
+
exports.expoV53CliVersion = '~0.24.14'; // @expo/cli
|
|
56
|
+
exports.babelPresetExpoV53Version = '~13.2.0';
|
|
57
|
+
exports.expoV53MetroConfigVersion = '~0.20.14';
|
|
58
|
+
exports.expoV53MetroRuntimeVersion = '~5.0.4';
|
|
59
|
+
exports.jestExpoV53Version = '~53.0.7';
|
|
60
|
+
exports.reactV53Version = '^19.0.0';
|
|
61
|
+
exports.reactDomV53Version = '^19.0.0';
|
|
62
|
+
exports.typesReactV53Version = '~19.0.10';
|
|
63
|
+
exports.reactNativeV53Version = '0.79.3';
|
|
64
|
+
exports.metroV53Version = '~0.82.4';
|
|
65
|
+
exports.reactNativeWebV53Version = '~0.20.0';
|
|
66
|
+
exports.reactTestRendererV53Version = '^19.0.0';
|
|
67
|
+
// Default exports point to v55 (latest)
|
|
68
|
+
exports.expoVersion = exports.expoV55Version;
|
|
69
|
+
exports.expoSplashScreenVersion = exports.expoV55SplashScreenVersion;
|
|
70
|
+
exports.expoStatusBarVersion = exports.expoV55StatusBarVersion;
|
|
71
|
+
exports.expoSystemUiVersion = exports.expoV55SystemUiVersion;
|
|
72
|
+
exports.expoCliVersion = exports.expoV55CliVersion;
|
|
73
|
+
exports.babelPresetExpoVersion = exports.babelPresetExpoV55Version;
|
|
74
|
+
exports.expoMetroConfigVersion = exports.expoV55MetroConfigVersion;
|
|
75
|
+
exports.expoMetroRuntimeVersion = exports.expoV55MetroRuntimeVersion;
|
|
76
|
+
exports.jestExpoVersion = exports.jestExpoV55Version;
|
|
77
|
+
exports.reactVersion = exports.reactV55Version;
|
|
78
|
+
exports.reactDomVersion = exports.reactDomV55Version;
|
|
79
|
+
exports.typesReactVersion = exports.typesReactV55Version;
|
|
80
|
+
exports.reactNativeVersion = exports.reactNativeV55Version;
|
|
81
|
+
exports.metroVersion = exports.metroV55Version;
|
|
82
|
+
exports.reactNativeWebVersion = exports.reactNativeWebV55Version;
|
|
83
|
+
// Shared versions (version-independent)
|
|
84
|
+
exports.reactNativeSvgTransformerVersion = '~1.5.1';
|
|
85
|
+
exports.reactNativeSvgVersion = '15.12.1';
|
|
86
|
+
exports.testingLibraryReactNativeVersion = '~13.2.0';
|
|
87
|
+
exports.babelRuntimeVersion = '~7.27.6';
|
package/executors.json
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
{
|
|
2
2
|
"executors": {
|
|
3
3
|
"update": {
|
|
4
|
-
"implementation": "./src/executors/update/update.impl",
|
|
5
|
-
"schema": "./src/executors/update/schema.json",
|
|
4
|
+
"implementation": "./dist/src/executors/update/update.impl",
|
|
5
|
+
"schema": "./dist/src/executors/update/schema.json",
|
|
6
6
|
"description": "Start an EAS update for your expo project"
|
|
7
7
|
},
|
|
8
8
|
"build": {
|
|
9
|
-
"implementation": "./src/executors/build/build.impl",
|
|
10
|
-
"schema": "./src/executors/build/schema.json",
|
|
9
|
+
"implementation": "./dist/src/executors/build/build.impl",
|
|
10
|
+
"schema": "./dist/src/executors/build/schema.json",
|
|
11
11
|
"description": "Start an EAS build for your expo project"
|
|
12
12
|
},
|
|
13
13
|
"build-list": {
|
|
14
|
-
"implementation": "./src/executors/build-list/build-list.impl",
|
|
15
|
-
"schema": "./src/executors/build-list/schema.json",
|
|
14
|
+
"implementation": "./dist/src/executors/build-list/build-list.impl",
|
|
15
|
+
"schema": "./dist/src/executors/build-list/schema.json",
|
|
16
16
|
"description": "List all EAS builds for your Expo project"
|
|
17
17
|
},
|
|
18
18
|
"run": {
|
|
19
|
-
"implementation": "./src/executors/run/run.impl",
|
|
20
|
-
"schema": "./src/executors/run/schema.json",
|
|
19
|
+
"implementation": "./dist/src/executors/run/run.impl",
|
|
20
|
+
"schema": "./dist/src/executors/run/schema.json",
|
|
21
21
|
"description": "Run the Android app binary locally or run the iOS app binary locally"
|
|
22
22
|
},
|
|
23
23
|
"start": {
|
|
24
|
-
"implementation": "./src/executors/start/start.impl",
|
|
25
|
-
"schema": "./src/executors/start/schema.json",
|
|
24
|
+
"implementation": "./dist/src/executors/start/start.impl",
|
|
25
|
+
"schema": "./dist/src/executors/start/schema.json",
|
|
26
26
|
"description": "Start a local dev server for the app or start a Webpack dev server for the web app"
|
|
27
27
|
},
|
|
28
28
|
"sync-deps": {
|
|
29
|
-
"implementation": "./src/executors/sync-deps/sync-deps.impl",
|
|
30
|
-
"schema": "./src/executors/sync-deps/schema.json",
|
|
29
|
+
"implementation": "./dist/src/executors/sync-deps/sync-deps.impl",
|
|
30
|
+
"schema": "./dist/src/executors/sync-deps/schema.json",
|
|
31
31
|
"description": "Syncs dependencies to package.json (required for autolinking)."
|
|
32
32
|
},
|
|
33
33
|
"ensure-symlink": {
|
|
34
|
-
"implementation": "./src/executors/ensure-symlink/ensure-symlink.impl",
|
|
35
|
-
"schema": "./src/executors/ensure-symlink/schema.json",
|
|
34
|
+
"implementation": "./dist/src/executors/ensure-symlink/ensure-symlink.impl",
|
|
35
|
+
"schema": "./dist/src/executors/ensure-symlink/schema.json",
|
|
36
36
|
"description": "Ensure workspace node_modules is symlink under app's node_modules folder."
|
|
37
37
|
},
|
|
38
38
|
"prebuild": {
|
|
39
|
-
"implementation": "./src/executors/prebuild/prebuild.impl",
|
|
40
|
-
"schema": "./src/executors/prebuild/schema.json",
|
|
39
|
+
"implementation": "./dist/src/executors/prebuild/prebuild.impl",
|
|
40
|
+
"schema": "./dist/src/executors/prebuild/schema.json",
|
|
41
41
|
"description": "Create native iOS and Android project files for building natively."
|
|
42
42
|
},
|
|
43
43
|
"install": {
|
|
44
|
-
"implementation": "./src/executors/install/install.impl",
|
|
45
|
-
"schema": "./src/executors/install/schema.json",
|
|
44
|
+
"implementation": "./dist/src/executors/install/install.impl",
|
|
45
|
+
"schema": "./dist/src/executors/install/schema.json",
|
|
46
46
|
"description": "Install a module or other package to a project."
|
|
47
47
|
},
|
|
48
48
|
"export": {
|
|
49
|
-
"implementation": "./src/executors/export/export.impl",
|
|
50
|
-
"schema": "./src/executors/export/schema.json",
|
|
49
|
+
"implementation": "./dist/src/executors/export/export.impl",
|
|
50
|
+
"schema": "./dist/src/executors/export/schema.json",
|
|
51
51
|
"description": "Export the JavaScript and assets for your app using Metro/webpack bundler"
|
|
52
52
|
},
|
|
53
53
|
"submit": {
|
|
54
|
-
"implementation": "./src/executors/submit/submit.impl",
|
|
55
|
-
"schema": "./src/executors/submit/schema.json",
|
|
54
|
+
"implementation": "./dist/src/executors/submit/submit.impl",
|
|
55
|
+
"schema": "./dist/src/executors/submit/schema.json",
|
|
56
56
|
"description": "Submit app binary to App Store and/or Play Store"
|
|
57
57
|
},
|
|
58
58
|
"serve": {
|
|
59
|
-
"implementation": "./src/executors/serve/serve.impl",
|
|
60
|
-
"schema": "./src/executors/serve/schema.json",
|
|
59
|
+
"implementation": "./dist/src/executors/serve/serve.impl",
|
|
60
|
+
"schema": "./dist/src/executors/serve/schema.json",
|
|
61
61
|
"description": "Serve up the Expo web app locally"
|
|
62
62
|
}
|
|
63
63
|
}
|
package/generators.json
CHANGED
|
@@ -4,34 +4,34 @@
|
|
|
4
4
|
"extends": ["@nx/workspace"],
|
|
5
5
|
"generators": {
|
|
6
6
|
"init": {
|
|
7
|
-
"factory": "./src/generators/init/init#expoInitGeneratorInternal",
|
|
8
|
-
"schema": "./src/generators/init/schema.json",
|
|
7
|
+
"factory": "./dist/src/generators/init/init#expoInitGeneratorInternal",
|
|
8
|
+
"schema": "./dist/src/generators/init/schema.json",
|
|
9
9
|
"description": "Initialize the @nx/expo plugin",
|
|
10
10
|
"hidden": true
|
|
11
11
|
},
|
|
12
12
|
"application": {
|
|
13
|
-
"factory": "./src/generators/application/application#expoApplicationGeneratorInternal",
|
|
14
|
-
"schema": "./src/generators/application/schema.json",
|
|
13
|
+
"factory": "./dist/src/generators/application/application#expoApplicationGeneratorInternal",
|
|
14
|
+
"schema": "./dist/src/generators/application/schema.json",
|
|
15
15
|
"aliases": ["app"],
|
|
16
16
|
"x-type": "application",
|
|
17
17
|
"description": "Create an application"
|
|
18
18
|
},
|
|
19
19
|
"library": {
|
|
20
|
-
"factory": "./src/generators/library/library#expoLibraryGeneratorInternal",
|
|
21
|
-
"schema": "./src/generators/library/schema.json",
|
|
20
|
+
"factory": "./dist/src/generators/library/library#expoLibraryGeneratorInternal",
|
|
21
|
+
"schema": "./dist/src/generators/library/schema.json",
|
|
22
22
|
"aliases": ["lib"],
|
|
23
23
|
"x-type": "library",
|
|
24
24
|
"description": "Create a library"
|
|
25
25
|
},
|
|
26
26
|
"component": {
|
|
27
|
-
"factory": "./src/generators/component/component",
|
|
28
|
-
"schema": "./src/generators/component/schema.json",
|
|
27
|
+
"factory": "./dist/src/generators/component/component",
|
|
28
|
+
"schema": "./dist/src/generators/component/schema.json",
|
|
29
29
|
"description": "Create a component",
|
|
30
30
|
"aliases": ["c"]
|
|
31
31
|
},
|
|
32
32
|
"convert-to-inferred": {
|
|
33
|
-
"factory": "./src/generators/convert-to-inferred/convert-to-inferred",
|
|
34
|
-
"schema": "./src/generators/convert-to-inferred/schema.json",
|
|
33
|
+
"factory": "./dist/src/generators/convert-to-inferred/convert-to-inferred",
|
|
34
|
+
"schema": "./dist/src/generators/convert-to-inferred/schema.json",
|
|
35
35
|
"description": "Convert existing Expo project(s) using `@nx/expo:*` executors to use `@nx/expo/plugin`. Defaults to migrating all projects. Pass '--project' to migrate only one target."
|
|
36
36
|
}
|
|
37
37
|
}
|