Skip to content

Commit 5101980

Browse files
authored
Merge pull request #1295 from form8ion/beta
2 parents 21182b0 + 1d40beb commit 5101980

19 files changed

+117
-2144
lines changed

.babelrc

-1
This file was deleted.

.commitlintrc.js .commitlintrc.cjs

File renamed without changes.

.eslintrc.yml

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ extends:
33
- '@form8ion/mocha'
44
- '@form8ion/cucumber'
55

6+
rules:
7+
import/extensions:
8+
- warn
9+
- ignorePackages
10+
611
overrides:
712
- files: example.js
813
rules:

.npmrc

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
update-notifier=false
2-
provenance=true

.remarkrc.js .remarkrc.cjs

File renamed without changes.

README.md

-14
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ opinionated scaffolder for new projects
2424
* [`languages` (_optional_)](#languages-optional)
2525
* [`vcsHosts` (_optional_)](#vcshosts-optional)
2626
* [`dependencyUpdaters` (_optional_)](#dependencyupdaters-optional)
27-
* [`overrides` (_optional_) (_deprecated_)](#overrides-optional-deprecated)
28-
* [`copyrightHolder`](#copyrightholder)
2927
* [Contributing](#contributing)
3028
* [Dependencies](#dependencies)
3129
* [Verification](#verification)
@@ -165,9 +163,6 @@ __object__:
165163
returned from the `prompt` function
166164
* `projectRoot`: __string__ path of the working directory where the CLI
167165
command was executed
168-
* `projectType`:
169-
* __string__ primary language for the project
170-
* _deprecated_ will be removed with the next major version
171166
* `description`: __string__ brief summary of the project
172167
* `homepage`: __string__ url of the project homepage
173168
* `public`: __boolean__ (_optional_) whether this host should be presented
@@ -198,15 +193,6 @@ __object__:
198193
* `owner`: __string__ account name on the host service for the repository
199194
owner. defaults to `$ git config github.user`
200195

201-
#### `overrides` (_optional_) (_deprecated_)
202-
203-
use `decisions` instead of `overrides`
204-
205-
##### `copyrightHolder`
206-
207-
__string__ enables setting the value of the prompt default for the copyright
208-
holder. if not provided, the default will be empty.
209-
210196
## Contributing
211197

212198
<!--contribution-badges start -->

example.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// #### Import
22
// remark-usage-ignore-next 3
3-
import {promises as fs} from 'fs';
3+
import {promises as fs} from 'node:fs';
44
import {resolve} from 'path';
55
import stubbedFs from 'mock-fs';
66
import {lift, questionNames, scaffold} from './lib/index.js';
@@ -9,7 +9,7 @@ import {lift, questionNames, scaffold} from './lib/index.js';
99

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

1414
await scaffold({
1515
decisions: {

0 commit comments

Comments
 (0)