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: dword-design/mock-argv
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.0
Choose a base ref
...
head repository: dword-design/mock-argv
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on May 10, 2021

  1. chore: lock file maintenance (#45)

    * chore: lock file maintenance
    
    * chore: remove .huskyrc.json
    
    * chore: update config files
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    Co-authored-by: Sebastian Landwehr <info@dword-design.de>
    Co-authored-by: GitHub Actions <actions@github.com>
    4 people authored May 10, 2021
    Copy the full SHA
    a20d959 View commit details

Commits on May 28, 2021

  1. chore: lock file maintenance

    renovate-bot authored and dword-design committed May 28, 2021
    Copy the full SHA
    9e53f68 View commit details
  2. fix: update config files

    actions-user authored and dword-design committed May 28, 2021
    Copy the full SHA
    0ea01b6 View commit details
  3. chore: 2.0.1 [skip ci]

    ## [2.0.1](v2.0.0...v2.0.1) (2021-05-28)
    
    ### Bug Fixes
    
    * update config files ([0ea01b6](0ea01b6))
    semantic-release-bot committed May 28, 2021
    Copy the full SHA
    23d6956 View commit details

Commits on Jun 8, 2021

  1. chore: lock file maintenance

    renovate-bot authored and dword-design committed Jun 8, 2021
    Copy the full SHA
    f88b6d9 View commit details
  2. chore: update workflow

    dword-design committed Jun 8, 2021
    Copy the full SHA
    415f32d View commit details
  3. Copy the full SHA
    69d99de View commit details
  4. chore: 2.0.2 [skip ci]

    ## [2.0.2](v2.0.1...v2.0.2) (2021-06-08)
    
    ### Bug Fixes
    
    * add `types.d.ts` ([#48](#48)) ([69d99de](69d99de))
    semantic-release-bot committed Jun 8, 2021
    Copy the full SHA
    6720bfe View commit details

Commits on Jun 14, 2021

  1. fix: lock file maintenance

    renovate-bot authored and dword-design committed Jun 14, 2021
    Copy the full SHA
    282a22b View commit details
  2. fix: update config files

    actions-user authored and dword-design committed Jun 14, 2021
    Copy the full SHA
    33363ce View commit details
  3. chore: 2.0.3 [skip ci]

    ## [2.0.3](v2.0.2...v2.0.3) (2021-06-14)
    
    ### Bug Fixes
    
    * lock file maintenance ([282a22b](282a22b))
    * update config files ([33363ce](33363ce))
    semantic-release-bot committed Jun 14, 2021
    Copy the full SHA
    0a926b0 View commit details

Commits on Jun 21, 2021

  1. Copy the full SHA
    d32aef1 View commit details

Commits on Jun 28, 2021

  1. Copy the full SHA
    3e6333d View commit details

Commits on Jun 29, 2021

  1. fix: see also

    dword-design committed Jun 29, 2021
    Copy the full SHA
    a46ec92 View commit details
  2. chore: 2.0.4 [skip ci]

    ## [2.0.4](v2.0.3...v2.0.4) (2021-06-29)
    
    ### Bug Fixes
    
    * see also ([a46ec92](a46ec92))
    semantic-release-bot committed Jun 29, 2021
    Copy the full SHA
    fe03333 View commit details

Commits on Jul 5, 2021

  1. chore: lock file maintenance

    renovate-bot authored and dword-design committed Jul 5, 2021
    Copy the full SHA
    896f173 View commit details
  2. fix: update config files

    actions-user authored and dword-design committed Jul 5, 2021
    Copy the full SHA
    fedef9f View commit details
  3. chore: 2.0.5 [skip ci]

    ## [2.0.5](v2.0.4...v2.0.5) (2021-07-05)
    
    ### Bug Fixes
    
    * update config files ([fedef9f](fedef9f))
    semantic-release-bot committed Jul 5, 2021
    Copy the full SHA
    9ce98bc View commit details

Commits on Jul 15, 2021

  1. chore: lock file maintenance

    renovate-bot authored and dword-design committed Jul 15, 2021
    Copy the full SHA
    eabc49f View commit details
  2. Copy the full SHA
    2273564 View commit details
  3. chore: update config files

    actions-user authored and dword-design committed Jul 15, 2021
    Copy the full SHA
    c7f2945 View commit details

Commits on Jul 20, 2021

  1. chore: lock file maintenance

    renovate-bot authored and dword-design committed Jul 20, 2021
    Copy the full SHA
    f672845 View commit details
  2. fix: update config files

    actions-user authored and dword-design committed Jul 20, 2021
    Copy the full SHA
    de09583 View commit details
  3. chore: 2.0.6 [skip ci]

    ## [2.0.6](v2.0.5...v2.0.6) (2021-07-20)
    
    ### Bug Fixes
    
    * update config files ([de09583](de09583))
    semantic-release-bot committed Jul 20, 2021
    Copy the full SHA
    c239a63 View commit details

Commits on Aug 9, 2021

  1. chore: lock file maintenance

    renovate-bot authored and dword-design committed Aug 9, 2021
    Copy the full SHA
    2ae5c9f View commit details
  2. Copy the full SHA
    8210f57 View commit details

Commits on Aug 16, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Aug 16, 2021
    Copy the full SHA
    acb6541 View commit details

Commits on Aug 23, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Aug 23, 2021
    Copy the full SHA
    69b0fce View commit details

Commits on Aug 30, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Aug 30, 2021
    Copy the full SHA
    b529f41 View commit details

Commits on Sep 6, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Sep 6, 2021
    Copy the full SHA
    90e24b5 View commit details
  2. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Sep 6, 2021
    Copy the full SHA
    c433fd2 View commit details

Commits on Sep 13, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Sep 13, 2021
    Copy the full SHA
    f76c938 View commit details

Commits on Sep 20, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Sep 20, 2021
    Copy the full SHA
    246ba0d View commit details

Commits on Sep 27, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Sep 27, 2021
    Copy the full SHA
    6d3cf57 View commit details

Commits on Oct 4, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Oct 4, 2021
    Copy the full SHA
    fd27a63 View commit details

Commits on Oct 11, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Oct 11, 2021
    Copy the full SHA
    1fec6ea View commit details
  2. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Oct 11, 2021
    Copy the full SHA
    076abaa View commit details

Commits on Oct 25, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Oct 25, 2021
    Copy the full SHA
    d9c2f35 View commit details

Commits on Nov 1, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Nov 1, 2021
    Copy the full SHA
    f0619bf View commit details
  2. chore: lock file maintenance

    renovate-bot authored and dword-design committed Nov 1, 2021
    Copy the full SHA
    95826dd View commit details

Commits on Nov 8, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Nov 8, 2021
    Copy the full SHA
    f41c547 View commit details

Commits on Nov 15, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Nov 15, 2021
    Copy the full SHA
    91859b8 View commit details
  2. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Nov 15, 2021
    Copy the full SHA
    6450db0 View commit details

Commits on Nov 22, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Nov 22, 2021
    Copy the full SHA
    dc99f15 View commit details

Commits on Nov 29, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Nov 29, 2021
    Copy the full SHA
    82ab16e View commit details

Commits on Dec 6, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Dec 6, 2021
    Copy the full SHA
    520bab0 View commit details

Commits on Dec 13, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Dec 13, 2021
    Copy the full SHA
    94ad2b8 View commit details
  2. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Dec 13, 2021
    Copy the full SHA
    f3fadf8 View commit details

Commits on Dec 20, 2021

  1. chore: lock file maintenance

    renovate-bot authored and renovate[bot] committed Dec 20, 2021
    Copy the full SHA
    c495c92 View commit details

Commits on Dec 28, 2021

  1. Copy the full SHA
    2f9ed04 View commit details
2 changes: 1 addition & 1 deletion .babelrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "@dword-design/babel-config"
}
}
10 changes: 10 additions & 0 deletions .baserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "@dword-design/node",
"seeAlso": [
{ "repository": "output-files", "description": "Output a tree of files and directories by providing an object. Especially useful for testing with real files." },
{ "repository": "with-local-tmp-dir", "description": "Creates a temporary folder inside cwd, cds inside the folder, runs a function, and removes the folder. Especially useful for testing." },
{ "repository": "expect-mocha-image-snapshot", "description": "A wrapper around jest-image-snapshot that makes it compatible to Mocha." },
{ "repository": "jest-image-matcher", "description": "A Jest matcher for image comparisons based on pixelmatch. Can also be used with Mocha. Useful for visual regression testing." },
{ "repository": "unify-mocha-output", "description": "Adjusts a Mocha output so that it is consistent across platforms and can be used for snapshot testing. Basically adjusts the checkmark symbol and removes time values." }
]
}
2 changes: 1 addition & 1 deletion .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -10,4 +10,4 @@
0
]
}
}
}
7 changes: 7 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-20",
"updateContentCommand": "yarn --frozen-lockfile"
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -2,3 +2,4 @@
*.glb filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.vsix filter=lfs diff=lfs merge=lfs -text
5 changes: 5 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
custom:
- buymeacoffee.com/dword
- paypal.me/SebastianLandwehr
github: dword-design
patreon: dworddesign
38 changes: 18 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -10,14 +10,14 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
lfs: true
ref: ${{ github.event.pull_request.head.repo.full_name == github.repository &&
github.event.pull_request.head.ref || '' }}
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20
- run: git config --global user.email "actions@github.com"
- run: git config --global user.name "GitHub Actions"
- run: yarn --frozen-lockfile
@@ -38,39 +38,37 @@ jobs:
needs: cancel-existing
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: yarn --frozen-lockfile
- run: yarn test
- env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn test
- if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Image Snapshot Diffs
path: "**/__image_snapshots__/__diff_output__"
- if: matrix.os == 'ubuntu-latest' && matrix.node == 14
uses: codecov/codecov-action@v1
- if: matrix.os == 'ubuntu-latest' && matrix.node == 20
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
strategy:
matrix:
exclude:
- node: 12
include:
- node: 18
os: ubuntu-latest
- node: 20
os: ubuntu-latest
- node: 20
os: macos-latest
- node: 12
- node: 20
os: windows-latest
node:
- 12
- 14
os:
- macos-latest
- windows-latest
- ubuntu-latest
name: build
on:
pull_request: {}
5 changes: 3 additions & 2 deletions .github/workflows/deprecated-dependencies.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
lfs: true
- continue-on-error: true
@@ -20,10 +20,11 @@ jobs:
update_existing: true
- if: ${{ !steps.check-deprecated-js-deps.outputs.deprecated &&
steps.create-deprecation-issue.outputs.number }}
uses: peter-evans/close-issue@v1
uses: peter-evans/close-issue@v3
with:
comment: Auto-closing the issue
issue-number: ${{ steps.create-deprecation-issue.outputs.number }}
- uses: gautamkrishnar/keepalive-workflow@v1
name: deprecated-dependencies
on:
schedule:
2 changes: 1 addition & 1 deletion .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: micnncim/action-label-syncer@v1
7 changes: 4 additions & 3 deletions .github/workflows/sync-metadata.yml
Original file line number Diff line number Diff line change
@@ -2,12 +2,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dword-design/action-sync-node-meta@fork
- uses: actions/checkout@v4
- uses: jaid/action-sync-node-meta@v2.0.0
with:
approve: false
commitMessagePrefix: "fix:"
commitMessage: "fix: write GitHub metadata to package.json [{changes}]"
githubToken: ${{ secrets.GITHUB_TOKEN }}
- uses: gautamkrishnar/keepalive-workflow@v1
name: sync-metadata
on:
schedule:
13 changes: 11 additions & 2 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
# Need to add :latest, otherwise old versions (e.g. of node) are installed
FROM gitpod/workspace-full:latest
FROM gitpod/workspace-full-vnc:latest

RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
RUN sudo apt-get install git-lfs
RUN git lfs install

# https://www.gitpod.io/docs/languages/javascript
# https://github.com/gitpod-io/gitpod/issues/945
RUN bash -c 'source $HOME/.nvm/nvm.sh && nvm install 20'
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix

RUN echo "\nexport PATH=$(yarn global bin):\$PATH" >> /home/gitpod/.bashrc
RUN yarn global add gitpod-env-per-project @babel/node

RUN yarn global add gitpod-env-per-project @babel/node @babel/core

RUN sudo apt-get install -y graphviz

RUN brew install gh

# Puppeteer dependencies
20 changes: 15 additions & 5 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
image:
file: .gitpod.Dockerfile
tasks:
- before: sudo docker-up
name: Docker Deamon
- init: eval $(gitpod-env-per-project) && git lfs pull && yarn --frozen-lockfile
- before: >-
echo "export
PUPPETEER_CACHE_DIR=/workspace/mock-argv/node_modules/.cache/puppeteer" >>
/home/gitpod/.bashrc
gitpod-env-per-project >> /home/gitpod/.bashrc && source /home/gitpod/.bashrc
init: |-
git config --global user.name "Sebastian Landwehr"
git config diff.lfs.textconv cat
git lfs pull
yarn --frozen-lockfile
vscode:
extensions:
- karlito40.fix-irregular-whitespace@0.0.3:8jjyZYuYF6yW6nwsAiulrg==
- adrianwilczynski.toggle-hidden@1.0.2:pj4yxebPvdfdMeVIjOEuRQ==
- https://sebastianlandwehr.com/vscode-extensions/karlito40.fix-irregular-whitespace-0.1.1.vsix
- https://sebastianlandwehr.com/vscode-extensions/adrianwilczynski.toggle-hidden-1.0.2.vsix
- octref.vetur@0.33.1
- Tobermory.es6-string-html
- zjcompt.es6-string-javascript
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint --edit "$1"
6 changes: 0 additions & 6 deletions .huskyrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
@@ -12,4 +12,4 @@
}
]
]
}
}
35 changes: 17 additions & 18 deletions .renovaterc.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
{
"extends": [
":semanticCommits"
],
"ignorePaths": [
".github/workflows/build.yml"
":semanticCommits",
":semanticPrefixFix"
],
"github-actions": {
"enabled": false
},
"labels": [
"maintenance"
],
"lockFileMaintenance": {
"enabled": true
"automerge": true,
"enabled": true,
"semanticCommitType": "chore"
},
"packageRules": [
"rangeStrategy": "replace",
"regexManagers": [
{
"packagePatterns": [
"*"
"datasourceTemplate": "github-tags",
"fileMatch": [
"\\.js$"
],
"semanticCommitType": "chore"
},
{
"depTypeList": [
"dependencies",
"devDependencies",
"peerDependencies",
"optionalDependencies"
"matchStrings": [
"(^|\\s)gitHubAction`(?<depName>.*?)@v(?<currentValue>.*?)`"
],
"semanticCommitType": "fix"
"versioningTemplate": "npm"
}
],
"semanticCommitScope": null
}
}
7 changes: 5 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
{
"editor.tabSize": 2,
"files.autoSave": "off",
"files.exclude": {
".babelrc.json": true,
".commitlintrc.json": true,
".cz.json": true,
".devcontainer": true,
".editorconfig": true,
".eslintrc.json": true,
".gitattributes": true,
".github": true,
".gitignore": true,
".gitpod.Dockerfile": true,
".gitpod.yml": true,
".huskyrc.json": true,
".husky": true,
".nyc_output": true,
".releaserc.json": true,
".renovaterc.json": true,
".vscode": true,
"CHANGELOG.md": true,
"LICENSE.md": true,
"coverage": true,
@@ -23,4 +26,4 @@
"yarn.lock": true
},
"workbench.editor.enablePreview": false
}
}
Loading