-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Javascript and TypeScript build for jetpack-wpcom-mu (#34158)
* Jetpack Mu WPcom: Migrate Error Handling * First pass at migrating an ETK feature. * Update script paths * Add initial JS build code for jetpack-mu-wpcom * changelog * Loosen dependencies * Add build/ to .gitignore * Add clean script * Add dependencies for error-reporting * Update versions * Changelog * Add build scripts * Try using PKG_DIR * Add build/ directory to production output * Import namespaced class * Bail early if ETK has enqueued its script * Switch to more direct webpack build * Remove @wordpress/scripts and dependencies * Ignore the .cache directory * Update to using base dir and file to enqueue scripts * Remove JS/TS file exclusion and update build dir path * Ensure we set up production builds correctly * Add docs for new build commands * Better reflect folder structure * Reset change pnpm-lock.yaml * Update pnpm lock file * Update mu-wpcom-plugin * Launchpad: Add `new_prompt` query param to Write first post task (#34160) * Add answer_prompt query param to write 3 posts task. * changelog * Switch to write first post task for write sites. * Update site option name * Simplify base path into a var * Update query arg * Remove semicolon * Update project version * Update comment for accuracy. * use add_query_arg * String true * Add trailing slash * Update build docs * Update pnpm-lock.yaml * Update composer.lock --------- Co-authored-by: Konstantin Obenland <obenland@gmx.de> Co-authored-by: Caroline Moore <calobee@gmail.com> Co-authored-by: Mikael Korpela <mikael@ihminen.org> Co-authored-by: Brandon Kraft <public@brandonkraft.com> Co-authored-by: okmttdhr <okmttdhr@users.noreply.github.com>
- Loading branch information
1 parent
a37e593
commit 115f228
Showing
14 changed files
with
447 additions
and
13 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,3 +1,5 @@ | ||
.cache/ | ||
src/build/ | ||
vendor/ | ||
node_modules/ | ||
wordpress/ |
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
4 changes: 4 additions & 0 deletions
4
projects/packages/jetpack-mu-wpcom/changelog/add-js-build-for-jetpack-wpcom-mu
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: minor | ||
Type: added | ||
|
||
Add initial JS and TS build logic |
4 changes: 4 additions & 0 deletions
4
projects/packages/jetpack-mu-wpcom/changelog/migrate-etk-error-handling
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: minor | ||
Type: added | ||
|
||
Added Editor error handling from ETK |
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.