Skip to content

Commit

Permalink
feat: angular module
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Apr 30, 2023
1 parent a5e125b commit dc3761a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/https/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"build": "npm run tsc",
"build.watch": "npm run tsc -- -w",
"build.win": "npm run tsc-win",
"build.all": "npm run build",
"build.all": "npm run build && npm run build.angular",
"build.angular": "ng-packagr -p ../../src/https/angular/ng-package.json -c ../../src/https/angular/tsconfig.json",
"build.all.win": "npm run build.win",
"clean": "rimraf ./*.d.ts ./*.js ./*.js.map"
},
Expand Down
9 changes: 9 additions & 0 deletions src/https/angular/ng-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"dest": "../../../packages/https/angular",
"lib": {
"entryFile": "index.ts"
},
"allowedNonPeerDependencies": [
"."
]
}
4 changes: 4 additions & 0 deletions src/https/angular/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "@nativescript-community/https-angular",
"main": "index.js"
}
13 changes: 13 additions & 0 deletions src/https/angular/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "../../../tsconfig.json",
"compilerOptions": {
"rootDir": "./",
"plugins": [],
"paths": {
"@nativescript-community/https": ["packages/https"],
"@nativescript-community/https/*": ["packages/https/*"]
}
},
"include": ["./**/*.ts", "../../../references.d.ts", "../references.d.ts"],
"exclude": ["../node_modules"]
}

0 comments on commit dc3761a

Please sign in to comment.