@websolutespa/bom-compiler 2.0.1-next.2 → 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,73 +1,55 @@
1
- # @websolutespa/bom-compiler
2
-
3
- ## 2.0.1-next.2
4
-
5
- ### Patch Changes
6
-
7
- - Updating: dependencies and build step
8
-
9
- ## 2.0.1-next.0
10
-
11
- ### Major Changes
12
-
13
- - e74b305: Release: Payload 3.7.0
14
-
15
- ## 1.10.0-next.1
16
-
17
- ### Patch Changes
18
-
19
- - 64289c4: Updating: React 19.x, Payload 3.x
20
-
21
- ## 1.10.0-next.0
22
-
23
- ### Minor Changes
24
-
25
- - Updating: React 19.x, Payload 3.x
26
-
27
- ## 0.2.3
28
-
29
- ### Patch Changes
30
-
31
- - 08b39f1: Modified: compiler added css modules
32
-
33
- ## 0.2.3-next.0
34
-
35
- ### Patch Changes
36
-
37
- - Modified: compiler added css modules
38
-
39
- ## 0.2.2
40
-
41
- ### Patch Changes
42
-
43
- - Fixing: downgrading eslint to v8.56.0
44
-
45
- ## 0.2.1
46
-
47
- ### Patch Changes
48
-
49
- - Updating: dependencies
50
-
51
- ## 0.2.0
52
-
53
- ### Minor Changes
54
-
55
- - Updating: next 13.
56
-
57
- ## 0.1.1
58
-
59
- ### Patch Changes
60
-
61
- - Modified: dependencies.
62
-
63
- ## 0.1.0
64
-
65
- ### Minor Changes
66
-
67
- - Added: splat routes.
68
-
69
- ## 0.0.1
70
-
71
- ### Patch Changes
72
-
73
- - Added: first release.
1
+ # @websolutespa/bom-compiler
2
+
3
+ ## 3.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Release: Bom 3.0
8
+
9
+ ## 0.2.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 08b39f1: Modified: compiler added css modules
14
+
15
+ ## 0.2.3-next.0
16
+
17
+ ### Patch Changes
18
+
19
+ - Modified: compiler added css modules
20
+
21
+ ## 0.2.2
22
+
23
+ ### Patch Changes
24
+
25
+ - Fixing: downgrading eslint to v8.56.0
26
+
27
+ ## 0.2.1
28
+
29
+ ### Patch Changes
30
+
31
+ - Updating: dependencies
32
+
33
+ ## 0.2.0
34
+
35
+ ### Minor Changes
36
+
37
+ - Updating: next 13.
38
+
39
+ ## 0.1.1
40
+
41
+ ### Patch Changes
42
+
43
+ - Modified: dependencies.
44
+
45
+ ## 0.1.0
46
+
47
+ ### Minor Changes
48
+
49
+ - Added: splat routes.
50
+
51
+ ## 0.0.1
52
+
53
+ ### Patch Changes
54
+
55
+ - Added: first release.
package/package.json CHANGED
@@ -1,58 +1,58 @@
1
- {
2
- "name": "@websolutespa/bom-compiler",
3
- "version": "2.0.1-next.2",
4
- "description": "Compiler helper of the BOM Repository",
5
- "keywords": [
6
- "bom",
7
- "compiler"
8
- ],
9
- "license": "MIT",
10
- "repository": {
11
- "type": "git",
12
- "url": "git://github.com/websolutespa/bom.git"
13
- },
14
- "dependencies": {
15
- "@babel/core": "^7.24.4",
16
- "@babel/preset-env": "^7.24.4",
17
- "@babel/preset-react": "^7.24.1",
18
- "@babel/preset-typescript": "^7.24.1",
19
- "@rollup/plugin-babel": "^6.0.4",
20
- "@rollup/plugin-commonjs": "^25.0.7",
21
- "@rollup/plugin-json": "^6.1.0",
22
- "@rollup/plugin-node-resolve": "^15.2.3",
23
- "@rollup/plugin-terser": "^0.4.4",
24
- "@rollup/plugin-typescript": "^11.1.6",
25
- "@svgr/rollup": "^8.1.0",
26
- "autoprefixer": "^10.4.19",
27
- "babel-loader": "^9.1.3",
28
- "cross-spawn": "latest",
29
- "postcss-modules": "4.3.1",
30
- "postcss-modules-scope": "3.2.0",
31
- "rimraf": "3.0.2",
32
- "rollup-plugin-copy": "^3.5.0",
33
- "rollup-plugin-peer-deps-external": "^2.2.4",
34
- "rollup-plugin-postcss": "^4.0.2",
35
- "rollup-plugin-typescript2": "^0.36.0",
36
- "rollup": "^4.14.1",
37
- "sass-loader": "^14.1.1",
38
- "sass": "1.54.0"
39
- },
40
- "peerDependencies": {
41
- "react": "19.2.1",
42
- "react-dom": "19.2.1"
43
- },
44
- "devDependencies": {
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.2",
49
- "@websolutespa/eslint-config": "2.0.1-next.2",
50
- "typescript": "5.8.3"
51
- },
52
- "publishConfig": {
53
- "access": "public"
54
- },
55
- "sideEffects": false,
56
- "main": "./index.js",
57
- "types": "./index.d.ts"
58
- }
1
+ {
2
+ "name": "@websolutespa/bom-compiler",
3
+ "version": "3.0.0",
4
+ "description": "Compiler helper of the BOM Repository",
5
+ "keywords": [
6
+ "bom",
7
+ "compiler"
8
+ ],
9
+ "license": "MIT",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git://github.com/websolutespa/bom.git"
13
+ },
14
+ "dependencies": {
15
+ "@babel/core": "^7.24.4",
16
+ "@babel/preset-env": "^7.24.4",
17
+ "@babel/preset-react": "^7.24.1",
18
+ "@babel/preset-typescript": "^7.24.1",
19
+ "@rollup/plugin-babel": "^6.0.4",
20
+ "@rollup/plugin-commonjs": "^25.0.7",
21
+ "@rollup/plugin-json": "^6.1.0",
22
+ "@rollup/plugin-node-resolve": "^15.2.3",
23
+ "@rollup/plugin-terser": "^0.4.4",
24
+ "@rollup/plugin-typescript": "^11.1.6",
25
+ "@svgr/rollup": "^8.1.0",
26
+ "autoprefixer": "^10.4.19",
27
+ "babel-loader": "^9.1.3",
28
+ "cross-spawn": "latest",
29
+ "postcss-modules": "4.3.1",
30
+ "postcss-modules-scope": "3.2.0",
31
+ "rimraf": "3.0.2",
32
+ "rollup-plugin-copy": "^3.5.0",
33
+ "rollup-plugin-peer-deps-external": "^2.2.4",
34
+ "rollup-plugin-postcss": "^4.0.2",
35
+ "rollup-plugin-typescript2": "^0.36.0",
36
+ "rollup": "^4.14.1",
37
+ "sass-loader": "^14.1.1",
38
+ "sass": "1.54.0"
39
+ },
40
+ "peerDependencies": {
41
+ "react": "19.2.3",
42
+ "react-dom": "19.2.3"
43
+ },
44
+ "devDependencies": {
45
+ "@types/cross-spawn": "latest",
46
+ "@types/react": "19.2.10",
47
+ "@types/react-dom": "19.2.3",
48
+ "@websolutespa/tsconfig": "*",
49
+ "@websolutespa/eslint-config": "*",
50
+ "typescript": "5.8.3"
51
+ },
52
+ "publishConfig": {
53
+ "access": "public"
54
+ },
55
+ "sideEffects": false,
56
+ "main": "./index.js",
57
+ "types": "./index.d.ts"
58
+ }
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',