Skip to content

Commit

Permalink
Merge pull request #1295 from form8ion/beta
Browse files Browse the repository at this point in the history
  • Loading branch information
travi authored Jul 9, 2023
2 parents 21182b0 + 1d40beb commit 5101980
Show file tree
Hide file tree
Showing 19 changed files with 117 additions and 2,144 deletions.
1 change: 0 additions & 1 deletion .babelrc

This file was deleted.

File renamed without changes.
5 changes: 5 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ extends:
- '@form8ion/mocha'
- '@form8ion/cucumber'

rules:
import/extensions:
- warn
- ignorePackages

overrides:
- files: example.js
rules:
Expand Down
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
update-notifier=false
provenance=true
File renamed without changes.
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ opinionated scaffolder for new projects
* [`languages` (_optional_)](#languages-optional)
* [`vcsHosts` (_optional_)](#vcshosts-optional)
* [`dependencyUpdaters` (_optional_)](#dependencyupdaters-optional)
* [`overrides` (_optional_) (_deprecated_)](#overrides-optional-deprecated)
* [`copyrightHolder`](#copyrightholder)
* [Contributing](#contributing)
* [Dependencies](#dependencies)
* [Verification](#verification)
Expand Down Expand Up @@ -165,9 +163,6 @@ __object__:
returned from the `prompt` function
* `projectRoot`: __string__ path of the working directory where the CLI
command was executed
* `projectType`:
* __string__ primary language for the project
* _deprecated_ will be removed with the next major version
* `description`: __string__ brief summary of the project
* `homepage`: __string__ url of the project homepage
* `public`: __boolean__ (_optional_) whether this host should be presented
Expand Down Expand Up @@ -198,15 +193,6 @@ __object__:
* `owner`: __string__ account name on the host service for the repository
owner. defaults to `$ git config github.user`

#### `overrides` (_optional_) (_deprecated_)

use `decisions` instead of `overrides`

##### `copyrightHolder`

__string__ enables setting the value of the prompt default for the copyright
holder. if not provided, the default will be empty.

## Contributing

<!--contribution-badges start -->
Expand Down
4 changes: 2 additions & 2 deletions example.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// #### Import
// remark-usage-ignore-next 3
import {promises as fs} from 'fs';
import {promises as fs} from 'node:fs';
import {resolve} from 'path';
import stubbedFs from 'mock-fs';
import {lift, questionNames, scaffold} from './lib/index.js';
Expand All @@ -9,7 +9,7 @@ import {lift, questionNames, scaffold} from './lib/index.js';

// remark-usage-ignore-next 2
(async () => {
stubbedFs({templates: {'editorconfig.txt': await fs.readFile(resolve(__dirname, 'templates', 'editorconfig.txt'))}});
stubbedFs({templates: {'editorconfig.txt': await fs.readFile(resolve('templates', 'editorconfig.txt'))}});

await scaffold({
decisions: {
Expand Down
Loading

0 comments on commit 5101980

Please sign in to comment.