Skip to content

Commit

Permalink
v3.7.0 - boundation, changelog, version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Jul 27, 2021
1 parent 797e8fd commit ecf1f8a
Show file tree
Hide file tree
Showing 8 changed files with 217 additions and 310 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# History

## v3.7.0 2021 July 28

- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)

## v3.6.0 2021 June 14

- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,8 @@ To validate your packages before you publish them, you can do the following:

<p>This package is published with the following editions:</p>

<ul><li><code>valid-directory</code> aliases <code>valid-directory/index.cjs</code> which uses the <a href="https://github.com/bevry/editions" title="You can use the Editions Autoloader to autoload the appropriate edition for your consumers environment">Editions Autoloader</a> to automatically select the correct edition for the consumer's environment</li>
<li><code>valid-directory/source/index.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> source code with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>
<li><code>valid-directory/edition-es2020/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#11th_Edition_–_ECMAScript_2020" title="ECMAScript ES2020">ES2020</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 14 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li>
<ul><li><code>valid-directory/source/index.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> source code with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>
<li><code>valid-directory</code> aliases <code>valid-directory/edition-es2019/index.js</code></li>
<li><code>valid-directory/edition-es2019/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019" title="ECMAScript ES2019">ES2019</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 10 || 12 || 14 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li>
<li><code>valid-directory/edition-es2019-esm/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019" title="ECMAScript ES2019">ES2019</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 12 || 14 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li></ul>

Expand Down
7 changes: 1 addition & 6 deletions bin.cjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
#!/usr/bin/env node
'use strict'
// auto-generated by boundation, do not update manually
/** @type {typeof import("./compiled-types/bin.d.ts") } */
module.exports = require('editions').requirePackage(
__dirname,
require,
'bin.js'
)
module.exports = require('./edition-es2019/bin.js')
8 changes: 0 additions & 8 deletions index.cjs

This file was deleted.

448 changes: 196 additions & 252 deletions package-lock.json

Large diffs are not rendered by default.

45 changes: 13 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "valid-directory",
"version": "3.6.0",
"version": "3.7.0",
"description": "Check whether or not a directory and its descendants are valid",
"homepage": "https://github.com/bevry/valid-directory",
"license": "MIT",
"keywords": [
"check",
"detect",
"es2019",
"es2020",
"export-default",
"fs",
"is",
Expand Down Expand Up @@ -87,21 +86,6 @@
],
"engines": false
},
{
"description": "TypeScript compiled against ES2020 for Node.js 14 with Require for modules",
"directory": "edition-es2020",
"entry": "index.js",
"tags": [
"compiled",
"javascript",
"es2020",
"require"
],
"engines": {
"node": "14",
"browsers": false
}
},
{
"description": "TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 with Require for modules",
"directory": "edition-es2019",
Expand Down Expand Up @@ -136,44 +120,41 @@
"bin": "bin.cjs",
"types": "./compiled-types/",
"type": "module",
"main": "index.cjs",
"main": "edition-es2019/index.js",
"exports": {
"node": {
"import": "./edition-es2019-esm/index.js",
"default": "./index.cjs",
"require": "./edition-es2020/index.js"
"require": "./edition-es2019/index.js"
}
},
"dependencies": {
"editions": "^6.1.0",
"readdir-cluster": "^3.14.0",
"valid-filename": "^3.1.0"
},
"devDependencies": {
"@bevry/update-contributors": "^1.18.0",
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"assert-helpers": "^8.1.0",
"eslint": "^7.28.0",
"eslint": "^7.31.0",
"eslint-config-bevry": "^3.23.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"filedirname": "^2.4.0",
"kava": "^5.13.0",
"make-deno-edition": "^1.2.0",
"prettier": "^2.3.1",
"make-deno-edition": "^1.3.0",
"prettier": "^2.3.2",
"projectz": "^2.18.0",
"surge": "^0.23.0",
"typedoc": "^0.20.36",
"typescript": "^4.3.2"
"typedoc": "^0.21.4",
"typescript": "4.3.5"
},
"scripts": {
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:edition-es2020 && npm run our:compile:types",
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:types",
"our:compile:deno": "make-deno-edition --attempt",
"our:compile:edition-es2019": "tsc --module commonjs --target ES2019 --outDir ./edition-es2019 --project tsconfig.json && ( test ! -d edition-es2019/source || ( mv edition-es2019/source edition-temp && rm -Rf edition-es2019 && mv edition-temp edition-es2019 ) ) && echo '{\"type\": \"commonjs\"}' > edition-es2019/package.json",
"our:compile:edition-es2019-esm": "tsc --module ESNext --target ES2019 --outDir ./edition-es2019-esm --project tsconfig.json && ( test ! -d edition-es2019-esm/source || ( mv edition-es2019-esm/source edition-temp && rm -Rf edition-es2019-esm && mv edition-temp edition-es2019-esm ) ) && echo '{\"type\": \"module\"}' > edition-es2019-esm/package.json",
"our:compile:edition-es2020": "tsc --module commonjs --target ES2020 --outDir ./edition-es2020 --project tsconfig.json && ( test ! -d edition-es2020/source || ( mv edition-es2020/source edition-temp && rm -Rf edition-es2020 && mv edition-temp edition-es2020 ) ) && echo '{\"type\": \"commonjs\"}' > edition-es2020/package.json",
"our:compile:types": "tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )",
"our:deploy": "echo no need for this project",
"our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz",
Expand All @@ -185,15 +166,15 @@
"our:release:check-changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)",
"our:release:check-dirty": "git diff --exit-code",
"our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
"our:release:push": "git push origin master && git push origin --tags",
"our:release:push": "git push origin && git push origin --tags",
"our:release:tag": "export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"",
"our:setup": "npm run our:setup:install",
"our:setup:install": "npm install",
"our:test": "npm run our:verify && npm test",
"our:verify": "npm run our:verify:eslint && npm run our:verify:prettier",
"our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",
"our:verify:prettier": "prettier --write .",
"test": "node ./test.cjs"
"test": "node ./edition-es2019/test.js"
},
"eslintConfig": {
"extends": [
Expand Down
8 changes: 0 additions & 8 deletions test.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"maxNodeModuleJsDepth": 5,
"moduleResolution": "Node",
"strict": true,
"target": "ES2020",
"target": "ES2019",
"module": "ESNext"
},
"include": ["source"]
Expand Down

0 comments on commit ecf1f8a

Please sign in to comment.