Skip to content

Commit

Permalink
WIP - NPM & Composer Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
timnolte committed Nov 16, 2023
1 parent 0676abe commit 70c2418
Show file tree
Hide file tree
Showing 10 changed files with 30,205 additions and 12,943 deletions.
3 changes: 1 addition & 2 deletions .devcontainer/devcontainer.json
Expand Up @@ -4,7 +4,6 @@
"dockerComposeFile": "../docker-compose.yml",
"service": "app",
"mounts": ["source=dind-var-lib-docker,target=/var/lib/docker,type=volume"],
//"workspaceMount": "source=${localWorkspaceFolder}/openid-connect-generic,target=/workspaces,type=bind,consistency=delegated",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",

"customizations": {
Expand All @@ -23,7 +22,7 @@
"username": "wp_php"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "14"
"version": "16"
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"dockerDashComposeVersion": "v2"
Expand Down
4 changes: 3 additions & 1 deletion .devcontainer/setup.sh
Expand Up @@ -21,7 +21,9 @@ COMPOSER_ALLOW_XDEBUG=0 COMPOSER_MEMORY_LIMIT=-1 composer install

# Install NPM dependencies.
cd "${PLUGIN_DIR}"
npm ci
if [ ! -d "node_modules" ]; then
npm ci
fi

# Setup the WordPress environment.
cd "/app"
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -17,6 +17,7 @@ phpcs.xml
phpstan.neon
phpunit.xml
.phpunit.result.cache
clover.xml

# OS or Editor folders
.DS_Store
Expand All @@ -31,7 +32,6 @@ nbproject
*.sublime-project
*.sublime-workspace
.idea
clover.xml

# Dreamweaver added files
_notes
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
14
16
244 changes: 134 additions & 110 deletions composer.lock

Large diffs are not rendered by default.

65 changes: 0 additions & 65 deletions dev-cli

This file was deleted.

48 changes: 0 additions & 48 deletions docker-compose.ci.yml

This file was deleted.

2 changes: 1 addition & 1 deletion docker-compose.yml
Expand Up @@ -54,8 +54,8 @@ services:
ports:
- 3306:3306
environment:
MYSQL_DATABASE: wordpress
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
volumes:
Expand Down

0 comments on commit 70c2418

Please sign in to comment.