diff --git a/.distignore b/.distignore new file mode 100644 index 0000000000..3d711afd2d --- /dev/null +++ b/.distignore @@ -0,0 +1,40 @@ +/.wordpress-org +/.git +/.github +/node_modules +/src +/tests +/bin +/docs +/build +/.idea +/.vscode +/assets/src + +.distignore +.gitignore +/**/.DS_Store +/**/*.LICENCE.txt +package.json +package-lock.json +composer.json +composer.lock +README.md +CHANGELOG.md +LICENSE +phpcs.xml.dist +phpunit.xml.dist +phpunit.xml +.editorconfig +.eslintrc +.php_cs +.phpunit.result.cache +.prettierrc.js +appsero.json +CONTRIBUTING.md +DEVELOPER.md +event.json +postcss.config.js +webpack.config.js +tailwind.config.js +/ diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000000..52c303fec1 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,44 @@ +name: Deploy and Release Plugin to WP.org + +on: + push: + tags: + - "*" +jobs: + releaseToWPOrg: + name: Release to WordPress.org + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Setup PHP 7.4 + uses: shivammathur/setup-php@v2 + with: + php-version: '7.4' + coverage: none + tools: composer:v2 + - name: Build + run: | + composer install --no-dev + npm install + npm run build + - name: Install SVN ( Subversion ) + run: | + sudo apt-get update + sudo apt-get install subversion + - name: WordPress Plugin Deploy + id: deploy + uses: 10up/action-wordpress-plugin-deploy@stable + with: + generate-zip: true + dry-run: ${{ env.DRY_RUN }} + env: + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SLUG: dokan-lite + - name: Create GitHub release + uses: softprops/action-gh-release@v2 + with: + files: ${{github.workspace}}/${{ github.event.repository.name }}.zip + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.wordpress-org/banner-1544x500.png b/.wordpress-org/banner-1544x500.png new file mode 100644 index 0000000000..0274dbae34 Binary files /dev/null and b/.wordpress-org/banner-1544x500.png differ diff --git a/.wordpress-org/banner-772x250.png b/.wordpress-org/banner-772x250.png new file mode 100644 index 0000000000..0274dbae34 Binary files /dev/null and b/.wordpress-org/banner-772x250.png differ diff --git a/.wordpress-org/icon-128x128.gif b/.wordpress-org/icon-128x128.gif new file mode 100644 index 0000000000..664e092ae9 Binary files /dev/null and b/.wordpress-org/icon-128x128.gif differ diff --git a/.wordpress-org/icon-256x256.gif b/.wordpress-org/icon-256x256.gif new file mode 100644 index 0000000000..664e092ae9 Binary files /dev/null and b/.wordpress-org/icon-256x256.gif differ diff --git a/.wordpress-org/screenshot-1.gif b/.wordpress-org/screenshot-1.gif new file mode 100644 index 0000000000..0b7e6734e5 Binary files /dev/null and b/.wordpress-org/screenshot-1.gif differ diff --git a/.wordpress-org/screenshot-10.jpg b/.wordpress-org/screenshot-10.jpg new file mode 100644 index 0000000000..57c629833e Binary files /dev/null and b/.wordpress-org/screenshot-10.jpg differ diff --git a/.wordpress-org/screenshot-11.jpg b/.wordpress-org/screenshot-11.jpg new file mode 100644 index 0000000000..ce15062005 Binary files /dev/null and b/.wordpress-org/screenshot-11.jpg differ diff --git a/.wordpress-org/screenshot-12.jpg b/.wordpress-org/screenshot-12.jpg new file mode 100644 index 0000000000..f6d36912d9 Binary files /dev/null and b/.wordpress-org/screenshot-12.jpg differ diff --git a/.wordpress-org/screenshot-13.jpg b/.wordpress-org/screenshot-13.jpg new file mode 100644 index 0000000000..38113985d4 Binary files /dev/null and b/.wordpress-org/screenshot-13.jpg differ diff --git a/.wordpress-org/screenshot-14.jpg b/.wordpress-org/screenshot-14.jpg new file mode 100644 index 0000000000..e0720f7ac6 Binary files /dev/null and b/.wordpress-org/screenshot-14.jpg differ diff --git a/.wordpress-org/screenshot-15.jpg b/.wordpress-org/screenshot-15.jpg new file mode 100644 index 0000000000..4f3a631073 Binary files /dev/null and b/.wordpress-org/screenshot-15.jpg differ diff --git a/.wordpress-org/screenshot-16.jpg b/.wordpress-org/screenshot-16.jpg new file mode 100644 index 0000000000..659c5273dd Binary files /dev/null and b/.wordpress-org/screenshot-16.jpg differ diff --git a/.wordpress-org/screenshot-17.jpg b/.wordpress-org/screenshot-17.jpg new file mode 100644 index 0000000000..47b08f6593 Binary files /dev/null and b/.wordpress-org/screenshot-17.jpg differ diff --git a/.wordpress-org/screenshot-18.jpg b/.wordpress-org/screenshot-18.jpg new file mode 100644 index 0000000000..a205b61b84 Binary files /dev/null and b/.wordpress-org/screenshot-18.jpg differ diff --git a/.wordpress-org/screenshot-19.jpg b/.wordpress-org/screenshot-19.jpg new file mode 100644 index 0000000000..3ea9cc8b4f Binary files /dev/null and b/.wordpress-org/screenshot-19.jpg differ diff --git a/.wordpress-org/screenshot-2.gif b/.wordpress-org/screenshot-2.gif new file mode 100644 index 0000000000..da80dd40d0 Binary files /dev/null and b/.wordpress-org/screenshot-2.gif differ diff --git a/.wordpress-org/screenshot-3.gif b/.wordpress-org/screenshot-3.gif new file mode 100644 index 0000000000..af3b3702c8 Binary files /dev/null and b/.wordpress-org/screenshot-3.gif differ diff --git a/.wordpress-org/screenshot-4.gif b/.wordpress-org/screenshot-4.gif new file mode 100644 index 0000000000..4271607a39 Binary files /dev/null and b/.wordpress-org/screenshot-4.gif differ diff --git a/.wordpress-org/screenshot-5.gif b/.wordpress-org/screenshot-5.gif new file mode 100644 index 0000000000..e43e1005bc Binary files /dev/null and b/.wordpress-org/screenshot-5.gif differ diff --git a/.wordpress-org/screenshot-6.gif b/.wordpress-org/screenshot-6.gif new file mode 100644 index 0000000000..c4dcf4d37a Binary files /dev/null and b/.wordpress-org/screenshot-6.gif differ diff --git a/.wordpress-org/screenshot-7.gif b/.wordpress-org/screenshot-7.gif new file mode 100644 index 0000000000..2a680f411e Binary files /dev/null and b/.wordpress-org/screenshot-7.gif differ diff --git a/.wordpress-org/screenshot-8.gif b/.wordpress-org/screenshot-8.gif new file mode 100644 index 0000000000..4e6c25ce82 Binary files /dev/null and b/.wordpress-org/screenshot-8.gif differ diff --git a/.wordpress-org/screenshot-9.gif b/.wordpress-org/screenshot-9.gif new file mode 100644 index 0000000000..f9c614359a Binary files /dev/null and b/.wordpress-org/screenshot-9.gif differ