@adobe-commerce/elsie 1.8.0-beta.0 → 1.8.0-beta.1

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,5 +1,11 @@
1
1
  # @adobe-commerce/elsie
2
2
 
3
+ ## 1.8.0-beta.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 7792c59: Fix vite.mjs path for LICENSE.md
8
+
3
9
  ## 1.8.0-beta.0
4
10
 
5
11
  ### Minor Changes
package/config/vite.mjs CHANGED
@@ -350,13 +350,14 @@ export default {
350
350
  ),
351
351
  });
352
352
 
353
+ const licensePath = path.resolve(process.cwd(), 'LICENSE.md');
354
+ if (!fs.existsSync(licensePath)) {
355
+ this.error(`LICENSE.md not found at ${licensePath}`);
356
+ }
353
357
  this.emitFile({
354
358
  type: 'asset',
355
359
  fileName: 'LICENSE.md',
356
- source: fs.readFileSync(
357
- path.resolve(process.cwd(), '../../LICENSE.md'),
358
- 'utf-8'
359
- ),
360
+ source: fs.readFileSync(licensePath, 'utf-8'),
360
361
  });
361
362
 
362
363
  const changelogPath = path.resolve(process.cwd(), 'CHANGELOG.md');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe-commerce/elsie",
3
- "version": "1.8.0-beta.0",
3
+ "version": "1.8.0-beta.1",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "description": "Domain Package SDK",
6
6
  "engines": {