Skip to content

Commit

Permalink
feat: initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCampionJr committed Oct 31, 2023
1 parent 264452d commit 02d430a
Show file tree
Hide file tree
Showing 66 changed files with 11,531 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
3 changes: 3 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
GITHUB_TOKEN=
NPM_TOKEN=
NUGET_API_KEY=
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules
.env
dist/
.idea
.playground/**/[Bb]in/
.playground/**/[Oo]bj/
.playground/artifacts/
test/**/[Bb]in/
test/**/[Oo]bj/
27 changes: 27 additions & 0 deletions .playground/.release-it.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* eslint-disable no-template-curly-in-string */
module.exports = {
plugins: {
'../dist/index.mjs': {
nugetFeedUrl: '',
nugetApiKey: '',
keepArtifacts: true,
publish: true,
csprojFile: './src/ClassLibrary1/ClassLibrary1.csproj',
extraFiles: ['./Directory.Build.props'],
},
},
git: {
commit: false,
tag: false,
requireCleanWorkingDir: false,
push: false,
tagName: 'v${version}',
commitMessage: 'chore(release): v${version}',
},
github: {
release: false,
},
npm: {
publish: false,
},
}
32 changes: 32 additions & 0 deletions .playground/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<Project>

<PropertyGroup>
<RootNamespace>MongoFramework.AspNetCore.Identity</RootNamespace>
<PackageId>$(AssemblyName)</PackageId>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageProjectUrl>https://github.com/JohnCampionJr/MongoFramework.AspNetCore.Identity</PackageProjectUrl>
<PackageBaseTags>mongodb;mongoframework;mongo;identity</PackageBaseTags>

<RepositoryUrl>https://github.com/jcamp-code/release-it</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<RepositoryBranch>main</RepositoryBranch>

<!-- SourceLink Support -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>Latest</LangVersion>
<Version>2.9.39</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>

<ItemGroup>
<None Include="..\..\LICENSE" Pack="true" Visible="false" PackagePath=""/>
<None Include="..\..\README.md" Pack="true" Visible="false" PackagePath=""/>
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions .playground/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NuGet requires a license file
1 change: 1 addition & 0 deletions .playground/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NuGet Required README
41 changes: 41 additions & 0 deletions .playground/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "@jcamp/release-it-test-playground",
"version": "2.9.39",
"private": true,
"description": "",
"author": "",
"license": "MIT",
"repository": "https://github.com/JohnCampionJr/release-it-test",
"keywords": [],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./dotnet": {
"types": "./dist/dotnet.d.ts",
"import": "./dist/dotnet.mjs",
"require": "./dist/dotnet.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"stub": "unbuild --stub",
"test": "vitest run",
"release": "release-it",
"pre": "release-it minor --preRelease=beta",
"cl": "changelogen"
},
"dependencies": {},
"devDependencies": {
"release-it": "^16.2.1"
}
}
Loading

0 comments on commit 02d430a

Please sign in to comment.