Skip to content

Commit

Permalink
Merge pull request #1051 from form8ion/beta
Browse files Browse the repository at this point in the history
  • Loading branch information
travi authored Jul 26, 2024
2 parents 6825897 + 58ca0a3 commit 4b4d61e
Show file tree
Hide file tree
Showing 25 changed files with 485 additions and 202 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ jobs:
strategy:
matrix:
node:
- 16.14.0
- 18.0.0
- 18
- 20
- 18.17.0
- 20.6.1
- 21
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup node
Expand Down
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@
/coverage/
/.nyc_output/

.eslintcache
.eslintcache

.idea
!.idea/
.idea/*
!.idea/runConfigurations/
11 changes: 11 additions & 0 deletions .idea/runConfigurations/unit.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .remarkrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://github.com/remarkjs/remark/tree/master/packages/remark-stringify#options
exports.settings = {
listItemIndent: 1,
listItemIndent: 'one',
emphasis: '_',
strong: '_',
bullet: '*',
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $ npm install @form8ion/renovate-scaffolder --save-prod
#### Import

```javascript
import {lift, predicate as projectUsesRenovate, scaffold} from '@form8ion/renovate-scaffolder';
import {lift, test as projectUsesRenovate, scaffold} from '@form8ion/renovate-scaffolder';
```

#### Execute
Expand All @@ -63,7 +63,7 @@ import {lift, predicate as projectUsesRenovate, scaffold} from '@form8ion/renova
await scaffold({projectRoot: process.cwd()});

if (await projectUsesRenovate({projectRoot: process.cwd()})) {
await lift();
await lift({projectRoot: process.cwd()});
}
})();
```
Expand Down Expand Up @@ -101,15 +101,15 @@ $ npm test

[npm-link]: https://www.npmjs.com/package/@form8ion/renovate-scaffolder

[npm-badge]: https://img.shields.io/npm/v/@form8ion/renovate-scaffolder.svg
[npm-badge]: https://img.shields.io/npm/v/@form8ion/renovate-scaffolder?logo=npm

[runkit-link]: https://npm.runkit.com/@form8ion/renovate-scaffolder

[runkit-badge]: https://badge.runkitcdn.com/@form8ion/renovate-scaffolder.svg

[license-link]: LICENSE

[license-badge]: https://img.shields.io/github/license/form8ion/renovate-scaffolder.svg
[license-badge]: https://img.shields.io/github/license/form8ion/renovate-scaffolder.svg?logo=opensourceinitiative

[commit-convention-link]: https://conventionalcommits.org

Expand All @@ -129,7 +129,7 @@ $ npm test

[github-actions-ci-link]: https://github.com/form8ion/renovate-scaffolder/actions?query=workflow%3A%22Node.js+CI%22+branch%3Amaster

[github-actions-ci-badge]: https://github.com/form8ion/renovate-scaffolder/workflows/Node.js%20CI/badge.svg
[github-actions-ci-badge]: https://img.shields.io/github/actions/workflow/status/form8ion/renovate-scaffolder/node-ci.yml.svg?branch=master&logo=github

[coverage-link]: https://codecov.io/github/form8ion/renovate-scaffolder

Expand Down
4 changes: 2 additions & 2 deletions example.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// #### Import
// remark-usage-ignore-next
import stubbedFs from 'mock-fs';
import {lift, predicate as projectUsesRenovate, scaffold} from './lib/index.js';
import {lift, test as projectUsesRenovate, scaffold} from './lib/index.js';

// remark-usage-ignore-next
stubbedFs();
Expand All @@ -11,6 +11,6 @@ stubbedFs();
await scaffold({projectRoot: process.cwd()});

if (await projectUsesRenovate({projectRoot: process.cwd()})) {
await lift();
await lift({projectRoot: process.cwd()});
}
})();
Loading

0 comments on commit 4b4d61e

Please sign in to comment.