forked from opensearch-project/OpenSearch-Dashboards
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Manual Backport 2.x][@osd/pm] Automate multi-target bootstrap and bu…
…ild (opensearch-project#4650) (opensearch-project#4860) * [@osd/pm] Automate multi-target bootstrap and build (opensearch-project#4650) Also: * build @osd/std for multiple targets * convert @osd/i18n and @osd/ace from custom build scripts to targeted build process * have @osd/optimizer ignore already built artifacts Signed-off-by: Miki <[email protected]> (cherry picked from commit 1674c97) * Apply suggestions from code review Co-authored-by: Miki <[email protected]> Signed-off-by: Ashwin P Chandran <[email protected]> --------- Signed-off-by: Ashwin P Chandran <[email protected]> Co-authored-by: Miki <[email protected]> Co-authored-by: Miki <[email protected]>
- Loading branch information
1 parent
80d3f22
commit 6542257
Showing
21 changed files
with
9,864 additions
and
9,593 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,10 @@ | |
"name": "@osd/ace", | ||
"version": "1.0.0", | ||
"private": true, | ||
"main": "./target/index.js", | ||
"browser": "./target/web/index.js", | ||
"main": "./target/web/index.js", | ||
"types": "./target/types/index.d.ts", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"build": "../../scripts/use_node ./scripts/build.js", | ||
"osd:bootstrap": "yarn build --dev" | ||
}, | ||
"dependencies": { | ||
"brace": "0.11.1" | ||
}, | ||
|
@@ -17,5 +15,8 @@ | |
"raw-loader": "^4.0.2", | ||
"typescript": "4.0.2", | ||
"webpack": "npm:@amoo-miki/[email protected]" | ||
}, | ||
"@osd/pm": { | ||
"web": true | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "./target", | ||
"declaration": true, | ||
"sourceMap": true, | ||
"types": [ | ||
"jest", | ||
"node" | ||
] | ||
"declarationDir": "./target/types", | ||
"outDir": "./target", | ||
"emitDeclarationOnly": true, | ||
"stripInternal": true, | ||
"declarationMap": true, | ||
"types": ["jest", "node"] | ||
}, | ||
"include": [ | ||
"src/**/*" | ||
] | ||
"include": ["./src/**/*"], | ||
"exclude": ["target"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"declaration": true, | ||
"declarationDir": "./target/types", | ||
"outDir": "./target", | ||
"emitDeclarationOnly": true, | ||
"stripInternal": true, | ||
"declarationMap": true, | ||
"types": ["jest", "node"] | ||
}, | ||
"include": [ | ||
"src/**/*.ts", | ||
"src/**/*.tsx", | ||
"types/intl_format_cache.d.ts", | ||
"types/intl_relativeformat.d.ts" | ||
], | ||
"exclude": [ | ||
"target" | ||
], | ||
"compilerOptions": { | ||
"declaration": true, | ||
"emitDeclarationOnly": true, | ||
"outDir": "./target/types", | ||
"types": [ | ||
"jest", | ||
"node" | ||
] | ||
} | ||
"exclude": ["target"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.