@jcoreio/toolchain-semantic-release 1.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/resolveBin.cjs +8 -0
- package/bin/semantic-release +5 -0
- package/package.json +29 -0
- package/plugins/getConfigFiles.cjs +15 -0
- package/plugins/scripts.cjs +12 -0
- package/release.config.cjs +16 -0
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jcoreio/toolchain-semantic-release",
|
|
3
|
+
"version": "1.0.0-beta.10",
|
|
4
|
+
"description": "toolchain for running semantic-release",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/jcoreio/toolchains.git",
|
|
8
|
+
"directory": "packages/semantic-release"
|
|
9
|
+
},
|
|
10
|
+
"author": "Andy Edwards",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/jcoreio/toolchains/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/jcoreio/toolchains/tree/beta/packages/semantic-release",
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
18
|
+
"@semantic-release/github": "^8.0.4",
|
|
19
|
+
"@semantic-release/npm": "^10.0.4",
|
|
20
|
+
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
21
|
+
"dedent-js": "^1.0.1",
|
|
22
|
+
"resolve-bin": "^1.0.0",
|
|
23
|
+
"semantic-release": "^21.0.5",
|
|
24
|
+
"@jcoreio/toolchain": "1.0.0-beta.10"
|
|
25
|
+
},
|
|
26
|
+
"bin": {
|
|
27
|
+
"semantic-release": "./bin/semantic-release"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const { name } = require('../package.json')
|
|
2
|
+
const dedent = require('dedent-js')
|
|
3
|
+
|
|
4
|
+
module.exports = [
|
|
5
|
+
async function getConfigFiles() {
|
|
6
|
+
return {
|
|
7
|
+
'release.config.cjs': dedent`
|
|
8
|
+
/* eslint-env node, es2018 */
|
|
9
|
+
module.exports = {
|
|
10
|
+
extends: [require.resolve('${name}/release.config.cjs')],
|
|
11
|
+
}
|
|
12
|
+
`,
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const { projectDir } = require('./util/findUps.cjs')
|
|
2
|
+
const path = require('path')
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
plugins: [
|
|
6
|
+
require.resolve('@semantic-release/commit-analyzer'),
|
|
7
|
+
require.resolve('@semantic-release/release-notes-generator'),
|
|
8
|
+
[
|
|
9
|
+
require.resolve('@semantic-release/npm'),
|
|
10
|
+
{
|
|
11
|
+
pkgRoot: path.join(projectDir, 'dist'),
|
|
12
|
+
},
|
|
13
|
+
],
|
|
14
|
+
require.resolve('@semantic-release/github'),
|
|
15
|
+
],
|
|
16
|
+
}
|