Skip to content

Commit

Permalink
Move release-it to the root, add root scripts (#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner authored Dec 1, 2023
1 parent 348ff04 commit 2ce186b
Show file tree
Hide file tree
Showing 3 changed files with 309 additions and 177 deletions.
16 changes: 0 additions & 16 deletions ember-file-upload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
"@glint/core": "^1.0.2",
"@glint/environment-ember-loose": "^1.0.2",
"@glint/template": "^1.0.2",
"@release-it-plugins/lerna-changelog": "^6.0.0",
"@rollup/plugin-babel": "^6.0.3",
"@tsconfig/ember": "^3.0.0",
"@types/rsvp": "^4.0.4",
Expand All @@ -86,7 +85,6 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.0",
"prettier": "^3.0.3",
"release-it": "^17.0.0",
"rollup": "^3.0.0",
"tracked-built-ins": "^3.0.0",
"typescript": "^5.3.0",
Expand Down Expand Up @@ -150,19 +148,5 @@
"declarations/*"
]
}
},
"release-it": {
"plugins": {
"@release-it-plugins/lerna-changelog": {
"infile": "CHANGELOG.md"
}
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true,
"tokenRef": "GITHUB_AUTH"
}
}
}
43 changes: 37 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,46 @@
{
"private": true,
"workspaces": [
"ember-file-upload",
"website",
"test-app"
],
"scripts": {
"test": "pnpm --filter test-app test:ember -s",
"ember-try-one": "pnpm -F test-app ember-try-one",
"prepare": "pnpm -F ember-file-upload prepare",
"release": "pnpm prepare && pnpm -F ember-file-upload release",
"start": "npm-run-all --parallel start:*",
"start:addon": "pnpm -F ember-file-upload start",
"start:test-app": "pnpm -F test-app start",
"lint": "pnpm --filter '*' lint",
"lint:fix": "pnpm --filter '*' lint:fix",
"test": "pnpm prepare && pnpm -F test-app test:ember",
"test:test-app": "pnpm -F test-app test",
"test:watch": "npm-run-all --aggregate-output --continue-on-error --parallel test:watch:*",
"test:watch:test-app": "pnpm -F test-app test --server",
"test:watch:addon": "pnpm -F ember-file-upload start",
"website": "pnpm --filter website start"
},
"repository": "https://github.com/adopted-ember-addons/ember-file-upload",
"devDependencies": {
"@release-it-plugins/lerna-changelog": "^6.0.0",
"@release-it-plugins/workspaces": "^4.0.0",
"npm-run-all": "^4.1.5",
"release-it": "^16.3.0"
},
"release-it": {
"plugins": {
"@release-it-plugins/workspaces": {
"publish": false
},
"@release-it-plugins/lerna-changelog": {
"infile": "CHANGELOG.md",
"launchEditor": true
}
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true,
"tokenRef": "GITHUB_AUTH"
}
},
"pnpm": {
"overrides": {
"@glimmer/validator": "^0.84.3"
Expand Down
Loading

0 comments on commit 2ce186b

Please sign in to comment.