Skip to content

Commit

Permalink
Merge branch 'Current' of ssh://github.com/CodeEditorLand/LandAzurecl…
Browse files Browse the repository at this point in the history
…i into Current
  • Loading branch information
NikolaRHristov committed May 5, 2024
2 parents 7d47dba + f2b1257 commit 8b3d5ad
Show file tree
Hide file tree
Showing 7 changed files with 270 additions and 25 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
enable-beta-ecosystems: true

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
versioning-strategy: increase
45 changes: 45 additions & 0 deletions .github/workflows/Dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Dependabot

concurrency:
group: Dependabot-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
security-events: write
contents: write
pull-requests: write

on:
workflow_dispatch:
pull_request:

jobs:
Approve:
runs-on: ubuntu-latest

if: ${{ github.actor == 'dependabot[bot]' }}

steps:
- uses: dependabot/fetch-metadata@v2.1.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

- run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

Merge:
runs-on: ubuntu-latest

if: ${{ github.actor == 'dependabot[bot]' }}

steps:
- uses: dependabot/fetch-metadata@v2.1.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

- run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
57 changes: 57 additions & 0 deletions .github/workflows/GitHub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: GitHub

concurrency:
group: GitHub-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
issues: write
pull-requests: write

on:
issues:
types: [opened]
pull_request:
types: [opened]

jobs:
Assign:
runs-on: ubuntu-latest

env:
ADBLOCK: true
ASTRO_TELEMETRY_DISABLED: 1
AUTOMATEDLAB_TELEMETRY_OPTOUT: 1
AZURE_CORE_COLLECT_TELEMETRY: 0
CHOOSENIM_NO_ANALYTICS: 1
DIEZ_DO_NOT_TRACK: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1
DO_NOT_TRACK: 1
ET_NO_TELEMETRY: 1
GATSBY_TELEMETRY_DISABLED: 1
GATSBY_TELEMETRY_OPTOUT: 1
GATSBY_TELEMETRY_OPT_OUT: 1
GRIT_TELEMETRY_DISABLED: 1
HASURA_GRAPHQL_ENABLE_TELEMETRY: false
HINT_TELEMETRY: off
HOMEBREW_NO_ANALYTICS: 1
INFLUXD_REPORTING_DISABLED: true
ITERATIVE_DO_NOT_TRACK: 1
NEXT_TELEMETRY_DEBUG: 1
NEXT_TELEMETRY_DISABLED: 1
NG_CLI_ANALYTICS: false
NUXT_TELEMETRY_DISABLED: 1
PIN_DO_NOT_TRACK: 1
POWERSHELL_TELEMETRY_OPTOUT: 1
SAM_CLI_TELEMETRY: 0
STNOUPGRADE: 1
STRIPE_CLI_TELEMETRY_OPTOUT: 1
TELEMETRY_DISABLED: 1

steps:
- uses: pozil/auto-assign-issue@v1.14.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: NikolaRHristov
numOfAssignee: 1
43 changes: 43 additions & 0 deletions .github/workflows/NPM.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: NPM

concurrency:
group: NPM-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
security-events: write
contents: write
pull-requests: write

on:
workflow_dispatch:
release:
types: [created]
workflow_call:

jobs:
Publish:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4.1.4

- uses: actions/setup-node@v4.0.2
with:
node-version: "18"
registry-url: "https://registry.npmjs.org"

- run: npm install -g npm

- name: Publish .
continue-on-error: true
working-directory: .
run: |
npm install --include prod dev optional peer --legacy-peer-deps
npm publish --legacy-peer-deps --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
92 changes: 92 additions & 0 deletions .github/workflows/Node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: Node

concurrency:
group: Node-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
security-events: write
contents: write
pull-requests: write

on:
workflow_dispatch:
push:
branches: [Current]
pull_request:
branches: [Current]
workflow_call:

jobs:
Pre-Publish:
runs-on: ubuntu-latest

env:
ADBLOCK: true
ASTRO_TELEMETRY_DISABLED: 1
AUTOMATEDLAB_TELEMETRY_OPTOUT: 1
AZURE_CORE_COLLECT_TELEMETRY: 0
CHOOSENIM_NO_ANALYTICS: 1
DIEZ_DO_NOT_TRACK: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1
DO_NOT_TRACK: 1
ET_NO_TELEMETRY: 1
GATSBY_TELEMETRY_DISABLED: 1
GATSBY_TELEMETRY_OPTOUT: 1
GATSBY_TELEMETRY_OPT_OUT: 1
GRIT_TELEMETRY_DISABLED: 1
HASURA_GRAPHQL_ENABLE_TELEMETRY: false
HINT_TELEMETRY: off
HOMEBREW_NO_ANALYTICS: 1
INFLUXD_REPORTING_DISABLED: true
ITERATIVE_DO_NOT_TRACK: 1
NEXT_TELEMETRY_DEBUG: 1
NEXT_TELEMETRY_DISABLED: 1
NG_CLI_ANALYTICS: false
NUXT_TELEMETRY_DISABLED: 1
PIN_DO_NOT_TRACK: 1
POWERSHELL_TELEMETRY_OPTOUT: 1
SAM_CLI_TELEMETRY: 0
STNOUPGRADE: 1
STRIPE_CLI_TELEMETRY_OPTOUT: 1
TELEMETRY_DISABLED: 1

strategy:
matrix:
node-version: [18, 19, 20]

steps:
- uses: actions/checkout@v4.1.4

- uses: pnpm/action-setup@v3.0.0
with:
version: 8.15.5
run_install: |
- recursive: true
args: [
--link-workspace-packages=true,
--lockfile-only,
--prefer-frozen-lockfile=false,
--shamefully-hoist=false,
--shared-workspace-lockfile=true,
--strict-peer-dependencies=false,
--unsafe-perm=true
]
- uses: actions/setup-node@v4.0.2
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./pnpm-lock.yaml

- run: pnpm install
working-directory: .

- run: pnpm run prepublishOnly
working-directory: .

- uses: actions/upload-artifact@v4.3.3
with:
name: .-Node-${{ matrix.node-version }}-Target
path: ./Target
16 changes: 4 additions & 12 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ extends:
template: azure-pipelines/extension/stable.yml@templates
parameters:
publishExtension: ${{ parameters.publishExtension }}

l10nSourcePaths: ./src

buildSteps:
Expand All @@ -41,15 +41,7 @@ extends:
displayName: Test extension
tsa:
enabled: true
options:
codebaseName: 'devdiv_$(Build.Repository.Name)'
config:
areaPath: 'Visual Studio Code Miscellaneous Extensions'
serviceTreeID: 'c8cb03c6-176e-40dd-90a5-518de08666dc'
instanceUrl: 'https://devdiv.visualstudio.com/defaultcollection'
projectName: 'DevDiv'
areaPath: 'DevDiv\\VS Code (compliance tracking only)\\Visual Studio Code Miscellaneous Extensions'
notificationAliases:
- 'stbatt@microsoft.com'
- 'lszomoru@microsoft.com'
- 'chrmarti@microsoft.com'

enabled: true
28 changes: 15 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,29 @@
"version": "0.0.1",
"private": false,
"description": "Tools for developing and running commands of the Azure CLI.",
"homepage": "https://github.com/CodeEditorLand/Foundation#readme",
"keywords": [
"land"
],
"homepage": "HTTPS://GitHub.Com/CodeEditorLand/LandAzureCli#readme",
"bugs": {
"url": "https://github.com/CodeEditorLand/Foundation/issues"
"url": "HTTPS://GitHub.Com/CodeEditorLand/LandAzureCli/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CodeEditorLand/Foundation.git"
"url": "git+HTTPS://github.com/CodeEditorLand/LandAzureCli.git"
},
"license": "SEE LICENSE IN LICENSE",
"author": {
"name": "Playform",
"email": "Hello@Playform.Cloud",
"url": "https://playform.cloud"
"name": "🌆 — Land —",
"email": "Land@PlayForm.Cloud",
"url": "HTTPS://Land.PlayForm.Cloud"
},
"type": "module",
"main": "./out/src/extension",
"scripts": {
"Document": "Document 'Source/**/*.ts'",
"compile": "tsc -p ./",
"prepublishOnly": "TypeScriptESBuild 'Source/**/*.ts'",
"watch": "tsc -watch -p ./"
"prepublishOnly": "Build 'Source/**/*.ts'"
},
"contributes": {
"commands": [
Expand Down Expand Up @@ -141,12 +144,11 @@
"semver": "7.6.0"
},
"devDependencies": {
"@playform/build": "0.0.7",
"@playform/document": "0.0.6",
"@types/jmespath": "0.15.2",
"@types/node": "20.11.30",
"@types/semver": "7.5.8",
"@types/vscode": "1.87.0",
"typescript": "5.4.2",
"typescript-esbuild": "0.4.5"
"@types/node": "20.12.7",
"@types/semver": "7.5.8"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 8b3d5ad

Please sign in to comment.