mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix clean script, remove typing folder and install rimraf if is not present
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
"version": "0.3.0",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"clean": "rimraf node_modules",
|
||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||
"build": "npm run tslint && npm run tsc && npm run licensecheck",
|
||||
"start": "npm run build && concurrently \"npm run tsc:w\" \"npm run serve\" ",
|
||||
"aws": "node app.js",
|
||||
|
@@ -4,7 +4,7 @@
|
||||
"version": "0.3.3",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist node_modules",
|
||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
|
||||
"build:w": "npm run tslint && rimraf dist && npm run watch-task",
|
||||
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"",
|
||||
|
@@ -4,7 +4,7 @@
|
||||
"version": "0.3.2",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist node_modules",
|
||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
|
||||
"build:w": "npm run tslint && rimraf dist && npm run watch-task",
|
||||
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"",
|
||||
|
@@ -4,7 +4,7 @@
|
||||
"version": "0.3.3",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist node_modules",
|
||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
|
||||
"build:w": "npm run tslint && rimraf dist && npm run watch-task",
|
||||
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"",
|
||||
|
@@ -4,7 +4,7 @@
|
||||
"version": "0.3.2",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist node_modules",
|
||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
|
||||
"build:w": "npm run tslint && rimraf dist && tsc && npm run copy-dist:w && npm run watch-task",
|
||||
"watch-task": "concurrently \"npm run tsc:w\" \"license-check\"",
|
||||
|
@@ -4,7 +4,7 @@
|
||||
"version": "0.3.2",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist node_modules",
|
||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
|
||||
"build:w": "npm run tslint && rimraf dist && npm run watch-task",
|
||||
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"",
|
||||
|
@@ -4,7 +4,7 @@
|
||||
"version": "0.3.2",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist node_modules",
|
||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
|
||||
"build:w": "npm run tslint && rimraf dist && npm run watch-task",
|
||||
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"",
|
||||
|
@@ -4,7 +4,7 @@
|
||||
"version": "0.3.2",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist node_modules",
|
||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
|
||||
"build:w": "npm run tslint && rimraf dist && npm run watch-task",
|
||||
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"",
|
||||
|
@@ -4,7 +4,7 @@
|
||||
"version": "0.3.2",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist node_modules",
|
||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
|
||||
"build:w": "npm run tslint && rimraf dist && npm run watch-task",
|
||||
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"",
|
||||
|
@@ -6,7 +6,7 @@
|
||||
"main": "./dist/index.js",
|
||||
"typings": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist node_modules",
|
||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
|
||||
"build:w": "npm run tslint && rimraf dist && npm run watch-task",
|
||||
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"",
|
||||
|
@@ -4,7 +4,7 @@
|
||||
"version": "0.3.2",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist node_modules",
|
||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
|
||||
"build:w": "npm run tslint && rimraf dist && npm run watch-task",
|
||||
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"",
|
||||
|
@@ -4,7 +4,7 @@
|
||||
"version": "0.3.2",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist node_modules",
|
||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
|
||||
"build:w": "npm run tslint && rimraf dist && npm run watch-task",
|
||||
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"",
|
||||
|
@@ -6,7 +6,7 @@
|
||||
"main": "./dist/index.js",
|
||||
"typings": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist node_modules",
|
||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
|
||||
"build:w": "npm run tslint && rimraf dist && npm run watch-task",
|
||||
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"",
|
||||
|
@@ -11,19 +11,19 @@ build_project() {
|
||||
}
|
||||
|
||||
for PACKAGE in \
|
||||
ng2-alfresco-core \
|
||||
ng2-activiti-analytics \
|
||||
ng2-activiti-form \
|
||||
ng2-activiti-tasklist \
|
||||
ng2-activiti-processlist \
|
||||
ng2-activiti-tasklist \
|
||||
ng2-alfresco-core \
|
||||
ng2-alfresco-datatable \
|
||||
ng2-alfresco-documentlist \
|
||||
ng2-alfresco-login \
|
||||
ng2-alfresco-search \
|
||||
ng2-alfresco-tag \
|
||||
ng2-alfresco-upload \
|
||||
ng2-alfresco-viewer \
|
||||
ng2-alfresco-webscript \
|
||||
ng2-alfresco-tag \
|
||||
ng2-activiti-analytics
|
||||
ng2-alfresco-webscript
|
||||
do
|
||||
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
|
||||
build_project $DESTDIR $PACKAGE
|
||||
|
@@ -7,6 +7,7 @@ npm install -g npm-check
|
||||
echo 'start' > ../check-dependecies.log
|
||||
|
||||
for PACKAGE in \
|
||||
ng2-activiti-analytics \
|
||||
ng2-activiti-form \
|
||||
ng2-activiti-processlist \
|
||||
ng2-activiti-tasklist \
|
||||
@@ -15,11 +16,10 @@ for PACKAGE in \
|
||||
ng2-alfresco-documentlist \
|
||||
ng2-alfresco-login \
|
||||
ng2-alfresco-search \
|
||||
ng2-alfresco-tag \
|
||||
ng2-alfresco-upload \
|
||||
ng2-alfresco-viewer \
|
||||
ng2-alfresco-webscript \
|
||||
ng2-alfresco-tag \
|
||||
ng2-activiti-analytics
|
||||
ng2-alfresco-webscript
|
||||
do
|
||||
echo "====== Check component: ${PACKAGE} ====="
|
||||
cd "$DIR/../ng2-components/${PACKAGE}"
|
||||
|
@@ -3,6 +3,7 @@
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
for PACKAGE in \
|
||||
ng2-activiti-analytics \
|
||||
ng2-activiti-form \
|
||||
ng2-activiti-processlist \
|
||||
ng2-activiti-tasklist \
|
||||
@@ -11,11 +12,10 @@ for PACKAGE in \
|
||||
ng2-alfresco-documentlist \
|
||||
ng2-alfresco-login \
|
||||
ng2-alfresco-search \
|
||||
ng2-alfresco-tag \
|
||||
ng2-alfresco-upload \
|
||||
ng2-alfresco-viewer \
|
||||
ng2-alfresco-webscript \
|
||||
ng2-alfresco-tag \
|
||||
ng2-activiti-analytics
|
||||
ng2-alfresco-webscript
|
||||
do
|
||||
echo "====== clean component: ${PACKAGE} ====="
|
||||
cd "$DIR/../ng2-components/${PACKAGE}"
|
||||
|
@@ -89,6 +89,7 @@ done
|
||||
#LINK ALL THE COMPONENTS INSIDE THE DEMOSHELL
|
||||
cd "$DIR/../demo-shell-ng2"
|
||||
for PACKAGE in \
|
||||
ng2-activiti-analytics \
|
||||
ng2-activiti-form \
|
||||
ng2-activiti-processlist \
|
||||
ng2-activiti-tasklist \
|
||||
@@ -97,11 +98,10 @@ for PACKAGE in \
|
||||
ng2-alfresco-documentlist \
|
||||
ng2-alfresco-login \
|
||||
ng2-alfresco-search \
|
||||
ng2-alfresco-tag \
|
||||
ng2-alfresco-upload \
|
||||
ng2-alfresco-viewer \
|
||||
ng2-alfresco-webscript \
|
||||
ng2-alfresco-tag \
|
||||
ng2-activiti-analytics
|
||||
do
|
||||
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
|
||||
echo "====== demo shell linking: ${PACKAGE} ====="
|
||||
|
@@ -5,6 +5,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
"$DIR/npm-clean.sh"
|
||||
|
||||
for PACKAGE in \
|
||||
ng2-activiti-analytics \
|
||||
ng2-activiti-form \
|
||||
ng2-activiti-processlist \
|
||||
ng2-activiti-tasklist \
|
||||
@@ -13,11 +14,10 @@ for PACKAGE in \
|
||||
ng2-alfresco-documentlist \
|
||||
ng2-alfresco-login \
|
||||
ng2-alfresco-search \
|
||||
ng2-alfresco-tag \
|
||||
ng2-alfresco-upload \
|
||||
ng2-alfresco-viewer \
|
||||
ng2-alfresco-webscript \
|
||||
ng2-alfresco-tag \
|
||||
ng2-activiti-analytics
|
||||
ng2-alfresco-webscript
|
||||
do
|
||||
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
|
||||
echo "====== PUBLISHING: ${DESTDIR} ====="
|
||||
|
@@ -15,6 +15,7 @@ then
|
||||
fi
|
||||
|
||||
for PACKAGE in \
|
||||
ng2-activiti-analytics \
|
||||
ng2-activiti-form \
|
||||
ng2-activiti-processlist \
|
||||
ng2-activiti-tasklist \
|
||||
@@ -23,11 +24,10 @@ for PACKAGE in \
|
||||
ng2-alfresco-documentlist \
|
||||
ng2-alfresco-login \
|
||||
ng2-alfresco-search \
|
||||
ng2-alfresco-tag \
|
||||
ng2-alfresco-upload \
|
||||
ng2-alfresco-viewer \
|
||||
ng2-alfresco-webscript \
|
||||
ng2-alfresco-tag \
|
||||
ng2-activiti-analytics
|
||||
ng2-alfresco-webscript
|
||||
do
|
||||
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
|
||||
echo "====== UPDATE VERSION of ${PACKAGE} to ${VERSION} version in all the package.json ======"
|
||||
@@ -35,6 +35,7 @@ do
|
||||
done
|
||||
|
||||
for PACKAGE in \
|
||||
ng2-activiti-analytics \
|
||||
ng2-activiti-form \
|
||||
ng2-activiti-processlist \
|
||||
ng2-activiti-tasklist \
|
||||
@@ -43,11 +44,10 @@ for PACKAGE in \
|
||||
ng2-alfresco-documentlist \
|
||||
ng2-alfresco-login \
|
||||
ng2-alfresco-search \
|
||||
ng2-alfresco-tag \
|
||||
ng2-alfresco-upload \
|
||||
ng2-alfresco-viewer \
|
||||
ng2-alfresco-webscript \
|
||||
ng2-alfresco-tag \
|
||||
ng2-activiti-analytics
|
||||
ng2-alfresco-webscript
|
||||
do
|
||||
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
|
||||
echo "====== UPDATE VERSION OF ${PACKAGE} to ${VERSION} version ======"
|
||||
|
Reference in New Issue
Block a user