Skip to content

Commit 95a0feb

Browse files
authored
[ADVAPP-2256] & [ADVAPP-2331] & [ADVAPP-2315] (#2228)
* chore: Update post-install and post-update commands to remove package-lock.json for filament-fullcalendar Signed-off-by: Kevin Ullyott <kevin.ullyott@canyongbs.com> * chore: Update pusher-js integration test server path in post-install script to work for widgets and portals install Signed-off-by: Kevin Ullyott <kevin.ullyott@canyongbs.com> * Update code formatting and copyright headers --------- Signed-off-by: Kevin Ullyott <kevin.ullyott@canyongbs.com> Co-authored-by: Orrison <6799341+Orrison@users.noreply.github.com>
1 parent e2fcdc7 commit 95a0feb

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,15 @@
168168
"post-install-cmd": [
169169
"@php -r \"if (file_exists('vendor/telnyx/telnyx-php/composer.lock')) { unlink('vendor/telnyx/telnyx-php/composer.lock'); }\"",
170170
"@php -r \"if (file_exists('vendor/talkroute/message-segment-calculator/tools/php-cs-fixer/composer.lock')) { unlink('vendor/talkroute/message-segment-calculator/tools/php-cs-fixer/composer.lock'); }\"",
171-
"@php -r \"if (file_exists('vendor/spatie/laravel-health/yarn.lock')) { unlink('vendor/spatie/laravel-health/yarn.lock'); }\""
171+
"@php -r \"if (file_exists('vendor/spatie/laravel-health/yarn.lock')) { unlink('vendor/spatie/laravel-health/yarn.lock'); }\"",
172+
"@php -r \"if (file_exists('vendor/saade/filament-fullcalendar/package-lock.json')) { unlink('vendor/saade/filament-fullcalendar/package-lock.json'); }\""
172173
],
173174
"post-update-cmd": [
174175
"@php artisan vendor:publish --tag=laravel-assets --ansi --force",
175176
"@php -r \"if (file_exists('vendor/telnyx/telnyx-php/composer.lock')) { unlink('vendor/telnyx/telnyx-php/composer.lock'); }\"",
176177
"@php -r \"if (file_exists('vendor/talkroute/message-segment-calculator/tools/php-cs-fixer/composer.lock')) { unlink('vendor/talkroute/message-segment-calculator/tools/php-cs-fixer/composer.lock'); }\"",
177-
"@php -r \"if (file_exists('vendor/spatie/laravel-health/yarn.lock')) { unlink('vendor/spatie/laravel-health/yarn.lock'); }\""
178+
"@php -r \"if (file_exists('vendor/spatie/laravel-health/yarn.lock')) { unlink('vendor/spatie/laravel-health/yarn.lock'); }\"",
179+
"@php -r \"if (file_exists('vendor/saade/filament-fullcalendar/package-lock.json')) { unlink('vendor/saade/filament-fullcalendar/package-lock.json'); }\""
178180
],
179181
"post-root-package-install": [
180182
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""

npm-postinstall.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ console.log('Running NPM Post Install...');
1111
// This file is only used for pusher-js development and causes false
1212
// positive security vulnerabilities in our dependency scans
1313
const pusherLockFile = path.join(
14-
__dirname,
14+
process.cwd(),
1515
'node_modules',
1616
'pusher-js',
1717
'integration_tests_server',

0 commit comments

Comments
 (0)