![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
file-prompt
Advanced tools
An interactive prompt for files inspired by git add -i. By supplying a filter and a base directory and calling the fileprompt
function you can interactively select from a list of matching files in a number of ways intended to speed up typing time trying to guess and remember paths. This tool can be used with Gulp to send a list of files to gulp.src
.
Using npm:
$ npm install expect
In ES6:
import fileprompt from 'fileprompt'
fileprompt({ base: process.cwd(), glob: '*.js' })
.then((files) => {
// Array of absolute path files
})
.catch((e) => {
// e is an instance of an Error Object that happened along the way.
})
In ES5:
var fileprompt = require('fileprompt');
fileprompt({ base: process.cwd(), glob: '*.js' })
.then((files) => {
// Array of absolute path files
})
.catch((e) => {
// e is an instance of an Error Object that happened along the way.
})
The following methods of input are currently supposed:
Main Menu
Files
You can also supply multiple arguments like 4 5-10 -8
and it will do the following:
Currently the following features are supported
Lets you add files by entering directories and selecting files. Pressing <enter>
will return to the main menu.
Lists all levels of files matching the supplied filter. Pressing <enter>
will return to the main menu.
Asks for a glob string such as **/*.js
. If matches are found it will allow you to select from the list of matching files. Pressing <enter>
will return to the main menu.
Executes git diff --name-only
to get a list of files changed since the last git commit. Pressing <enter>
will return to the main menu.
This tool was lovingly made for use at VenueBook.
BSD-3-Clause (c) 2015 VenueBook, Inc. (https://venuebook.com)
FAQs
An interactive prompt for selecting files from a directory.
We found that file-prompt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.