Skip to content

Commit

Permalink
fix: lock file maintenance (#4)
Browse files Browse the repository at this point in the history
* chore: lock file maintenance

* chore: update config files

* fix: fix restricted import

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Sebastian Landwehr <info@dword-design.de>
  • Loading branch information
3 people authored Apr 19, 2021
1 parent 975f61c commit dccb8ca
Show file tree
Hide file tree
Showing 7 changed files with 190 additions and 199 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- if: failure()
uses: actions/upload-artifact@v2
with:
name: Image Snapshot Diffs
path: "**/__image_snapshots__/__diff_output__"
- uses: codecov/codecov-action@v1
with:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/sync-metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dword-design/action-sync-node-meta@fork
with:
approve: false
commitMessagePrefix: "fix:"
githubToken: ${{ secrets.GITHUB_TOKEN }}
name: sync-metadata
on:
schedule:
- cron: 0 5 * * *
workflow_dispatch: {}
2 changes: 1 addition & 1 deletion .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.d
RUN sudo apt-get install git-lfs
RUN git lfs install
RUN echo "\nexport PATH=$(yarn global bin):\$PATH" >> /home/gitpod/.bashrc
RUN yarn global add gitpod-env-per-project @babel/core @babel/node
RUN yarn global add gitpod-env-per-project @babel/node
RUN sudo apt-get install -y graphviz

# Puppeteer dependencies
Expand Down
1 change: 1 addition & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ vscode:
extensions:
- karlito40.fix-irregular-whitespace@0.0.3:8jjyZYuYF6yW6nwsAiulrg==
- adrianwilczynski.toggle-hidden@1.0.2:pj4yxebPvdfdMeVIjOEuRQ==
- octref.vetur@0.33.1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@dword-design/functions": "^3.0.0",
"constant-case": "^3.0.4",
"load-pkg": "^4.0.0",
"parse-pkg-name": "^2.0.0",
"parse-packagejson-name": "^1.0.1",
"sort-keys": "^4.2.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from '@dword-design/functions'
import { constantCase } from 'constant-case'
import loadPkg from 'load-pkg'
import parsePkgName from 'parse-pkg-name'
import parsePackagejsonName from 'parse-packagejson-name'
import sortKeys from 'sort-keys'

export default async () => {
Expand All @@ -16,7 +16,7 @@ export default async () => {
throw new Error('Name or package.json could not be found.')
}

const packageName = parsePkgName(packageConfig.name).name
const packageName = parsePackagejsonName(packageConfig.name).fullName

const prefix = `${packageName |> constantCase}_`

Expand Down
364 changes: 169 additions & 195 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit dccb8ca

Please sign in to comment.