-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: build process and changesets version (#76)
* set a proper dependency version so it builds gracefully * define types before hand * update lockfile * remove magefront types warmer * replace fs-extra with fs * update the workspace dependency range * fix: patch changeset to avoid major bumps when a peer dep is updated * add changesets * chore: release 1.2.0 🎉
- Loading branch information
Showing
67 changed files
with
508 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ node_modules | |
.pnpm-* | ||
.magefront-* | ||
dist | ||
types | ||
_*.md | ||
.turbo | ||
.secrets | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
"changeset": "changeset", | ||
"changeset:publish": "pnpm run build && changeset publish", | ||
"ts-check": "tsc --noEmit", | ||
"build": "npm run build --prefix=packages/magefront && pnpm -r build", | ||
"build": "pnpm -r build", | ||
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand" | ||
}, | ||
"devDependencies": { | ||
|
@@ -30,5 +30,10 @@ | |
}, | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"@changesets/[email protected]": "patches/@[email protected]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
# magefront | ||
|
||
## 1.2.0 | ||
|
||
### Minor Changes | ||
|
||
- f8da0cb: - Replace fs-extra with the node:fs functions | ||
- Write types statically to reduce build time and overhead | ||
- f8da0cb: Set a proper (peer) dependency version in packages | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [f8da0cb] | ||
- [email protected] | ||
|
||
## 1.1.1 | ||
|
||
### Patch Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "magefront", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"type": "module", | ||
"description": "A modern Magento 2 theme builder", | ||
"keywords": [ | ||
|
@@ -16,7 +16,8 @@ | |
"author": "Emmanuel Vodor <[email protected]>", | ||
"license": "MIT", | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"types" | ||
], | ||
"repository": { | ||
"type": "git", | ||
|
@@ -25,7 +26,7 @@ | |
}, | ||
"main": "dist/magefront.cjs", | ||
"module": "dist/magefront.mjs", | ||
"types": "dist/magefront.d.ts", | ||
"types": "types/magefront.d.ts", | ||
"scripts": { | ||
"build": "unbuild" | ||
}, | ||
|
@@ -34,9 +35,8 @@ | |
"chokidar": "^3.5.3", | ||
"cli-table": "^0.3.11", | ||
"fast-glob": "^3.3.1", | ||
"fs-extra": "^11.1.1", | ||
"kleur": "^4.1.5", | ||
"magefront-preset-default": "workspace:~", | ||
"magefront-preset-default": "workspace:^", | ||
"memoizee": "^0.4.15", | ||
"pretty-ms": "^8.0.0", | ||
"sade": "^1.8.1", | ||
|
@@ -45,7 +45,6 @@ | |
"devDependencies": { | ||
"@types/browser-sync": "^2.27.0", | ||
"@types/cli-table": "^0.3.2", | ||
"@types/fs-extra": "^11.0.1", | ||
"@types/memoizee": "^0.4.8", | ||
"@types/node": "^20.5.9" | ||
}, | ||
|
@@ -59,7 +58,7 @@ | |
".": { | ||
"import": "./dist/magefront.mjs", | ||
"require": "./dist/magefront.cjs", | ||
"types": "./dist/magefront.d.ts" | ||
"types": "./types/magefront.d.ts" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.