Skip to content

Commit

Permalink
module updates
Browse files Browse the repository at this point in the history
migrate to the marketplace module components
add runtime module and update code accordingly
update workflows for npmrc token insertion
  • Loading branch information
circlecube committed Aug 23, 2023
1 parent 8b1c0b3 commit 0808fe6
Show file tree
Hide file tree
Showing 21 changed files with 369 additions and 899 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cypress-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ jobs:
- name: Install PHP Dependencies
run: composer install --no-progress --no-dev --optimize-autoloader --prefer-dist

- name: Setup Registry
run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.NEWFOLD_READ_PACKAGES }}" > .npmrc

- name: NPM Install
run: npm install --legacy-peer-deps

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ jobs:
- name: Install PHP Dependencies
run: composer install --no-progress --no-dev --optimize-autoloader --prefer-dist

- name: Setup Registry
run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.NEWFOLD_READ_PACKAGES }}" > .npmrc

- name: NPM Install
run: npm install --legacy-peer-deps

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/upload-artifact-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,15 @@ jobs:
npm --version
- name: Validate composer.json and composer.lock
if: ${{ github.repository == 'newfold-labs/wp-plugin-hostgator' }}
run: composer validate

- name: Install PHP Dependencies
run: composer install --no-progress --no-dev --optimize-autoloader --prefer-dist

- name: Setup Registry
run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.NEWFOLD_READ_PACKAGES }}" > .npmrc

- name: NPM Install
run: npm install --legacy-peer-deps

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/upload-asset-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ jobs:
- name: Install PHP Dependencies
run: composer install --no-progress --no-dev --optimize-autoloader --prefer-dist

- name: Setup Registry
run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.NEWFOLD_READ_PACKAGES }}" > .npmrc

- name: NPM Install
run: npm install --legacy-peer-deps

Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@newfold-labs:registry=https://npm.pkg.github.com/
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@
},
"require": {
"doctrine/inflector": "1.2.0 as 1.3.1",
"newfold-labs/wp-module-coming-soon": "^1.1.3",
"newfold-labs/wp-module-coming-soon": "^1.1.8",
"newfold-labs/wp-module-data": "^2.4.3",
"newfold-labs/wp-module-loader": "^1.0.10",
"newfold-labs/wp-module-marketplace": "^1.5.1",
"newfold-labs/wp-module-notifications": "^1.1.2",
"newfold-labs/wp-module-marketplace": "^2.0.0-beta.1",
"newfold-labs/wp-module-notifications": "^1.1.3",
"newfold-labs/wp-module-runtime": "^1.0.2",
"newfold-labs/wp-module-secure-passwords": "^1.1",
"newfold-labs/wp-module-sso": "^1.0.4",
"wp-forge/wp-update-handler": "^1.0",
Expand Down
Loading

0 comments on commit 0808fe6

Please sign in to comment.