Skip to content

Commit

Permalink
Merge pull request #1281 from form8ion/beta
Browse files Browse the repository at this point in the history
  • Loading branch information
travi authored Feb 21, 2025
2 parents b2389f8 + 53e4dcb commit f710e9c
Show file tree
Hide file tree
Showing 13 changed files with 3,600 additions and 2,342 deletions.
1 change: 0 additions & 1 deletion .babelrc

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,26 @@ env:
FORCE_COLOR: 1
NPM_CONFIG_COLOR: always
jobs:
verify-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 18.19.0
- 20.9.0
- 22.11.0
- 23
steps:
- uses: actions/[email protected]
- name: Setup node
uses: actions/[email protected]
with:
cache: npm
node-version: ${{ matrix.node }}
- run: npm clean-install
- run: npm install --global corepack@latest
- run: corepack npm audit signatures
- run: npm test
verify:
runs-on: ubuntu-latest
steps:
Expand All @@ -28,6 +48,7 @@ jobs:
release:
needs:
- verify
- verify-matrix
permissions:
contents: write
id-token: write
Expand All @@ -40,6 +61,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- verify
- verify-matrix
if: ${{ !cancelled() }}
steps:
- name: All matrix versions passed
Expand Down
4 changes: 3 additions & 1 deletion .idea/runConfigurations/Unit_Tests.xml

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

14 changes: 0 additions & 14 deletions .remarkrc.js

This file was deleted.

14 changes: 14 additions & 0 deletions .remarkrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"settings": {
"listItemIndent": "one",
"emphasis": "_",
"strong": "_",
"bullet": "*",
"incrementListMarker": false
},
"plugins": [
"@form8ion/remark-lint-preset",
["remark-toc", {"tight": true}],
["remark-usage", {"heading": "example"}]
]
}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ opinionated scaffolder for [Jest](https://jestjs.io)
[![MIT license][license-badge]][license-link]
[![npm][npm-badge]][npm-link]
[![Try @form8ion/jest-scaffolder on RunKit][runkit-badge]][runkit-link]
![node][node-badge]

<!--consumer-badges end -->

Expand Down Expand Up @@ -131,3 +132,5 @@ $ npm test
[ossfScorecard-link]: https://securityscorecards.dev/viewer/?uri=github.com/form8ion/jest-scaffolder

[ossfScorecard-badge]: https://api.securityscorecards.dev/projects/github.com/form8ion/jest-scaffolder/badge

[node-badge]: https://img.shields.io/node/v/@form8ion/jest-scaffolder?logo=node.js
2 changes: 1 addition & 1 deletion 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 {scaffold} from './lib/index.cjs.js';
import {scaffold} from './lib/index.js';

// remark-usage-ignore-next
stubbedFs({templates: {'canary.test.js': ''}});
Expand Down
Loading

0 comments on commit f710e9c

Please sign in to comment.