-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: make use of lerna nx Signed-off-by: Steffen van den Driest <[email protected]> * chore: added project.json and corrected scripts Signed-off-by: Steffen van den Driest <[email protected]> * chore: removed not working test scripts Signed-off-by: Steffen van den Driest <[email protected]> * Update packages/open-scd/project.json * Update packages/plugins/project.json --------- Signed-off-by: Steffen van den Driest <[email protected]> Co-authored-by: Juan Munoz <[email protected]> Co-authored-by: Pascal Wilbrink <[email protected]>
- Loading branch information
1 parent
a6c5d3e
commit 94d68d7
Showing
14 changed files
with
16,072 additions
and
7,238 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 |
---|---|---|
|
@@ -16,25 +16,22 @@ jobs: | |
- name: Use Node.js 18.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '18.x' | ||
|
||
- name: Install and build Core | ||
run: | | ||
cd packages/core | ||
npm clean-install | ||
npm run-script build | ||
npm run-script doc | ||
node-version: "18.x" | ||
|
||
- name: Install and Build OpenSCD | ||
run: | | ||
cd packages/open-scd | ||
npm clean-install | ||
npm run-script build | ||
npm run-script doc | ||
- name: Copy Core Docs to OpenSCD | ||
run: | | ||
cp -R packages/core/doc packages/open-scd/build/core-doc | ||
- name: Copy Plugin Docs to OpenSCD | ||
run: | | ||
cp -R packages/plugins/doc packages/open-scd/build/plugin-doc | ||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
with: | ||
|
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 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 |
---|---|---|
|
@@ -20,3 +20,5 @@ node_modules/ | |
/.tsbuildinfo | ||
/.rollup.cache | ||
|
||
# lerna | ||
/lerna-debug.log |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"$schema": "node_modules/lerna/schemas/lerna-schema.json", | ||
"version": "independent", | ||
"packages": ["packages/*"], | ||
"useNx": true | ||
} |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"tasksRunnerOptions": { | ||
"default": { | ||
"runner": "nx/tasks-runners/default", | ||
"options": { | ||
"cacheableOperations": ["build"] | ||
} | ||
} | ||
}, | ||
"targetDefaults": { | ||
"lint": { | ||
"inputs": [ | ||
"default", | ||
"{workspaceRoot}/.eslintrc.json", | ||
"{workspaceRoot}/.eslintignore" | ||
] | ||
}, | ||
"test": { | ||
"inputs": ["default", "^default"] | ||
}, | ||
"build": { | ||
"dependsOn": ["clean", "^clean", "^build"] | ||
} | ||
} | ||
} |
Oops, something went wrong.