mirror of https://github.com/node-red/node-red.git
feat(grunt): fail if files are missing
parent
25205f7440
commit
d115d6c241
72
Gruntfile.js
72
Gruntfile.js
|
@ -208,38 +208,52 @@ module.exports = function(grunt) {
|
||||||
"packages/node_modules/@node-red/editor-client/src/js/ui/touch/radialMenu.js",
|
"packages/node_modules/@node-red/editor-client/src/js/ui/touch/radialMenu.js",
|
||||||
"packages/node_modules/@node-red/editor-client/src/js/ui/tour/*.js"
|
"packages/node_modules/@node-red/editor-client/src/js/ui/tour/*.js"
|
||||||
],
|
],
|
||||||
|
nonull: true,
|
||||||
dest: "packages/node_modules/@node-red/editor-client/public/red/red.js"
|
dest: "packages/node_modules/@node-red/editor-client/public/red/red.js"
|
||||||
},
|
},
|
||||||
vendor: {
|
vendor: {
|
||||||
files: {
|
files: [
|
||||||
"packages/node_modules/@node-red/editor-client/public/vendor/vendor.js": [
|
{
|
||||||
"packages/node_modules/@node-red/editor-client/src/vendor/jquery/js/jquery-3.5.1.min.js",
|
src: [
|
||||||
"packages/node_modules/@node-red/editor-client/src/vendor/jquery/js/jquery-migrate-3.3.0.min.js",
|
"packages/node_modules/@node-red/editor-client/src/vendor/jquery/js/jquery-3.5.1.min.js",
|
||||||
"packages/node_modules/@node-red/editor-client/src/vendor/jquery/js/jquery-ui.min.js",
|
"packages/node_modules/@node-red/editor-client/src/vendor/jquery/js/jquery-migrate-3.3.0.min.js",
|
||||||
"packages/node_modules/@node-red/editor-client/src/vendor/jquery/js/jquery.ui.touch-punch.min.js",
|
"packages/node_modules/@node-red/editor-client/src/vendor/jquery/js/jquery-ui.min.js",
|
||||||
"node_modules/marked/marked.min.js",
|
"packages/node_modules/@node-red/editor-client/src/vendor/jquery/js/jquery.ui.touch-punch.min.js",
|
||||||
"node_modules/dompurify/dist/purify.min.js",
|
"node_modules/marked/marked.min.js",
|
||||||
"packages/node_modules/@node-red/editor-client/src/vendor/d3/d3.v3.min.js",
|
"node_modules/dompurify/dist/purify.min.js",
|
||||||
"node_modules/i18next/i18next.min.js",
|
"packages/node_modules/@node-red/editor-client/src/vendor/d3/d3.v3.min.js",
|
||||||
"node_modules/i18next-http-backend/i18nextHttpBackend.min.js",
|
"node_modules/i18next/i18next.min.js",
|
||||||
"node_modules/jquery-i18next/jquery-i18next.min.js",
|
"node_modules/i18next-http-backend/i18nextHttpBackend.min.js",
|
||||||
"node_modules/jsonata/jsonata-es5.min.js",
|
"node_modules/jquery-i18next/jquery-i18next.min.js",
|
||||||
"packages/node_modules/@node-red/editor-client/src/vendor/jsonata/formatter.js",
|
"node_modules/jsonata/jsonata-es5.min.js",
|
||||||
"packages/node_modules/@node-red/editor-client/src/vendor/ace/ace.js",
|
"packages/node_modules/@node-red/editor-client/src/vendor/jsonata/formatter.js",
|
||||||
"packages/node_modules/@node-red/editor-client/src/vendor/ace/ext-language_tools.js"
|
"packages/node_modules/@node-red/editor-client/src/vendor/ace/ace.js",
|
||||||
],
|
"packages/node_modules/@node-red/editor-client/src/vendor/ace/ext-language_tools.js"
|
||||||
// "packages/node_modules/@node-red/editor-client/public/vendor/vendor.css": [
|
],
|
||||||
// // TODO: resolve relative resource paths in
|
nonull: true,
|
||||||
// // bootstrap/FA/jquery
|
dest: "packages/node_modules/@node-red/editor-client/public/vendor/vendor.js"
|
||||||
// ],
|
},
|
||||||
"packages/node_modules/@node-red/editor-client/public/vendor/ace/worker-jsonata.js": [
|
// {
|
||||||
"node_modules/jsonata/jsonata-es5.min.js",
|
// src: [
|
||||||
"packages/node_modules/@node-red/editor-client/src/vendor/jsonata/worker-jsonata.js"
|
// // TODO: resolve relative resource paths in
|
||||||
],
|
// // bootstrap/FA/jquery
|
||||||
"packages/node_modules/@node-red/editor-client/public/vendor/mermaid/mermaid.min.js": [
|
// ],
|
||||||
"node_modules/mermaid/dist/mermaid.min.js"
|
// dest: "packages/node_modules/@node-red/editor-client/public/vendor/vendor.css"
|
||||||
]
|
// },
|
||||||
}
|
{
|
||||||
|
src: [
|
||||||
|
"node_modules/jsonata/jsonata-es5.min.js",
|
||||||
|
"packages/node_modules/@node-red/editor-client/src/vendor/jsonata/worker-jsonata.js"
|
||||||
|
],
|
||||||
|
nonull: true,
|
||||||
|
dest: "packages/node_modules/@node-red/editor-client/public/vendor/ace/worker-jsonata.js",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: "node_modules/mermaid/dist/mermaid.min.js",
|
||||||
|
nonull: true,
|
||||||
|
dest: "packages/node_modules/@node-red/editor-client/public/vendor/mermaid/mermaid.min.js",
|
||||||
|
},
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
uglify: {
|
uglify: {
|
||||||
|
|
Loading…
Reference in New Issue