@teambit/application 1.0.187 → 1.0.189

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/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["_application","data","require","_appContext","_buildApplication","_appTypeList"],"sources":["index.ts"],"sourcesContent":["export { ApplicationAspect } from './application.aspect';\nexport type { ApplicationInstance, ApplicationDeployment } from './app-instance';\nexport type { ApplicationMain, ApplicationMetadata } from './application.main.runtime';\nexport type { Application, DeployFn, BuildFn, AppResult } from './application';\nexport { AppContext } from './app-context';\nexport type { DeploymentProvider } from './deployment-provider';\nexport type { ApplicationType } from './application-type';\nexport type { AppDeployContext } from './app-deploy-context';\nexport type { AppBuildContext } from './app-build-context';\nexport type { AppBuildResult } from './app-build-result';\nexport { ARTIFACTS_DIR_NAME as APPS_ARTIFACTS_DIR_NAME } from './build-application.task';\nexport type { AppsEnv } from './apps-env-type';\nexport { AppTypeList } from './app-type-list';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAAA,aAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,YAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAIA,SAAAE,YAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,WAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAMA,SAAAG,kBAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,iBAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAI,aAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,YAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA"}
1
+ {"version":3,"names":["_application","data","require","_appContext","_buildApplication","_appTypeList"],"sources":["index.ts"],"sourcesContent":["export { ApplicationAspect } from './application.aspect';\nexport type { ApplicationInstance, ApplicationDeployment } from './app-instance';\nexport type { ApplicationMain, ApplicationMetadata } from './application.main.runtime';\nexport type { Application, DeployFn, BuildFn, AppResult } from './application';\nexport { AppContext } from './app-context';\nexport type { DeploymentProvider } from './deployment-provider';\nexport type { ApplicationType } from './application-type';\nexport type { AppDeployContext } from './app-deploy-context';\nexport type { AppBuildContext } from './app-build-context';\nexport type { AppBuildResult } from './app-build-result';\nexport { ARTIFACTS_DIR_NAME as APPS_ARTIFACTS_DIR_NAME } from './build-application.task';\nexport type { AppsEnv } from './apps-env-type';\nexport { AppTypeList } from './app-type-list';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAAA,aAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,YAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAIA,SAAAE,YAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,WAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAMA,SAAAG,kBAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,iBAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAI,aAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,YAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,7 @@
1
+ import * as compositions_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec36fa42b9dbedfc12ecb7bb63e03fcfe6/teambit.harmony_application@1.0.189/dist/application.composition.js';
2
+ import * as overview_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec36fa42b9dbedfc12ecb7bb63e03fcfe6/teambit.harmony_application@1.0.189/dist/application.docs.mdx';
3
+
4
+ export const compositions = [compositions_0];
5
+ export const overview = [overview_0];
6
+
7
+ export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
@@ -1 +1 @@
1
- {"version":3,"names":["RunCmd","constructor","application","logger","_defineProperty","name","description","wait","appName","dev","watch","ssr","port","exactPort","off","errors","isOldApi","runApp","errStr","length","map","err","toString","join","console","process","exit","exports"],"sources":["run.cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport { Logger } from '@teambit/logger';\nimport { ApplicationMain } from './application.main.runtime';\n\ntype RunOptions = {\n dev: boolean;\n verbose: boolean;\n skipWatch: boolean;\n watch: boolean;\n ssr: boolean;\n port: string;\n};\n\nexport class RunCmd implements Command {\n name = 'run <app-name>';\n description = \"locally run an app component (independent of bit's dev server)\";\n helpUrl = 'reference/apps/apps-overview/';\n arguments = [\n {\n name: 'app-name',\n description:\n \"the app's name is registered by the app (run 'bit app list' to list the names of the available apps)\",\n },\n ];\n alias = 'c';\n group = 'apps';\n options = [\n ['d', 'dev', 'start the application in dev mode.'],\n ['p', 'port [port-number]', 'port to run the app on'],\n ['v', 'verbose', 'show verbose output for inspection and print stack trace'],\n // ['', 'skip-watch', 'avoid running the watch process that compiles components in the background'],\n ['w', 'watch', 'watch and compile your components upon changes'],\n ] as CommandOptions;\n\n constructor(\n /**\n * access to the extension instance.\n */\n private application: ApplicationMain,\n\n private logger: Logger\n ) {}\n\n async wait([appName]: [string], { dev, watch, ssr, port: exactPort }: RunOptions) {\n // remove wds logs until refactoring webpack to a worker through the Worker aspect.\n this.logger.off();\n const { port, errors, isOldApi } = await this.application.runApp(appName, {\n dev,\n watch,\n ssr,\n port: +exactPort,\n });\n\n if (errors) {\n const errStr =\n errors && errors.length ? errors.map((err) => err.toString()).join('\\n') : 'unknown error occurred';\n this.logger.console(errStr);\n process.exit(1);\n }\n\n if (isOldApi) {\n this.logger.console(`${appName} app is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AC,IAAI,CAAC,GAAG,wBAAwB;MACrG,IAAI,CAACpB,MAAM,CAACqB,OAAO,CAACN,MAAM,CAAC;MAC3BO,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC;IACjB;IAEA,IAAIV,QAAQ,EAAE;MACZ,IAAI,CAACb,MAAM,CAACqB,OAAO,CAAE,GAAEhB,OAAQ,uCAAsCI,IAAK,EAAC,CAAC;IAC9E;EACF;AACF;AAACe,OAAA,CAAA3B,MAAA,GAAAA,MAAA"}
1
+ {"version":3,"names":["RunCmd","constructor","application","logger","_defineProperty","name","description","wait","appName","dev","watch","ssr","port","exactPort","off","errors","isOldApi","runApp","errStr","length","map","err","toString","join","console","process","exit","exports"],"sources":["run.cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport { Logger } from '@teambit/logger';\nimport { ApplicationMain } from './application.main.runtime';\n\ntype RunOptions = {\n dev: boolean;\n verbose: boolean;\n skipWatch: boolean;\n watch: boolean;\n ssr: boolean;\n port: string;\n};\n\nexport class RunCmd implements Command {\n name = 'run <app-name>';\n description = \"locally run an app component (independent of bit's dev server)\";\n helpUrl = 'reference/apps/apps-overview/';\n arguments = [\n {\n name: 'app-name',\n description:\n \"the app's name is registered by the app (run 'bit app list' to list the names of the available apps)\",\n },\n ];\n alias = 'c';\n group = 'apps';\n options = [\n ['d', 'dev', 'start the application in dev mode.'],\n ['p', 'port [port-number]', 'port to run the app on'],\n ['v', 'verbose', 'show verbose output for inspection and print stack trace'],\n // ['', 'skip-watch', 'avoid running the watch process that compiles components in the background'],\n ['w', 'watch', 'watch and compile your components upon changes'],\n ] as CommandOptions;\n\n constructor(\n /**\n * access to the extension instance.\n */\n private application: ApplicationMain,\n\n private logger: Logger\n ) {}\n\n async wait([appName]: [string], { dev, watch, ssr, port: exactPort }: RunOptions) {\n // remove wds logs until refactoring webpack to a worker through the Worker aspect.\n this.logger.off();\n const { port, errors, isOldApi } = await this.application.runApp(appName, {\n dev,\n watch,\n ssr,\n port: +exactPort,\n });\n\n if (errors) {\n const errStr =\n errors && errors.length ? errors.map((err) => err.toString()).join('\\n') : 'unknown error occurred';\n this.logger.console(errStr);\n process.exit(1);\n }\n\n if (isOldApi) {\n this.logger.console(`${appName} app is running on http://localhost:${port}`);\n }\n }\n}\n"],"mappings":";;;;;;;;;AAaO,MAAMA,MAAM,CAAoB;EAqBrCC,WAAWA;EACT;AACJ;AACA;EACYC,WAA4B,EAE5BC,MAAc,EACtB;IAAA,KAHQD,WAA4B,GAA5BA,WAA4B;IAAA,KAE5BC,MAAc,GAAdA,MAAc;IAAAC,eAAA,eA1BjB,gBAAgB;IAAAA,eAAA,sBACT,gEAAgE;IAAAA,eAAA,kBACpE,+BAA+B;IAAAA,eAAA,oBAC7B,CACV;MACEC,IAAI,EAAE,UAAU;MAChBC,WAAW,EACT;IACJ,CAAC,CACF;IAAAF,eAAA,gBACO,GAAG;IAAAA,eAAA,gBACH,MAAM;IAAAA,eAAA,kBACJ,CACR,CAAC,GAAG,EAAE,KAAK,EAAE,oCAAoC,CAAC,EAClD,CAAC,GAAG,EAAE,oBAAoB,EAAE,wBAAwB,CAAC,EACrD,CAAC,GAAG,EAAE,SAAS,EAAE,0DAA0D,CAAC;IAC5E;IACA,CAAC,GAAG,EAAE,OAAO,EAAE,gDAAgD,CAAC,CACjE;EASE;EAEH,MAAMG,IAAIA,CAAC,CAACC,OAAO,CAAW,EAAE;IAAEC,GAAG;IAAEC,KAAK;IAAEC,GAAG;IAAEC,IAAI,EAAEC;EAAsB,CAAC,EAAE;IAChF;IACA,IAAI,CAACV,MAAM,CAACW,GAAG,CAAC,CAAC;IACjB,MAAM;MAAEF,IAAI;MAAEG,MAAM;MAAEC;IAAS,CAAC,GAAG,MAAM,IAAI,CAACd,WAAW,CAACe,MAAM,CAACT,OAAO,EAAE;MACxEC,GAAG;MACHC,KAAK;MACLC,GAAG;MACHC,IAAI,EAAE,CAACC;IACT,CAAC,CAAC;IAEF,IAAIE,MAAM,EAAE;MACV,MAAMG,MAAM,GACVH,MAAM,IAAIA,MAAM,CAACI,MAAM,GAAGJ,MAAM,CAACK,GAAG,CAAEC,GAAG,IAAKA,GAAG,CAACC,QAAQ,CAAC,CAAC,CAAC,CAACC,IAAI,CAAC,IAAI,CAAC,GAAG,wBAAwB;MACrG,IAAI,CAACpB,MAAM,CAACqB,OAAO,CAACN,MAAM,CAAC;MAC3BO,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC;IACjB;IAEA,IAAIV,QAAQ,EAAE;MACZ,IAAI,CAACb,MAAM,CAACqB,OAAO,CAAE,GAAEhB,OAAQ,uCAAsCI,IAAK,EAAC,CAAC;IAC9E;EACF;AACF;AAACe,OAAA,CAAA3B,MAAA,GAAAA,MAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/application",
3
- "version": "1.0.187",
3
+ "version": "1.0.189",
4
4
  "homepage": "https://bit.cloud/teambit/harmony/application",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.harmony",
8
8
  "name": "application",
9
- "version": "1.0.187"
9
+ "version": "1.0.189"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -15,23 +15,23 @@
15
15
  "@teambit/lane-id": "0.0.311",
16
16
  "@teambit/harmony": "0.4.6",
17
17
  "@teambit/bit-error": "0.0.404",
18
- "@teambit/builder": "1.0.187",
19
- "@teambit/component": "1.0.187",
20
- "@teambit/isolator": "1.0.187",
21
- "@teambit/envs": "1.0.187",
22
- "@teambit/logger": "0.0.948",
18
+ "@teambit/builder": "1.0.189",
19
+ "@teambit/component": "1.0.189",
20
+ "@teambit/isolator": "1.0.189",
21
+ "@teambit/envs": "1.0.189",
22
+ "@teambit/logger": "0.0.949",
23
23
  "@teambit/cli-table": "0.0.48",
24
- "@teambit/cli": "0.0.855",
25
- "@teambit/aspect-loader": "1.0.187",
26
- "@teambit/scope": "1.0.187",
27
- "@teambit/watcher": "1.0.187",
28
- "@teambit/workspace": "1.0.187"
24
+ "@teambit/cli": "0.0.856",
25
+ "@teambit/aspect-loader": "1.0.189",
26
+ "@teambit/scope": "1.0.189",
27
+ "@teambit/watcher": "1.0.189",
28
+ "@teambit/workspace": "1.0.189"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/lodash": "4.14.165",
32
32
  "@types/mocha": "9.1.0",
33
33
  "chai": "4.3.0",
34
- "@teambit/harmony.envs.core-aspect-env": "0.0.25"
34
+ "@teambit/harmony.envs.core-aspect-env": "0.0.27"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "react": "^17.0.0 || ^18.0.0",
@@ -1,7 +0,0 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_application@1.0.187/dist/application.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_application@1.0.187/dist/application.docs.mdx';
3
-
4
- export const compositions = [compositions_0];
5
- export const overview = [overview_0];
6
-
7
- export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};