Skip to content

Commit aa70b82

Browse files
committed
fix(release): add plugins to commit changelog and package
1 parent 084b3d8 commit aa70b82

File tree

3 files changed

+2705
-2641
lines changed

3 files changed

+2705
-2641
lines changed

.releaserc.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"plugins": [
3+
"@semantic-release/commit-analyzer",
4+
"@semantic-release/github",
5+
"@semantic-release/npm",
6+
"@semantic-release/release-notes-generator",
7+
"@semantic-release/changelog",
8+
[
9+
"@semantic-release/git",
10+
{
11+
"assets": ["CHANGELOG.md", "package.json", "yarn.lock"]
12+
}
13+
]
14+
]
15+
}

package.json

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,24 @@
55
"author": "Thomas @amphro",
66
"bugs": "https://github.com/forcedotcom/plugin-command-reference/issues",
77
"dependencies": {
8-
"@oclif/command": "^1",
9-
"@oclif/config": "^1",
10-
"@oclif/errors": "^1",
11-
"@salesforce/command": "^2",
12-
"@salesforce/core": "^2",
13-
"@salesforce/dev-scripts": "^0.4.1",
8+
"@oclif/command": "^1.5.19",
9+
"@oclif/config": "^1.14.0",
10+
"@oclif/errors": "^1.2.2",
11+
"@salesforce/command": "^3.0.0",
12+
"@salesforce/core": "^2.2.0",
1413
"chalk": "^3.0.0",
1514
"handlebars": "^4.7.3",
1615
"tslib": "^1"
1716
},
1817
"devDependencies": {
19-
"@oclif/dev-cli": "^1",
20-
"@oclif/plugin-help": "^2",
21-
"@oclif/test": "^1",
22-
"globby": "^8",
23-
"husky": "^1"
18+
"@oclif/dev-cli": "^1.22.2",
19+
"@oclif/plugin-help": "^2.2.3",
20+
"@oclif/test": "^1.2.5",
21+
"@salesforce/dev-scripts": "^0.4.1",
22+
"@semantic-release/changelog": "^5.0.0",
23+
"@semantic-release/git": "^9.0.0",
24+
"husky": "^4.2.3",
25+
"semantic-release": "^17.0.4"
2426
},
2527
"engines": {
2628
"node": ">=8.4.0"
@@ -71,5 +73,8 @@
7173
"pre-commit": "yarn sfdx-husky-pre-commit",
7274
"pre-push": "yarn sfdx-husky-pre-push"
7375
}
76+
},
77+
"publishConfig": {
78+
"access": "public"
7479
}
7580
}

0 commit comments

Comments
 (0)