Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename #9

Merged
merged 1 commit into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
os: [ ubuntu-latest, windows-latest ]
php: [ 8.2, 8.3 ]
laravel: [ 10.*, 11.* ]
laravel: [ 11.* ]
stability: [ prefer-lowest, prefer-stable ]

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
Expand Down
4 changes: 2 additions & 2 deletions bin/build.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as esbuild from 'esbuild';

esbuild.build({
entryPoints: ['./resources/js/filament-json-field.js'],
outfile: './dist/filament-json-field.js',
entryPoints: ['./resources/js/laravel-filament-json-field.js'],
outfile: './dist/laravel-filament-json-field.js',
bundle: true,
mainFields: ['module', 'main'],
platform: 'browser',
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "codebar-ag/filament-json-field",
"description": "This is my package filament-json-field",
"name": "codebar-ag/laravel-filament-json-field",
"description": "This is my package laravel-filament-json-field",
"keywords": [
"CodebarAg",
"laravel",
"filament-json-field"
"laravel-filament-json-field"
],
"homepage": "https://github.com/codebar-ag/filament-json-field",
"homepage": "https://github.com/codebar-ag/laravel-filament-json-field",
"license": "MIT",
"authors": [
{
Expand Down Expand Up @@ -56,7 +56,7 @@
},
"scripts": {
"post-autoload-dump": "@composer run prepare",
"clear": "@php vendor/bin/testbench package:purge-filament-json-field --ansi",
"clear": "@php vendor/bin/testbench package:purge-laravel-filament-json-field --ansi",
"prepare": "@php vendor/bin/testbench package:discover --ansi",
"build": [
"@composer run prepare",
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions src/FilamentJsonFieldServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ class FilamentJsonFieldServiceProvider extends PackageServiceProvider
public function configurePackage(Package $package): void
{
$package
->name('filament-json-field')
->name('laravel-filament-json-field')
->hasViews();
}

public function packageBooted()
{
FilamentAsset::register([
Css::make('filament-json-field', __DIR__.'/../dist/filament-json-field.css'),
Js::make('filament-json-field', __DIR__.'/../dist/filament-json-field.js'),
], 'filament-json-field');
Css::make('laravel-filament-json-field', __DIR__.'/../dist/laravel-filament-json-field.css'),
Js::make('laravel-filament-json-field', __DIR__.'/../dist/laravel-filament-json-field.js'),
], 'laravel-filament-json-field');
}
}
2 changes: 1 addition & 1 deletion src/Forms/Components/JsonInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class JsonInput extends Field
use HasLineNumbers;
use HasLineWrapping;

protected string $view = 'filament-json-field::forms.components.json-input';
protected string $view = 'laravel-filament-json-field::forms.components.json-input';

public function setUp(): void
{
Expand Down
2 changes: 1 addition & 1 deletion src/Infolists/Components/JsonEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ class JsonEntry extends Entry
use HasLineNumbers;
use HasLineWrapping;

protected string $view = 'filament-json-field::infolists.components.json-entry';
protected string $view = 'laravel-filament-json-field::infolists.components.json-entry';
}
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function getEnvironmentSetUp($app)
config()->set('database.default', 'testing');

/*
$migration = include __DIR__.'/../database/migrations/create_filament-json-field_table.php.stub';
$migration = include __DIR__.'/../database/migrations/create_laravel-filament-json-field_table.php.stub';
$migration->up();
*/
}
Expand Down
Loading