ATlast — you'll never need to find your favorites on another platform again. Find your favs in the ATmosphere.
atproto
17
fork

Configure Feed

Select the types of activity you want to include in your feed.

at adonis-vue 139 lines 4.2 kB view raw
1import { indexPages } from '@adonisjs/inertia' 2import { indexEntities } from '@adonisjs/core' 3import { defineConfig } from '@adonisjs/core/app' 4import { generateRegistry } from '@tuyau/core/hooks' 5 6export default defineConfig({ 7 /* 8 |-------------------------------------------------------------------------- 9 | Experimental flags 10 |-------------------------------------------------------------------------- 11 | 12 | The following features will be enabled by default in the next major release 13 | of AdonisJS. You can opt into them today to avoid any breaking changes 14 | during upgrade. 15 | 16 */ 17 experimental: {}, 18 19 /* 20 |-------------------------------------------------------------------------- 21 | Commands 22 |-------------------------------------------------------------------------- 23 | 24 | List of ace commands to register from packages. The application commands 25 | will be scanned automatically from the "./commands" directory. 26 | 27 */ 28 commands: [ 29 () => import('@adonisjs/core/commands'), 30 () => import('@adonisjs/lucid/commands'), 31 () => import('@adonisjs/session/commands'), 32 () => import('@adonisjs/inertia/commands'), 33 ], 34 35 /* 36 |-------------------------------------------------------------------------- 37 | Service providers 38 |-------------------------------------------------------------------------- 39 | 40 | List of service providers to import and register when booting the 41 | application 42 | 43 */ 44 providers: [ 45 () => import('@adonisjs/core/providers/app_provider'), 46 () => import('@adonisjs/core/providers/hash_provider'), 47 { 48 file: () => import('@adonisjs/core/providers/repl_provider'), 49 environment: ['repl', 'test'], 50 }, 51 () => import('@adonisjs/core/providers/vinejs_provider'), 52 () => import('@adonisjs/core/providers/edge_provider'), 53 () => import('@adonisjs/session/session_provider'), 54 () => import('@adonisjs/vite/vite_provider'), 55 () => import('@adonisjs/shield/shield_provider'), 56 () => import('@adonisjs/static/static_provider'), 57 () => import('@adonisjs/lucid/database_provider'), 58 () => import('@adonisjs/cors/cors_provider'), 59 () => import('@adonisjs/inertia/inertia_provider'), 60 () => import('@adonisjs/auth/auth_provider'), 61 () => import('#providers/api_provider'), 62 () => import('@thisismissem/adonisjs-atproto-oauth/provider') 63 ], 64 65 /* 66 |-------------------------------------------------------------------------- 67 | Preloads 68 |-------------------------------------------------------------------------- 69 | 70 | List of modules to import before starting the application. 71 | 72 */ 73 preloads: [ 74 () => import('#start/routes'), 75 () => import('#start/kernel'), 76 () => import('#start/validator'), 77 ], 78 79 /* 80 |-------------------------------------------------------------------------- 81 | Tests 82 |-------------------------------------------------------------------------- 83 | 84 | List of test suites to organize tests by their type. Feel free to remove 85 | and add additional suites. 86 | 87 */ 88 tests: { 89 suites: [ 90 { 91 files: ['tests/unit/**/*.spec.{ts,js}'], 92 name: 'unit', 93 timeout: 2000, 94 }, 95 { 96 files: ['tests/functional/**/*.spec.{ts,js}'], 97 name: 'functional', 98 timeout: 30000, 99 }, 100 { 101 files: ['tests/browser/**/*.spec.{ts,js}'], 102 name: 'browser', 103 timeout: 300000, 104 }, 105 ], 106 forceExit: false, 107 }, 108 109 /* 110 |-------------------------------------------------------------------------- 111 | Metafiles 112 |-------------------------------------------------------------------------- 113 | 114 | A collection of files you want to copy to the build folder when creating 115 | the production build. 116 | 117 */ 118 metaFiles: [ 119 { 120 pattern: 'resources/views/**/*.edge', 121 reloadServer: false, 122 }, 123 { 124 pattern: 'public/**', 125 reloadServer: false, 126 }, 127 ], 128 129 hooks: { 130 init: [ 131 indexEntities({ 132 transformers: { enabled: true, withSharedProps: true }, 133 }), 134 indexPages({ framework: 'vue3' }), 135 generateRegistry(), 136 ], 137 buildStarting: [() => import('@adonisjs/vite/build_hook')], 138 }, 139})