Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,34 @@
"${workspaceFolder}/vscode-extensions/rush-vscode-extension/dist/**/*.js"
]
// "preLaunchTask": "npm: build:watch - vscode-extensions/rush-vscode-extension"
},
{
"name": "Launch TLS Certification UI",
"type": "extensionHost",
"request": "launch",
"cwd": "${workspaceFolder}/vscode-extensions/tls-certification-ui",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/vscode-extensions/tls-certification-ui",
"--extensionDevelopmentPath=${workspaceFolder}/vscode-extensions/tls-certification-workspace"
],
"outFiles": [
"${workspaceFolder}/vscode-extensions/tls-certification-ui/dist/**/*.js",
"${workspaceFolder}/vscode-extensions/tls-certification-workspace/dist/**/*.js"`
]
// "preLaunchTask": "npm: build:watch - vscode-extensions/tls-certification-ui"
},
{
"name": "Launch TLS Certification Workspace",
"type": "extensionHost",
"request": "launch",
"cwd": "${workspaceFolder}/vscode-extensions/tls-certification-workspace",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/vscode-extensions/tls-certification-workspace"
],
"outFiles": [
"${workspaceFolder}/vscode-extensions/tls-certification-workspace/dist/**/*.js"
]
// "preLaunchTask": "npm: build:watch - vscode-extensions/tls-certification-workspace"
}
]
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ These GitHub repositories provide supplementary resources for Rush Stack:
| [/rush-plugins/rush-litewatch-plugin](./rush-plugins/rush-litewatch-plugin/) | An experimental alternative approach for multi-project watch mode |
| [/vscode-extensions/rush-vscode-command-webview](./vscode-extensions/rush-vscode-command-webview/) | Part of the Rush Stack VSCode extension, provides a UI for invoking Rush commands |
| [/vscode-extensions/rush-vscode-extension](./vscode-extensions/rush-vscode-extension/) | Enhanced experience for monorepos that use the Rush Stack toolchain |
| [/vscode-extensions/tls-certification-ui](./vscode-extensions/tls-certification-ui/) | Creates TLS Certificates as a UI Extension |
| [/vscode-extensions/tls-certification-workspace](./vscode-extensions/tls-certification-workspace/) | Creates TLS Certificates as a Workspace Extension |
| [/webpack/webpack-deep-imports-plugin](./webpack/webpack-deep-imports-plugin/) | This plugin creates a bundle and commonJS files in a 'lib' folder mirroring modules in another 'lib' folder. |
<!-- GENERATED PROJECT SUMMARY END -->

Expand Down
147 changes: 71 additions & 76 deletions build-tests/install-test-workspace/workspace/common/pnpm-lock.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@microsoft/rush",
"comment": "Added new extension projects tls-certification-ui and tls-certification-workspace",
"type": "none"
}
],
"packageName": "@microsoft/rush"
}
70 changes: 70 additions & 0 deletions common/config/azure-pipelines/tls-certification-ui-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
variables:
- name: FORCE_COLOR
value: 1

resources:
repositories:
- repository: 1esPipelines
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release

extends:
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
parameters:
pool:
name: Azure-Pipelines-1ESPT-ExDShared
os: windows
stages:
- stage:
jobs:
- job:
pool:
name: publish-tls-certification-ui
os: linux
steps:
- checkout: self
persistCredentials: true

- template: /common/config/azure-pipelines/templates/install-node.yaml@self

- template: /common/config/azure-pipelines/templates/build.yaml@self
parameters:
BuildParameters: >
--to rushstack
PerformValidation: false

- script: node $(Build.SourcesDirectory)/common/scripts/install-run-rushx.js package
workingDirectory: $(Build.SourcesDirectory)/vscode-extensions/tls-certification-ui
displayName: 'Package tls certification ui extension'

- script: node $(Build.SourcesDirectory)/common/scripts/install-run-rushx.js deploy
workingDirectory: $(Build.SourcesDirectory)/vscode-extensions/tls-certification-ui
displayName: 'Publish tls certification ui extension'
env:
VSCE_PAT: $(vscePat)
Comment on lines +37 to +45

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to just replicate these two steps for each extension folder in the repository, and keep it all in one pipeline.

- job:
pool:
name: publish-tls-certification-workspace
os: linux
steps:
- checkout: self
persistCredentials: true

- template: /common/config/azure-pipelines/templates/install-node.yaml@self

- template: /common/config/azure-pipelines/templates/build.yaml@self
parameters:
BuildParameters: >
--to rushstack
PerformValidation: false

- script: node $(Build.SourcesDirectory)/common/scripts/install-run-rushx.js package
workingDirectory: $(Build.SourcesDirectory)/vscode-extensions/tls-certification-workspace
displayName: 'Package tls certification workspace extension'

- script: node $(Build.SourcesDirectory)/common/scripts/install-run-rushx.js deploy
workingDirectory: $(Build.SourcesDirectory)/vscode-extensions/tls-certification-workspace
displayName: 'Publish tls certification workspace extension'
env:
VSCE_PAT: $(vscePat)
14 changes: 13 additions & 1 deletion common/config/rush/browser-approved-packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,15 @@
},
{
"name": "@rushstack/rush-vscode-command-webview",
"allowedCategories": [ "vscode-extensions" ]
"allowedCategories": [ "tests", "vscode-extensions" ]
},
{
"name": "@rushstack/tls-certification-ui",
"allowedCategories": [ "tests" ]
},
{
"name": "@rushstack/tls-certificcation-ui",
"allowedCategories": [ "tests" ]
},
{
"name": "axios",
Expand Down Expand Up @@ -94,6 +102,10 @@
"name": "scheduler",
"allowedCategories": [ "vscode-extensions" ]
},
{
"name": "tls-certification-workspace",
"allowedCategories": [ "tests" ]
},
{
"name": "tslib",
"allowedCategories": [ "libraries", "tests", "vscode-extensions" ]
Expand Down
14 changes: 7 additions & 7 deletions common/config/rush/nonbrowser-approved-packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
},
{
"name": "@rushstack/debug-certificate-manager",
"allowedCategories": [ "libraries" ]
"allowedCategories": [ "libraries", "tests", "vscode-extensions" ]
},
{
"name": "@rushstack/eslint-config",
Expand Down Expand Up @@ -204,7 +204,7 @@
},
{
"name": "@rushstack/package-extractor",
"allowedCategories": [ "libraries", "vscode-extensions" ]
"allowedCategories": [ "libraries", "tests", "vscode-extensions" ]
},
{
"name": "@rushstack/rig-package",
Expand Down Expand Up @@ -264,7 +264,7 @@
},
{
"name": "@rushstack/webpack-preserve-dynamic-require-plugin",
"allowedCategories": [ "libraries", "vscode-extensions" ]
"allowedCategories": [ "libraries", "tests", "vscode-extensions" ]
},
{
"name": "@rushstack/webpack4-localization-plugin",
Expand Down Expand Up @@ -356,7 +356,7 @@
},
{
"name": "@vscode/test-electron",
"allowedCategories": [ "vscode-extensions" ]
"allowedCategories": [ "tests", "vscode-extensions" ]
},
{
"name": "@yarnpkg/lockfile",
Expand Down Expand Up @@ -516,7 +516,7 @@
},
{
"name": "glob",
"allowedCategories": [ "libraries", "vscode-extensions" ]
"allowedCategories": [ "libraries", "tests", "vscode-extensions" ]
},
{
"name": "glob-escape",
Expand Down Expand Up @@ -672,7 +672,7 @@
},
{
"name": "mocha",
"allowedCategories": [ "vscode-extensions" ]
"allowedCategories": [ "tests", "vscode-extensions" ]
},
{
"name": "node-fetch",
Expand Down Expand Up @@ -852,7 +852,7 @@
},
{
"name": "vsce",
"allowedCategories": [ "vscode-extensions" ]
"allowedCategories": [ "tests", "vscode-extensions" ]
},
{
"name": "watchpack",
Expand Down
Loading