mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
fix(lib): fix lib publishable cannot import non publishable libs
This commit is contained in:
7
libs/module-to-standalone/user/home/ng-package.json
Normal file
7
libs/module-to-standalone/user/home/ng-package.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"$schema": "../../../../node_modules/ng-packagr/ng-package.schema.json",
|
||||||
|
"dest": "../../../../dist/libs/module-to-standalone/user/home",
|
||||||
|
"lib": {
|
||||||
|
"entryFile": "src/index.ts"
|
||||||
|
}
|
||||||
|
}
|
||||||
12
libs/module-to-standalone/user/home/package.json
Normal file
12
libs/module-to-standalone/user/home/package.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"name": "@angular-challenges/module-to-standalone/user/home",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"peerDependencies": {
|
||||||
|
"@angular/common": "^16.0.0",
|
||||||
|
"@angular/core": "^16.0.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"tslib": "^2.3.0"
|
||||||
|
},
|
||||||
|
"sideEffects": false
|
||||||
|
}
|
||||||
@@ -2,10 +2,26 @@
|
|||||||
"name": "module-to-standalone-user-home",
|
"name": "module-to-standalone-user-home",
|
||||||
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
|
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
|
||||||
"sourceRoot": "libs/module-to-standalone/user/home/src",
|
"sourceRoot": "libs/module-to-standalone/user/home/src",
|
||||||
"prefix": "angular-challenges",
|
"prefix": "lib",
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"projectType": "library",
|
"projectType": "library",
|
||||||
"targets": {
|
"targets": {
|
||||||
|
"build": {
|
||||||
|
"executor": "@nx/angular:ng-packagr-lite",
|
||||||
|
"outputs": ["{workspaceRoot}/dist/{projectRoot}"],
|
||||||
|
"options": {
|
||||||
|
"project": "libs/module-to-standalone/user/home/ng-package.json"
|
||||||
|
},
|
||||||
|
"configurations": {
|
||||||
|
"production": {
|
||||||
|
"tsConfig": "libs/module-to-standalone/user/home/tsconfig.lib.prod.json"
|
||||||
|
},
|
||||||
|
"development": {
|
||||||
|
"tsConfig": "libs/module-to-standalone/user/home/tsconfig.lib.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"defaultConfiguration": "production"
|
||||||
|
},
|
||||||
"test": {
|
"test": {
|
||||||
"executor": "@nx/jest:jest",
|
"executor": "@nx/jest:jest",
|
||||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"extends": "./tsconfig.lib.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"declarationMap": false
|
||||||
|
},
|
||||||
|
"angularCompilerOptions": {}
|
||||||
|
}
|
||||||
@@ -16,6 +16,7 @@
|
|||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@angular-challenges/cli": ["libs/cli/src/index.ts"],
|
"@angular-challenges/cli": ["libs/cli/src/index.ts"],
|
||||||
|
"@angular-challenges/custom-plugin": ["libs/custom-plugin/src/index.ts"],
|
||||||
"@angular-challenges/module-to-standalone/admin/feature": [
|
"@angular-challenges/module-to-standalone/admin/feature": [
|
||||||
"libs/module-to-standalone/admin/feature/src/index.ts"
|
"libs/module-to-standalone/admin/feature/src/index.ts"
|
||||||
],
|
],
|
||||||
@@ -49,7 +50,6 @@
|
|||||||
"@angular-challenges/module-to-standalone/user/shell": [
|
"@angular-challenges/module-to-standalone/user/shell": [
|
||||||
"libs/module-to-standalone/user/shell/src/index.ts"
|
"libs/module-to-standalone/user/shell/src/index.ts"
|
||||||
],
|
],
|
||||||
"@angular-challenges/custom-plugin": ["libs/custom-plugin/src/index.ts"],
|
|
||||||
"@angular-challenges/ngrx-notification/backend": [
|
"@angular-challenges/ngrx-notification/backend": [
|
||||||
"libs/ngrx-notification/backend/src/index.ts"
|
"libs/ngrx-notification/backend/src/index.ts"
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user