mirror of https://github.com/kcal-app/kcal.git
Update to Node 20
This commit is contained in:
parent
e25d55212b
commit
d77dba0468
|
@ -240,6 +240,7 @@ namespace PHPSTORM_META {
|
|||
'queue.worker' => \Illuminate\Queue\Worker::class,
|
||||
'redirect' => \Illuminate\Routing\Redirector::class,
|
||||
'redis' => \Illuminate\Redis\RedisManager::class,
|
||||
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
|
||||
'router' => \Illuminate\Routing\Router::class,
|
||||
'session' => \Illuminate\Session\SessionManager::class,
|
||||
'session.store' => \Illuminate\Session\Store::class,
|
||||
|
@ -481,6 +482,7 @@ namespace PHPSTORM_META {
|
|||
'queue.worker' => \Illuminate\Queue\Worker::class,
|
||||
'redirect' => \Illuminate\Routing\Redirector::class,
|
||||
'redis' => \Illuminate\Redis\RedisManager::class,
|
||||
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
|
||||
'router' => \Illuminate\Routing\Router::class,
|
||||
'session' => \Illuminate\Session\SessionManager::class,
|
||||
'session.store' => \Illuminate\Session\Store::class,
|
||||
|
@ -722,6 +724,7 @@ namespace PHPSTORM_META {
|
|||
'queue.worker' => \Illuminate\Queue\Worker::class,
|
||||
'redirect' => \Illuminate\Routing\Redirector::class,
|
||||
'redis' => \Illuminate\Redis\RedisManager::class,
|
||||
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
|
||||
'router' => \Illuminate\Routing\Router::class,
|
||||
'session' => \Illuminate\Session\SessionManager::class,
|
||||
'session.store' => \Illuminate\Session\Store::class,
|
||||
|
@ -963,6 +966,7 @@ namespace PHPSTORM_META {
|
|||
'queue.worker' => \Illuminate\Queue\Worker::class,
|
||||
'redirect' => \Illuminate\Routing\Redirector::class,
|
||||
'redis' => \Illuminate\Redis\RedisManager::class,
|
||||
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
|
||||
'router' => \Illuminate\Routing\Router::class,
|
||||
'session' => \Illuminate\Session\SessionManager::class,
|
||||
'session.store' => \Illuminate\Session\Store::class,
|
||||
|
@ -1204,6 +1208,7 @@ namespace PHPSTORM_META {
|
|||
'queue.worker' => \Illuminate\Queue\Worker::class,
|
||||
'redirect' => \Illuminate\Routing\Redirector::class,
|
||||
'redis' => \Illuminate\Redis\RedisManager::class,
|
||||
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
|
||||
'router' => \Illuminate\Routing\Router::class,
|
||||
'session' => \Illuminate\Session\SessionManager::class,
|
||||
'session.store' => \Illuminate\Session\Store::class,
|
||||
|
@ -1445,6 +1450,7 @@ namespace PHPSTORM_META {
|
|||
'queue.worker' => \Illuminate\Queue\Worker::class,
|
||||
'redirect' => \Illuminate\Routing\Redirector::class,
|
||||
'redis' => \Illuminate\Redis\RedisManager::class,
|
||||
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
|
||||
'router' => \Illuminate\Routing\Router::class,
|
||||
'session' => \Illuminate\Session\SessionManager::class,
|
||||
'session.store' => \Illuminate\Session\Store::class,
|
||||
|
@ -1686,6 +1692,7 @@ namespace PHPSTORM_META {
|
|||
'queue.worker' => \Illuminate\Queue\Worker::class,
|
||||
'redirect' => \Illuminate\Routing\Redirector::class,
|
||||
'redis' => \Illuminate\Redis\RedisManager::class,
|
||||
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
|
||||
'router' => \Illuminate\Routing\Router::class,
|
||||
'session' => \Illuminate\Session\SessionManager::class,
|
||||
'session.store' => \Illuminate\Session\Store::class,
|
||||
|
@ -1927,6 +1934,7 @@ namespace PHPSTORM_META {
|
|||
'queue.worker' => \Illuminate\Queue\Worker::class,
|
||||
'redirect' => \Illuminate\Routing\Redirector::class,
|
||||
'redis' => \Illuminate\Redis\RedisManager::class,
|
||||
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
|
||||
'router' => \Illuminate\Routing\Router::class,
|
||||
'session' => \Illuminate\Session\SessionManager::class,
|
||||
'session.store' => \Illuminate\Session\Store::class,
|
||||
|
@ -2168,6 +2176,7 @@ namespace PHPSTORM_META {
|
|||
'queue.worker' => \Illuminate\Queue\Worker::class,
|
||||
'redirect' => \Illuminate\Routing\Redirector::class,
|
||||
'redis' => \Illuminate\Redis\RedisManager::class,
|
||||
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
|
||||
'router' => \Illuminate\Routing\Router::class,
|
||||
'session' => \Illuminate\Session\SessionManager::class,
|
||||
'session.store' => \Illuminate\Session\Store::class,
|
||||
|
@ -2409,6 +2418,7 @@ namespace PHPSTORM_META {
|
|||
'queue.worker' => \Illuminate\Queue\Worker::class,
|
||||
'redirect' => \Illuminate\Routing\Redirector::class,
|
||||
'redis' => \Illuminate\Redis\RedisManager::class,
|
||||
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
|
||||
'router' => \Illuminate\Routing\Router::class,
|
||||
'session' => \Illuminate\Session\SessionManager::class,
|
||||
'session.store' => \Illuminate\Session\Store::class,
|
||||
|
@ -2650,6 +2660,7 @@ namespace PHPSTORM_META {
|
|||
'queue.worker' => \Illuminate\Queue\Worker::class,
|
||||
'redirect' => \Illuminate\Routing\Redirector::class,
|
||||
'redis' => \Illuminate\Redis\RedisManager::class,
|
||||
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
|
||||
'router' => \Illuminate\Routing\Router::class,
|
||||
'session' => \Illuminate\Session\SessionManager::class,
|
||||
'session.store' => \Illuminate\Session\Store::class,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
ARG MEDIA_LIBRARY_DEPS="jpegoptim optipng pngquant gifsicle"
|
||||
|
||||
FROM docker pull mcr.microsoft.com/devcontainers/php:8.2 AS base
|
||||
FROM php:8.2-fpm-alpine
|
||||
|
||||
ARG MEDIA_LIBRARY_DEPS
|
||||
|
||||
RUN apk add --no-cache --virtual \
|
||||
|
|
|
@ -22,12 +22,12 @@ class RecipeFactory extends Factory
|
|||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
$description = htmlspecialchars($this->faker->realText(500));
|
||||
$description = $this->faker->realText(500);
|
||||
$volumes = [1/4, 1/3, 1/2, 2/3, 3/4, 1, 1 + 1/2, 1 + 3/4, 2, 2 + 1/2, 3, 3 + 1/2, 4, 5];
|
||||
return [
|
||||
'name' => Words::randomWords(Arr::random(['npan', 'npn', 'anpn'])),
|
||||
'description' => "<p>{$description}</p>",
|
||||
'description_delta' => '{"ops":[{"insert":"' . htmlentities($description) . '\n"}]}"',
|
||||
'description_delta' => '{"ops":[{"insert":"' . $description . '\n"}]}',
|
||||
'time_prep' => $this->faker->numberBetween(0, 20),
|
||||
'time_cook' => $this->faker->numberBetween(0, 90),
|
||||
'source' => $this->faker->optional()->url,
|
||||
|
|
File diff suppressed because it is too large
Load Diff
22
package.json
22
package.json
|
@ -10,21 +10,21 @@
|
|||
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --config=node_modules/laravel-mix/setup/webpack.config.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/forms": "^0.4.0",
|
||||
"@tailwindcss/typography": "^0.5.1",
|
||||
"alpinejs": "^3.9.0",
|
||||
"autoprefixer": "^10.4.2",
|
||||
"axios": "^0.25.0",
|
||||
"@tailwindcss/forms": "^0.5.7",
|
||||
"@tailwindcss/typography": "^0.5.13",
|
||||
"alpinejs": "^3.13.10",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"axios": "^1.6.8",
|
||||
"cross-env": "^7.0",
|
||||
"laravel-mix": "^6.0.41",
|
||||
"laravel-mix": "^6.0.49",
|
||||
"lodash": "^4.17.21",
|
||||
"postcss-import": "^14.0.2",
|
||||
"quill": "^1.3.7",
|
||||
"postcss-import": "^16.1.0",
|
||||
"quill": "^2.0.1",
|
||||
"resolve-url-loader": "^5.0.0",
|
||||
"tailwindcss": "^3.0.22",
|
||||
"vue-template-compiler": "^2.6.14"
|
||||
"tailwindcss": "^3.4.3",
|
||||
"vue-template-compiler": "^2.7.16"
|
||||
},
|
||||
"dependencies": {
|
||||
"@shopify/draggable": "^1.0.0-beta.12"
|
||||
"@shopify/draggable": "^1.1.3"
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,12 @@
|
|||
/*!
|
||||
* The buffer module from node.js, for the browser.
|
||||
*
|
||||
* @author Feross Aboukhadijeh <http://feross.org>
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||||
|
||||
/**
|
||||
* @license
|
||||
* Lodash <https://lodash.com/>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -187,11 +187,11 @@
|
|||
<script type="text/javascript">
|
||||
|
||||
// Enforce inline (style-base) alignment.
|
||||
const AlignStyle = Quill.import('attributors/style/align');
|
||||
Quill.register(AlignStyle, true);
|
||||
const AlignStyle = Quill.default.import('attributors/style/align');
|
||||
Quill.default.register(AlignStyle, true);
|
||||
|
||||
// Activate Quill editor.
|
||||
const description = new Quill('.quill-editor', {
|
||||
const description = new Quill.default('.quill-editor', {
|
||||
modules: {
|
||||
toolbar: [
|
||||
[{ 'header': [1, 2, 3, 4, false] }],
|
||||
|
@ -209,7 +209,9 @@
|
|||
});
|
||||
try {
|
||||
description.setContents(JSON.parse(document.querySelector('input[name="description_delta"]').value));
|
||||
} catch (e) {}
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
}
|
||||
|
||||
// Activate ingredient sortable.
|
||||
const ingredientsSortable = new Draggable.Sortable(document.querySelector('.ingredients'), {
|
||||
|
|
Loading…
Reference in New Issue