X Tutup
Skip to content

Commit d374bcc

Browse files
mheveryIgorMinar
authored andcommitted
WIP: rename to @angular; tests compiling
1 parent dded3be commit d374bcc

File tree

808 files changed

+1853
-1898
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

808 files changed

+1853
-1898
lines changed

build-igorminar.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
3+
cd `dirname $0`
4+
./build.sh
5+
echo "====== RENAMING @angular to @igorminar ======"
6+
find ./dist/packages-dist/ -type f -print0 | xargs -0 sed -i '' 's/\@angular/\@igorminar/g'

build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ cd `dirname $0`
55
rm -rf ./dist/packages-dist
66

77
for PACKAGE in \
8+
facade \
89
core \
910
compiler \
1011
common \
@@ -15,7 +16,7 @@ for PACKAGE in \
1516
upgrade \
1617
testing
1718
do
18-
SRCDIR=./modules/angular2/${PACKAGE}
19+
SRCDIR=./modules/@angular/${PACKAGE}
1920
DESTDIR=./dist/packages-dist/${PACKAGE}
2021

2122
echo "====== COMPILING: \$(npm bin)/tsc -p ${SRCDIR}/tsconfig.json ====="
@@ -26,7 +27,7 @@ do
2627
$(npm bin)/tsc -p ${SRCDIR}/tsconfig-es2015.json
2728
done
2829

29-
TSCONFIG=./modules/angular2/tsconfig.json
30+
TSCONFIG=./modules/@angular/tsconfig.json
3031
echo "====== (all)COMPILING: \$(npm bin)/tsc -p ${TSCONFIG} ====="
3132
rm -rf ./dist/packages-all/
3233
$(npm bin)/tsc -p ${TSCONFIG}

modules/@angular

Lines changed: 0 additions & 1 deletion
This file was deleted.

modules/@angular/common/common.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export * from './src/pipes';
2+
export * from './src/directives';
3+
export * from './src/forms';
4+
export * from './src/common_directives';
5+
export * from './src/location';

modules/angular2/common/src/common/common_directives.ts renamed to modules/@angular/common/src/common_directives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {CONST_EXPR, Type} from '../facade/lang';
1+
import {CONST_EXPR, Type} from '@angular/facade/lang';
22

33
import {FORM_DIRECTIVES} from './forms';
44
import {CORE_DIRECTIVES} from './directives';
File renamed without changes.

0 commit comments

Comments
 (0)
X Tutup