Skip to content

Commit 3c649fa

Browse files
authoredDec 23, 2020
chore(build): remove obsolete Grunt tasks (#3602)
These tasks are now handled by the semantic-release or other scripts and therefore we can clean them up.
1 parent 8997b74 commit 3c649fa

File tree

3 files changed

+716
-2223
lines changed

3 files changed

+716
-2223
lines changed
 

‎gruntfile.js

-58
Original file line numberDiff line numberDiff line change
@@ -26,70 +26,12 @@ module.exports = function (grunt) {
2626
'test/unit/**/*.spec.js'
2727
]
2828
}
29-
},
30-
'npm-publish': {
31-
options: {
32-
abortIfDirty: true,
33-
tag: 'latest'
34-
}
35-
},
36-
'npm-contributors': {
37-
options: {
38-
commitMessage: 'chore: update contributors'
39-
}
40-
},
41-
conventionalChangelog: {
42-
release: {
43-
options: {
44-
changelogOpts: {
45-
preset: 'angular'
46-
}
47-
},
48-
src: 'CHANGELOG.md'
49-
}
50-
},
51-
conventionalGithubReleaser: {
52-
release: {
53-
options: {
54-
auth: {
55-
type: 'oauth',
56-
token: process.env.GH_TOKEN
57-
},
58-
changelogOpts: {
59-
preset: 'angular'
60-
}
61-
}
62-
}
63-
},
64-
bump: {
65-
options: {
66-
updateConfigs: ['pkg'],
67-
commitFiles: [
68-
'package.json',
69-
'CHANGELOG.md'
70-
],
71-
commitMessage: 'chore: release v%VERSION%',
72-
prereleaseName: 'rc'
73-
}
7429
}
7530
})
7631

77-
grunt.loadNpmTasks('grunt-check-clean')
7832
grunt.loadTasks('tasks')
7933
require('load-grunt-tasks')(grunt)
8034

8135
grunt.registerTask('default', ['test'])
8236
grunt.registerTask('test-appveyor', ['test:unit', 'test:client'])
83-
84-
grunt.registerTask('release', 'Build, bump and publish to NPM.', function (type) {
85-
grunt.task.run([
86-
'check_clean',
87-
'npm-contributors',
88-
'bump:' + (type || 'patch') + ':bump-only',
89-
'conventionalChangelog',
90-
'bump-commit',
91-
'conventionalGithubReleaser',
92-
'npm-publish'
93-
])
94-
})
9537
}

‎package-lock.json

+716-2,158
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

-7
Original file line numberDiff line numberDiff line change
@@ -446,15 +446,8 @@
446446
"eslint-plugin-promise": "^4.2.1",
447447
"eslint-plugin-standard": "^4.0.1",
448448
"grunt": "^1.2.1",
449-
"grunt-auto-release": "^0.0.7",
450-
"grunt-bump": "^0.8.0",
451-
"grunt-check-clean": "^0.1.2",
452449
"grunt-cli": "^1.1.0",
453-
"grunt-contrib-watch": "^1.1.0",
454-
"grunt-conventional-changelog": "^6.0.1",
455-
"grunt-conventional-github-releaser": "^1.0.0",
456450
"grunt-mocha-test": "^0.13.2",
457-
"grunt-npm": "0.0.2",
458451
"http2": "^3.3.6",
459452
"husky": "^4.2.5",
460453
"jasmine-core": "^3.6.0",

0 commit comments

Comments
 (0)
Please sign in to comment.