-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove unused account call * update to support targeting modification via quick pick * Remove unused import and code * update README for existing functionality * update README WIP commit of all changes * getting ready for prerelease * update changelog * fixes * update ci * Refactor CI configuration and update Node.js version * switch to xvfb action * remove DISPLAY var * move test to xvfb * xvfb both steps * remove command * switch test runner * switch xvfb * test updates * prettier fixes * lint fixes * update version * update CI version * fix: double listed command fix: first entry in flag list not expanding * fix: double listed command fix: first entry in flag list not expanding * wrap commands in try/catch blocks for registering * lint and prettier fixes * clean up logs update publish action * set action to v1.5.0 * fix: targeting rules bug clean up targeting implementation * fix: flag lens variations add: osmo icon simplify multiple functions add: released flags highlights * add: missing icon files * add: gitlens mention * fix: remove console log from release view add: sort project in configuration based on current add status bar and trigger config command * fix: build remove: unused comments * xvfb change * move debug logging to separate file * wrap context conditional for test * update to v5 * update README * Update CHANGELOG.md Co-authored-by: Henry Barrow <[email protected]> * Update README.md Co-authored-by: Henry Barrow <[email protected]> * Update README.md Co-authored-by: Henry Barrow <[email protected]> * Update README.md Co-authored-by: Henry Barrow <[email protected]> * Update src/utils/contextYAML.ts Co-authored-by: Henry Barrow <[email protected]> * Update src/utils/rulesYaml.ts Co-authored-by: Henry Barrow <[email protected]> * Update test/flagLens.test.ts Co-authored-by: Henry Barrow <[email protected]> * Remove unneeded files * prettier fixes --------- Co-authored-by: Henry Barrow <[email protected]>
- Loading branch information
1 parent
d2355ca
commit 92a7aef
Showing
80 changed files
with
8,139 additions
and
2,906 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
//@ts-check | ||
|
||
/** @type {import('@twbs/fantasticon').RunnerOptions} */ | ||
const config = { | ||
name: 'glicons', | ||
prefix: 'glicon', | ||
codepoints: require('./images/icons/template/mapping.json'), | ||
inputDir: './images/icons', | ||
outputDir: './dist', | ||
fontsUrl: '#{root}/dist', | ||
// @ts-ignore | ||
fontTypes: ['woff2'], | ||
normalize: true, | ||
// @ts-ignore | ||
assetTypes: ['html', 'scss', 'json'], | ||
templates: { | ||
html: './images/icons/template/icons-contribution.hbs', | ||
scss: './images/icons/template/styles.hbs', | ||
}, | ||
formatOptions: { | ||
json: { | ||
indent: 2, | ||
}, | ||
}, | ||
pathOptions: { | ||
woff2: './dist/glicons.woff2', | ||
scss: './dist/glicons.scss', | ||
html: './dist/icons-contribution.json', | ||
json: './images/icons/template/mapping.json', | ||
}, | ||
}; | ||
|
||
module.exports = config; |
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 |
---|---|---|
@@ -1,49 +1,42 @@ | ||
name: CI | ||
name: Node CI | ||
|
||
on: | ||
push: | ||
branches: [ main, beta, prerelease ] | ||
workflow_dispatch: | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Extract branch name | ||
shell: bash | ||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" | ||
id: extract_branch | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
- run: yarn | ||
- run: yarn prepare-beta | ||
if: ${{ steps.extract_branch.outputs.branch == 'beta' }} | ||
- name: Run headless test | ||
uses: GabrielBB/xvfb-action@v1 | ||
with: | ||
run: yarn test | ||
- run: yarn run prettier:check | ||
- run: yarn run lint | ||
- name: Publish to Visual Studio Marketplace | ||
if: ${{ steps.extract_branch.outputs.branch != 'prerelease' }} | ||
uses: HaaLeo/publish-vscode-extension@v1 | ||
with: | ||
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} | ||
registryUrl: https://marketplace.visualstudio.com | ||
yarn: true | ||
- name: Publish to Visual Studio Marketplace for pre-release | ||
if: ${{ steps.extract_branch.outputs.branch == 'prerelease' }} | ||
uses: HaaLeo/publish-vscode-extension@v1 | ||
with: | ||
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} | ||
registryUrl: https://marketplace.visualstudio.com | ||
yarn: true | ||
preRelease: true | ||
- name: Publish to Open VSX Registry | ||
uses: HaaLeo/publish-vscode-extension@v0 | ||
with: | ||
pat: ${{ secrets.OPEN_VSX_TOKEN }} | ||
yarn: true | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '18.19.0' | ||
|
||
- name: Cache Node.js modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.OS }}-node- | ||
${{ runner.OS }}- | ||
- name: Install dependencies | ||
run: yarn | ||
|
||
- name: Setup | ||
run: yarn build:setup | ||
|
||
- name: Setup xvfb | ||
run: xvfb-run -a yarn run vscode:prepublish | ||
|
||
- name: Run xvfb test | ||
run: xvfb-run -a yarn test | ||
|
||
- name: Prettier | ||
run: yarn run prettier:check | ||
|
||
- name: Lint | ||
run: yarn run lint |
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,47 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ main, beta, prerelease ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Extract branch name | ||
shell: bash | ||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" | ||
id: extract_branch | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '18.19.0' | ||
- run: yarn | ||
- run: yarn build:setup | ||
- run: yarn prepare-beta | ||
if: ${{ steps.extract_branch.outputs.branch == 'beta' }} | ||
- run: xvfb-run -a yarn test | ||
- run: yarn run prettier:check | ||
- run: yarn run lint | ||
- name: Publish to Visual Studio Marketplace | ||
if: ${{ steps.extract_branch.outputs.branch != 'prerelease' }} | ||
uses: HaaLeo/[email protected] | ||
with: | ||
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} | ||
registryUrl: https://marketplace.visualstudio.com | ||
yarn: true | ||
- name: Publish to Visual Studio Marketplace for pre-release | ||
if: ${{ steps.extract_branch.outputs.branch == 'prerelease' }} | ||
uses: HaaLeo/[email protected] | ||
with: | ||
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} | ||
registryUrl: https://marketplace.visualstudio.com | ||
yarn: true | ||
preRelease: true | ||
- name: Publish to Open VSX Registry | ||
uses: HaaLeo/publish-vscode-extension@v0 | ||
with: | ||
pat: ${{ secrets.OPEN_VSX_TOKEN }} | ||
yarn: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// .vscode-test.js | ||
const { defineConfig } = require('@vscode/test-cli'); | ||
|
||
module.exports = defineConfig([ | ||
{ | ||
label: 'unitTests', | ||
files: ['out/test/*.test.js'], | ||
version: 'insiders', | ||
workspaceFolder: './sampleWorkspace', | ||
mocha: { | ||
ui: 'tdd', | ||
timeout: 20000 | ||
} | ||
}] | ||
); |
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 |
---|---|---|
|
@@ -8,3 +8,8 @@ webpack.config.js | |
**/*.ts | ||
*.vsix | ||
CHANGELOG.md | ||
.vscode-test/ | ||
coderefs/ | ||
.github | ||
.circleci | ||
.nyc_output |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,17 @@ | ||
{ | ||
"icons": { | ||
{{#each codepoints}} | ||
"gitlens-{{@key}}": { | ||
"description": "{{@key}} icon", | ||
"default": { | ||
"fontPath": "dist/glicons.woff2", | ||
"fontCharacter": "\\\{{codepoint this}}" | ||
} | ||
{{#if @last}} | ||
} | ||
{{else}} | ||
}, | ||
{{/if}} | ||
{{/each}} | ||
} | ||
} |
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,3 @@ | ||
{ | ||
"osmo": 61997 | ||
} |
Oops, something went wrong.