mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
feat: setup publishing of share and marketplace packages (#1874)
This commit is contained in:
committed by
Aiden McClelland
parent
50e3b7cd5a
commit
6e1c2fd7fd
@@ -392,10 +392,7 @@
|
|||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
"tsConfig": "projects/marketplace/tsconfig.prod.json"
|
"tsConfig": "tsconfig.lib.json"
|
||||||
},
|
|
||||||
"development": {
|
|
||||||
"tsConfig": "projects/marketplace/tsconfig.json"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"defaultConfiguration": "production"
|
"defaultConfiguration": "production"
|
||||||
@@ -415,10 +412,7 @@
|
|||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
"tsConfig": "projects/shared/tsconfig.prod.json"
|
"tsConfig": "tsconfig.lib.json"
|
||||||
},
|
|
||||||
"development": {
|
|
||||||
"tsConfig": "projects/shared/tsconfig.json"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"defaultConfiguration": "production"
|
"defaultConfiguration": "production"
|
||||||
|
|||||||
@@ -15,6 +15,10 @@
|
|||||||
"build:setup": "ng run setup-wizard:build",
|
"build:setup": "ng run setup-wizard:build",
|
||||||
"build:ui": "ng run ui: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: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: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: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",
|
"start:ui": "npm run-script build-config && ionic serve --project ui --ip --host 0.0.0.0",
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@angular/common": "^13.2.0",
|
"@angular/common": "^13.2.0",
|
||||||
"@angular/core": "^13.2.0",
|
"@angular/core": "^13.2.0",
|
||||||
|
"@ionic/angular": "^6.0.3",
|
||||||
"@start9labs/shared": "^0.0.1",
|
"@start9labs/shared": "^0.0.1",
|
||||||
"fuse.js": "^6.4.6"
|
"fuse.js": "^6.4.6"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
19
frontend/tsconfig.lib.json
Normal file
19
frontend/tsconfig.lib.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user