Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: form8ion/cypress-scaffolder
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.3
Choose a base ref
...
head repository: form8ion/cypress-scaffolder
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.0.0
Choose a head ref

Commits on Jan 12, 2024

  1. Copy the full SHA
    f1e817c View commit details
  2. Copy the full SHA
    5f50828 View commit details
  3. Copy the full SHA
    465f5fa View commit details

Commits on Jan 15, 2024

  1. Copy the full SHA
    08986e5 View commit details

Commits on Jan 21, 2024

  1. Copy the full SHA
    ae9d143 View commit details

Commits on Jan 22, 2024

  1. Copy the full SHA
    c4b6605 View commit details
  2. Copy the full SHA
    4af6da6 View commit details

Commits on Jan 25, 2024

  1. Copy the full SHA
    da17d19 View commit details
  2. Copy the full SHA
    66fd0b5 View commit details
  3. Copy the full SHA
    a9c0051 View commit details
  4. Copy the full SHA
    ec79279 View commit details

Commits on Jan 26, 2024

  1. Copy the full SHA
    e8bed3f View commit details
  2. Copy the full SHA
    3cb596e View commit details

Commits on Jan 29, 2024

  1. Copy the full SHA
    01f0a57 View commit details

Commits on Jan 31, 2024

  1. Copy the full SHA
    70b70e3 View commit details
  2. Copy the full SHA
    5cb1c32 View commit details

Commits on Feb 1, 2024

  1. Copy the full SHA
    e9284ba View commit details
  2. Copy the full SHA
    4ce35b1 View commit details

Commits on Feb 2, 2024

  1. Copy the full SHA
    f82bd59 View commit details

Commits on Feb 7, 2024

  1. Copy the full SHA
    4b5e77c View commit details
  2. Copy the full SHA
    ac8aa8b View commit details

Commits on Feb 8, 2024

  1. Copy the full SHA
    ae32398 View commit details

Commits on Feb 10, 2024

  1. Copy the full SHA
    dd3faf4 View commit details

Commits on Feb 11, 2024

  1. Copy the full SHA
    51a4d35 View commit details
  2. Copy the full SHA
    578f66a View commit details

Commits on Feb 12, 2024

  1. Copy the full SHA
    899d1f4 View commit details

Commits on Feb 13, 2024

  1. Copy the full SHA
    d1fd2f8 View commit details

Commits on Feb 14, 2024

  1. Copy the full SHA
    46d4c43 View commit details
  2. Copy the full SHA
    58ececc View commit details

Commits on Feb 15, 2024

  1. Copy the full SHA
    8cab021 View commit details

Commits on Feb 16, 2024

  1. Copy the full SHA
    10a3a04 View commit details
  2. Copy the full SHA
    96e34bf View commit details

Commits on Feb 19, 2024

  1. Copy the full SHA
    43ff889 View commit details

Commits on Feb 21, 2024

  1. Copy the full SHA
    1e11735 View commit details

Commits on Feb 25, 2024

  1. chore(action): update codecov/codecov-action action to v4.0.2

    renovate[bot] committed Feb 25, 2024
    Copy the full SHA
    fc00404 View commit details

Commits on Feb 26, 2024

  1. chore(deps): lock file maintenance

    renovate[bot] authored Feb 26, 2024
    Copy the full SHA
    305c480 View commit details

Commits on Feb 27, 2024

  1. chore(action): update codecov/codecov-action action to v4.1.0

    renovate[bot] committed Feb 27, 2024
    Copy the full SHA
    99315c7 View commit details
  2. chore(deps): update dependency @form8ion/commitlint-config to v1.0.71

    renovate[bot] committed Feb 27, 2024
    Copy the full SHA
    18cf789 View commit details

Commits on Mar 4, 2024

  1. chore(deps): lock file maintenance

    renovate[bot] authored Mar 4, 2024
    Copy the full SHA
    9a28dde View commit details

Commits on Mar 6, 2024

  1. chore(deps): update dependency rollup to v4.12.1

    renovate[bot] committed Mar 6, 2024
    Copy the full SHA
    1debd1b View commit details

Commits on Mar 11, 2024

  1. chore(deps): lock file maintenance

    renovate[bot] authored Mar 11, 2024
    Copy the full SHA
    bfb9836 View commit details

Commits on Mar 12, 2024

  1. chore(deps): update dependency rollup to v4.13.0

    renovate[bot] committed Mar 12, 2024
    Copy the full SHA
    e2a0404 View commit details

Commits on Mar 18, 2024

  1. chore(deps): lock file maintenance

    renovate[bot] authored Mar 18, 2024
    Copy the full SHA
    13facd1 View commit details
  2. chore(deps): update dependency @form8ion/babel-preset to v1.6.123

    renovate[bot] committed Mar 18, 2024
    Copy the full SHA
    96ad769 View commit details
  3. chore(deps): update dependency @form8ion/commitlint-config to v1.0.76

    renovate[bot] committed Mar 18, 2024
    Copy the full SHA
    50e1792 View commit details
  4. chore(deps): update dependency @form8ion/eslint-config-mocha to v3.0.3

    renovate[bot] committed Mar 18, 2024
    Copy the full SHA
    8e8cbab View commit details

Commits on Mar 19, 2024

  1. chore(deps): update dependency @form8ion/babel-preset to v1.6.124

    renovate[bot] committed Mar 19, 2024
    Copy the full SHA
    7f482bb View commit details

Commits on Mar 20, 2024

  1. chore(deps): update dependency @form8ion/babel-preset to v1.6.125

    renovate[bot] committed Mar 20, 2024
    Copy the full SHA
    7d60a21 View commit details

Commits on Mar 25, 2024

  1. chore(deps): lock file maintenance

    renovate[bot] authored Mar 25, 2024
    Copy the full SHA
    e122e5a View commit details

Commits on Mar 26, 2024

  1. chore(action): update codecov/codecov-action action to v4.1.1

    renovate[bot] committed Mar 26, 2024
    Copy the full SHA
    03bb89d View commit details
15 changes: 14 additions & 1 deletion .c8rc.json
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
{"reporter":["lcov","text-summary","html"],"exclude":["src/**/*-test.js","test/","thirdparty-wrappers/","vendor/"]}
{
"reporter": [
"lcov",
"text-summary",
"html"
],
"exclude": [
"src/**/*-test.js",
"src/**/*.test.js",
"test/",
"thirdparty-wrappers/",
"vendor/"
]
}
1 change: 0 additions & 1 deletion .commitlintrc.js

This file was deleted.

5 changes: 5 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"@form8ion"
]
}
2 changes: 1 addition & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
extends:
- '@form8ion'
- '@form8ion/mocha'
- '@form8ion/cucumber'
13 changes: 13 additions & 0 deletions .gherkin-lintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"no-restricted-tags": [
"on",
{
"tags": [
"@focus"
]
}
],
"use-and": "on",
"no-multiple-empty-lines": "on",
"no-dupe-feature-names": "on"
}
17 changes: 16 additions & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
@@ -2,5 +2,20 @@ _extends: .github
repository:
name: cypress-scaffolder
description: opinionated scaffolder for leveraging Cypress for testing a project
homepage: 'https://npm.im/@form8ion/cypress-scaffolder'
homepage: https://npm.im/@form8ion/cypress-scaffolder
private: false
branches:
- name: master
protection: null
rulesets:
- name: prevent destruction of the default branch
target: branch
enforcement: active
conditions:
ref_name:
include:
- ~DEFAULT_BRANCH
exclude: []
rules:
- type: deletion
- type: non_fast_forward
File renamed without changes.
40 changes: 37 additions & 3 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
@@ -13,21 +13,42 @@ 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/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup node
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
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:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: .nvmrc
cache: npm
- run: npm clean-install
- run: npm test
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
- uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
release:
needs:
- verify
- verify-matrix
permissions:
contents: write
id-token: write
@@ -36,5 +57,18 @@ jobs:
uses: form8ion/.github/.github/workflows/release-package.yml@master
secrets:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
workflow-result:
runs-on: ubuntu-latest
needs:
- verify
- verify-matrix
if: ${{ !cancelled() }}
steps:
- name: All matrix versions passed
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Some matrix version failed
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1
permissions:
contents: read
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
8 changes: 8 additions & 0 deletions .lockfile-lintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"path": "package-lock.json",
"type": "npm",
"validate-https": true,
"allowed-hosts": [
"npm"
]
}
1 change: 0 additions & 1 deletion .mocharc.json

This file was deleted.

1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
update-notifier=false
registry=https://registry.npmjs.org
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
3 changes: 0 additions & 3 deletions .remarkrc.js

This file was deleted.

5 changes: 5 additions & 0 deletions .remarkrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"plugins": [
"@form8ion/remark-lint-preset"
]
}
File renamed without changes.
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -6,6 +6,8 @@ testing a project
<!--status-badges start -->

[![Node CI Workflow Status][github-actions-ci-badge]][github-actions-ci-link]
[![Codecov][coverage-badge]][coverage-link]
![SLSA Level 2][slsa-badge]

<!--status-badges end -->

@@ -16,6 +18,7 @@ testing a project
[![npm][npm-badge]][npm-link]
[![Try @form8ion/cypress-scaffolder on RunKit][runkit-badge]][runkit-link]
[![MIT license][license-badge]][license-link]
![node][node-badge]

<!--consumer-badges end -->

@@ -66,15 +69,15 @@ $ npm test

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

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

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

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

[license-link]: LICENSE

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

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

@@ -86,16 +89,24 @@ $ npm test

[semantic-release-link]: https://github.com/semantic-release/semantic-release

[semantic-release-badge]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
[semantic-release-badge]: https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release

[PRs-link]: http://makeapullrequest.com

[PRs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg

[renovate-link]: https://renovatebot.com

[renovate-badge]: https://img.shields.io/badge/renovate-enabled-brightgreen.svg?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNjkgMzY5Ij48Y2lyY2xlIGN4PSIxODkuOSIgY3k9IjE5MC4yIiByPSIxODQuNSIgZmlsbD0iI2ZmZTQyZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUgLTYpIi8+PHBhdGggZmlsbD0iIzhiYjViNSIgZD0iTTI1MSAyNTZsLT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ik0yOTEgMjY0bDggOGM0IDQgNCAxMSAwIDE2bC04IDdjLTQgNS0xMSA1LTE1IDBsLTktOGM1IDUgMTIgNSAxNiAwbDgtOGM0LTQgNC0xMSAwLTE1eiIvPjxwYXRoIGZpbGw9IiNlYjZlMmQiIGQ9Ik0yNjAgMjMzbC00LTRjLTYtNi0xNy02LTIzIDAtNyA3LTcgMTcgMCAyNGw0IDRjLTQtNS00LTExIDAtMTZsOC04YzQtNCAxMS00IDE1IDB6Ii8+PHBhdGggZmlsbD0iIzEzYWNiZCIgZD0iTTEzNCAyNDhjLTQgMC04LTItMTEtNWwtMjMtMjNhMTYgMTYgMCAwMTAtMjNMMjAxIDk2YTE2IDE2IDAgMDEyMiAwbDI0IDI0YzYgNiA2IDE2IDAgMjJMMTQ2IDI0M2MtMyAzLTcgNS0xMiA1em03OC0xNDdsLTQgMi0xMDEgMTAxYTYgNiAwIDAwMCA5bDIzIDIzYTYgNiAwIDAwOSAwbDEwMS0xMDFhNiA2IDAgMDAwLTlsLTI0LTIzLTQtMnoiLz48cGF0aCBmaWxsPSIjYmY0NDA0IiBkPSJNMjg0IDMwNGMtNCAwLTgtMS0xMS00bC00Ny00N2MtNi02LTYtMTYgMC0yMmw4LThjNi02IDE2LTYgMjIgMGw0NyA0NmM2IDcgNiAxNyAwIDIzbC04IDhjLTMgMy03IDQtMTEgNHptLTM5LTc2Yy0xIDAtMyAwLTQgMmwtOCA3Yy0yIDMtMiA3IDAgOWw0NyA0N2E2IDYgMCAwMDkgMGw3LThjMy0yIDMtNiAwLTlsLTQ2LTQ2Yy0yLTItMy0yLTUtMnoiLz48L3N2Zz4=
[renovate-badge]: https://img.shields.io/badge/renovate-enabled-brightgreen.svg?logo=renovatebot

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

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

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

[coverage-badge]: https://img.shields.io/codecov/c/github/form8ion/cypress-scaffolder?logo=codecov

[slsa-badge]: https://slsa.dev/images/gh-badge-level2.svg

[node-badge]: https://img.shields.io/node/v/@form8ion/cypress-scaffolder?logo=node.js
21 changes: 21 additions & 0 deletions cucumber.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
const base = {
formatOptions: {snippetInterface: 'async-await'},
import: ['test/integration/features/**/*.js']
};

export default base;

export const wip = {
...base,
tags: '@wip and not @skip'
};

export const noWip = {
...base,
tags: 'not @skip and not @wip'
};

export const focus = {
...base,
tags: '@focus'
};
Loading