@websolutespa/bom-compiler 2.0.1-next.0 → 3.0.0

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/CHANGELOG.md CHANGED
@@ -1,22 +1,10 @@
1
1
  # @websolutespa/bom-compiler
2
2
 
3
- ## 2.0.1-next.0
3
+ ## 3.0.0
4
4
 
5
5
  ### Major Changes
6
6
 
7
- - e74b305: Release: Payload 3.7.0
8
-
9
- ## 1.10.0-next.1
10
-
11
- ### Patch Changes
12
-
13
- - 64289c4: Updating: React 19.x, Payload 3.x
14
-
15
- ## 1.10.0-next.0
16
-
17
- ### Minor Changes
18
-
19
- - Updating: React 19.x, Payload 3.x
7
+ - Release: Bom 3.0
20
8
 
21
9
  ## 0.2.3
22
10
 
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* eslint-disable @typescript-eslint/no-var-requires */
1
+
2
2
  const spawn = require('cross-spawn');
3
3
  const path = require('path');
4
4
  const fs = require('fs');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websolutespa/bom-compiler",
3
- "version": "2.0.1-next.0",
3
+ "version": "3.0.0",
4
4
  "description": "Compiler helper of the BOM Repository",
5
5
  "keywords": [
6
6
  "bom",
@@ -38,16 +38,15 @@
38
38
  "sass": "1.54.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "react": "19.2.1",
42
- "react-dom": "19.2.1"
41
+ "react": "19.2.3",
42
+ "react-dom": "19.2.3"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/cross-spawn": "latest",
46
- "@types/react": "19.2.1",
47
- "@types/react-dom": "19.2.1",
48
- "@websolutespa/tsconfig": "2.0.1-next.0",
49
- "@websolutespa/eslint-config": "2.0.1-next.0",
50
- "tsup": "8.5.0",
46
+ "@types/react": "19.2.10",
47
+ "@types/react-dom": "19.2.3",
48
+ "@websolutespa/tsconfig": "*",
49
+ "@websolutespa/eslint-config": "*",
51
50
  "typescript": "5.8.3"
52
51
  },
53
52
  "publishConfig": {
package/rollup.config.js CHANGED
@@ -18,7 +18,7 @@ const extensions = ['.ts', '.tsx', '.js', '.jsx', '.json', '.scss', '.css'];
18
18
  const cwd = process.cwd();
19
19
 
20
20
  const packagePath = path.join(cwd, 'package.json');
21
-
21
+
22
22
  const packageJson = require(packagePath);
23
23
  const outputCjs = './dist/cjs/index.js'; // packageJson.main;
24
24
  const outputEsm = './dist/esm'; // path.dirname(packageJson.module);
@@ -34,19 +34,22 @@ const rollupConfig = {
34
34
  input: 'src/index.ts',
35
35
  makeAbsoluteExternalsRelative: true,
36
36
  output: [
37
+ /*
37
38
  {
38
39
  format: 'cjs',
39
40
  file: outputCjs,
40
41
  sourcemap: true,
41
- interop: 'auto', // 'esModule';
42
+ interop: 'auto',
42
43
  exports: 'named',
43
44
  hoistTransitiveImports: false,
44
45
  dynamicImportInCjs: true,
45
46
  },
47
+ */
46
48
  {
47
49
  format: 'esm',
48
50
  dir: outputEsm,
49
51
  sourcemap: true,
52
+ interop: 'auto',
50
53
  hoistTransitiveImports: false,
51
54
  preserveModules: true,
52
55
  preserveModulesRoot: 'src',