Skip to content

Commit

Permalink
Merge pull request #152 from yowainwright/init-fast-glob
Browse files Browse the repository at this point in the history
Init fast glob
  • Loading branch information
yowainwright committed Jan 28, 2022
2 parents 3c2b198 + a74c7bd commit 22da245
Show file tree
Hide file tree
Showing 9 changed files with 670 additions and 1,017 deletions.
34 changes: 34 additions & 0 deletions .editorconfig
@@ -0,0 +1,34 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true


[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 2

[*.hbs]
insert_final_newline = false
indent_style = space
indent_size = 2

[*.css]
indent_style = space
indent_size = 2

[*.html]
indent_style = space
indent_size = 2

[*.{diff,md}]
trim_trailing_whitespace = false
7 changes: 4 additions & 3 deletions .eslintrc
@@ -1,5 +1,6 @@
{
"extends": [
"prettier-standard"
]
"extends": ["prettier"],
"parserOptions": {
"ecmaVersion": "latest"
}
}
35 changes: 6 additions & 29 deletions .github/dependabot.yml
@@ -1,31 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "13:00"
open-pull-requests-limit: 2
ignore:
- dependency-name: acorn
versions:
- 8.0.5
- 8.1.0
- 8.1.1
- 8.2.1
- dependency-name: mocha
versions:
- 8.3.1
- dependency-name: husky
versions:
- 5.1.0
- 5.1.1
- 5.1.2
- dependency-name: "@commitlint/prompt"
versions:
- 12.0.0
- dependency-name: eslint
versions:
- 7.18.0
- 7.19.0
- 7.20.0
- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
time: '13:00'
open-pull-requests-limit: 2
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -60,4 +60,5 @@ typings/
.DS_Store

package-lock.json
.dccache

9 changes: 9 additions & 0 deletions .prettierrc
@@ -0,0 +1,9 @@
{
"semi": false,
"trailingComma": "all",
"printWidth": 120,
"useTabs": false,
"singleQuote": true,
"jsxSingleQuote": true,
"proseWrap": "preserve"
}
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -4,7 +4,7 @@

const { program } = require('@caporal/core')
const acorn = require('acorn')
const glob = require('glob')
const glob = require('fast-glob')
const fs = require('fs')
const path = require('path')

Expand Down
46 changes: 20 additions & 26 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "es-check",
"version": "6.1.2",
"version": "6.2.0",
"description": "Checks the ECMAScript version of .js glob against a specified version of ECMAScript with a shell command",
"main": "index.js",
"license": "MIT",
Expand All @@ -18,11 +18,12 @@
"chore:branch": "git checkout -b chore-changelog",
"chore:changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"chore:pr": "git add . && git commit -m '[chore] updates changelog' --no-verify && git push origin chore-changelog -f",
"chore": "npm run chore:delete-branch && npm run chore:branch && npm run chore:changelog && npm run chore:pr",
"chore": "pnpm run chore:delete-branch && pnpm run chore:branch && pnpm run chore:changelog && pnpm run chore:pr",
"lint": "eslint index.js --fix",
"lint:ci": "eslint index.js",
"prepush": "npm run lint && npm test",
"postpublish": "git tag $npm_package_version && git push origin --tags && npm run chore",
"prepush": "pnpm run lint && pnpm test",
"postpublish": "git tag $npm_package_version && git push origin --tags && pnpm run chore",
"preinstall": "npx only-allow pnpm",
"report:coverage": "nyc report --reporter=lcov > coverage.lcov && codecov",
"test": "nyc mocha test.js --timeout 10s --coverage"
},
Expand All @@ -36,31 +37,24 @@
},
"homepage": "https://github.com/yowainwright/es-check#readme",
"devDependencies": {
"@commitlint/cli": "^16.0.2",
"@commitlint/cli": "^16.1.0",
"@commitlint/config-conventional": "^16.0.0",
"@commitlint/prompt": "^16.0.0",
"@commitlint/prompt": "^16.1.0",
"assert": "^2.0.0",
"codecov": "^3.0.0",
"commitizen": "^4.2.2",
"conventional-changelog-cli": "^2.0.11",
"eslint": "^7.29.0",
"codecov": "^3.8.3",
"commitizen": "^4.2.4",
"conventional-changelog-cli": "^2.2.2",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-prettier-standard": "^4.0.1",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"husky": "^7.0.1",
"mocha": "^9.0.1",
"husky": "^7.0.4",
"mocha": "^9.2.0",
"nyc": "^15.1.0",
"prettier": "^2.3.2",
"prettier-config-standard": "^4.0.0"
"prettier": "^2.5.1"
},
"dependencies": {
"acorn": "^8.4.1",
"@caporal/core": "^2.0.2",
"glob": "^7.1.7"
"acorn": "^8.7.0",
"fast-glob": "^3.2.11"
},
"engines": {
"node": ">= 4"
Expand Down Expand Up @@ -98,10 +92,10 @@
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"post-checkout": "if [[ $HUSKY_GIT_PARAMS =~ 1$ ]]; then yarn; fi",
"post-merge": "yarn",
"post-rewrite": "yarn",
"pre-commit": "yarn test && yarn lint"
"post-checkout": "if [[ $HUSKY_GIT_PARAMS =~ 1$ ]]; then pnpm i -r; fi",
"post-merge": "pnpm i -r",
"post-rewrite": "pnpm i -r",
"pre-commit": "pnpm test && pnpm lint"
}
}
}

0 comments on commit 22da245

Please sign in to comment.