Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

promote to stable #1281

Merged
merged 4 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading