Skip to content

Commit

Permalink
Version 3: Nova Stripe Package Complete Rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
nicodevs committed Jan 31, 2025
1 parent b18165a commit 9ea1477
Show file tree
Hide file tree
Showing 71 changed files with 1,584 additions and 3,097 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Laravel CI

on:
workflow_dispatch:
push:
branches: [main]
pull_request_target:
types: [labeled]
branches: [main]

jobs:
laravel:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [8.2]

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, pdo, bcmath, sqlite3
tools: composer

- name: Install dependencies
run: |
composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_LICENSE_KEY }}"
composer install --no-progress --prefer-dist
- name: Run lint
run: |
./vendor/bin/duster fix
./vendor/bin/duster lint
- name: Run tests
run: ./vendor/bin/pest
File renamed without changes.
File renamed without changes.
Binary file removed charges-detail.png
Binary file not shown.
Binary file removed charges-index.png
Binary file not shown.
53 changes: 21 additions & 32 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,40 +9,15 @@
"stripe"
],
"license": "MIT",
"authors": [
{
"name": "Samantha Geitz",
"email": "samantha@tighten.co"
},
{
"name": "Alison Kirk",
"email": "alison.kirk@tighten.co"
}
],
"repositories": [
{
"type": "composer",
"url": "https://nova.laravel.com"
}
],
"require": {
"php": "^7.4|^8.0|^8.1|^8.2|^8.3",
"stripe/stripe-php": ">=5.0"
},
"require-dev": {
"laravel/nova": "^4.0",
"orchestra/testbench": ">=3.6.x-dev",
"phpunit/phpunit": "9.5.*",
"tightenco/duster": "^0.3.2"
"php": "^8.1|^8.2|^8.3",
"stripe/stripe-php": ">=5.0",
"calebporzio/sushi": "^2.5"
},
"autoload": {
"psr-4": {
"Tighten\\NovaStripe\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tighten\\NovaStripe\\Tests\\": "tests"
"Tighten\\NovaStripe\\": "src/",
"Tighten\\NovaStripe\\Tests\\": "tests/"
}
},
"extra": {
Expand All @@ -55,9 +30,23 @@
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
"pestphp/pest-plugin": true
}
},
"minimum-stability": "dev",
"prefer-stable": true
"prefer-stable": true,
"require-dev": {
"orchestra/testbench": "^9.9",
"pestphp/pest": "^3.7",
"pestphp/pest-plugin-laravel": "^3.1",
"rector/rector": "^2.0",
"tightenco/duster": "^3.1",
"laravel/nova": "^4.0 || ^5.0"
},
"repositories": [
{
"type": "composer",
"url": "https://nova.laravel.com"
}
]
}
Binary file removed customers-detail.png
Binary file not shown.
Binary file removed customers-index.png
Binary file not shown.
1 change: 0 additions & 1 deletion dist/css/tool.css

This file was deleted.

1 change: 0 additions & 1 deletion dist/js/tool.js

This file was deleted.

90 changes: 0 additions & 90 deletions dist/lang/en.json

This file was deleted.

5 changes: 0 additions & 5 deletions dist/mix-manifest.json

This file was deleted.

4 changes: 0 additions & 4 deletions mix-manifest.json

This file was deleted.

33 changes: 0 additions & 33 deletions nova.mix.js

This file was deleted.

32 changes: 0 additions & 32 deletions package.json

This file was deleted.

19 changes: 0 additions & 19 deletions phpunit.xml.dist

This file was deleted.

15 changes: 15 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

declare(strict_types=1);

use Rector\Config\RectorConfig;

return RectorConfig::configure()
->withPaths([
__DIR__ . '/src',
__DIR__ . '/tests',
])
->withPhpSets()
->withTypeCoverageLevel(20)
->withDeadCodeLevel(20)
->withCodeQualityLevel(20);
3 changes: 0 additions & 3 deletions resources/css/tool.css

This file was deleted.

54 changes: 0 additions & 54 deletions resources/js/components/ColumnSelect.vue

This file was deleted.

Loading

0 comments on commit 9ea1477

Please sign in to comment.