Skip to content

Commit

Permalink
Merge pull request #4 from einride/next
Browse files Browse the repository at this point in the history
chore: use public registry
  • Loading branch information
ngalaiko authored Sep 4, 2024
2 parents db7c9b9 + 647615d commit f09ab20
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 207 deletions.
2 changes: 1 addition & 1 deletion .releaserc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
},
],
"@semantic-release/github",
"semantic-release-yarn",
"@semantic-release/npm",
[
"@semantic-release/release-notes-generator",
{
Expand Down
2 changes: 1 addition & 1 deletion .sage/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ func GitVerifyNoDiff(ctx context.Context) error {
func Release(ctx context.Context) error {
sg.Logger(ctx).Println("releasing...")
sg.Deps(ctx, InstallImmutable)
cmd := sg.Command(ctx, "yarn", "semantic-release", "--ci")
cmd := sg.Command(ctx, "yarn", "semantic-release")
return cmd.Run()
}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

A command line tool that wraps [csp-evaluator].

## Installation

```
$ npm install -g @einride/csp-evaluator-cli
```

## Usage

CLI interface strives to mimic [CSP Evaluator online tool]. It takes Content Security Policy as a string,
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@saga/csp-evaluator-cli",
"name": "@einride/csp-evaluator-cli",
"version": "0.0.0-development",
"description": "A command line tool to validate Content-Security-Policy rules",
"main": "src/index.js",
Expand All @@ -25,7 +25,8 @@
"content-security-policy"
],
"publishConfig": {
"registry": "https://europe-west1-npm.pkg.dev/e-npm-registry-prod/npm"
"access": "public",
"provenance": true
},
"dependencies": {
"chalk": "^5.3.0",
Expand All @@ -38,12 +39,10 @@
"@einride/eslint-plugin": "7.9.0",
"@einride/prettier-config": "^2.1.0",
"@einride/tsconfig": "^2.1.1",
"concurrently": "8.2.2",
"conventional-changelog-conventionalcommits": "^8.0.0",
"eslint": "8.57.0",
"prettier": "3.3.3",
"semantic-release": "^24.0.0",
"semantic-release-yarn": "^3.0.2",
"typescript": "^5.5.4"
},
"packageManager": "[email protected]"
Expand Down
Loading

0 comments on commit f09ab20

Please sign in to comment.