feat: setup publishing of share and marketplace packages (#1874)

This commit is contained in:
Alex Inkin
2022-10-17 19:55:34 +03:00
committed by Aiden McClelland
parent 50e3b7cd5a
commit 6e1c2fd7fd
6 changed files with 26 additions and 28 deletions

View File

@@ -392,10 +392,7 @@
},
"configurations": {
"production": {
"tsConfig": "projects/marketplace/tsconfig.prod.json"
},
"development": {
"tsConfig": "projects/marketplace/tsconfig.json"
"tsConfig": "tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
@@ -415,10 +412,7 @@
},
"configurations": {
"production": {
"tsConfig": "projects/shared/tsconfig.prod.json"
},
"development": {
"tsConfig": "projects/shared/tsconfig.json"
"tsConfig": "tsconfig.lib.json"
}
},
"defaultConfiguration": "production"

View File

@@ -15,6 +15,10 @@
"build:setup": "ng run setup-wizard:build",
"build:ui": "ng run ui:build",
"build:all": "npm run build:deps && npm run build:dui && npm run build:setup && npm run build:ui",
"build:shared": "ng build shared",
"build:marketplace": "npm run build:shared && ng build marketplace",
"publish:shared": "npm run build:shared && npm publish ./dist/shared",
"publish:marketplace": "npm run build:marketplace && npm publish ./dist/marketplace",
"start:dui": "npm run-script build-config && ionic serve --project diagnostic-ui --host 0.0.0.0",
"start:setup": "npm run-script build-config && ionic serve --project setup-wizard --host 0.0.0.0",
"start:ui": "npm run-script build-config && ionic serve --project ui --ip --host 0.0.0.0",

View File

@@ -4,6 +4,7 @@
"peerDependencies": {
"@angular/common": "^13.2.0",
"@angular/core": "^13.2.0",
"@ionic/angular": "^6.0.3",
"@start9labs/shared": "^0.0.1",
"fuse.js": "^6.4.6"
},

View File

@@ -1,10 +0,0 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"extends": "./tsconfig.lib.json",
"compilerOptions": {
"declarationMap": false
},
"angularCompilerOptions": {
"compilationMode": "partial"
}
}

View File

@@ -1,10 +0,0 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"extends": "./tsconfig.lib.json",
"compilerOptions": {
"declarationMap": false
},
"angularCompilerOptions": {
"compilationMode": "partial"
}
}

View File

@@ -0,0 +1,19 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"extends": "./tsconfig.json",
"compilerOptions": {
"baseUrl": "./",
"outDir": "../../out-tsc/lib",
"declaration": true,
"declarationMap": false,
"inlineSources": true,
"types": [],
"paths": {
"@start9labs/marketplace": ["dist/marketplace"],
"@start9labs/shared": ["dist/shared"]
}
},
"angularCompilerOptions": {
"compilationMode": "partial"
}
}