Commit 354903e
authored
chore: replace grunt with npm scripts (#6088)
* fix(docs): restore missing isHtml guard in config set man page
The Related Commands section had a closing <% } %> with no matching
opening tag, which made the man page fail to render as a lodash
template. Introduced when the page was copied from config-get.md.
* chore: replace grunt with npm scripts
Grunt's remaining tasks were mostly thin wrappers around tsc, npm test
and npm pack; the rest were small file-manipulation tasks that now live
in scripts/:
- ts:* -> tsc (+ tsconfig.release.json)
- clean -> scripts/clean.js
- generate/verify unit test deps -> scripts/generate-test-deps.js
- set_live_ga_id/set_dev_ga_id/... -> scripts/set-ga-id.js
- template (docs-jekyll) -> scripts/build-docs.js
prepack now runs the release compile after the tests rather than before,
so removeComments and sourceMap are no longer overwritten by the dev
compile that npm test performs.
Also drops BuildPackage.cmd, last changed in 2014 and calling a grunt
task that no longer exists, and the grunt/globule minimatch overrides,
which no longer resolve to anything in the tree.1 parent cbee652 commit 354903e
13 files changed
Lines changed: 270 additions & 3719 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
0 commit comments