Skip to content

Commit

Permalink
OrchardCore.Resources move to new Assets.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Skrypt committed Jan 8, 2025
1 parent 074da60 commit e3d4cbf
Show file tree
Hide file tree
Showing 36 changed files with 38,814 additions and 38,833 deletions.
2 changes: 1 addition & 1 deletion .scripts/assets-build-tool/copy.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from "fs-extra";
import glob from "glob";
import { glob } from 'glob'
import JSON5 from "json5";
import chalk from "chalk";
import path from "path";
Expand Down
2 changes: 1 addition & 1 deletion .scripts/assets-build-tool/min.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from "fs-extra";
import glob from "glob";
import { glob } from 'glob'
import JSON5 from "json5";
import chalk from "chalk";
import path from "path";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,6 @@
"dest": "wwwroot/Scripts/",
"tags": ["resources", "js"]
},
{
"action": "copy",
"generateRTL": true,
"name": "bootstrap-select",
"source": "node_modules/bootstrap-select/dist/css/bootstrap-select.css",
"dest": "wwwroot/Styles/",
"tags": ["resources", "css"]
},
{
"action": "copy",
"name": "bootstrap-select",
Expand Down Expand Up @@ -238,6 +230,13 @@
"dest": "wwwroot/Scripts/codemirror/mode/htmlmixed/",
"tags": ["resources", "js"]
},
{
"action": "copy",
"name": "codemirror",
"source": "node_modules/codemirror/mode/javascript/javascript.js",
"dest": "wwwroot/Scripts/codemirror/mode/javascript/",
"tags": ["resources", "js"]
},
{
"action": "copy",
"name": "codemirror",
Expand Down Expand Up @@ -287,14 +286,6 @@
"dest": "wwwroot/Scripts/",
"tags": ["resources", "js"]
},
{
"action": "copy",
"name": "trumbowyg",
"generateRTL": true,
"source": "node_modules/trumbowyg/dist/ui/sass/trumbowyg.scss",
"dest": "wwwroot/Styles/trumbowyg/",
"tags": ["resources", "css"]
},
{
"action": "copy",
"name": "trumbowyg",
Expand Down Expand Up @@ -344,6 +335,13 @@
"dest": "wwwroot/Scripts/",
"tags": ["resources", "js"]
},
{
"action": "copy",
"name": "sortable",
"source": "node_modules/sortablejs/Sortable.js",
"dest": "wwwroot/Scripts/",
"tags": ["resources", "js"]
},
{
"action": "copy",
"name": "sortable",
Expand Down
264 changes: 0 additions & 264 deletions src/OrchardCore.Modules/OrchardCore.Resources/GulpAssets.json
Original file line number Diff line number Diff line change
@@ -1,227 +1,25 @@
[
{
"generateRTL": false,
"inputs": [
"../../../node_modules/bootstrap/scss/bootstrap.scss"
],
"output": "wwwroot/Styles/bootstrap.css"
},
{
"generateRTL": false,
"inputs": [
"../../../node_modules/bootstrap/dist/css/bootstrap.rtl.css"
],
"output": "wwwroot/Styles/bootstrap.rtl.css"
},
{
"inputs": [
"../../../node_modules/bootstrap/dist/js/bootstrap.js"
],
"output": "wwwroot/Scripts/bootstrap.js"
},
{
"inputs": [
"Assets/js/credential-helpers.js"
],
"output": "wwwroot/Scripts/credential-helpers.js"
},
{
"inputs": [
"../../../node_modules/bootstrap/dist/js/bootstrap.bundle.js"
],
"output": "wwwroot/Scripts/bootstrap.bundle.js"
},
{
"inputs": [
"../../../node_modules/@popperjs/core/dist/umd/popper.js"
],
"output": "wwwroot/Scripts/popper.js"
},
{
"generateRTL": true,
"inputs": [
"../../../node_modules/bootstrap-select/dist/css/bootstrap-select.css"
],
"output": "wwwroot/Styles/bootstrap-select.css"
},
{
"inputs": [
"../../../node_modules/bootstrap-select/dist/js/bootstrap-select.js"
],
"output": "wwwroot/Scripts/bootstrap-select.js"
},
{
"generateRTL": false,
"inputs": [
"../../../node_modules/codemirror/lib/codemirror.css"
],
"output": "wwwroot/Styles/codemirror/codemirror.css"
},
{
"inputs": [
"../../../node_modules/codemirror/addon/display/fullscreen.css"
],
"output": "wwwroot/Styles/codemirror/addon/display/fullscreen.css"
},
{
"inputs": [
"../../../node_modules/codemirror/addon/hint/show-hint.css"
],
"output": "wwwroot/Styles/codemirror/addon/hint/show-hint.css"
},
{
"inputs": [
"../../../node_modules/codemirror/lib/codemirror.js"
],
"output": "wwwroot/Scripts/codemirror/codemirror.js"
},
{
"inputs": [
"../../../node_modules/codemirror/addon/selection/active-line.js"
],
"output": "wwwroot/Scripts/codemirror/addon/selection/active-line.js"
},
{
"inputs": [
"../../../node_modules/codemirror/addon/display/autorefresh.js"
],
"output": "wwwroot/Scripts/codemirror/addon/display/autorefresh.js"
},
{
"inputs": [
"../../../node_modules/codemirror/addon/display/fullscreen.js"
],
"output": "wwwroot/Scripts/codemirror/addon/display/fullscreen.js"
},
{
"inputs": [
"../../../node_modules/codemirror/addon/edit/closetag.js"
],
"output": "wwwroot/Scripts/codemirror/addon/edit/closetag.js"
},
{
"inputs": [
"../../../node_modules/codemirror/addon/hint/show-hint.js"
],
"output": "wwwroot/Scripts/codemirror/addon/hint/show-hint.js"
},
{
"inputs": [
"../../../node_modules/codemirror/addon/hint/sql-hint.js"
],
"output": "wwwroot/Scripts/codemirror/addon/hint/sql-hint.js"
},
{
"inputs": [
"../../../node_modules/codemirror/addon/mode/multiplex.js"
],
"output": "wwwroot/Scripts/codemirror/addon/mode/multiplex.js"
},
{
"inputs": [
"../../../node_modules/codemirror/addon/mode/simple.js"
],
"output": "wwwroot/Scripts/codemirror/addon/mode/simple.js"
},
{
"inputs": [
"../../../node_modules/codemirror/mode/css/css.js"
],
"output": "wwwroot/Scripts/codemirror/mode/css/css.js"
},
{
"inputs": [
"../../../node_modules/codemirror/mode/htmlmixed/htmlmixed.js"
],
"output": "wwwroot/Scripts/codemirror/mode/htmlmixed/htmlmixed.js"
},
{
"inputs": [
"../../../node_modules/codemirror/mode/javascript/javascript.js"
],
"output": "wwwroot/Scripts/codemirror/mode/javascript/javascript.js"
},
{
"inputs": [
"../../../node_modules/codemirror/mode/sql/sql.js"
],
"output": "wwwroot/Scripts/codemirror/mode/sql/sql.js"
},
{
"inputs": [
"../../../node_modules/codemirror/mode/xml/xml.js"
],
"output": "wwwroot/Scripts/codemirror/mode/xml/xml.js"
},
{
"inputs": [
"../../../node_modules/jquery/dist/jquery.js"
],
"output": "wwwroot/Scripts/jquery.js"
},
{
"inputs": [
"../../../node_modules/jquery/dist/jquery.slim.js"
],
"output": "wwwroot/Scripts/jquery.slim.js"
},
{
"inputs": [
"../../../node_modules/jquery.easing/jquery.easing.js"
],
"output": "wwwroot/Scripts/jquery.easing.js"
},
{
"inputs": [
"../../../node_modules/jquery-resizable-dom/dist/jquery-resizable.js"
],
"output": "wwwroot/Scripts/jquery-resizable.js"
},
{
"inputs": [
"../../../node_modules/@popperjs/core/dist/umd/popper.js"
],
"output": "wwwroot/Scripts/popper.js"
},
{
"generateRTL": true,
"inputs": [
"../../../node_modules/trumbowyg/dist/ui/sass/trumbowyg.scss"
],
"output": "wwwroot/Styles/trumbowyg/trumbowyg.css"
},
{
"copy": true,
"inputs": [
"../../../node_modules/trumbowyg/dist/ui/icons.svg"
],
"output": "wwwroot/Scripts/trumbowyg/ui/icons.svg"
},
{
"generateRTL": true,
"inputs": [
"Assets/trumbowyg/plugins/*/ui/sass/*.scss"
],
"output": "wwwroot/Styles/trumbowyg/trumbowyg-plugins.css"
},
{
"inputs": [
"../../../node_modules/trumbowyg/dist/trumbowyg.js"
],
"output": "wwwroot/Scripts/trumbowyg/trumbowyg.js"
},
{
"inputs": [
"Assets/trumbowyg/js/trumbowyg.shortcodes.js"
],
"output": "wwwroot/Scripts/trumbowyg/trumbowyg.shortcodes.js"
},
{
"inputs": [
"Assets/trumbowyg/js/trumbowyg.theme.js"
],
"output": "wwwroot/Scripts/trumbowyg/trumbowyg.theme.js"
},
{
"inputs": [
"Assets/trumbowyg/plugins/allowtagsfrompaste/trumbowyg.allowtagsfrompaste.js",
Expand Down Expand Up @@ -250,48 +48,13 @@
],
"output": "wwwroot/Scripts/trumbowyg/trumbowyg-plugins.js"
},
{
"copy": true,
"inputs": [
"../../../node_modules/vue/dist/vue.js"
],
"output": "wwwroot/Scripts/vue.js"
},
{
"copy": true,
"inputs": [
"../../../node_modules/vue/dist/vue.min.js"
],
"output": "wwwroot/Scripts/vue.min.js"
},
{
"copy": true,
"inputs": [
"../../../node_modules/vue-multiselect/dist/vue-multiselect.min.js"
],
"output": "wwwroot/Scripts/vue-multiselect.min.js"
},
{
"copy": true,
"inputs": [
"../../../node_modules/vue-multiselect/dist/vue-multiselect.min.css*"
],
"output": "wwwroot/Styles/@"
},
{
"copy": true,
"inputs": [
"../../../node_modules/sortablejs/Sortable.min.js"
],
"output": "wwwroot/Scripts/Sortable.min.js"
},
{
"copy": true,
"inputs": [
"../../../node_modules/sortablejs/Sortable.js"
],
"output": "wwwroot/Scripts/Sortable.js"
},
{
"copy": true,
"inputs": [
Expand Down Expand Up @@ -320,33 +83,6 @@
],
"output": "wwwroot/Vendor/fontawesome-free/webfonts/@"
},
{
"inputs": [
"../../../node_modules/js-cookie/dist/js.cookie.js"
],
"output": "wwwroot/Scripts/js.cookie.js"
},
{
"copy": true,
"inputs": [
"../../../node_modules/nouislider/dist/nouislider.js"
],
"output": "wwwroot/Scripts/nouislider/nouislider.js"
},
{
"copy": true,
"inputs": [
"../../../node_modules/nouislider/dist/nouislider.d.ts"
],
"output": "wwwroot/Scripts/nouislider/nouislider.d.ts"
},
{
"copy": true,
"inputs": [
"../../../node_modules/nouislider/dist/nouislider.css"
],
"output": "wwwroot/Scripts/nouislider/nouislider.css"
},
{
"copy": true,
"inputs": [
Expand Down
Loading

0 comments on commit e3d4cbf

Please sign in to comment.