This file contains 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
{ | |
"plugins": [ | |
"remark-preset-lint-recommended", | |
["remark-lint-list-item-indent", false] | |
] | |
} |
This file contains 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
'use strict'; | |
/* global after, before, bench, suite */ | |
const fs = require('fs'); | |
const rimraf = require('rimraf'); | |
const fastGlob = require('fast-glob'); | |
const glob = require('glob'); | |
const BENCH_DIR = 'bench'; | |
const runners = [{ |
This file contains 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
negative globs (some files inside dir) | |
107 op/s » globby async (working directory) | |
38 op/s » globby async (upstream/master) | |
43 op/s » globby async (working directory) with gitignore | |
12 op/s » globby async (upstream/master) with gitignore | |
247 op/s » globby sync (working directory) | |
41 op/s » globby sync (upstream/master) | |
82 op/s » globby sync (working directory) with gitignore | |
11 op/s » globby sync (upstream/master) with gitignore | |
133 op/s » glob-stream |
This file contains 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
let state = 0; | |
console.log('Load module') | |
async function increment() { | |
state = state + 1; | |
} | |
function getState() { | |
return state; |
This file contains 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
let state = 0; | |
console.log('Load module') | |
async function increment() { | |
state = state + 1; | |
} | |
function getState() { | |
return state; |
This is a script to migrate your repository in order to support semantic-release version that includes semantic-release/semantic-release#1368 It will colllect the state information (which version has been released on which channel) based on tags and give you the commadn to run to safe this state with Git note.
This is only useful if were using a previous beta version of semantic-release.
This will not run any command on your repo other than git tag
. It will display the command you have to run in your local Git repo to do the migration.
Be careful and double check each command before running it!