minimatch
ordinary-puzzles-app
Our great sponsors
minimatch | ordinary-puzzles-app | |
---|---|---|
5 | 5 | |
3,223 | 469 | |
- | - | |
4.9 | 0.0 | |
about 1 month ago | about 1 year ago | |
JavaScript | TypeScript | |
ISC License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
minimatch
-
New to node.js - is this an API? I have no idea!
It appears to use minimatch.js (https://github.com/isaacs/minimatch) which seems to be a node.js library (?). I want use it to build in some interactivity into my tutorial.
-
Dependencies hell
How regularly devs update their package dependencies? During my practice, this doesn’t happen as often as necessary. Let’s look at create-react-app for example. It has jest as dependency with version 27.4.3, when I wrote this article actual version was 27.5.1. Jest has micromatch package with version 4.0.4 (that was actual version for [email protected]). And micromatch has minimatch package with version 3.0.4. But actual version is 5.0.1, that solve, at least one major security problem.
-
Running React Native everywhere: Yarn Workspaces monorepo
This nohoist section will tell Yarn that the listed dependencies (specified as glob patterns) should be installed in the node_modules directory of each package instead of the root project's one. For now, I just added react, react-dom, and react-native:
-
[AskJS] Any npm packages that implement glob matching of URLs?
minimatch is what you are looking for.
-
Testing Web Components with Karma, Mocha & Chai
Within the configuration file, the configuration code is put together by setting module.exports to point to a function which accepts one argument: the configuration object. Karma also needs to know which testing framework is being used like Jasmine, Mocha, etc. Using frameworks configuration option, we tell Karma we're using Mocha & Chai to write the tests. Then, we have files configuration option which uses the minimatch library to facilitate flexible but concise file expressions so you can easily list all of the files you want to include and exclude. For example in the above code, test/**/*.test.js will include all files with a ".test.js" extension in the test folder.
ordinary-puzzles-app
- Is there any good example of real-world open-source application (neither libraries nor frameworks nor samples) written in Typescript?
-
Running React Native everywhere: Yarn Workspaces monorepo
Last, because you're supporting multiple platforms in a single directory, it's easy to end up with confusing indirections and branches in platform-specific files. This may be just a "me" thing, but I find it hard to navigate around configuration files of projects that support multiple platforms. At first glance, it may look like all platforms use the same configuration files. But once you dig a bit deeper, you realize that each platform requires some ad-hoc tweaks to the configuration files (for Metro, Babel, Webpack, etc.). Want an example from a codebase I wrote? Check out Ordinary Puzzles, which is a mobile, web, and Electron app. It's not easy to understand what files are used by which platform (e.g., what platform build phase is using babel.config.js?)
-
React Native monorepo supporting multiple platforms: Android, iOS, macOS, Windows, web, browser extension, electron
Can't say for sure. It's highly likely you'll need to make some changes to the metro bundle config when you update React-Native. But at least these changes should be less painful to deal with than having to mess with the native code (which you would do if you don't use nohoist). Personally, I prefer this approach to the known alternatives — which are not using a monorepo at all (which can get confusing as soon as you start supporting multiple platforms) or using a monorepo without nohoist. But it might be just a matter of preference 👍
-
Building a desktop application using Electron and Create React App
I recently needed to wrap a React app generated with Create React App (CRA) with Electron (well, the app itself uses React Native for Web, but it doesn’t matter). My goal was to stay within the Create React App limits as much as possible (without ejecting). There’s no shortage of guides on how to do it online. Still, I couldn’t find one that fully follows the Electron security guidelines and provides a distribution setup using Electron-builder. So, here’s yet another tutorial on how to wrap an app built with Create React App in Electron — from the initial scaffolding up to the distribution workflow.
-
Opensource RN apps (that are in production) - for inspiration
Ordinary Puzzles - Mobile and web puzzle game built with React-Native
What are some alternatives?
metro - 🚇 The JavaScript bundler for React Native
react-native-picture-puzzle - ⚛️ 🧩 A picture puzzle component.
Testing-WebComponents - Testing Web Components with Karma, Mocha & Chai.
concurrently - Run commands concurrently. Like `npm run watch-js & npm run watch-less` but better.
nx - Smart Monorepos · Fast CI
super-auto-pets-db - This database website is an un-official guide and reference for the pets, food and stats from the game Super Auto Pets.
starter-wctest
mobx-angular - The MobX connector for Angular.
electronmon - 🖥 run, watch, and restart electron apps using magic
React-Native-Apps - Curated List of Open Source React Native Apps. Curation curtesy of
create-react-app - Set up a modern web app by running one command.