chore(deps): update acorn to 2.0.0-alpha.0

This commit is contained in:
QWp6t
2021-03-31 04:12:35 -07:00
parent b4e63a5922
commit f19e1a52a6
4 changed files with 20 additions and 22 deletions

View File

@@ -40,7 +40,7 @@
}, },
"require": { "require": {
"php": "^7.3|^8.0", "php": "^7.3|^8.0",
"roots/acorn": "dev-main" "roots/acorn": "2.0.0-alpha.0"
}, },
"require-dev": { "require-dev": {
"filp/whoops": "^2.9", "filp/whoops": "^2.9",

20
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "c46b9828c77f0d325fe2a0e54271c346", "content-hash": "6df33c071d30bb6f8425603747516212",
"packages": [ "packages": [
{ {
"name": "brick/math", "name": "brick/math",
@@ -1874,16 +1874,16 @@
}, },
{ {
"name": "roots/acorn", "name": "roots/acorn",
"version": "dev-main", "version": "2.0.0-alpha.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/roots/acorn.git", "url": "https://github.com/roots/acorn.git",
"reference": "70452f2cf768aaea7c452df32db27a1162e7c515" "reference": "eb238de53431d300b567a295962170831581b43c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/roots/acorn/zipball/70452f2cf768aaea7c452df32db27a1162e7c515", "url": "https://api.github.com/repos/roots/acorn/zipball/eb238de53431d300b567a295962170831581b43c",
"reference": "70452f2cf768aaea7c452df32db27a1162e7c515", "reference": "eb238de53431d300b567a295962170831581b43c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1916,13 +1916,13 @@
"pestphp/pest": "^1.0", "pestphp/pest": "^1.0",
"phpcompatibility/php-compatibility": "^9.3", "phpcompatibility/php-compatibility": "^9.3",
"roave/security-advisories": "dev-master", "roave/security-advisories": "dev-master",
"spatie/pest-plugin-snapshots": "^1.0",
"spatie/temporary-directory": "^1.3", "spatie/temporary-directory": "^1.3",
"squizlabs/php_codesniffer": "^3.5" "squizlabs/php_codesniffer": "^3.5"
}, },
"suggest": { "suggest": {
"filp/whoops": "Required for friendly error pages in development (^2.9)." "filp/whoops": "Required for friendly error pages in development (^2.9)."
}, },
"default-branch": true,
"type": "library", "type": "library",
"autoload": { "autoload": {
"psr-4": { "psr-4": {
@@ -1956,7 +1956,7 @@
"support": { "support": {
"forum": "https://discourse.roots.io/", "forum": "https://discourse.roots.io/",
"issues": "https://github.com/roots/acorn/issues", "issues": "https://github.com/roots/acorn/issues",
"source": "https://github.com/roots/acorn/tree/main" "source": "https://github.com/roots/acorn/tree/2.0.0-alpha.0"
}, },
"funding": [ "funding": [
{ {
@@ -1968,7 +1968,7 @@
"type": "patreon" "type": "patreon"
} }
], ],
"time": "2021-02-14T04:52:44+00:00" "time": "2021-03-31T10:47:07+00:00"
}, },
{ {
"name": "roots/support", "name": "roots/support",
@@ -4237,9 +4237,7 @@
], ],
"aliases": [], "aliases": [],
"minimum-stability": "dev", "minimum-stability": "dev",
"stability-flags": { "stability-flags": [],
"roots/acorn": 20
},
"prefer-stable": true, "prefer-stable": true,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {

View File

@@ -1,5 +1,7 @@
<?php <?php
use function Roots\public_path;
return [ return [
/* /*
@@ -21,22 +23,20 @@ return [
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Manifests contain lists of assets that are referenced by static keys that | Manifests contain lists of assets that are referenced by static keys that
| point to dynamic locations, such as a cache-busted location. A manifest | point to dynamic locations, such as a cache-busted location. We currently
| may employ any number of strategies for determining absolute local and | support two types of manifest:
| remote paths to assets.
| |
| Supported Strategies: "relative" | assets: key-value pairs to match assets to their revved counterparts
| |
| Note: We will add first-party support for more strategies in the future. | bundles: a series of entrypoints for loading bundles
| |
*/ */
'manifests' => [ 'manifests' => [
'theme' => [ 'theme' => [
'strategy' => 'relative', 'path' => get_theme_file_path('public'),
'path' => get_theme_file_path('/public'), 'url' => get_theme_file_uri('public'),
'uri' => get_theme_file_uri('/public'), 'assets' => public_path('mix-manifest.json'),
'manifest' => get_theme_file_path('/public/mix-manifest.json'),
] ]
] ]
]; ];

View File

@@ -79,6 +79,6 @@ return [
*/ */
'directives' => [ 'directives' => [
'asset' => Roots\Acorn\Assets\AssetDirective::class, // 'foo' => App\View\FooDirective::class,
], ],
]; ];