This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Drupal | |
| /vendor/ | |
| /web/core | |
| /web/libraries | |
| /web/modules/contrib | |
| /web/profiles/contrib | |
| /web/themes/contrib | |
| /web/sites/simpletest | |
| /web/sites/*/files | |
| /web/sites/*/private |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Version: 1.0.0 | |
| * Nuxt: 4.1.x | |
| * @license MIT | |
| * @host https://gist.github.com/sandros94/fc7c62326e807a35bc4647247e8d1aea | |
| * | |
| * Wrappers around useFetch and useLazyFetch that automatically sets the baseURL to the CDN URL defined in the runtime config. | |
| */ | |
| /* eslint-disable @typescript-eslint/no-invalid-void-type */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // valibot-utils v0.3.0 | |
| // https://gist.github.com/sandros94/804aee5dc14a3bb394b3279f74c32cee | |
| import type { | |
| ArraySchema, | |
| ArraySchemaAsync, | |
| ErrorMessage, | |
| GenericSchema, | |
| GenericSchemaAsync, | |
| InferIssue, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface Brand<T extends string = string> { | |
| name: T | |
| cb: (nameUsed: T) => T; | |
| }; | |
| // This works | |
| function single<T extends string>( | |
| brand: Brand<T>, | |
| ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # documentation: https://neon.tech | |
| # slogan: The database you love, on a serverless platform designed to help you build reliable and scalable applications faster. | |
| # tags: proxy, neon, postgresql | |
| # port: 80, 2112 | |
| services: | |
| neon-proxy: | |
| image: 'ghcr.io/neondatabase/wsproxy:latest' | |
| environment: | |
| - SERVICE_FQDN_NEONPROXY |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script setup lang="ts"> | |
| import { useScript } from '@unhead/vue' | |
| import { computed, ref, createError, onMounted, watch, useTemplateRef } from '#imports' | |
| const MONACO_CDN_BASE = 'https://unpkg.com/[email protected]/min/' | |
| const MDC_CDN_BASE = 'https://cdn.jsdelivr.net/npm/@nuxtlabs/[email protected]/' | |
| declare global { | |
| interface Window { | |
| require: any |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { consola } from 'consola' | |
| import { defineNuxtModule } from 'nuxt/kit' | |
| import { addCustomTab, startSubprocess } from '@nuxt/devtools-kit' | |
| export default defineNuxtModule({ | |
| meta: { | |
| name: 'drizzle', | |
| configKey: 'drizzle', | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Nuxt's build nixpacks.toml | |
| [variables] | |
| NIXPACKS_NODE_VERSION = '20' | |
| [phases.install] | |
| onlyIncludeFiles = [ | |
| ".npmrc", | |
| "package.json", | |
| "pnpm-lock.yaml", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ./app/plugins/customFetch.ts | |
| import { ofetch } from 'ofetch' | |
| export default defineNuxtPlugin(() => { | |
| const customFetch = ofetch.create({ | |
| baseURL: 'https://directus.pizza', | |
| }) | |
| return { | |
| provide: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .dockerignore - v1.4.2 | |
| # https://gist.github.com/sandros94/03675514546f17af1fd6db3863c043b4 | |
| # Nuxt dev/build outputs | |
| .output | |
| .nuxt | |
| .nitro | |
| .cache | |
| .data |
NewerOlder