-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meta(everything): Migrate away from NX (#4499)
* Work * chore(all): Fix designer client service imports from logic-app-shared * Work * stuff * progress * progress * Small Adjustment * More work * More work * More work * Data Mapper * Standalone * Delete NX files * Add turbo repo workflow * Fix gitignore mostly * Some working tests * Working unit tests * Working unit tests * Trying this * Faster! * E2E Tests ! * E2E test github action fix * E2E test github action fix * Fix docs issues * Stuff * Move data mapper standalone to main standalone app * Buildable vscode extension * Fix tests * Fix build * Move vscode build to it's own command * Fix e2e tests? * Actually fix e2e test this time * Stuff * Stuff * Add changelog behavior back * Fix some things * Some things fixed * I think this is good * Update Lock file
- Loading branch information
Showing
630 changed files
with
32,098 additions
and
115,920 deletions.
There are no files selected for viewing
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
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
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,7 +20,7 @@ on: | |
env: | ||
AI_KEY: 3cf0d6ae-3327-414a-b7c1-12f31ef45eff | ||
NX_AI_CON_STR: InstrumentationKey=3cf0d6ae-3327-414a-b7c1-12f31ef45eff;IngestionEndpoint=https://eastus-8.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/ | ||
BUMP_COMMAND: npm run bump -- --release-as ${{ github.event.inputs.release_type || 'minor' }} | ||
BUMP_COMMAND: pnpm run bump -- --release-as ${{ github.event.inputs.release_type || 'minor' }} | ||
|
||
jobs: | ||
bump-version: | ||
|
@@ -37,10 +37,16 @@ jobs: | |
with: | ||
node-version: 20 | ||
|
||
- run: npm ci | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
run_install: | | ||
- recursive: true | ||
args: [--frozen-lockfile, --strict-peer-dependencies] | ||
- args: [--global, turbo, typescript] | ||
- name: 'Version Bump' | ||
run: git config --global user.email $GITHUB_ACTOR && git config --global user.name release-automation-${GITHUB_ACTOR}@microsoft.com && ${{ env.BUMP_COMMAND }} && npm install | ||
run: git config --global user.email $GITHUB_ACTOR && git config --global user.name release-automation-${GITHUB_ACTOR}@microsoft.com && ${{ env.BUMP_COMMAND }} && pnpm install | ||
|
||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
|
@@ -64,50 +70,46 @@ jobs: | |
with: | ||
node-version: 20 | ||
|
||
- run: npm ci | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
run_install: | | ||
- recursive: true | ||
args: [--frozen-lockfile, --strict-peer-dependencies] | ||
- args: [--global, turbo, typescript] | ||
- name: 'Local Version Bump' | ||
run: ${{ env.BUMP_COMMAND }} --skip.commit --skip.tag | ||
|
||
- name: 'Set Designer Extension VSIX aiKey in package.json' | ||
run: echo "`jq '.aiKey="${{ env.AI_KEY }}"' apps/vs-code-designer/src/package.json`" > apps/vs-code-designer/src/package.json | ||
|
||
- run: npm run build:vscode-designer | ||
- run: npm run vscode:designer:pack | ||
# - run: npm run build:vscode-designer | ||
# - run: npm run vscode:designer:pack | ||
|
||
- name: 'Get Previous tag' | ||
id: previoustag | ||
uses: 'WyriHaximus/github-action-get-previous-tag@v1' | ||
with: | ||
fallback: 0.0.0 | ||
|
||
- name: Archive VSIX | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: | | ||
dist/apps/vs-code-designer/*.vsix | ||
# - name: Archive VSIX | ||
# uses: actions/upload-artifact@v3 | ||
# with: | ||
# path: | | ||
# dist/apps/vs-code-designer/*.vsix | ||
|
||
- uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: 'LICENSE.md,dist/apps/vs-code-designer/*.vsix' | ||
# artifacts: 'LICENSE.md,dist/apps/vs-code-designer/*.vsix' | ||
artifacts: 'LICENSE.md' | ||
generateReleaseNotes: true | ||
tag: '${{ steps.previoustag.outputs.tag }}' | ||
token: ${{ secrets.AUTOMATION_PAT }} | ||
|
||
publish: | ||
needs: bump-version | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
lib: | ||
[ | ||
{ dist: './dist/libs/data-mapper', package: 'data-mapper' }, | ||
{ dist: './dist/libs/designer', package: 'designer' }, | ||
{ dist: './dist/libs/designer-ui', package: 'designer-ui' }, | ||
{ dist: './dist/libs/logic-apps-shared', package: 'logic-apps-shared' }, | ||
{ dist: './dist/libs/vscode-extension', package: 'vscode-extension' }, | ||
{ dist: './dist/libs/chatbot', package: 'chatbot' }, | ||
] | ||
steps: | ||
- name: 'Checkout Github Action' | ||
uses: actions/checkout@master | ||
|
@@ -117,14 +119,22 @@ jobs: | |
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 20 | ||
- run: npm ci | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
run_install: | | ||
- recursive: true | ||
args: [--frozen-lockfile, --strict-peer-dependencies] | ||
- args: [--global, turbo, typescript] | ||
- name: 'Local Version Bump' | ||
run: ${{ env.BUMP_COMMAND }} --skip.commit --skip.tag | ||
- run: npm ci | ||
- run: npx nx build ${{ matrix.lib.package }} | ||
- run: pnpm install --frozen-lockfile --strict-peer-dependencies | ||
|
||
- name: Use .npmrc | ||
uses: bduff9/[email protected] | ||
with: | ||
dot-npmrc: ${{ secrets.PUBLISHING_PAT }} | ||
working-directory: ${{ matrix.lib.dist }} | ||
- run: cd ${{ matrix.lib.dist }} && npm publish | ||
|
||
- run: pnpm run publish --no-git-checks --access public --tag latest |
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.