10000 #118 Switch to Vite (#121) · jamesmorrison/paste.laravel.io@fefb213 · GitHub
[go: up one dir, main page]

Skip to content
{"payload":{"commit":{"oid":"fefb213b5f83c98dbc93be6aafaa1ee65522d200","url":"/jamesmorrison/paste.laravel.io/commit/fefb213b5f83c98dbc93be6aafaa1ee65522d200","authoredDate":"2022-09-08T09:12:41.000+02:00","committedDate":"2022-09-08T09:12:41.000+02:00","shortMessage":null,"shortMessageMarkdown":"\u003cdiv\u003e\n\u003ca class=\"issue-link js-issue-link\" data-error-text=\"Failed to load title\" data-id=\"1327326891\" data-permission-text=\"Title is private\" data-url=\"https://github.com/laravelio/paste.laravel.io/issues/118\" data-hovercard-type=\"issue\" data-hovercard-url=\"/laravelio/paste.laravel.io/issues/118/hovercard\" href=\"https://github.com/laravelio/paste.laravel.io/issues/118\"\u003elaravelio#118\u003c/a\u003e Switch to Vite (\u003ca class=\"issue-link js-issue-link\" data-error-text=\"Failed to load title\" data-id=\"1357676321\" data-permission-text=\"Title is private\" data-url=\"https://github.com/laravelio/paste.laravel.io/issues/121\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"/laravelio/paste.laravel.io/pull/121/hovercard\" href=\"https://github.com/laravelio/paste.laravel.io/pull/121\"\u003elaravelio#121\u003c/a\u003e)\u003c/div\u003e","shortMessageMarkdownLink":null,"bodyMessageHtml":"* Move to Vite\n\n* Apply StyleCI fixes manually\n\n* Fix unable to resolve asset","authors":[{"login":"thinkverse","displayName":"Kim Hallberg","avatarUrl":"https://avatars.githubusercontent.com/u/2221746?v=4","path":"/thinkverse","isGitHub":false}],"committerAttribution":false,"committer":{"login":"web-flow","displayName":"GitHub","avatarUrl":"https://avatars.githubusercontent.com/u/19864447?v=4","path":"/web-flow","isGitHub":true},"parents":["7bcb9db3fcf3ed83b98ec72216cf85d19f1f496b"],"globalRelayId":"C_kwDOKpA7ctoAKGZlZmIyMTNiNWY4M2M5OGRiYzkzYmU2YWFmYWExZWU2NTUyMmQyMDA","sha1":"7bcb9db3fcf3ed83b98ec72216cf85d19f1f496b","sha2":"fefb213b5f83c98dbc93be6aafaa1ee65522d200"},"currentUser":null,"repo":{"id":714095474,"defaultBranch":"main","name":"paste.laravel.io","ownerLogin":"jamesmorrison","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-11-03T22:54:33.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/141750?v=4","public":true,"private":false,"isOrgOwned":false},"diffEntryData":[{"diffLines":[{"stylingDirective":null,"type":"HUNK","blobLineNumber":44,"text":"@@ -45,5 +45,5 @@ PUSHER_APP_KEY=","html":"@@ -45,5 +45,5 @@ PUSHER_APP_KEY=","displayNoNewLineWarning":false,"position":0,"left":44,"right":44},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":45,"text":" PUSHER_APP_SECRET=","html":" \u003cspan class=\"pl-v\"\u003ePUSHER_APP_SECRET\u003c/span\u003e\u003cspan class=\"pl-k\"\u003e=\u003c/span\u003e","displayNoNewLineWarning":false,"position":1,"left":45,"right":45},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":46,"text":" PUSHER_APP_CLUSTER=mt1","html":" \u003cspan class=\"pl-v\"\u003ePUSHER_APP_CLUSTER\u003c/span\u003e\u003cspan class=\"pl-k\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003emt1\u003c/span\u003e","displayNoNewLineWarning":false,"position":2,"left":46,"right":46},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":47,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":3,"left":47,"right":47},{"stylingDirective":null,"type":"DELETION","blobLineNumber":48,"text":"-MIX_PUSHER_APP_KEY=\"${PUSHER_APP_KEY}\"","html":"-\u003cspan class=\"pl-v x x-first x-last\"\u003eMIX_PUSHER_APP_KEY\u003c/span\u003e\u003cspan class=\"pl-k\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003e\u003cspan class=\"pl-pse\"\u003e${\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003ePUSHER_APP_KEY\u003c/span\u003e\u003cspan class=\"pl-pse\"\u003e}\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":4,"left":48,"right":47},{"stylingDirective":null,"type":"DELETION","blobLineNumber":49,"text":"-MIX_PUSHER_APP_CLUSTER=\"${PUSHER_APP_CLUSTER}\"","html":"-\u003cspan class=\"pl-v x x-first x-last\"\u003eMIX_PUSHER_APP_CLUSTER\u003c/span\u003e\u003cspan class=\"pl-k\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003e\u003cspan class=\"pl-pse\"\u003e${\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003ePUSHER_APP_CLUSTER\u003c/span\u003e\u003cspan class=\"pl-pse\"\u003e}\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":5,"left":49,"right":47},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":48,"text":"+VITE_PUSHER_APP_KEY=\"${PUSHER_APP_KEY}\"","html":"+\u003cspan class=\"pl-v x x-first x-last\"\u003eVITE_PUSHER_APP_KEY\u003c/span\u003e\u003cspan class=\"pl-k\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003e\u003cspan class=\"pl-pse\"\u003e${\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003ePUSHER_APP_KEY\u003c/span\u003e\u003cspan class=\"pl-pse\"\u003e}\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":6,"left":49,"right":48},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":49,"text":"+VITE_PUSHER_APP_CLUSTER=\"${PUSHER_APP_CLUSTER}\"","html":"+\u003cspan class=\"pl-v x x-first x-last\"\u003eVITE_PUSHER_APP_CLUSTER\u003c/span\u003e\u003cspan class=\"pl-k\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003e\u003cspan class=\"pl-pse\"\u003e${\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003ePUSHER_APP_CLUSTER\u003c/span\u003e\u003cspan class=\"pl-pse\"\u003e}\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":7,"left":49,"right":49}],"diffNumber":0,"diffSize":"0 Bytes","isBinary":false,"isTooBig":false,"collapsed":false,"isSubmodule":false,"lineCount":49,"linesChanged":4,"newTreeEntry":{"lineCount":49,"path":".env.example","mode":100644,"isGenerated":false},"oldTreeEntry":{"lineCount":0,"path":".env.example","mode":100644},"linesAdded":2,"linesDeleted":2,"path":".env.example","pathDigest":"a3046da0d15a27e89f2afe639b25748a7ad4d9290af3e7b1b6c1a5533c8f0a8c","status":"MODIFIED","truncatedReason":null,"oldOid":"7bcb9db3fcf3ed83b98ec72216cf85d19f1f496b","newOid":"fefb213b5f83c98dbc93be6aafaa1ee65522d200","copilotChatReference":null,"deletedSha":"7bcb9db3fcf3ed83b98ec72216cf85d19f1f496b","canToggleRichDiff":false,"defaultToRichDiff":false,"proseDifffHtml":null,"renderInfo":null,"dependencyDiffPath":null,"submodule":null},{"diffLines":[{"stylingDirective":null,"type":"HUNK","blobLineNumber":23,"text":"@@ -24,7 +24,7 @@ jobs:","html":"@@ -24,7 +24,7 @@ jobs:","displayNoNewLineWarning":false,"position":0,"left":23,"right":23},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":24,"text":" run: npm ci","html":" \u003cspan class=\"pl-ent\"\u003erun\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003enpm ci\u003c/span\u003e","displayNoNewLineWarning":false,"position":1,"left":24,"right":24},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":25,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":2,"left":25,"right":25},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":26,"text":" - name: Compile assets","html":" - \u003cspan class=\"pl-ent\"\u003ename\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003eCompile assets\u003c/span\u003e","displayNoNewLineWarning":false,"position":3,"left":26,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":27,"text":"- run: npm run production","html":"- \u003cspan class=\"pl-ent\"\u003erun\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003enpm run \u003cspan class=\"x x-first x-last\"\u003eproduction\u003c/span\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":4,"left":27,"right":26},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":27,"text":"+ run: npm run build","html":"+ \u003cspan class=\"pl-ent\"\u003erun\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003enpm run \u003cspan class=\"x x-first x-last\"\u003ebuild\u003c/span\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":5,"left":27,"right":27},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":28,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":6,"left":28,"right":28},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":29,"text":" - name: Execute tests","html":" - \u003cspan class=\"pl-ent\"\u003ename\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003eExecute tests\u003c/span\u003e","displayNoNewLineWarning":false,"position":7,"left":29,"right":29},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":30,"text":" run: vendor/bin/phpunit --verbose","html":" \u003cspan class=\"pl-ent\"\u003erun\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003evendor/bin/phpunit --verbose\u003c/span\u003e","displayNoNewLineWarning":false,"position":8,"left":30,"right":30}],"diffNumber":1,"diffSize":"0 Bytes","isBinary":false,"isTooBig":false,"collapsed":false,"isSubmodule":false,"lineCount":34,"linesChanged":2,"newTreeEntry":{"lineCount":34,"path":".github/workflows/tests.yml","mode":100644,"isGenerated":false},"oldTreeEntry":{"lineCount":0,"path":".github/workflows/tests.yml","mode":100644},"linesAdded":1,"linesDeleted":1,"path":".github/workflows/tests.yml","pathDigest":"1db27d93186e46d3b441ece35801b244db8ee144ff1405ca27a163bfe878957f","status":"MODIFIED","truncatedReason":null,"oldOid":"7bcb9db3fcf3ed83b98ec72216cf85d19f1f496b","newOid":"fefb213b5f83c98dbc93be6aafaa1ee65522d200","copilotChatReference":null,"deletedSha":"7bcb9db3fcf3ed83b98ec72216cf85d19f1f496b","canToggleRichDiff":false,"defaultToRichDiff":false,"proseDifffHtml":null,"renderInfo":null,"dependencyDiffPath":null,"submodule":null},{"diffLines":[{"stylingDirective":null,"type":"HUNK","blobLineNumber":0,"text":"@@ -1,9 +1,9 @@","html":"@@ -1,9 +1,9 @@","displayNoNewLineWarning":false,"position":0,"left":0,"right":0},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":1,"text":" /node_modules","html":" /\u003cspan class=\"pl-e\"\u003enode_modules\u003c/span\u003e","displayNoNewLineWarning":false,"position":1,"left":1,"right":1},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":2,"text":"+/public/build","html":"+/\u003cspan class=\"pl-e\"\u003epublic\u003c/span\u003e/\u003cspan class=\"pl-e\"\u003ebuild\u003c/span\u003e","displayNoNewLineWarning":false,"position":2,"left":1,"right":2},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":3,"text":" /public/css","html":" /\u003cspan class=\"pl-e\"\u003epublic\u003c/span\u003e/\u003cspan class=\"pl-e\"\u003ecss\u003c/span\u003e","displayNoNewLineWarning":false,"position":3,"left":2,"right":3},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":4,"text":" /public/hot","html":" /\u003cspan class=\"pl-e\"\u003epublic\u003c/span\u003e/\u003cspan class=\"pl-e\"\u003ehot\u003c/span\u003e","displayNoNewLineWarning":false,"position":4,"left":3,"right":4},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":5,"text":" /public/js","html":" /\u003cspan class=\"pl-e\"\u003epublic\u003c/span\u003e/\u003cspan class=\"pl-e\"\u003ejs\u003c/span\u003e","displayNoNewLineWarning":false,"position":5,"left":4,"right":5},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":6,"text":" /public/storage","html":" /\u003cspan class=\"pl-e\"\u003epublic\u003c/span\u003e/\u003cspan class=\"pl-e\"\u003estorage\u003c/span\u003e","displayNoNewLineWarning":false,"position":6,"left":5,"right":6},{"stylingDirective":null,"type":"DELETION","blobLineNumber":6,"text":"-/public/mix-manifest.json","html":"-/\u003cspan class=\"pl-e\"\u003epublic\u003c/span\u003e/\u003cspan class=\"pl-e\"\u003emix-manifest.json\u003c/span\u003e","displayNoNewLineWarning":false,"position":7,"left":6,"right":6},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":7,"text":" /storage/*.key","html":" /\u003cspan class=\"pl-e\"\u003estorage\u003c/span\u003e/\u003cspan class=\"pl-k\"\u003e*\u003c/span\u003e\u003cspan class=\"pl-e\"\u003e.key\u003c/span\u003e","displayNoNewLineWarning":false,"position":8,"left":7,"right":7},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":8,"text":" /vendor","html":" /\u003cspan class=\"pl-e\"\u003evendor\u003c/span\u003e","displayNoNewLineWarning":false,"position":9,"left":8,"right":8},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":9,"text":" .env","html":" \u003cspan class=\"pl-e\"\u003e.env\u003c/span\u003e","displayNoNewLineWarning":false,"position":10,"left":9,"right":9}],"diffNumber":2,"diffSize":"0 Bytes","isBinary":false,"isTooBig":false,"collapsed":false,"isSubmodule":false,"lineCount":11,"linesChanged":2,"newTreeEntry":{"lineCount":11,"path":".gitignore","mode":100644,"isGenerated":false},"oldTreeEntry":{"lineCount":0,"path":".gitignore","mode":100644},"linesAdded":1,"linesDeleted":1,"path":".gitignore","pathDigest":"bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947","status":"MODIFIED","truncatedReason":null,"oldOid":"7bcb9db3fcf3ed83b98ec72216cf85d19f1f496b","newOid":"fefb213b5f83c98dbc93be6aafaa1ee65522d200","copilotChatReference":null,"deletedSha":"7bcb9db3fcf3ed83b98ec72216cf85d19f1f496b","canToggleRichDiff":false,"defaultToRichDiff":false,"proseDifffHtml":null,"renderInfo":null,"dependencyDiffPath":null,"submodule":null},{"diffLines":[{"stylingDirective":null,"type":"HUNK","blobLineNumber":39,"text":"@@ -40,7 +40,7 @@ Command | Description","html":"@@ -40,7 +40,7 @@ Command | Description","displayNoNewLineWarning":false,"position":0,"left":39,"right":39},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":40,"text":" --- | ---","html":" --- | ---","displayNoNewLineWarning":false,"position":1,"left":40,"right":40},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":41,"text":" **`php artisan test`** | Run the tests","html":" \u003cspan class=\"pl-s\"\u003e**\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e`\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003ephp artisan test\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e`\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e**\u003c/span\u003e | Run the tests","displayNoNewLineWarning":false,"position":2,"left":41,"right":41},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":42,"text":" `php artisan migrate:fresh --seed` | Reset the database","html":" \u003cspan class=\"pl-s\"\u003e`\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003ephp artisan migrate:fresh --seed\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e`\u003c/span\u003e | Reset the database","displayNoNewLineWarning":false,"position":3,"left":42,"right":42},{"stylingDirective":null,"type":"DELETION","blobLineNumber":43,"text":"-`npm run watch` | Watch for changes in CSS and JS files","html":"-\u003cspan class=\"pl-s\"\u003e`\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003enpm run \u003cspan class=\"x x-first x-last\"\u003ewatch\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e`\u003c/span\u003e | Watch for changes in CSS and JS files","displayNoNewLineWarning":false,"position":4,"left":43,"right":42},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":43,"text":"+`npm run dev` | Watch for changes in CSS and JS files","html":"+\u003cspan class=\"pl-s\"\u003e`\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003enpm run \u003cspan class=\"x x-first x-last\"\u003edev\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e`\u003c/span\u003e | Watch for changes in CSS and JS files","displayNoNewLineWarning":false,"position":5,"left":43,"right":43},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":44,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":6,"left":44,"right":44},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":45,"text":" ## Maintainers","html":" \u003cspan class=\"pl-mh\"\u003e## \u003cspan class=\"pl-en\"\u003eMaintainers\u003c/span\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":7,"left":45,"right":45},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":46,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":8,"left":46,"right":46}],"diffNumber":3,"diffSize":"0 Bytes","isBinary":false,"isTooBig":false,"collapsed":false,"isSubmodule":false,"lineCount":63,"linesChanged":2,"newTreeEntry":{"lineCount":63,"path":"README.md","mode":100644,"isGenerated":false},"oldTreeEntry":{"lineCount":0,"path":"README.md","mode":100644},"linesAdded":1,"linesDeleted":1,"path":"README.md","pathDigest":"b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5","status":"MODIFIED","truncatedReason":null,"oldOid":"7bcb9db3fcf3ed83b98ec72216cf85d19f1f496b","newOid":"fefb213b5f83c98dbc93be6aafaa1ee65522d200","copilotChatReference":null,"deletedSha":"7bcb9db3fcf3ed83b98ec72216cf85d19f1f496b","canToggleRichDiff":true,"defaultToRichDiff":false,"proseDifffHtml":null,"renderInfo":null,"dependencyDiffPath":null,"submodule":null},{"diffLines":[{"stylingDirective":null,"type":"HUNK","blobLineNumber":10,"text":"@@ -11,10 +11,10 @@","html":"@@ -11,10 +11,10 @@","displayNoNewLineWarning":false,"position":0,"left":10,"right":10},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":11,"text":" \"php\": \"8.1.*\",","html":" \u003cspan class=\"pl-ent\"\u003e\u0026quot;php\u0026quot;\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e8.1.*\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e\u003c/span\u003e,","displayNoNewLineWarning":false,"position":1,"left":11,"right":11},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":12,"text":" \"blade-ui-kit/blade-heroicons\": \"^1.3\",","html":" \u003cspan class=\"pl-ent\"\u003e\u0026quot;blade-ui-kit/blade-heroicons\u0026quot;\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e^1.3\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e\u003c/span\u003e,","displayNoNewLineWarning":false,"position":2,"left":12,"right":12},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":13,"text":" \"guzzlehttp/guzzle\": \"^7.2\",","html":" \u003cspan class=\"pl-ent\"\u003e\u0026quot;guzzlehttp/guzzle\u0026quot;\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e^7.2\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e\u003c/span\u003e,","displayNoNewLineWarning":false,"position":3,"left":13,"right":13},{"stylingDirective":null,"type":"DELETION","blobLineNumber":14,"text":"- \"laravel/framework\": \"^9.7\",","html":"- \u003cspan class=\"pl-ent\"\u003e\"laravel/framework\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e^9.\u003cspan class=\"x x-first x-last\"\u003e7\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,","displayNoNewLineWarning":false,"position":4,"left":14,"right":13},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":14,"text":"+ \"laravel/framework\": \"^9.19\",","html":"+ \u003cspan class=\"pl-ent\"\u003e\"laravel/framework\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e^9.\u003cspan class=\"x x-first x-last\"\u003e19\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,","displayNoNewLineWarning":false,"position":5,"left":14,"right":14},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":15,"text":" \"laravel/tinker\": \"^2.7\",","html":" \u003cspan class=\"pl-ent\"\u003e\u0026quot;laravel/tinker\u0026quot;\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e^2.7\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e\u003c/span\u003e,","displayNoNewLineWarning":false,"position":6,"left":15,"right":15},{"stylingDirective":null,"type":"DELETION","blobLineNumber":16,"text":"- \"ramsey/uuid\": \"^4.3\",","html":"- \u003cspan class=\"pl-ent\"\u003e\u0026quot;ramsey/uuid\u0026quot;\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e^4.3\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e\u003c/span\u003e,","displayNoNewLineWarning":false,"position":7,"left":16,"right":15},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":16,"text":" \"league/flysystem-aws-s3-v3\": \"^3.0\",","html":" \u003cspan class=\"pl-ent\"\u003e\u0026quot;league/flysystem-aws-s3-v3\u0026quot;\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e^3.0\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e\u003c/span\u003e,","displayNoNewLineWarning":false,"position":8,"left":17,"right":16},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":17,"text":"+ \"ramsey/uuid\": \"^4.3\",","html":"+ \u003cspan class=\"pl-ent\"\u003e\u0026quot;ramsey/uuid\u0026quot;\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e^4.3\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e\u003c/span\u003e,","displayNoNewLineWarning":false,"position":9,"left":17,"right":17},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":18,"text":" \"spatie/laravel-ignition\": \"^1.1\"","html":" \u003cspan class=\"pl-ent\"\u003e\u0026quot;spatie/laravel-ignition\u0026quot;\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e^1.1\u003cspan class=\"pl-pds\"\u003e\u0026quot;\u003c/span\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":10,"left":18,"right":18},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":19,"text":" },","html":" },","displayNoNewLineWarning":false,"position":11,"left":19,"right":19},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":20,"text":" \"require-dev\": {","html":" \u003cspan class=\"pl-ent\"\u003e\u0026quot;require-dev\u0026quot;\u003c/span\u003e: {","displayNoNewLineWarning":false,"position":12,"left":20,"right":20}],"diffNumber":4,"diffSize":"0 Bytes","isBinary":false,"isTooBig":false,"collapsed":false,"isSubmodule":false,"lineCount":66,"linesChanged":4,"newTreeEntry":{"lineCount":66,"path":"composer.json","mode":100644,"isGenerated":false},"oldTreeEntry":{"lineCount":0,"path":"composer.json","mode":100644},"linesAdded":2,"linesDeleted":2,"path":"composer.json","pathDigest":"d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34","status":"MODIFIED","truncatedReason":null,"oldOid":"7bcb9db3fcf3ed83b98ec72216cf85d19f1f496b","newOid":"fefb213b5f83c98dbc93be6aafaa1ee65522d200","copilotChatReference":null,"deletedSha":"7bcb9db3fcf3ed83b98ec72216cf85d19f1f496b","canToggleRichDiff":false,"defaultToRichDiff":false,"proseDifffHtml":null,"renderInfo":null,"dependencyDiffPath":null,"submodule":null},{"path":"composer.lock","pathDigest":"f37acfaa6b11f575a9a6f41a75fa73a61d0f8ebc2c9b8cddc215d8aca10e44f5","status":"MODIFIED"},{"path":"package-lock.json","pathDigest":"053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519","status":"MODIFIED"},{"path":"package.json","pathDigest":"7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519","status":"MODIFIED"},{"path":"postcss.config.js","pathDigest":"05ed1c7f99e45b485708115502a1e0f28c8547e9a9a29c1b8664f79103cf7873","status":"ADDED"},{"path":"resources/css/app.scss","pathDigest":"7804d96acd4ca79c5b536b4cc3521095a1659d42990ce3c8468eb64a59e285e6","status":"MODIFIED"},{"path":"resources/js/app.js","pathDigest":"583a1f586bc298813341bce6fec77a1f6338f2559471fe600f15a18316fe82bd","status":"MODIFIED"},{"path":"resources/js/bootstrap.js","pathDigest":"e6713f520d11de4f73d14bec109e8b414b852fb58983e547a045a4000be38301","status":"MODIFIED"},{"path":"resources/views/layouts/app.blade.php","pathDigest":"66a3ba2334a6e1eebc24807619f1d4e991f1e8f58c5b5af2c787198d62c547d7","status":"MODIFIED"},{"path":"vite.config.js","pathDigest":"58e6f63d87181b1c6a8cb6e5f1691df04aa32854456efcd52ca71c8541375d26","status":"ADDED"},{"path":"webpack.mix.js","pathDigest":"974472aeeb3c0d4802bb4087cf02e9cf5591004b99361954801b10b64d7a1f0b","status":"DELETED"}],"splitViewPreference":"unified","ignoreWhitespace":false,"commentsPreference":"visible","diffLineSpacingPreference":"relaxed","useMonospaceFont":false,"pasteUrlLinkAsPlainText":false,"userNotices":[],"path":"/jamesmorrison/paste.laravel.io/commit/fefb213b5f83c98dbc93be6aafaa1ee65522d200","fileTreeExpanded":true,"headerInfo":{"additions":2203,"deletions":16939,"filesChanged":15,"filesChangedString":"15"},"moreDiffsToLoad":true,"asyncDiffLoadInfo":{"startIndex":5,"truncated":false,"byteCount":1332,"lineShownCount":50},"commentInfo":{"canComment":false,"locked":false,"canLock":false,"repoArchived":false},"csrf_tokens":{"/users/diffview?diff=split":{"post":"-dm9YDmWrDVbwjJQXbsfIA4GKjlJYocXpHPFdalcbbmxmNLOE6GuHMq364jPOyv9MaU3mFzKDs7blft64GO1jg"},"/users/diffview?diff=unified":{"post":"X5YJ35jmSB-_cLyq0I0XuUfxMS0qo1ctIfnPzID-lrMX12ZxstFKNi4FZXJCDSNkeFIsjD8L3vReH_HDycFOhA"},"/notifications/thread":{"post":"Juw45mxMfnXY3TlkSdFaAmBDsvvynVWrym8OsWlYYRahskoJYMh962LSL2mlz4_JLEoXwRv4HXYlphqhxTZDxg"}}},"title":"#118 Switch to Vite (#121) · jamesmorrison/paste.laravel.io@fefb213","appPayload":{"helpUrl":"https://docs.github.com","findInDiffWorkerPath":"/assets-cdn/worker/find-in-diff-worker-6dcb06aa9fad.js","enabled_features":{"diff_ux_refresh_beta":false,"diff_inline_comments":false,"diff_ux_refresh_ssr_five":false,"diff_ux_refresh_ssr_ten":false}}}

Commit fefb213

Browse files
authored
laravelio#118 Switch to Vite (laravelio#121)
* Move to Vite * Apply StyleCI fixes manually * Fix unable to resolve asset
1 parent 7bcb9db commit fefb213

15 files changed

+2203
-16939
lines changed

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ PUSHER_APP_KEY=
4545
PUSHER_APP_SECRET=
4646
PUSHER_APP_CLUSTER=mt1
4747

48-
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
49-
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
48+
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
49+
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: npm ci
2525

2626
- name: Compile assets
27-
run: npm run production
27+
run: npm run build
2828

2929
- name: Execute tests
3030
run: vendor/bin/phpunit --verbose

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/node_modules
2+
/public/build
23
/public/css
34
/public/hot
45
/public/js
56
/public/storage
6-
/public/mix-manifest.json
77
/storage/*.key
88
/vendor
99
.env

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Command | Description
4040
--- | ---
4141
**`php artisan test`** | Run the tests
4242
`php artisan migrate:fresh --seed` | Reset the database
43-
`npm run watch` | Watch for changes in CSS and JS files
43+
`npm run dev` | Watch for changes in CSS and JS files
4444

4545
## Maintainers
4646

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"php": "8.1.*",
1212
"blade-ui-kit/blade-heroicons": "^1.3",
1313
"guzzlehttp/guzzle": "^7.2",
14-
"laravel/framework": "^9.7",
14+
"laravel/framework": "^9.19",
1515
"laravel/tinker": "^2.7",
16-
"ramsey/uuid": "^4.3",
1716
"league/flysystem-aws-s3-v3": "^3.0",
17+
"ramsey/uuid": "^4.3",
1818
"spatie/laravel-ignition": "^1.1"
1919
},
2020
"require-dev": {

0 commit comments

Comments
 (0)
0