-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a74132a
commit e575041
Showing
11 changed files
with
516 additions
and
906 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Publish | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
always-auth: true | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn publish --access public | ||
env: | ||
SNYK_TOKEN: ${{secrets.SNYK_TOKEN}} | ||
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} | ||
CI: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
14 | ||
16 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,65 @@ | ||
{ | ||
"name": "snyker", | ||
"version": "3.4.0", | ||
"name": "@asos/snyker", | ||
"version": "4.0.0", | ||
"description": "An opinionated, heavy-handed wrapper around Snyk.", | ||
"main": "lib/index.js", | ||
"bin": "bin/snyker", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/asos/snyker.git" | ||
"author": { | ||
"name": "Craig Morten", | ||
"email": "[email protected]" | ||
}, | ||
"license": "MIT", | ||
"keywords": [ | ||
"snyk", | ||
"security", | ||
"vulnerabilities" | ||
], | ||
"author": "Craig Morten <[email protected]>", | ||
"homepage": "https://github.com/asos/snyker#README", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/asos/snyker.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/asos/snyker/issues" | ||
}, | ||
"homepage": "https://github.com/asos/snyker#README", | ||
"directories": { | ||
"doc": "docs", | ||
"lib": "lib" | ||
}, | ||
"main": "lib/index.js", | ||
"bin": { | ||
"snyker": "bin/snyker" | ||
}, | ||
"scripts": { | ||
"build": "cross-env BABEL_ENV=node rollup -c server.rollup.js", | ||
"ci": "yarn clean && yarn lint && yarn build && yarn snyker && yarn snyker:npm", | ||
"clean": "yarn clean:lib && yarn clean:lock", | ||
"clean:lib": "rimraf lib", | ||
"clean:lock": "rimraf package-lock.json", | ||
"lint": "eslint ./src", | ||
"lint:fix": "yarn lint --fix", | ||
"snyker": "bin/snyker", | ||
"snyker:npm": "bin/snyker --lockfile=package-lock.json && yarn clean:lock", | ||
"prepublishOnly": "yarn ci" | ||
}, | ||
"dependencies": { | ||
"@yarnpkg/lockfile": "^1.1.0", | ||
"js-yaml": "^3.14.0", | ||
"snyk": "^1.520.0", | ||
"yargs": "^15.3.0" | ||
"js-yaml": "^4.1.0", | ||
"snyk": "^1.790.0", | ||
"yargs": "^17.3.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.9.0", | ||
"cross-env": "^7.0.2", | ||
"eslint": "^7.16.0", | ||
"eslint-config-prettier": "^6.10.1", | ||
"eslint-plugin-import": "^2.20.2", | ||
"eslint-plugin-jest": "^23.8.2", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"prettier": "^2.0.5", | ||
"@babel/core": "^7.16.5", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.4.1", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.25.3", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"prettier": "^2.5.1", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.6.1", | ||
"rollup": "^2.61.1", | ||
"rollup-plugin-babel": "^4.4.0", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-json": "^4.0.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-terser": "^6.0.0" | ||
"rollup-plugin-terser": "^7.0.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.