Skip to content

Commit 8a2927b

Browse files
author
farfromrefug
committed
chore: angular build fix
1 parent 8895f97 commit 8a2927b

File tree

5 files changed

+27
-3
lines changed

5 files changed

+27
-3
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
node_modules/
2+
pnpm-global/
3+
bin/
4+
hooks/
5+
*.ts
6+
*.map
7+
*.old
8+
tsconfig.json
9+
!*.d.ts
10+
*.ngsummary.json
11+
*.metadata.json

packages/image/.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ hooks/
66
*.map
77
*.old
88
tsconfig.json
9-
!*.d.ts
9+
!*.d.ts
10+
*.ngsummary.json
11+
*.metadata.json

packages/image/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"build": "npm run tsc && npm run readme",
1010
"build.all": "npm run build && npm run build.angular",
11-
"build.angular": "ng-packagr -p ../../src/image/angular/ng-package.json -c ../../src/image/angular/tsconfig.json",
11+
"build.angular": "ng-packagr -p ../../src/image/angular/ng-package.json -c ../../src/image/angular/tsconfig.json && rm angular/.npmignore",
1212
"readme": "readme generate -c ../../tools/readme/blueprint.json",
1313
"tsc": "cpy '**/*.d.ts' '../../packages/image' --parents --cwd=../../src/image && tsc -skipLibCheck -d",
1414
"clean": "rimraf ./*.d.ts ./*.js ./*.js.map"

packages/zoomimage/.npmignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
node_modules/
2+
pnpm-global/
3+
bin/
4+
hooks/
5+
*.ts
6+
*.map
7+
*.old
8+
tsconfig.json
9+
!*.d.ts
10+
*.ngsummary.json
11+
*.metadata.json

packages/zoomimage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"build": "npm run tsc && npm run readme",
1010
"build.all": "npm run build && npm run build.angular",
11-
"build.angular": "ng-packagr -p ../../src/zoomimage/angular/ng-package.json -c ../../src/zoomimage/angular/tsconfig.json",
11+
"build.angular": "ng-packagr -p ../../src/zoomimage/angular/ng-package.json -c ../../src/zoomimage/angular/tsconfig.json && rm angular/.npmignore",
1212
"readme": "readme generate -c ../../tools/readme/blueprint.json",
1313
"tsc": "cpy '**/*.d.ts' '../../packages/zoomimage' --parents --cwd=../../src/zoomimage && tsc -skipLibCheck -d",
1414
"clean": "rimraf ./*.d.ts ./*.js ./*.js.map"

0 commit comments

Comments
 (0)