@teambit/pkg 1.0.1232 → 1.0.1234

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.
@@ -9,6 +9,7 @@ export declare class PreparePackagesTask implements BuildTask {
9
9
  private logger;
10
10
  private envs;
11
11
  readonly name = "PreparePackages";
12
+ readonly description = "Preparing the packages for publishing";
12
13
  readonly location = "end";
13
14
  constructor(aspectId: string, logger: Logger, envs: EnvsMain);
14
15
  execute(context: BuildContext): Promise<BuiltTaskResult>;
@@ -45,6 +45,7 @@ class PreparePackagesTask {
45
45
  this.logger = logger;
46
46
  this.envs = envs;
47
47
  _defineProperty(this, "name", 'PreparePackages');
48
+ _defineProperty(this, "description", 'Preparing the packages for publishing');
48
49
  _defineProperty(this, "location", 'end');
49
50
  }
50
51
 
@@ -1 +1 @@
1
- {"version":3,"names":["_component","data","require","_fsExtra","_interopRequireDefault","_path","_writeNpmIgnore","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","PreparePackagesTask","constructor","aspectId","logger","envs","execute","context","writeNpmIgnoreFile","result","componentsResults","Promise","all","capsuleNetwork","seedersCapsules","map","capsule","writeNpmIgnore","executeDistAsRootTask","env","getCompiler","compilerInstance","distDir","graphCapsules","removeSourceFiles","moveDistToRoot","updatePackageJson","excludeDirs","dir","excludeFiles","allFiles","getAllFilesPaths","ignore","debug","join","file","fs","remove","path","from","to","moveSync","compiler","distMainFile","getDistPathBySrcPath","component","state","_consumer","mainFile","distMainFileWithoutDistDir","replace","sep","packageJson","PackageJsonFile","loadFromCapsuleSync","addOrUpdateProperty","write","exports"],"sources":["prepare-packages.task.ts"],"sourcesContent":["import type { BuildContext, BuiltTaskResult, BuildTask } from '@teambit/builder';\nimport type { Compiler } from '@teambit/compiler';\nimport type { Capsule } from '@teambit/isolator';\nimport type { EnvsMain } from '@teambit/envs';\nimport type { Logger } from '@teambit/logger';\nimport { PackageJsonFile } from '@teambit/component.sources';\nimport fs from 'fs-extra';\nimport path from 'path';\nimport { writeNpmIgnore } from './write-npm-ignore';\n\n/**\n * prepare packages for publishing.\n */\nexport class PreparePackagesTask implements BuildTask {\n readonly name = 'PreparePackages';\n readonly location = 'end';\n constructor(\n readonly aspectId: string,\n private logger: Logger,\n private envs: EnvsMain\n ) {}\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n async execute(context: BuildContext): Promise<BuiltTaskResult> {\n await this.writeNpmIgnoreFile(context);\n const result = {\n componentsResults: [],\n };\n\n return result;\n }\n\n private async writeNpmIgnoreFile(context: BuildContext) {\n await Promise.all(\n context.capsuleNetwork.seedersCapsules.map(async (capsule) => {\n await writeNpmIgnore(capsule, this.envs);\n })\n );\n }\n\n /**\n * remove the source files and copy the dists files\n * into the root of the capsule.\n * this is needed when components import from other components internal paths. without this task,\n * the internal paths are the source, so node will throw an error when trying to use them. this\n * task makes sure that the internal paths point to the consumable code (dists).\n */\n private async executeDistAsRootTask(context: BuildContext) {\n if (!context.env.getCompiler) return;\n const compilerInstance: Compiler = context.env.getCompiler();\n const distDir = compilerInstance.distDir;\n\n await Promise.all(\n context.capsuleNetwork.graphCapsules.map(async (capsule) => {\n await this.removeSourceFiles(capsule, distDir);\n await this.moveDistToRoot(capsule, distDir);\n await this.updatePackageJson(capsule, compilerInstance, distDir);\n })\n );\n }\n\n private async removeSourceFiles(capsule: Capsule, distDir: string) {\n const excludeDirs = [distDir, 'node_modules', 'public', 'bin'].map((dir) => `${dir}/**`);\n const excludeFiles = ['package.json'];\n const allFiles = capsule.getAllFilesPaths('.', { ignore: [...excludeDirs, ...excludeFiles] });\n this.logger.debug(`delete the following files:\\n${allFiles.join('\\n')}`);\n await Promise.all(allFiles.map((file) => fs.remove(path.join(capsule.path, file))));\n }\n\n private async moveDistToRoot(capsule: Capsule, distDir: string) {\n const from = path.join(capsule.path, distDir);\n const to = capsule.path;\n this.logger.debug(`move from ${from} to: ${to}`);\n // for some reason `fs.move` throws an error \"dest already exists.\".\n fs.moveSync(from, to);\n }\n\n /**\n * by default, the \"main\" prop points to the dist file (e.g. \"dist/index./js\").\n * here, we have to change it because there is no dist dir anymore.\n */\n private async updatePackageJson(capsule: Capsule, compiler: Compiler, distDir: string) {\n const distMainFile = compiler.getDistPathBySrcPath(capsule.component.state._consumer.mainFile);\n const distMainFileWithoutDistDir = distMainFile.replace(`${distDir}${path.sep}`, '');\n const packageJson = PackageJsonFile.loadFromCapsuleSync(capsule.path);\n packageJson.addOrUpdateProperty('main', distMainFileWithoutDistDir);\n await packageJson.write();\n }\n}\n"],"mappings":";;;;;;AAKA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,MAAA;EAAA,MAAAJ,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAG,KAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,gBAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,eAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAoD,SAAAG,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,gBAAAH,CAAA,EAAAI,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAJ,CAAA,GAAAO,MAAA,CAAAC,cAAA,CAAAR,CAAA,EAAAI,CAAA,IAAAK,KAA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AAC,CAAC,CAAC,CAAC;EACrF;EAEA,MAAcV,cAAcA,CAACT,OAAgB,EAAEM,OAAe,EAAE;IAC9D,MAAMiB,IAAI,GAAGD,eAAI,CAACJ,IAAI,CAAClB,OAAO,CAACsB,IAAI,EAAEhB,OAAO,CAAC;IAC7C,MAAMkB,EAAE,GAAGxB,OAAO,CAACsB,IAAI;IACvB,IAAI,CAAClC,MAAM,CAAC6B,KAAK,CAAC,aAAaM,IAAI,QAAQC,EAAE,EAAE,CAAC;IAChD;IACAJ,kBAAE,CAACK,QAAQ,CAACF,IAAI,EAAEC,EAAE,CAAC;EACvB;;EAEA;AACF;AACA;AACA;EACE,MAAcd,iBAAiBA,CAACV,OAAgB,EAAE0B,QAAkB,EAAEpB,OAAe,EAAE;IACrF,MAAMqB,YAAY,GAAGD,QAAQ,CAACE,oBAAoB,CAAC5B,OAAO,CAAC6B,SAAS,CAACC,KAAK,CAACC,SAAS,CAACC,QAAQ,CAAC;IAC9F,MAAMC,0BAA0B,GAAGN,YAAY,CAACO,OAAO,CAAC,GAAG5B,OAAO,GAAGgB,eAAI,CAACa,GAAG,EAAE,EAAE,EAAE,CAAC;IACpF,MAAMC,WAAW,GAAGC,4BAAe,CAACC,mBAAmB,CAACtC,OAAO,CAACsB,IAAI,CAAC;IACrEc,WAAW,CAACG,mBAAmB,CAAC,MAAM,EAAEN,0BAA0B,CAAC;IACnE,MAAMG,WAAW,CAACI,KAAK,CAAC,CAAC;EAC3B;AACF;AAACC,OAAA,CAAAxD,mBAAA,GAAAA,mBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_component","data","require","_fsExtra","_interopRequireDefault","_path","_writeNpmIgnore","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","PreparePackagesTask","constructor","aspectId","logger","envs","execute","context","writeNpmIgnoreFile","result","componentsResults","Promise","all","capsuleNetwork","seedersCapsules","map","capsule","writeNpmIgnore","executeDistAsRootTask","env","getCompiler","compilerInstance","distDir","graphCapsules","removeSourceFiles","moveDistToRoot","updatePackageJson","excludeDirs","dir","excludeFiles","allFiles","getAllFilesPaths","ignore","debug","join","file","fs","remove","path","from","to","moveSync","compiler","distMainFile","getDistPathBySrcPath","component","state","_consumer","mainFile","distMainFileWithoutDistDir","replace","sep","packageJson","PackageJsonFile","loadFromCapsuleSync","addOrUpdateProperty","write","exports"],"sources":["prepare-packages.task.ts"],"sourcesContent":["import type { BuildContext, BuiltTaskResult, BuildTask } from '@teambit/builder';\nimport type { Compiler } from '@teambit/compiler';\nimport type { Capsule } from '@teambit/isolator';\nimport type { EnvsMain } from '@teambit/envs';\nimport type { Logger } from '@teambit/logger';\nimport { PackageJsonFile } from '@teambit/component.sources';\nimport fs from 'fs-extra';\nimport path from 'path';\nimport { writeNpmIgnore } from './write-npm-ignore';\n\n/**\n * prepare packages for publishing.\n */\nexport class PreparePackagesTask implements BuildTask {\n readonly name = 'PreparePackages';\n readonly description = 'Preparing the packages for publishing';\n readonly location = 'end';\n constructor(\n readonly aspectId: string,\n private logger: Logger,\n private envs: EnvsMain\n ) {}\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n async execute(context: BuildContext): Promise<BuiltTaskResult> {\n await this.writeNpmIgnoreFile(context);\n const result = {\n componentsResults: [],\n };\n\n return result;\n }\n\n private async writeNpmIgnoreFile(context: BuildContext) {\n await Promise.all(\n context.capsuleNetwork.seedersCapsules.map(async (capsule) => {\n await writeNpmIgnore(capsule, this.envs);\n })\n );\n }\n\n /**\n * remove the source files and copy the dists files\n * into the root of the capsule.\n * this is needed when components import from other components internal paths. without this task,\n * the internal paths are the source, so node will throw an error when trying to use them. this\n * task makes sure that the internal paths point to the consumable code (dists).\n */\n private async executeDistAsRootTask(context: BuildContext) {\n if (!context.env.getCompiler) return;\n const compilerInstance: Compiler = context.env.getCompiler();\n const distDir = compilerInstance.distDir;\n\n await Promise.all(\n context.capsuleNetwork.graphCapsules.map(async (capsule) => {\n await this.removeSourceFiles(capsule, distDir);\n await this.moveDistToRoot(capsule, distDir);\n await this.updatePackageJson(capsule, compilerInstance, distDir);\n })\n );\n }\n\n private async removeSourceFiles(capsule: Capsule, distDir: string) {\n const excludeDirs = [distDir, 'node_modules', 'public', 'bin'].map((dir) => `${dir}/**`);\n const excludeFiles = ['package.json'];\n const allFiles = capsule.getAllFilesPaths('.', { ignore: [...excludeDirs, ...excludeFiles] });\n this.logger.debug(`delete the following files:\\n${allFiles.join('\\n')}`);\n await Promise.all(allFiles.map((file) => fs.remove(path.join(capsule.path, file))));\n }\n\n private async moveDistToRoot(capsule: Capsule, distDir: string) {\n const from = path.join(capsule.path, distDir);\n const to = capsule.path;\n this.logger.debug(`move from ${from} to: ${to}`);\n // for some reason `fs.move` throws an error \"dest already exists.\".\n fs.moveSync(from, to);\n }\n\n /**\n * by default, the \"main\" prop points to the dist file (e.g. \"dist/index./js\").\n * here, we have to change it because there is no dist dir anymore.\n */\n private async updatePackageJson(capsule: Capsule, compiler: Compiler, distDir: string) {\n const distMainFile = compiler.getDistPathBySrcPath(capsule.component.state._consumer.mainFile);\n const distMainFileWithoutDistDir = distMainFile.replace(`${distDir}${path.sep}`, '');\n const packageJson = PackageJsonFile.loadFromCapsuleSync(capsule.path);\n packageJson.addOrUpdateProperty('main', distMainFileWithoutDistDir);\n await packageJson.write();\n }\n}\n"],"mappings":";;;;;;AAKA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,MAAA;EAAA,MAAAJ,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAG,KAAA,YAAA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,GAAGC,4BAAe,CAACC,mBAAmB,CAACtC,OAAO,CAACsB,IAAI,CAAC;IACrEc,WAAW,CAACG,mBAAmB,CAAC,MAAM,EAAEN,0BAA0B,CAAC;IACnE,MAAMG,WAAW,CAACI,KAAK,CAAC,CAAC;EAC3B;AACF;AAACC,OAAA,CAAAxD,mBAAA,GAAAA,mBAAA","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.pkg_pkg@1.0.1232/dist/pkg.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.pkg_pkg@1.0.1232/dist/pkg.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.pkg_pkg@1.0.1234/dist/pkg.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.pkg_pkg@1.0.1234/dist/pkg.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -11,6 +11,7 @@ export declare class PublishDryRunTask implements BuildTask {
11
11
  private packer;
12
12
  private logger;
13
13
  readonly name = "PublishDryRun";
14
+ readonly description = "Validating the packages with a publish dry-run";
14
15
  readonly location = "end";
15
16
  dependencies: string[];
16
17
  constructor(aspectId: string, publisher: Publisher, packer: Packer, logger: Logger);
@@ -17,6 +17,7 @@ class PublishDryRunTask {
17
17
  this.packer = packer;
18
18
  this.logger = logger;
19
19
  _defineProperty(this, "name", 'PublishDryRun');
20
+ _defineProperty(this, "description", 'Validating the packages with a publish dry-run');
20
21
  _defineProperty(this, "location", 'end');
21
22
  _defineProperty(this, "dependencies", void 0);
22
23
  }
@@ -1 +1 @@
1
- {"version":3,"names":["PublishDryRunTask","constructor","aspectId","publisher","packer","logger","_defineProperty","execute","context","options","dryRun","capsules","capsuleNetwork","seedersCapsules","capsulesToPublish","forEach","c","shouldPublish","component","config","extensions","push","info","length","publishResults","publishMultipleCapsules","packResults","packMultipleCapsules","override","componentsResults","concat","artifacts","exports"],"sources":["publish-dry-run.task.ts"],"sourcesContent":["import type { BuildContext, BuiltTaskResult, BuildTask } from '@teambit/builder';\nimport type { Logger } from '@teambit/logger';\nimport type { Capsule } from '@teambit/isolator';\nimport type { Publisher } from './publisher';\nimport type { Packer } from './packer';\n\n/**\n * publish build task is running \"publish --dry-run\" to avoid later npm errors during export\n */\nexport class PublishDryRunTask implements BuildTask {\n readonly name = 'PublishDryRun';\n readonly location = 'end';\n dependencies: string[];\n constructor(\n readonly aspectId: string,\n private publisher: Publisher,\n private packer: Packer,\n private logger: Logger\n ) {}\n\n async execute(context: BuildContext): Promise<BuiltTaskResult> {\n this.publisher.options.dryRun = true;\n const capsules = context.capsuleNetwork.seedersCapsules;\n // const capsulesToPublish = capsules.filter((c) => this.publisher.shouldPublish(c.component.config.extensions));\n const capsulesToPublish: Capsule[] = [];\n capsules.forEach((c) => {\n const shouldPublish = this.publisher.shouldPublish(c.component.config.extensions);\n if (shouldPublish) {\n capsulesToPublish.push(c);\n }\n });\n this.logger.info(`going to run publish dry-run on ${capsulesToPublish.length} out of ${capsules.length}`);\n\n const publishResults = await this.publisher.publishMultipleCapsules(capsulesToPublish);\n\n this.logger.info(`going to run pack dry-run on ${capsules.length} capsules`);\n const packResults = await this.packer.packMultipleCapsules(capsules, { override: true }, true, true);\n\n return {\n componentsResults: publishResults.concat(packResults),\n artifacts: [],\n };\n }\n}\n"],"mappings":";;;;;;;;;AAMA;AACA;AACA;AACO,MAAMA,iBAAiB,CAAsB;EAIlDC,WAAWA,CACAC,QAAgB,EACjBC,SAAoB,EACpBC,MAAc,EACdC,MAAc,EACtB;IAAA,KAJSH,QAAgB,GAAhBA,QAAgB;IAAA,KACjBC,SAAoB,GAApBA,SAAoB;IAAA,KACpBC,MAAc,GAAdA,MAAc;IAAA,KACdC,MAAc,GAAdA,MAAc;IAAAC,eAAA,eAPR,eAAe;IAAAA,eAAA,mBACX,KAAK;IAAAA,eAAA;EAOtB;EAEH,MAAMC,OAAOA,CAACC,OAAqB,EAA4B;IAC7D,IAAI,CAACL,SAAS,CAACM,OAAO,CAACC,MAAM,GAAG,IAAI;IACpC,MAAMC,QAAQ,GAAGH,OAAO,CAACI,cAAc,CAACC,eAAe;IACvD;IACA,MAAMC,iBAA4B,GAAG,EAAE;IACvCH,QAAQ,CAACI,OAAO,CAAEC,CAAC,IAAK;MACtB,MAAMC,aAAa,GAAG,IAAI,CAACd,SAAS,CAACc,aAAa,CAACD,CAAC,CAACE,SAAS,CAACC,MAAM,CAACC,UAAU,CAAC;MACjF,IAAIH,aAAa,EAAE;QACjBH,iBAAiB,CAACO,IAAI,CAACL,CAAC,CAAC;MAC3B;IACF,CAAC,CAAC;IACF,IAAI,CAACX,MAAM,CAACiB,IAAI,CAAC,mCAAmCR,iBAAiB,CAACS,MAAM,WAAWZ,QAAQ,CAACY,MAAM,EAAE,CAAC;IAEzG,MAAMC,cAAc,GAAG,MAAM,IAAI,CAACrB,SAAS,CAACsB,uBAAuB,CAACX,iBAAiB,CAAC;IAEtF,IAAI,CAACT,MAAM,CAACiB,IAAI,CAAC,gCAAgCX,QAAQ,CAACY,MAAM,WAAW,CAAC;IAC5E,MAAMG,WAAW,GAAG,MAAM,IAAI,CAACtB,MAAM,CAACuB,oBAAoB,CAAChB,QAAQ,EAAE;MAAEiB,QAAQ,EAAE;IAAK,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC;IAEpG,OAAO;MACLC,iBAAiB,EAAEL,cAAc,CAACM,MAAM,CAACJ,WAAW,CAAC;MACrDK,SAAS,EAAE;IACb,CAAC;EACH;AACF;AAACC,OAAA,CAAAhC,iBAAA,GAAAA,iBAAA","ignoreList":[]}
1
+ {"version":3,"names":["PublishDryRunTask","constructor","aspectId","publisher","packer","logger","_defineProperty","execute","context","options","dryRun","capsules","capsuleNetwork","seedersCapsules","capsulesToPublish","forEach","c","shouldPublish","component","config","extensions","push","info","length","publishResults","publishMultipleCapsules","packResults","packMultipleCapsules","override","componentsResults","concat","artifacts","exports"],"sources":["publish-dry-run.task.ts"],"sourcesContent":["import type { BuildContext, BuiltTaskResult, BuildTask } from '@teambit/builder';\nimport type { Logger } from '@teambit/logger';\nimport type { Capsule } from '@teambit/isolator';\nimport type { Publisher } from './publisher';\nimport type { Packer } from './packer';\n\n/**\n * publish build task is running \"publish --dry-run\" to avoid later npm errors during export\n */\nexport class PublishDryRunTask implements BuildTask {\n readonly name = 'PublishDryRun';\n readonly description = 'Validating the packages with a publish dry-run';\n readonly location = 'end';\n dependencies: string[];\n constructor(\n readonly aspectId: string,\n private publisher: Publisher,\n private packer: Packer,\n private logger: Logger\n ) {}\n\n async execute(context: BuildContext): Promise<BuiltTaskResult> {\n this.publisher.options.dryRun = true;\n const capsules = context.capsuleNetwork.seedersCapsules;\n // const capsulesToPublish = capsules.filter((c) => this.publisher.shouldPublish(c.component.config.extensions));\n const capsulesToPublish: Capsule[] = [];\n capsules.forEach((c) => {\n const shouldPublish = this.publisher.shouldPublish(c.component.config.extensions);\n if (shouldPublish) {\n capsulesToPublish.push(c);\n }\n });\n this.logger.info(`going to run publish dry-run on ${capsulesToPublish.length} out of ${capsules.length}`);\n\n const publishResults = await this.publisher.publishMultipleCapsules(capsulesToPublish);\n\n this.logger.info(`going to run pack dry-run on ${capsules.length} capsules`);\n const packResults = await this.packer.packMultipleCapsules(capsules, { override: true }, true, true);\n\n return {\n componentsResults: publishResults.concat(packResults),\n artifacts: [],\n };\n }\n}\n"],"mappings":";;;;;;;;;AAMA;AACA;AACA;AACO,MAAMA,iBAAiB,CAAsB;EAKlDC,WAAWA,CACAC,QAAgB,EACjBC,SAAoB,EACpBC,MAAc,EACdC,MAAc,EACtB;IAAA,KAJSH,QAAgB,GAAhBA,QAAgB;IAAA,KACjBC,SAAoB,GAApBA,SAAoB;IAAA,KACpBC,MAAc,GAAdA,MAAc;IAAA,KACdC,MAAc,GAAdA,MAAc;IAAAC,eAAA,eARR,eAAe;IAAAA,eAAA,sBACR,gDAAgD;IAAAA,eAAA,mBACnD,KAAK;IAAAA,eAAA;EAOtB;EAEH,MAAMC,OAAOA,CAACC,OAAqB,EAA4B;IAC7D,IAAI,CAACL,SAAS,CAACM,OAAO,CAACC,MAAM,GAAG,IAAI;IACpC,MAAMC,QAAQ,GAAGH,OAAO,CAACI,cAAc,CAACC,eAAe;IACvD;IACA,MAAMC,iBAA4B,GAAG,EAAE;IACvCH,QAAQ,CAACI,OAAO,CAAEC,CAAC,IAAK;MACtB,MAAMC,aAAa,GAAG,IAAI,CAACd,SAAS,CAACc,aAAa,CAACD,CAAC,CAACE,SAAS,CAACC,MAAM,CAACC,UAAU,CAAC;MACjF,IAAIH,aAAa,EAAE;QACjBH,iBAAiB,CAACO,IAAI,CAACL,CAAC,CAAC;MAC3B;IACF,CAAC,CAAC;IACF,IAAI,CAACX,MAAM,CAACiB,IAAI,CAAC,mCAAmCR,iBAAiB,CAACS,MAAM,WAAWZ,QAAQ,CAACY,MAAM,EAAE,CAAC;IAEzG,MAAMC,cAAc,GAAG,MAAM,IAAI,CAACrB,SAAS,CAACsB,uBAAuB,CAACX,iBAAiB,CAAC;IAEtF,IAAI,CAACT,MAAM,CAACiB,IAAI,CAAC,gCAAgCX,QAAQ,CAACY,MAAM,WAAW,CAAC;IAC5E,MAAMG,WAAW,GAAG,MAAM,IAAI,CAACtB,MAAM,CAACuB,oBAAoB,CAAChB,QAAQ,EAAE;MAAEiB,QAAQ,EAAE;IAAK,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC;IAEpG,OAAO;MACLC,iBAAiB,EAAEL,cAAc,CAACM,MAAM,CAACJ,WAAW,CAAC;MACrDK,SAAS,EAAE;IACb,CAAC;EACH;AACF;AAACC,OAAA,CAAAhC,iBAAA,GAAAA,iBAAA","ignoreList":[]}
@@ -9,6 +9,7 @@ export declare class PublishTask implements BuildTask {
9
9
  private publisher;
10
10
  private logger;
11
11
  readonly name = "PublishComponents";
12
+ readonly description = "Publishing components to the package registry";
12
13
  readonly location: TaskLocation;
13
14
  constructor(aspectId: string, publisher: Publisher, logger: Logger);
14
15
  execute(context: BuildContext): Promise<BuiltTaskResult>;
@@ -16,6 +16,7 @@ class PublishTask {
16
16
  this.publisher = publisher;
17
17
  this.logger = logger;
18
18
  _defineProperty(this, "name", 'PublishComponents');
19
+ _defineProperty(this, "description", 'Publishing components to the package registry');
19
20
  _defineProperty(this, "location", 'end');
20
21
  }
21
22
  async execute(context) {
@@ -1 +1 @@
1
- {"version":3,"names":["PublishTask","constructor","aspectId","publisher","logger","_defineProperty","execute","context","options","dryRun","capsules","capsuleNetwork","seedersCapsules","capsulesToPublish","forEach","c","shouldPublish","component","config","extensions","push","info","length","publishResults","publishMultipleCapsules","componentsResults","artifacts","exports"],"sources":["publish.task.ts"],"sourcesContent":["import type { BuildContext, BuiltTaskResult, BuildTask, TaskLocation } from '@teambit/builder';\nimport type { Logger } from '@teambit/logger';\nimport type { Capsule } from '@teambit/isolator';\nimport type { Publisher } from './publisher';\n\n/**\n * publish components by running \"npm publish\"\n */\nexport class PublishTask implements BuildTask {\n readonly name = 'PublishComponents';\n readonly location: TaskLocation = 'end';\n constructor(\n readonly aspectId: string,\n private publisher: Publisher,\n private logger: Logger\n ) {}\n\n async execute(context: BuildContext): Promise<BuiltTaskResult> {\n this.publisher.options.dryRun = false;\n const capsules = context.capsuleNetwork.seedersCapsules;\n // const capsulesToPublish = capsules.filter((c) => this.publisher.shouldPublish(c.component.config.extensions));\n const capsulesToPublish: Capsule[] = [];\n capsules.forEach((c) => {\n const shouldPublish = this.publisher.shouldPublish(c.component.config.extensions);\n if (shouldPublish) {\n capsulesToPublish.push(c);\n }\n });\n this.logger.info(`going to run publish on ${capsulesToPublish.length} out of ${capsules.length}`);\n const publishResults = await this.publisher.publishMultipleCapsules(capsulesToPublish);\n\n return {\n componentsResults: publishResults,\n artifacts: [],\n };\n }\n}\n"],"mappings":";;;;;;;;;AAKA;AACA;AACA;AACO,MAAMA,WAAW,CAAsB;EAG5CC,WAAWA,CACAC,QAAgB,EACjBC,SAAoB,EACpBC,MAAc,EACtB;IAAA,KAHSF,QAAgB,GAAhBA,QAAgB;IAAA,KACjBC,SAAoB,GAApBA,SAAoB;IAAA,KACpBC,MAAc,GAAdA,MAAc;IAAAC,eAAA,eALR,mBAAmB;IAAAA,eAAA,mBACD,KAAK;EAKpC;EAEH,MAAMC,OAAOA,CAACC,OAAqB,EAA4B;IAC7D,IAAI,CAACJ,SAAS,CAACK,OAAO,CAACC,MAAM,GAAG,KAAK;IACrC,MAAMC,QAAQ,GAAGH,OAAO,CAACI,cAAc,CAACC,eAAe;IACvD;IACA,MAAMC,iBAA4B,GAAG,EAAE;IACvCH,QAAQ,CAACI,OAAO,CAAEC,CAAC,IAAK;MACtB,MAAMC,aAAa,GAAG,IAAI,CAACb,SAAS,CAACa,aAAa,CAACD,CAAC,CAACE,SAAS,CAACC,MAAM,CAACC,UAAU,CAAC;MACjF,IAAIH,aAAa,EAAE;QACjBH,iBAAiB,CAACO,IAAI,CAACL,CAAC,CAAC;MAC3B;IACF,CAAC,CAAC;IACF,IAAI,CAACX,MAAM,CAACiB,IAAI,CAAC,2BAA2BR,iBAAiB,CAACS,MAAM,WAAWZ,QAAQ,CAACY,MAAM,EAAE,CAAC;IACjG,MAAMC,cAAc,GAAG,MAAM,IAAI,CAACpB,SAAS,CAACqB,uBAAuB,CAACX,iBAAiB,CAAC;IAEtF,OAAO;MACLY,iBAAiB,EAAEF,cAAc;MACjCG,SAAS,EAAE;IACb,CAAC;EACH;AACF;AAACC,OAAA,CAAA3B,WAAA,GAAAA,WAAA","ignoreList":[]}
1
+ {"version":3,"names":["PublishTask","constructor","aspectId","publisher","logger","_defineProperty","execute","context","options","dryRun","capsules","capsuleNetwork","seedersCapsules","capsulesToPublish","forEach","c","shouldPublish","component","config","extensions","push","info","length","publishResults","publishMultipleCapsules","componentsResults","artifacts","exports"],"sources":["publish.task.ts"],"sourcesContent":["import type { BuildContext, BuiltTaskResult, BuildTask, TaskLocation } from '@teambit/builder';\nimport type { Logger } from '@teambit/logger';\nimport type { Capsule } from '@teambit/isolator';\nimport type { Publisher } from './publisher';\n\n/**\n * publish components by running \"npm publish\"\n */\nexport class PublishTask implements BuildTask {\n readonly name = 'PublishComponents';\n readonly description = 'Publishing components to the package registry';\n readonly location: TaskLocation = 'end';\n constructor(\n readonly aspectId: string,\n private publisher: Publisher,\n private logger: Logger\n ) {}\n\n async execute(context: BuildContext): Promise<BuiltTaskResult> {\n this.publisher.options.dryRun = false;\n const capsules = context.capsuleNetwork.seedersCapsules;\n // const capsulesToPublish = capsules.filter((c) => this.publisher.shouldPublish(c.component.config.extensions));\n const capsulesToPublish: Capsule[] = [];\n capsules.forEach((c) => {\n const shouldPublish = this.publisher.shouldPublish(c.component.config.extensions);\n if (shouldPublish) {\n capsulesToPublish.push(c);\n }\n });\n this.logger.info(`going to run publish on ${capsulesToPublish.length} out of ${capsules.length}`);\n const publishResults = await this.publisher.publishMultipleCapsules(capsulesToPublish);\n\n return {\n componentsResults: publishResults,\n artifacts: [],\n };\n }\n}\n"],"mappings":";;;;;;;;;AAKA;AACA;AACA;AACO,MAAMA,WAAW,CAAsB;EAI5CC,WAAWA,CACAC,QAAgB,EACjBC,SAAoB,EACpBC,MAAc,EACtB;IAAA,KAHSF,QAAgB,GAAhBA,QAAgB;IAAA,KACjBC,SAAoB,GAApBA,SAAoB;IAAA,KACpBC,MAAc,GAAdA,MAAc;IAAAC,eAAA,eANR,mBAAmB;IAAAA,eAAA,sBACZ,+CAA+C;IAAAA,eAAA,mBACpC,KAAK;EAKpC;EAEH,MAAMC,OAAOA,CAACC,OAAqB,EAA4B;IAC7D,IAAI,CAACJ,SAAS,CAACK,OAAO,CAACC,MAAM,GAAG,KAAK;IACrC,MAAMC,QAAQ,GAAGH,OAAO,CAACI,cAAc,CAACC,eAAe;IACvD;IACA,MAAMC,iBAA4B,GAAG,EAAE;IACvCH,QAAQ,CAACI,OAAO,CAAEC,CAAC,IAAK;MACtB,MAAMC,aAAa,GAAG,IAAI,CAACb,SAAS,CAACa,aAAa,CAACD,CAAC,CAACE,SAAS,CAACC,MAAM,CAACC,UAAU,CAAC;MACjF,IAAIH,aAAa,EAAE;QACjBH,iBAAiB,CAACO,IAAI,CAACL,CAAC,CAAC;MAC3B;IACF,CAAC,CAAC;IACF,IAAI,CAACX,MAAM,CAACiB,IAAI,CAAC,2BAA2BR,iBAAiB,CAACS,MAAM,WAAWZ,QAAQ,CAACY,MAAM,EAAE,CAAC;IACjG,MAAMC,cAAc,GAAG,MAAM,IAAI,CAACpB,SAAS,CAACqB,uBAAuB,CAACX,iBAAiB,CAAC;IAEtF,OAAO;MACLY,iBAAiB,EAAEF,cAAc;MACjCG,SAAS,EAAE;IACb,CAAC;EACH;AACF;AAACC,OAAA,CAAA3B,WAAA,GAAAA,WAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/pkg",
3
- "version": "1.0.1232",
3
+ "version": "1.0.1234",
4
4
  "homepage": "https://bit.cloud/teambit/pkg/pkg",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.pkg",
8
8
  "name": "pkg",
9
- "version": "1.0.1232"
9
+ "version": "1.0.1234"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "4.1.2",
@@ -20,35 +20,35 @@
20
20
  "graphql-tag": "2.12.1",
21
21
  "cli-highlight": "2.1.9",
22
22
  "execa": "2.1.0",
23
- "@teambit/cli": "0.0.1415",
24
23
  "@teambit/legacy.constants": "0.0.49",
25
24
  "@teambit/logger": "0.0.1499",
26
- "@teambit/envs": "1.0.1225",
27
- "@teambit/component": "1.0.1225",
28
25
  "@teambit/express": "0.0.1505",
29
26
  "@teambit/component-version": "1.0.4",
30
- "@teambit/legacy.scope": "0.0.184",
31
27
  "@teambit/legacy.utils": "0.0.56",
32
- "@teambit/component.sources": "0.0.236",
33
28
  "@teambit/harmony": "0.4.12",
34
29
  "@teambit/graphql": "1.0.1206",
35
30
  "@teambit/bit-error": "0.0.404",
36
31
  "@teambit/component-issues": "0.0.192",
37
32
  "@teambit/component-package-version": "0.0.466",
38
- "@teambit/dependency-resolver": "1.0.1225",
39
33
  "@teambit/harmony.modules.in-memory-cache": "0.0.54",
40
34
  "@teambit/harmony.modules.runtimes": "0.0.4",
41
- "@teambit/legacy.bit-map": "0.0.241",
42
- "@teambit/workspace.modules.node-modules-linker": "0.0.417",
43
35
  "@teambit/ui-foundation.ui.use-box.menu": "1.0.16",
44
36
  "@teambit/component-id": "1.2.5",
45
- "@teambit/legacy.extension-data": "0.0.186",
46
- "@teambit/legacy.consumer-component": "0.0.185",
47
- "@teambit/builder": "1.0.1232",
48
- "@teambit/isolator": "1.0.1232",
49
- "@teambit/scope": "1.0.1232",
50
- "@teambit/workspace": "1.0.1232",
51
- "@teambit/compiler": "1.0.1232"
37
+ "@teambit/cli": "0.0.1416",
38
+ "@teambit/builder": "1.0.1234",
39
+ "@teambit/envs": "1.0.1226",
40
+ "@teambit/component": "1.0.1226",
41
+ "@teambit/isolator": "1.0.1234",
42
+ "@teambit/legacy.scope": "0.0.185",
43
+ "@teambit/scope": "1.0.1234",
44
+ "@teambit/component.sources": "0.0.237",
45
+ "@teambit/dependency-resolver": "1.0.1226",
46
+ "@teambit/legacy.bit-map": "0.0.242",
47
+ "@teambit/workspace.modules.node-modules-linker": "0.0.418",
48
+ "@teambit/workspace": "1.0.1234",
49
+ "@teambit/compiler": "1.0.1234",
50
+ "@teambit/legacy.extension-data": "0.0.187",
51
+ "@teambit/legacy.consumer-component": "0.0.186"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/mime": "2.0.3",