-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from wp-graphql/poc-3rd-party-plugin
refactor: application store architecture
- Loading branch information
Showing
67 changed files
with
22,435 additions
and
235 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,5 @@ | ||
--- | ||
"wpgraphql-ide": major | ||
--- | ||
|
||
Refactored stores, including renaming 'wpgraphql-ide' to 'wpgraphql-ide/app', and adding additional stores such as 'wpgraphql-ide/editor-toolbar |
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Pre-Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- beta | ||
|
||
jobs: | ||
pre-release: | ||
name: Pre-Release | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.x | ||
cache: npm | ||
|
||
- name: Install Dependencies | ||
run: npm ci | ||
|
||
- name: Enter Prerelease Mode | ||
run: npx changeset pre enter beta | ||
|
||
- name: Create Prerelease Version | ||
run: npm run version | ||
|
||
- name: Commit Changes | ||
run: | | ||
git config --global user.name "github-actions[bot]" | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
git add . | ||
git commit -m "chore: prerelease version bump" | ||
- name: Push Changes | ||
run: | | ||
git push --follow-tags | ||
- name: Build and Publish | ||
run: npm run release | ||
|
||
- name: Exit Prerelease Mode | ||
run: npx changeset pre exit | ||
|
||
- name: Upload Release Artifact | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: "wpgraphql-ide.zip" | ||
asset_name: wpgraphql-ide.zip | ||
tag: ${{ format('v{0}', fromJSON(steps.changesets.outputs.publishedPackages)[0].version) }} | ||
overwrite: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Hidden files on Windows machines | ||
.DS_Store | ||
|
||
# Hidden files for users using JetBrains IDEs (PHPStorm, WebStorm, etc) | ||
.idea | ||
|
||
# Hidden files for users using VSCode as their IDE. | ||
.vscode | ||
|
||
# Composer dependencies. These should be installed on the users machine | ||
vendor | ||
|
||
# We _do_ want to version our tests! | ||
!/tests | ||
|
||
# PHPCS cached files. | ||
/tests/_output/*.json | ||
|
||
# Directory used to generate the .zip for deploying to WordPress.org | ||
plugin-build | ||
|
||
# Output of testing code coverage | ||
coverage/* | ||
|
||
# Generated Schema used in some tooling. Versioned Schema is uploaded as a Release artifact to Github. | ||
schema.graphql | ||
|
||
# Used to override phpcs.xml.dist | ||
phpcs.xml | ||
|
||
# Config for phpunit. Used to override phpunit.xml.dist | ||
phpunit.xml | ||
|
||
# Files output by Docker | ||
docker-output | ||
|
||
# JavaScript dependencies. Should be installed locally on the machine, not versioned | ||
node_modules | ||
|
||
# Config for Codeception. Used to override the codeception.dist.yml | ||
codeception.yml | ||
|
||
# Used to send code coverage to Coveralls | ||
php-coveralls.phar | ||
|
||
# Log files | ||
.log | ||
|
||
# File used for Codeception to track test coverage | ||
c3.php | ||
|
||
# Used for setting local environment variables when testing | ||
.env | ||
.env.testing | ||
|
||
# output from e2e tests | ||
artifacts | ||
|
||
# build/release artifacts | ||
build/ | ||
third-party-plugin/ | ||
third-party-plugin.php | ||
/test-results/ | ||
/playwright-report/ | ||
/blob-report/ | ||
/playwright/.cache/ | ||
/@wpgraphql/ |
Oops, something went wrong.