OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Remove linked-plugins placeholder
Oliver Günther8d3e20705eae
diff --git a/frontend/package.json b/frontend/package.jsonindex 5ed7bd3044f..c8e482882a7 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -168,15 +168,12 @@},"scripts": {"analyze": "ng build --configuration production --stats-json && webpack-bundle-analyzer -h 0.0.0.0 -p 9999 ../public/assets/frontend/stats.json",- "prebuild": "./scripts/link_plugin_placeholder.js","build": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --configuration production --named-chunks --extract-css --source-map","build:watch": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --watch --named-chunks --extract-css","tokens:generate": "theo src/app/spot/styles/tokens/tokens.yml --transform web --format sass,json --dest src/app/spot/styles/tokens/dist","icon-font:generate": "node ./src/app/spot/icon-font/generate.js ./src/app/spot/icon-font",- "preserve": "./scripts/link_plugin_placeholder.js","serve": "NG_PERSISTENT_BUILD_CACHE=1 node --max_old_space_size=8096 ./node_modules/@angular/cli/bin/ng serve --host 0.0.0.0 --public-host http://localhost:4200","serve:test": "NG_PERSISTENT_BUILD_CACHE=1 node --max_old_space_size=8096 ./node_modules/@angular/cli/bin/ng serve --host 0.0.0.0 --disable-host-check --public-host http://frontend-test:4200",- "pretest": "./scripts/link_plugin_placeholder.js","test": "ng test --watch=false","test:watch": "ng test --watch=true","lint": "esprint check",diff --git a/frontend/scripts/link_plugin_placeholder.js b/frontend/scripts/link_plugin_placeholder.jsdeleted file mode 100755index 3f4d9f880e0..00000000000--- a/frontend/scripts/link_plugin_placeholder.js+++ /dev/null@@ -1,32 +0,0 @@-#! /usr/bin/env node--const fs = require('fs');-const path = require('path');-const linked_module_example_path = path.join(__dirname, '..', 'src', 'app', 'features', 'plugins', 'linked-plugins.module.ts.example');-const linked_style_example_path = path.join(__dirname, '..', 'src', 'app', 'features', 'plugins', 'linked-plugins.styles.sass.example');-const linked_module_path = path.join(__dirname, '..', 'src', 'app', 'features', 'plugins', 'linked-plugins.module.ts');-const linked_style_path = path.join(__dirname, '..', 'src', 'app', 'features', 'plugins', 'linked-plugins.styles.sass');--if (!fs.existsSync(linked_module_path)) {- console.log(- `Linked plugin path (${linked_module_path}) does not exist, using default. ` +- `If you have active OpenProject plugins, run "rake openproject:plugins:register_frontend" to generate the file with the correct plugins being linked.`,- );-- fs.copyFile(linked_module_example_path, linked_module_path, (err) => {- if (err) throw err;- });--}---if (!fs.existsSync(linked_style_path)) {- console.log(- `Linked sass path (${linked_style_path}) does not exist, using default. ` +- `If you have active OpenProject plugins, run "rake openproject:plugins:register_frontend" to generate the file with the correct plugins being linked.`,- );-- fs.copyFile(linked_style_example_path, linked_style_path, (err) => {- if (err) throw err;- });-}