- Packages are published to the OWNER scope
- Unscoped packages can't be published
@OWNER:registry=https://npm.pkg.github.com
This doesn't work so well:
$ docker run -it --entrypoint bash gradle
So I'm using:
$ docker run -it --entrypoint bash frekele/gradle
| function gooo() | |
| { | |
| console.log('hmmmmmmmmmmmmmmmm'); | |
| } | |
Try entering the following in Git Bash:
$ git credential fill
protocol=https
host=github.com
(note the blank line)
| <Project Sdk="Microsoft.NET.Sdk"> | |
| <PropertyGroup> | |
| <OutputType>Exe</OutputType> | |
| <TargetFramework>netcoreapp3.0</TargetFramework> | |
| </PropertyGroup> | |
| </Project> |
| using System; | |
| using System.Collections.Generic; | |
| using EnvDTE; | |
| public class Tests | |
| { | |
| [STAThread] | |
| static IList<string> DumpProjects(DTE dte) | |
| { | |
| var projects = new List<string>(); |
| public string FindOutputFilePath(IVsTextManager2 textManager, IVsEditorAdaptersFactoryService adapters) | |
| { | |
| if(textManager.GetActiveView2(1, null, (uint)_VIEWFRAMETYPE.vftCodeWindow, out IVsTextView activeView) == VSConstants.S_OK) | |
| { | |
| var textView = adapters.GetWpfTextView(activeView); | |
| var doc = textView.TextBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); | |
| return doc.Project.OutputFilePath; | |
| } | |
| return null; |
| #region ProjectInfo.cs | |
| namespace Internal { | |
| // | |
| // Author: | |
| // Jb Evain (jbevain@gmail.com) | |
| // | |
| // Copyright (c) 2008 - 2015 Jb Evain | |
| // | |
| // Licensed under the MIT/X11 license. | |
| // |
| query { | |
| search(first: 100, type: REPOSITORY, query: "VisualStudio") | |
| { | |
| nodes | |
| { | |
| ... on Repository | |
| { | |
| nameWithOwner | |
| object(oid: "ed204a53a72ce1d54556bfcceda6103b926f3ae5") | |
| { |
| public static IVsCodeWindow GetCodeWindow(this IVsWindowFrame windowFrame) | |
| { | |
| ErrorHandler.ThrowOnFailure(windowFrame.GetProperty((int)__VSFPROPID.VSFPROPID_DocView, out object docView)); | |
| return docView as IVsCodeWindow; | |
| } |