This change log lists pre-release versions and changes made since v2.0.0-alpha.1.
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 { build } from 'estrella' | |
| import fs from 'fs' | |
| import { promisify } from 'util' | |
| import packageJSON from '../package.json' | |
| import listFunctions from './_lib/listFunctions' | |
| const writeFile = promisify(fs.writeFile) | |
| const external = Object.keys(packageJSON.dependencies) | |
| const appEnv = process.env.APP_ENV | |
| const rootPath = process.cwd() |
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
| ... | |
| gem 'devise', | |
| :git => 'https://github.com/plataformatec/devise.git', | |
| :branch => 'omniauth' | |
| gem 'oa-oauth', :require => 'omniauth/oauth' | |
| ... |
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
| "C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl -dpi auto |
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 { useEffect, useMemo, useRef } from 'preact/hooks' | |
| /** | |
| * The {@link usePromise} resolve function. | |
| */ | |
| export type UsePromiseResolve<Type> = (value: Type) => void | |
| /** | |
| * The {@link usePromise} reject function. | |
| */ |
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 { useEffect } from 'preact/hooks' | |
| /** | |
| * Generates an event hook / dispatch function pair for the given payload. | |
| * | |
| * @returns the hook and dispatch functions | |
| */ | |
| export function createEventHooks<Payload>() { | |
| const { useEvent, dispatchEvent } = createEventsHooks() | |
| const event = Date.now().toString() |
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
| /** | |
| * The code is based on Gleb Bahmutov's [local-cypress](https://github.com/bahmutov/local-cypress). | |
| */ | |
| /// <reference types="cypress" /> | |
| /// <reference types="@testing-library/cypress" /> | |
| const win = window as unknown as Window & { | |
| assert: Chai.AssertStatic | |
| expect: Chai.ExpectStatic |
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 { | |
| defaultNumberingPosition, | |
| defaultNumberingStyle, | |
| NumberingFormatOptions, | |
| NumberingPosition, | |
| NumberingStyle, | |
| } from '#app/core/split/parse' | |
| export function stripNumbering( | |
| text: string, |
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
| "————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" | |
| " Full colors reset | |
| "————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" | |
| " Base colors | |
| hi ColorColumn guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none | |
| hi Conceal guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none | |
| hi Cursor guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none | |
| hi CursorIM guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none |
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
| var errorsStash = [] | |
| var errorListener = function(e) { | |
| errorsStash.push(e.error) | |
| } | |
| var unhandledRejectionListener = function(e) { | |
| errorsStash.push(e.reason) | |
| } | |
| window.addEventListener('error', errorListener) | |
| window.addEventListener('unhandledrejection', unhandledRejectionListener) | |
| window.__passOnToSentry__ = function() { |
NewerOlder