mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-4534] nx workspace support for aca (#3143)
* ACS-4534 Added nx workspace support * ACS-4534 Updated package-lock.json file * ACS-4534 Configured cache directory and affected command * ACS-4534 Updated README * ACS-4534 Updated more README files * ACS-4534 Fixed lint * ACS-4534 Address comment for readme * ACS-4534 Removed redundant build-libs script * ACS-4534 Fixed start script * ACS-4534 Updated some left documentation * ACS-4534 Added more helper scripts, addressed PR comments * ACS-4534 Updated package-lock.json after rebasing * ACS-4534 Fix stylelint issue
This commit is contained in:
@@ -33,7 +33,7 @@ ACA プロジェクトのルートフォルダから、ターミナルで以下
|
||||
|
||||
作成を完了するには、次のコマンドを起動して拡張機能を構築します。
|
||||
|
||||
ng build my-extension
|
||||
nx build my-extension
|
||||
|
||||
# ACA 拡張機能の基礎知識を身につける
|
||||
|
||||
@@ -131,7 +131,7 @@ ACA アプリからパブリック URL を介して拡張機能が見えるよ
|
||||
{ ...
|
||||
"scripts": {
|
||||
...,
|
||||
"build:my-extension": "ng build my-extension && npx cpr projects/my-extension/assets dist/my-extension/assets --deleteFirst"
|
||||
"build:my-extension": "nx build my-extension && npx cpr projects/my-extension/assets dist/my-extension/assets --deleteFirst"
|
||||
}, ...
|
||||
}
|
||||
|
||||
|
@@ -21,7 +21,7 @@ nav: ja
|
||||
|
||||
ACA プロジェクトのルートフォルダから、ターミナルで以下のコマンドを起動します。その際、既存の拡張機能 (ここでは my-extension) と同じ名前を使用することを確認してください。
|
||||
|
||||
ng generate library my-extension
|
||||
nx generate library my-extension
|
||||
|
||||
エラーが発生した場合は、`tsconfig.json` ファイルに以下の行を追加してください。
|
||||
|
||||
@@ -31,7 +31,7 @@ ACA プロジェクトのルートフォルダから、ターミナルで以下
|
||||
|
||||
作成を完了するには、次のコマンドを起動して拡張機能を構築します。
|
||||
|
||||
ng build my-extension
|
||||
nx build my-extension
|
||||
|
||||
エラーが発生した場合は、`tsconfig.json` ファイルに以下の設定を追加してください。
|
||||
|
||||
@@ -49,4 +49,4 @@ ACA 拡張機能が初期バージョンで開発されたので、アプリケ
|
||||
|
||||
ACA のランディングページの左メニューに新しい項目が追加され、次のような内容の新しいページへのルートが実装されているはずです。下のスクリーンショットは、それがどのように見えるかを説明しています。
|
||||
|
||||

|
||||

|
||||
|
Reference in New Issue
Block a user