@modern-js/app-tools 2.49.3-alpha.0 → 2.49.3

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 (38) hide show
  1. package/dist/cjs/index.js +2 -4
  2. package/dist/cjs/locale/en.js +1 -2
  3. package/dist/cjs/locale/zh.js +1 -2
  4. package/dist/esm/index.js +2 -4
  5. package/dist/esm/locale/en.js +1 -2
  6. package/dist/esm/locale/zh.js +1 -2
  7. package/dist/esm-node/index.js +2 -4
  8. package/dist/esm-node/locale/en.js +1 -2
  9. package/dist/esm-node/locale/zh.js +1 -2
  10. package/dist/types/locale/en.d.ts +0 -1
  11. package/dist/types/locale/index.d.ts +0 -2
  12. package/dist/types/locale/zh.d.ts +0 -1
  13. package/dist/types/utils/types.d.ts +0 -1
  14. package/package.json +22 -26
  15. package/dist/cjs/plugins/deploy/dependencies.js +0 -256
  16. package/dist/cjs/plugins/deploy/entrys/netlify.js +0 -95
  17. package/dist/cjs/plugins/deploy/entrys/node.js +0 -88
  18. package/dist/cjs/plugins/deploy/entrys/vercel.js +0 -94
  19. package/dist/cjs/plugins/deploy/index.js +0 -186
  20. package/dist/cjs/plugins/deploy/utils.js +0 -150
  21. package/dist/esm/plugins/deploy/dependencies.js +0 -725
  22. package/dist/esm/plugins/deploy/entrys/netlify.js +0 -41
  23. package/dist/esm/plugins/deploy/entrys/node.js +0 -39
  24. package/dist/esm/plugins/deploy/entrys/vercel.js +0 -40
  25. package/dist/esm/plugins/deploy/index.js +0 -297
  26. package/dist/esm/plugins/deploy/utils.js +0 -244
  27. package/dist/esm-node/plugins/deploy/dependencies.js +0 -222
  28. package/dist/esm-node/plugins/deploy/entrys/netlify.js +0 -71
  29. package/dist/esm-node/plugins/deploy/entrys/node.js +0 -64
  30. package/dist/esm-node/plugins/deploy/entrys/vercel.js +0 -70
  31. package/dist/esm-node/plugins/deploy/index.js +0 -156
  32. package/dist/esm-node/plugins/deploy/utils.js +0 -109
  33. package/dist/types/plugins/deploy/dependencies.d.ts +0 -1
  34. package/dist/types/plugins/deploy/entrys/netlify.d.ts +0 -5
  35. package/dist/types/plugins/deploy/entrys/node.d.ts +0 -5
  36. package/dist/types/plugins/deploy/entrys/vercel.d.ts +0 -5
  37. package/dist/types/plugins/deploy/index.d.ts +0 -4
  38. package/dist/types/plugins/deploy/utils.d.ts +0 -27
@@ -1,5 +0,0 @@
1
- export declare function genNodeEntry({ config, plugins, appContext, }?: {
2
- config?: Record<string, any>;
3
- plugins?: string[];
4
- appContext?: Record<string, any>;
5
- }): string;
@@ -1,5 +0,0 @@
1
- export declare function genVercelEntry({ config, plugins, appContext, }?: {
2
- config?: Record<string, any>;
3
- plugins?: string[];
4
- appContext?: Record<string, any>;
5
- }): string;
@@ -1,4 +0,0 @@
1
- import { CliPlugin } from '@modern-js/core';
2
- import { AppTools } from '../../types';
3
- declare const _default: () => CliPlugin<AppTools>;
4
- export default _default;
@@ -1,27 +0,0 @@
1
- import type { PackageJson } from 'pkg-types';
2
- export type ServerAppContext = {
3
- sharedDirectory: string;
4
- apiDirectory: string;
5
- lambdaDirectory: string;
6
- metaName: string;
7
- };
8
- export declare const severAppContextTemplate: (serverAppContext: ServerAppContext) => string;
9
- export declare const getPluginsCode: (plugins: string[]) => string;
10
- export declare const genPluginImportsCode: (plugins: string[]) => string;
11
- export declare const getProjectUsage: (appDirectory: string, distDirectory: string) => {
12
- useSSR: boolean;
13
- useAPI: boolean;
14
- useWebServer: boolean;
15
- };
16
- export declare function applyProductionCondition(exports: PackageJson['exports']): void;
17
- export declare function applyPublicCondition(pkg: PackageJson): void;
18
- export type TracedPackage = {
19
- name: string;
20
- versions: Record<string, {
21
- pkgJSON: PackageJson;
22
- path: string;
23
- files: string[];
24
- }>;
25
- };
26
- export declare const writePackage: (pkg: TracedPackage, version: string, projectDir: string, _pkgPath?: string) => Promise<void>;
27
- export declare const linkPackage: (from: string, to: string, projectRootDir: string) => Promise<void>;