Skip to content
Snippets Groups Projects
Unverified Commit 47d25b6d authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Remove rollup-plugin-consts package

parent 338fdeba
No related branches found
No related tags found
No related merge requests found
Pipeline #16209 canceled
Showing
with 1 addition and 55 deletions
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
"karma-mocha": "^2.0.1", "karma-mocha": "^2.0.1",
"mocha": "^8.0.1", "mocha": "^8.0.1",
"rollup": "^2.33.3", "rollup": "^2.33.3",
"rollup-plugin-consts": "^1.0.1",
"rollup-plugin-copy": "^3.1.0", "rollup-plugin-copy": "^3.1.0",
"rollup-plugin-delete": "^2.0.0", "rollup-plugin-delete": "^2.0.0",
"rollup-plugin-emit-ejs": "^3.1.0", "rollup-plugin-emit-ejs": "^3.1.0",
......
...@@ -3,10 +3,9 @@ import resolve from '@rollup/plugin-node-resolve'; ...@@ -3,10 +3,9 @@ import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs'; import commonjs from '@rollup/plugin-commonjs';
import copy from 'rollup-plugin-copy'; import copy from 'rollup-plugin-copy';
import serve from 'rollup-plugin-serve'; import serve from 'rollup-plugin-serve';
import consts from 'rollup-plugin-consts';
import del from 'rollup-plugin-delete'; import del from 'rollup-plugin-delete';
import json from '@rollup/plugin-json'; import json from '@rollup/plugin-json';
import {getBuildInfo, getPackagePath, getDistPath} from '../../rollup.utils.js'; import {getPackagePath, getDistPath} from '../../rollup.utils.js';
const build = (typeof process.env.BUILD !== 'undefined') ? process.env.BUILD : 'local'; const build = (typeof process.env.BUILD !== 'undefined') ? process.env.BUILD : 'local';
console.log("build: " + build); console.log("build: " + build);
...@@ -32,10 +31,6 @@ export default (async () => { ...@@ -32,10 +31,6 @@ export default (async () => {
del({ del({
targets: 'dist/*' targets: 'dist/*'
}), }),
consts({
environment: build,
buildinfo: getBuildInfo(build),
}),
resolve(), resolve(),
commonjs(), commonjs(),
json(), json(),
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
"karma-mocha": "^2.0.1", "karma-mocha": "^2.0.1",
"mocha": "^8.0.1", "mocha": "^8.0.1",
"rollup": "^2.33.3", "rollup": "^2.33.3",
"rollup-plugin-consts": "^1.0.1",
"rollup-plugin-copy": "^3.1.0", "rollup-plugin-copy": "^3.1.0",
"rollup-plugin-delete": "^2.0.0", "rollup-plugin-delete": "^2.0.0",
"rollup-plugin-serve": "^1.0.1", "rollup-plugin-serve": "^1.0.1",
......
...@@ -5,7 +5,6 @@ import copy from 'rollup-plugin-copy'; ...@@ -5,7 +5,6 @@ import copy from 'rollup-plugin-copy';
import {terser} from "rollup-plugin-terser"; import {terser} from "rollup-plugin-terser";
import json from '@rollup/plugin-json'; import json from '@rollup/plugin-json';
import serve from 'rollup-plugin-serve'; import serve from 'rollup-plugin-serve';
import consts from 'rollup-plugin-consts';
import del from 'rollup-plugin-delete'; import del from 'rollup-plugin-delete';
import {getPackagePath, getDistPath} from '../../rollup.utils.js'; import {getPackagePath, getDistPath} from '../../rollup.utils.js';
...@@ -34,9 +33,6 @@ export default (async () => { ...@@ -34,9 +33,6 @@ export default (async () => {
del({ del({
targets: 'dist/*' targets: 'dist/*'
}), }),
consts({
environment: build,
}),
resolve(), resolve(),
commonjs(), commonjs(),
json(), json(),
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
"karma-mocha": "^2.0.1", "karma-mocha": "^2.0.1",
"mocha": "^8.0.1", "mocha": "^8.0.1",
"rollup": "^2.33.3", "rollup": "^2.33.3",
"rollup-plugin-consts": "^1.0.1",
"rollup-plugin-copy": "^3.1.0", "rollup-plugin-copy": "^3.1.0",
"rollup-plugin-delete": "^2.0.0", "rollup-plugin-delete": "^2.0.0",
"rollup-plugin-serve": "^1.0.1", "rollup-plugin-serve": "^1.0.1",
......
...@@ -6,7 +6,6 @@ import {terser} from "rollup-plugin-terser"; ...@@ -6,7 +6,6 @@ import {terser} from "rollup-plugin-terser";
import json from '@rollup/plugin-json'; import json from '@rollup/plugin-json';
import serve from 'rollup-plugin-serve'; import serve from 'rollup-plugin-serve';
import url from "@rollup/plugin-url" import url from "@rollup/plugin-url"
import consts from 'rollup-plugin-consts';
import del from 'rollup-plugin-delete'; import del from 'rollup-plugin-delete';
import {getPackagePath, getDistPath} from '../../rollup.utils.js'; import {getPackagePath, getDistPath} from '../../rollup.utils.js';
...@@ -34,9 +33,6 @@ export default (async () => { ...@@ -34,9 +33,6 @@ export default (async () => {
del({ del({
targets: 'dist/*' targets: 'dist/*'
}), }),
consts({
environment: build,
}),
resolve(), resolve(),
commonjs(), commonjs(),
url({ url({
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
"karma-mocha": "^2.0.1", "karma-mocha": "^2.0.1",
"mocha": "^8.0.1", "mocha": "^8.0.1",
"rollup": "^2.33.3", "rollup": "^2.33.3",
"rollup-plugin-consts": "^1.0.1",
"rollup-plugin-copy": "^3.1.0", "rollup-plugin-copy": "^3.1.0",
"rollup-plugin-delete": "^2.0.0", "rollup-plugin-delete": "^2.0.0",
"rollup-plugin-serve": "^1.0.1" "rollup-plugin-serve": "^1.0.1"
......
...@@ -3,7 +3,6 @@ import resolve from '@rollup/plugin-node-resolve'; ...@@ -3,7 +3,6 @@ import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs'; import commonjs from '@rollup/plugin-commonjs';
import copy from 'rollup-plugin-copy'; import copy from 'rollup-plugin-copy';
import serve from 'rollup-plugin-serve'; import serve from 'rollup-plugin-serve';
import consts from 'rollup-plugin-consts';
import del from 'rollup-plugin-delete'; import del from 'rollup-plugin-delete';
import json from '@rollup/plugin-json'; import json from '@rollup/plugin-json';
import {getDistPath} from '../../rollup.utils.js'; import {getDistPath} from '../../rollup.utils.js';
...@@ -33,9 +32,6 @@ export default (async () => { ...@@ -33,9 +32,6 @@ export default (async () => {
del({ del({
targets: 'dist/*' targets: 'dist/*'
}), }),
consts({
environment: build,
}),
resolve(), resolve(),
commonjs(), commonjs(),
json(), json(),
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
"karma-mocha": "^2.0.1", "karma-mocha": "^2.0.1",
"mocha": "^8.0.1", "mocha": "^8.0.1",
"rollup": "^2.33.3", "rollup": "^2.33.3",
"rollup-plugin-consts": "^1.0.1",
"rollup-plugin-copy": "^3.1.0", "rollup-plugin-copy": "^3.1.0",
"rollup-plugin-delete": "^2.0.0", "rollup-plugin-delete": "^2.0.0",
"rollup-plugin-serve": "^1.0.1", "rollup-plugin-serve": "^1.0.1",
......
...@@ -6,7 +6,6 @@ import {terser} from "rollup-plugin-terser"; ...@@ -6,7 +6,6 @@ import {terser} from "rollup-plugin-terser";
import json from '@rollup/plugin-json'; import json from '@rollup/plugin-json';
import serve from 'rollup-plugin-serve'; import serve from 'rollup-plugin-serve';
import urlPlugin from "@rollup/plugin-url"; import urlPlugin from "@rollup/plugin-url";
import consts from 'rollup-plugin-consts';
import del from 'rollup-plugin-delete'; import del from 'rollup-plugin-delete';
import {getPackagePath, getDistPath} from '../../rollup.utils.js'; import {getPackagePath, getDistPath} from '../../rollup.utils.js';
...@@ -42,9 +41,6 @@ export default (async () => { ...@@ -42,9 +41,6 @@ export default (async () => {
del({ del({
targets: 'dist/*' targets: 'dist/*'
}), }),
consts({
environment: build,
}),
resolve(), resolve(),
commonjs(), commonjs(),
json(), json(),
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
"karma-mocha": "^2.0.0", "karma-mocha": "^2.0.0",
"mocha": "^8.0.1", "mocha": "^8.0.1",
"rollup": "^2.33.3", "rollup": "^2.33.3",
"rollup-plugin-consts": "^1.0.1",
"rollup-plugin-copy": "^3.1.0", "rollup-plugin-copy": "^3.1.0",
"rollup-plugin-delete": "^2.0.0", "rollup-plugin-delete": "^2.0.0",
"rollup-plugin-serve": "^1.0.1", "rollup-plugin-serve": "^1.0.1",
......
...@@ -5,7 +5,6 @@ import copy from 'rollup-plugin-copy'; ...@@ -5,7 +5,6 @@ import copy from 'rollup-plugin-copy';
import {terser} from "rollup-plugin-terser"; import {terser} from "rollup-plugin-terser";
import json from '@rollup/plugin-json'; import json from '@rollup/plugin-json';
import serve from 'rollup-plugin-serve'; import serve from 'rollup-plugin-serve';
import consts from 'rollup-plugin-consts';
import del from 'rollup-plugin-delete'; import del from 'rollup-plugin-delete';
import {getPackagePath, getDistPath} from '../../rollup.utils.js'; import {getPackagePath, getDistPath} from '../../rollup.utils.js';
...@@ -37,11 +36,6 @@ export default (async () => { ...@@ -37,11 +36,6 @@ export default (async () => {
del({ del({
targets: 'dist/*' targets: 'dist/*'
}), }),
consts({
environment: build,
nextcloudBaseURL: nextcloudBaseURL,
nextcloudFileURL: nextcloudFileURL,
}),
resolve(), resolve(),
commonjs(), commonjs(),
json(), json(),
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
"karma-mocha": "^2.0.1", "karma-mocha": "^2.0.1",
"mocha": "^8.0.1", "mocha": "^8.0.1",
"rollup": "^2.33.3", "rollup": "^2.33.3",
"rollup-plugin-consts": "^1.0.1",
"rollup-plugin-copy": "^3.1.0", "rollup-plugin-copy": "^3.1.0",
"rollup-plugin-delete": "^2.0.0", "rollup-plugin-delete": "^2.0.0",
"rollup-plugin-serve": "^1.0.1", "rollup-plugin-serve": "^1.0.1",
......
...@@ -6,7 +6,6 @@ import {terser} from "rollup-plugin-terser"; ...@@ -6,7 +6,6 @@ import {terser} from "rollup-plugin-terser";
import json from '@rollup/plugin-json'; import json from '@rollup/plugin-json';
import serve from 'rollup-plugin-serve'; import serve from 'rollup-plugin-serve';
import url from "@rollup/plugin-url"; import url from "@rollup/plugin-url";
import consts from 'rollup-plugin-consts';
import del from 'rollup-plugin-delete'; import del from 'rollup-plugin-delete';
import {getPackagePath, getDistPath} from '../../rollup.utils.js'; import {getPackagePath, getDistPath} from '../../rollup.utils.js';
...@@ -34,9 +33,6 @@ export default (async () => { ...@@ -34,9 +33,6 @@ export default (async () => {
del({ del({
targets: 'dist/*' targets: 'dist/*'
}), }),
consts({
environment: build,
}),
resolve(), resolve(),
commonjs(), commonjs(),
json(), json(),
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
"karma-mocha": "^2.0.1", "karma-mocha": "^2.0.1",
"mocha": "^8.0.1", "mocha": "^8.0.1",
"rollup": "^2.33.3", "rollup": "^2.33.3",
"rollup-plugin-consts": "^1.0.1",
"rollup-plugin-copy": "^3.1.0", "rollup-plugin-copy": "^3.1.0",
"rollup-plugin-delete": "^2.0.0", "rollup-plugin-delete": "^2.0.0",
"rollup-plugin-serve": "^1.0.1", "rollup-plugin-serve": "^1.0.1",
......
...@@ -5,7 +5,6 @@ import copy from 'rollup-plugin-copy'; ...@@ -5,7 +5,6 @@ import copy from 'rollup-plugin-copy';
import {terser} from "rollup-plugin-terser"; import {terser} from "rollup-plugin-terser";
import json from '@rollup/plugin-json'; import json from '@rollup/plugin-json';
import serve from 'rollup-plugin-serve'; import serve from 'rollup-plugin-serve';
import consts from 'rollup-plugin-consts';
import del from 'rollup-plugin-delete'; import del from 'rollup-plugin-delete';
const build = (typeof process.env.BUILD !== 'undefined') ? process.env.BUILD : 'local'; const build = (typeof process.env.BUILD !== 'undefined') ? process.env.BUILD : 'local';
...@@ -31,9 +30,6 @@ export default { ...@@ -31,9 +30,6 @@ export default {
del({ del({
targets: 'dist/*' targets: 'dist/*'
}), }),
consts({
environment: build,
}),
resolve(), resolve(),
commonjs(), commonjs(),
json(), json(),
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
"karma-mocha": "^2.0.1", "karma-mocha": "^2.0.1",
"mocha": "^8.0.1", "mocha": "^8.0.1",
"rollup": "^2.33.3", "rollup": "^2.33.3",
"rollup-plugin-consts": "^1.0.1",
"rollup-plugin-copy": "^3.1.0", "rollup-plugin-copy": "^3.1.0",
"rollup-plugin-delete": "^2.0.0", "rollup-plugin-delete": "^2.0.0",
"rollup-plugin-serve": "^1.0.1", "rollup-plugin-serve": "^1.0.1",
......
...@@ -6,7 +6,6 @@ import {terser} from "rollup-plugin-terser"; ...@@ -6,7 +6,6 @@ import {terser} from "rollup-plugin-terser";
import json from '@rollup/plugin-json'; import json from '@rollup/plugin-json';
import serve from 'rollup-plugin-serve'; import serve from 'rollup-plugin-serve';
import url from "@rollup/plugin-url"; import url from "@rollup/plugin-url";
import consts from 'rollup-plugin-consts';
import del from 'rollup-plugin-delete'; import del from 'rollup-plugin-delete';
import emitEJS from 'rollup-plugin-emit-ejs' import emitEJS from 'rollup-plugin-emit-ejs'
import {getPackagePath, getDistPath} from '../../rollup.utils.js'; import {getPackagePath, getDistPath} from '../../rollup.utils.js';
...@@ -62,10 +61,6 @@ export default (async () => { ...@@ -62,10 +61,6 @@ export default (async () => {
del({ del({
targets: 'dist/*' targets: 'dist/*'
}), }),
consts({
environment: build,
buildinfo: getBuildInfo(),
}),
emitEJS({ emitEJS({
src: 'assets', src: 'assets',
include: ['**/*.ejs', '**/.*.ejs'], include: ['**/*.ejs', '**/.*.ejs'],
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
"karma-mocha": "^2.0.1", "karma-mocha": "^2.0.1",
"mocha": "^8.0.1", "mocha": "^8.0.1",
"rollup": "^2.33.3", "rollup": "^2.33.3",
"rollup-plugin-consts": "^1.0.1",
"rollup-plugin-copy": "^3.1.0", "rollup-plugin-copy": "^3.1.0",
"rollup-plugin-delete": "^2.0.0", "rollup-plugin-delete": "^2.0.0",
"rollup-plugin-serve": "^1.0.1", "rollup-plugin-serve": "^1.0.1",
......
...@@ -6,7 +6,6 @@ import {terser} from "rollup-plugin-terser"; ...@@ -6,7 +6,6 @@ import {terser} from "rollup-plugin-terser";
import json from '@rollup/plugin-json'; import json from '@rollup/plugin-json';
import serve from 'rollup-plugin-serve'; import serve from 'rollup-plugin-serve';
import url from "@rollup/plugin-url"; import url from "@rollup/plugin-url";
import consts from 'rollup-plugin-consts';
import del from 'rollup-plugin-delete'; import del from 'rollup-plugin-delete';
const build = (typeof process.env.BUILD !== 'undefined') ? process.env.BUILD : 'local'; const build = (typeof process.env.BUILD !== 'undefined') ? process.env.BUILD : 'local';
...@@ -32,9 +31,6 @@ export default { ...@@ -32,9 +31,6 @@ export default {
del({ del({
targets: 'dist/*' targets: 'dist/*'
}), }),
consts({
environment: build,
}),
resolve(), resolve(),
commonjs(), commonjs(),
json(), json(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment