Skip to content

Commit 6cfc234

Browse files
Remove release-it (embroider-build#323)
* Remove release-it * Remove execa (now unused)
1 parent c042ef3 commit 6cfc234

File tree

5 files changed

+639
-48
lines changed

5 files changed

+639
-48
lines changed

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,6 @@ npx ember-cli@latest addon my-addon -b @embroider/addon-blueprint --addon-only
113113

114114
For incremental migration in monorepos, you'll want to also supply the `--skip-git` flag.
115115

116-
#### `--release-it`
117-
118-
If you want release-it behavior, (specifically provided by `create-rwjblue-release-it-setup`),
119-
use the `--release-it` flag
120-
121-
```bash
122-
npx ember-cli@latest addon my-addon -b @embroider/addon-blueprint --yarn --release-it
123-
```
124-
125116
#### `--typescript`
126117

127118
Sets up the new addon with [`typescript`](https://www.typescriptlang.org/) support.

index.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const fs = require('fs-extra');
77
const SilentError = require('silent-error');
88
const sortPackageJson = require('sort-package-json');
99
const normalizeEntityName = require('ember-cli-normalize-entity-name');
10-
const execa = require('execa');
1110
const { merge } = require('lodash');
1211
const { lt } = require('semver');
1312

@@ -97,10 +96,6 @@ module.exports = {
9796
if (isPnpm(options)) {
9897
tasks.push(pnpm.createWorkspacesFile(options.target, addonInfo, testAppInfo));
9998
}
100-
101-
if (options.releaseIt) {
102-
tasks.push(this.setupReleaseIt(options.target));
103-
}
10499
}
105100

106101
await Promise.all(tasks);
@@ -239,14 +234,6 @@ module.exports = {
239234
await fs.remove(overridesPath);
240235
},
241236

242-
async setupReleaseIt(rootPath) {
243-
await execa('create-rwjblue-release-it-setup', ['--no-install'], {
244-
cwd: rootPath,
245-
preferLocal: true,
246-
localDir: __dirname,
247-
});
248-
},
249-
250237
fileMapTokens(options) {
251238
let { addonInfo, testAppInfo, ext } = options.locals;
252239

@@ -299,7 +286,6 @@ module.exports = {
299286
[`--ci-provider=${options.ciProvider}`]: options.ciProvider,
300287
'--pnpm': isPnpm(options),
301288
'--npm': isNpm(options),
302-
'--release-it': options.releaseIt,
303289
[`--test-app-location=${options.testAppLocation}`]: options.testAppLocation,
304290
[`--test-app-name=${options.testAppName}`]: options.testAppName,
305291
'--typescript': options.typescript,

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"ember-cli": "^5.6.0",
1818
"ember-cli-normalize-entity-name": "^1.0.0",
1919
"ember-cli-string-utils": "^1.1.0",
20-
"execa": "^5.1.1",
2120
"fs-extra": "^10.0.0",
2221
"lodash": "^4.17.21",
2322
"semver": "^7.3.8",

0 commit comments

Comments
 (0)