@getpara/core-components 2.0.0-alpha.46 → 2.0.0-alpha.48

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.
@@ -29,10 +29,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29
29
  const exportStatementTypes = `\nexport * from '${loaderTypesRelativePath}';\n`;
30
30
  // Append to the main JS file
31
31
  yield fs.appendFile(distIndexPath, exportStatementJS, 'utf8');
32
- console.log(`Successfully appended JavaScript exports to ${distIndexPath}`);
32
+ console.warn(`Successfully appended JavaScript exports to ${distIndexPath}`);
33
33
  // Append to the main types file
34
34
  yield fs.appendFile(distTypesPath, exportStatementTypes, 'utf8');
35
- console.log(`Successfully appended type exports to ${distTypesPath}`);
35
+ console.warn(`Successfully appended type exports to ${distTypesPath}`);
36
36
  const loaderRelativePackageJsonPath = './dist/loader/package.json';
37
37
  const customPackageJson = {
38
38
  name: 'capsule-loader',
@@ -42,7 +42,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
42
42
  main: './index.js',
43
43
  };
44
44
  yield fs.writeFile(loaderRelativePackageJsonPath, JSON.stringify(customPackageJson, null, 2));
45
- console.log('Custom package.json written to loader directory.');
45
+ console.warn('Custom package.json written to loader directory.');
46
46
  }
47
47
  catch (error) {
48
48
  console.error('Error appending loader exports:', error);
@@ -1 +1 @@
1
- {"version":3,"file":"appendLoaderExports.js","sourceRoot":"","sources":["../../scripts/appendLoaderExports.ts"],"names":[],"mappings":";;;;;;;;;AAAA,CAAC,GAAS,EAAE;IACV,IAAI,CAAC;QACH,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC;QAElC,MAAM,aAAa,GAAG,iBAAiB,CAAC;QACxC,MAAM,aAAa,GAAG,yBAAyB,CAAC;QAChD,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;QAC/C,MAAM,uBAAuB,GAAG,sBAAsB,CAAC;QAEvD,uBAAuB;QACvB,MAAM,iBAAiB,GAAG,oBAAoB,kBAAkB,MAAM,CAAC;QACvE,MAAM,oBAAoB,GAAG,oBAAoB,uBAAuB,MAAM,CAAC;QAE/E,6BAA6B;QAC7B,MAAM,EAAE,CAAC,UAAU,CAAC,aAAa,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;QAC9D,OAAO,CAAC,GAAG,CAAC,+CAA+C,aAAa,EAAE,CAAC,CAAC;QAE5E,gCAAgC;QAChC,MAAM,EAAE,CAAC,UAAU,CAAC,aAAa,EAAE,oBAAoB,EAAE,MAAM,CAAC,CAAC;QACjE,OAAO,CAAC,GAAG,CAAC,yCAAyC,aAAa,EAAE,CAAC,CAAC;QAEtE,MAAM,6BAA6B,GAAG,4BAA4B,CAAC;QACnE,MAAM,iBAAiB,GAAG;YACxB,IAAI,EAAE,gBAAgB;YACtB,OAAO,EAAE,IAAI;YACb,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,YAAY;SACnB,CAAC;QAEF,MAAM,EAAE,CAAC,SAAS,CAAC,6BAA6B,EAAE,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC9F,OAAO,CAAC,GAAG,CAAC,kDAAkD,CAAC,CAAC;IAClE,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,iCAAiC,EAAE,KAAK,CAAC,CAAC;QACxD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC,CAAA,CAAC,EAAE,CAAC","sourcesContent":["(async () => {\n try {\n const fs = require('fs').promises;\n\n const distIndexPath = './dist/index.js';\n const distTypesPath = './dist/types/index.d.ts';\n const loaderRelativePath = './loader/index.js';\n const loaderTypesRelativePath = '../loader/index.d.ts';\n\n // Statements to append\n const exportStatementJS = `\\nexport * from '${loaderRelativePath}';\\n`;\n const exportStatementTypes = `\\nexport * from '${loaderTypesRelativePath}';\\n`;\n\n // Append to the main JS file\n await fs.appendFile(distIndexPath, exportStatementJS, 'utf8');\n console.log(`Successfully appended JavaScript exports to ${distIndexPath}`);\n\n // Append to the main types file\n await fs.appendFile(distTypesPath, exportStatementTypes, 'utf8');\n console.log(`Successfully appended type exports to ${distTypesPath}`);\n\n const loaderRelativePackageJsonPath = './dist/loader/package.json';\n const customPackageJson = {\n name: 'capsule-loader',\n private: true,\n types: './index.d.ts',\n type: 'module',\n main: './index.js',\n };\n\n await fs.writeFile(loaderRelativePackageJsonPath, JSON.stringify(customPackageJson, null, 2));\n console.log('Custom package.json written to loader directory.');\n } catch (error) {\n console.error('Error appending loader exports:', error);\n process.exit(1);\n }\n})();\n"]}
1
+ {"version":3,"file":"appendLoaderExports.js","sourceRoot":"","sources":["../../scripts/appendLoaderExports.ts"],"names":[],"mappings":";;;;;;;;;AAAA,CAAC,GAAS,EAAE;IACV,IAAI,CAAC;QACH,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC;QAElC,MAAM,aAAa,GAAG,iBAAiB,CAAC;QACxC,MAAM,aAAa,GAAG,yBAAyB,CAAC;QAChD,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;QAC/C,MAAM,uBAAuB,GAAG,sBAAsB,CAAC;QAEvD,uBAAuB;QACvB,MAAM,iBAAiB,GAAG,oBAAoB,kBAAkB,MAAM,CAAC;QACvE,MAAM,oBAAoB,GAAG,oBAAoB,uBAAuB,MAAM,CAAC;QAE/E,6BAA6B;QAC7B,MAAM,EAAE,CAAC,UAAU,CAAC,aAAa,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;QAC9D,OAAO,CAAC,IAAI,CAAC,+CAA+C,aAAa,EAAE,CAAC,CAAC;QAE7E,gCAAgC;QAChC,MAAM,EAAE,CAAC,UAAU,CAAC,aAAa,EAAE,oBAAoB,EAAE,MAAM,CAAC,CAAC;QACjE,OAAO,CAAC,IAAI,CAAC,yCAAyC,aAAa,EAAE,CAAC,CAAC;QAEvE,MAAM,6BAA6B,GAAG,4BAA4B,CAAC;QACnE,MAAM,iBAAiB,GAAG;YACxB,IAAI,EAAE,gBAAgB;YACtB,OAAO,EAAE,IAAI;YACb,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,YAAY;SACnB,CAAC;QAEF,MAAM,EAAE,CAAC,SAAS,CAAC,6BAA6B,EAAE,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC9F,OAAO,CAAC,IAAI,CAAC,kDAAkD,CAAC,CAAC;IACnE,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,iCAAiC,EAAE,KAAK,CAAC,CAAC;QACxD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC,CAAA,CAAC,EAAE,CAAC","sourcesContent":["(async () => {\n try {\n const fs = require('fs').promises;\n\n const distIndexPath = './dist/index.js';\n const distTypesPath = './dist/types/index.d.ts';\n const loaderRelativePath = './loader/index.js';\n const loaderTypesRelativePath = '../loader/index.d.ts';\n\n // Statements to append\n const exportStatementJS = `\\nexport * from '${loaderRelativePath}';\\n`;\n const exportStatementTypes = `\\nexport * from '${loaderTypesRelativePath}';\\n`;\n\n // Append to the main JS file\n await fs.appendFile(distIndexPath, exportStatementJS, 'utf8');\n console.warn(`Successfully appended JavaScript exports to ${distIndexPath}`);\n\n // Append to the main types file\n await fs.appendFile(distTypesPath, exportStatementTypes, 'utf8');\n console.warn(`Successfully appended type exports to ${distTypesPath}`);\n\n const loaderRelativePackageJsonPath = './dist/loader/package.json';\n const customPackageJson = {\n name: 'capsule-loader',\n private: true,\n types: './index.d.ts',\n type: 'module',\n main: './index.js',\n };\n\n await fs.writeFile(loaderRelativePackageJsonPath, JSON.stringify(customPackageJson, null, 2));\n console.warn('Custom package.json written to loader directory.');\n } catch (error) {\n console.error('Error appending loader exports:', error);\n process.exit(1);\n }\n})();\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@getpara/core-components",
3
3
  "description": "Capsule Core Components",
4
- "version": "2.0.0-alpha.46",
4
+ "version": "2.0.0-alpha.48",
5
5
  "collection": "dist/collection/collection-manifest.json",
6
6
  "collection:main": "dist/collection/index.js",
7
7
  "dependencies": {
@@ -68,5 +68,5 @@
68
68
  ],
69
69
  "type": "module",
70
70
  "types": "dist/types/index.d.ts",
71
- "gitHead": "29c553622c2e33503e5ff52d4c64725ffc15922a"
71
+ "gitHead": "bfb7086671a63d7360602908f3140c40959a43f6"
72
72
  }