@emulsify/core 3.0.1 → 3.0.3

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.
@@ -10,15 +10,15 @@ let babelConfig;
10
10
  let postcssConfig;
11
11
 
12
12
  // Check if custom babel config is available.
13
- if (fs.existsSync('./config/babel.config.js')) {
14
- babelConfig = './config/babel.config.js';
13
+ if (fs.existsSync('./config/emulsify-core/webpack/babel.config.cjs')) {
14
+ babelConfig = './config/emulsify-core/webpack/babel.config.cjs';
15
15
  } else {
16
16
  babelConfig = './node_modules/@emulsify/core/config/babel.config.js';
17
17
  }
18
18
 
19
19
  // Check if custom postcss config is available.
20
- if (fs.existsSync('./config/postcss.config.js')) {
21
- postcssConfig = './config/postcss.config.js';
20
+ if (fs.existsSync('./config/emulsify-core/webpack/postcss.config.cjs')) {
21
+ postcssConfig = './config/emulsify-core/webpack/postcss.config.cjs';
22
22
  } else {
23
23
  postcssConfig = './node_modules/@emulsify/core/config/postcss.config.js';
24
24
  }
@@ -36,7 +36,10 @@ const SpriteLoaderPlugin = new _SpriteLoaderPlugin({
36
36
 
37
37
  const ProgressPlugin = new webpack.ProgressPlugin();
38
38
 
39
- const componentFilesPattern = resolve(srcDir, '**/*.{twig,component.yml}');
39
+ const componentFilesPattern = resolve(
40
+ srcDir,
41
+ '**/*.{twig,component.yml,component.json}',
42
+ );
40
43
 
41
44
  /**
42
45
  * Prepare a list of patterns for copying Twig and component files.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emulsify/core",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "Bundled tooling for Storybook development + Webpack Build",
5
5
  "keywords": [
6
6
  "component library",
@@ -50,7 +50,7 @@
50
50
  "twatch": "jest --no-coverage --watch --verbose"
51
51
  },
52
52
  "dependencies": {
53
- "@babel/core": "^7.27.1",
53
+ "@babel/core": "^7.27.3",
54
54
  "@babel/eslint-parser": "^7.27.1",
55
55
  "@babel/preset-env": "^7.27.2",
56
56
  "@emulsify/cli": "^1.11.4",
@@ -80,7 +80,7 @@
80
80
  "eslint": "^9.27.0",
81
81
  "eslint-config-prettier": "^10.1.5",
82
82
  "eslint-plugin-import": "^2.31.0",
83
- "eslint-plugin-jest": "^28.11.0",
83
+ "eslint-plugin-jest": "^28.11.1",
84
84
  "eslint-plugin-prettier": "^5.4.0",
85
85
  "eslint-plugin-security": "^3.0.1",
86
86
  "eslint-plugin-storybook": "^0.12.0",
@@ -137,7 +137,7 @@
137
137
  "@semantic-release/github": "^11.0.3",
138
138
  "@semantic-release/release-notes-generator": "^14.0.3",
139
139
  "husky": "^9.1.7",
140
- "lint-staged": "^16.0.0",
140
+ "lint-staged": "^16.1.0",
141
141
  "semantic-release": "^24.2.5"
142
142
  },
143
143
  "overrides": {