-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update dependency esbuild to ^0.20.2 (#271)
* fix(deps): update dependency esbuild to ^0.20.2 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Luis Aveiga <luis.aveiga@gmail.com> Co-authored-by: Sally Young <git@justa.fish>
- Loading branch information
1 parent
c0097b4
commit 6afa3ec
Showing
8 changed files
with
516 additions
and
401 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Metapackages | ||
|
||
Drainpipe comes with packages that are published to npm: | ||
- https://www.npmjs.com/package/@lullabot/drainpipe-javascript | ||
- https://www.npmjs.com/package/@lullabot/drainpipe-sass | ||
|
||
## Testing Changes | ||
|
||
- Setup the [test site](./test-script.md) which will install the metapackages | ||
from your local checkout | ||
- Copy the contents of `tests/fixtures/metapackages` to the site: | ||
``` | ||
❯ pwd | ||
/home/justafish/repos/drainpipe-test | ||
❯ cp -R ../drainpipe/tests/fixtures/metapackages/* . | ||
``` | ||
- Install focal trap (used by `js/mobile-nav.js`) | ||
``` | ||
ddev yarn add focus-trap | ||
``` | ||
- Run commands from `Taskfile.yml` e.g. `ddev task javascript`, `ddev task sass` |
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,28 @@ | ||
# Test Script | ||
|
||
A test script is available in `tests/local-test.sh` to setup a Drupal site | ||
with Drainpipe packages installed from your local checkout. | ||
|
||
Go to the directory above `drainpipe` and run the `tests/local-hest.sh` script | ||
to setup a new test site e.g. | ||
``` | ||
❯ pwd | ||
/home/justafish/repos/drainpipe | ||
❯ cd ../ | ||
``` | ||
|
||
If you previously created a test site, remove it: | ||
``` | ||
❯ cd drainpipe-test | ||
❯ ddev stop --remove-data --omit-snapshot | ||
❯ cd ../ | ||
``` | ||
|
||
Run the test script: | ||
``` | ||
❯ pwd | ||
/home/justafish/repos | ||
❯ ./drainpipe/tests/local-test.sh | ||
cd drainpipe-test | ||
``` |
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.