Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Release/4.0.0 #341

Merged
merged 56 commits into from
Jul 7, 2023
Merged

Release/4.0.0 #341

merged 56 commits into from
Jul 7, 2023

Conversation

darylldoyle
Copy link
Collaborator

@darylldoyle darylldoyle commented Jul 6, 2023

4.0.0 release

Release Issue Milestone
#340 https://github.com/10up/wp-local-docker-v2/milestone/12

To Test

  • Checkout this branch
    • git checkout release/4.0.0
  • install the dependencies
    • npm i
  • Try out the basic environment commands:
    • npm run 10updocker create
    • npm run 10updocker restart
    • npm run 10updocker remove
  • Try out the snapshot commands:
    • npm run 10updocker wpsnapshots search 10up
    • npm run 10updocker snapshots search 10up
    • npm run 10updocker wp snapshots search 10up
  • Try out the certificate generation commands:
    • npm run 10updocker cert generate <domain>
Tyler Cherpak and others added 30 commits November 16, 2021 14:21
…ners, instead its better to run down && up to make certain we use the latest docker-compose or config changes
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 12.2.0 to 12.3.2.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](markdown-it/markdown-it@12.2.0...12.3.2)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8.
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](minimistjs/minimist@v1.2.5...v1.2.8)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Fix error when adding host file entries

```
Error: Command failed: /Users/admin/Library/Caches/fnm_multishells/2098_1687516908456/bin/node /Users/admin/Library/Application Support/fnm/node-versions/v18.16.0/installation/lib/node_modules/wp-local-docker/hosts.js add gus.local
node:internal/modules/cjs/loader:1078
  throw err;
  ^

Error: Cannot find module '/Users/admin/Library/Application'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
    at Module._load (node:internal/modules/cjs/loader:920:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.16.0

    at /Users/admin/Library/Application Support/fnm/node-versions/v18.16.0/installation/lib/node_modules/wp-local-docker/node_modules/sudo-prompt/index.js:390:27
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
  code: 1
}
⚠ Something went wrong adding host file entries. You may need to add the /etc/hosts entries manually.
```
Fix error when removing host file entries

```
Error: Command failed: /Users/admin/Library/Caches/fnm_multishells/2098_1687516908456/bin/node /Users/admin/Library/Application Support/fnm/node-versions/v18.16.0/installation/lib/node_modules/wp-local-docker/hosts.js remove gus.local
node:internal/modules/cjs/loader:1078
  throw err;
  ^

Error: Cannot find module '/Users/admin/Library/Application'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
    at Module._load (node:internal/modules/cjs/loader:920:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.16.0

    at /Users/admin/Library/Application Support/fnm/node-versions/v18.16.0/installation/lib/node_modules/wp-local-docker/node_modules/sudo-prompt/index.js:390:27
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
  code: 1
}
⚠ Something went wrong deleting host file entries. There may still be remnants in /etc/hosts
```
… release/4.0.0

# Conflicts:
#	src/commands/init/inquirer.js
@darylldoyle darylldoyle added this to the 4.0.0 milestone Jul 6, 2023
@darylldoyle darylldoyle self-assigned this Jul 6, 2023
@tlovett1 tlovett1 self-requested a review July 6, 2023 23:30
@darylldoyle darylldoyle merged commit 14cf19e into develop Jul 7, 2023
1 check passed
@darylldoyle darylldoyle deleted the release/4.0.0 branch July 7, 2023 07:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
9 participants