Skip to content

Commit

Permalink
chore: update readme, use prerelease slug as npm tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott18 committed Dec 19, 2024
1 parent 530e45c commit c797446
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/part-publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
on:
workflow_call
workflow_call:
inputs:
prereleaseSlug:
required: false
type: string

jobs:
npm:
Expand All @@ -14,12 +18,12 @@ jobs:
registry-url: 'https://registry.npmjs.org'

- name: npm publish coalesce-vue
run: npm publish ./coalesce-vue/*.tgz --tag latest --access public
run: npm publish ./coalesce-vue/*.tgz --tag ${{ inputs.prereleaseSlug || 'latest' }} --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: npm publish coalesce-vue-vuetify
run: for f in ./coalesce-vue-vuetify*/*.tgz; do npm publish $f --tag latest --access public; done
run: for f in ./coalesce-vue-vuetify*/*.tgz; do npm publish $f --tag ${{ inputs.prereleaseSlug || 'latest' }} --access public; done
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ jobs:
uses: ./.github/workflows/part-publish.yml
needs: [build, validate-template]
secrets: inherit
with:
prereleaseSlug: ${{ inputs.prereleaseSlug }}

create-release:
runs-on: ubuntu-latest
Expand Down
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[Documentation](https://intellitect.github.io/Coalesce) · [Get Started](#Get-Started) · [Builds](#Builds)

[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/IntelliTect/Coalesce/release.yml?branch=dev&label=Build%20Status&logo=github)](https://github.com/IntelliTect/Coalesce/actions/workflows/release.yml) [![NuGet](https://img.shields.io/nuget/v/IntelliTect.Coalesce)](https://www.nuget.org/packages/IntelliTect.Coalesce) [![npm](https://img.shields.io/npm/v/coalesce-vue/latest.svg)](https://www.npmjs.com/package/coalesce-vue)

Check out [The Coalesce Podcast](https://www.youtube.com/playlist?list=PLRjft3wXvK_srWUHS4w_lVrIfB4uNqfSD) for some step-by-step tutorials about Coalesce features.

Coalesce is a framework for rapid-development of ASP.NET Core + Vue.js web applications. It works from the Entity Framework Core data model that you design, automating the creation of the glue - DTOs, API Controllers, and TypeScript - that sit between your data and the UI of your application.
Expand All @@ -21,19 +23,14 @@ Coalesce is a framework for rapid-development of ASP.NET Core + Vue.js web appli

## Get Started

The best way to get started with Coalesce is using the `dotnet new` template:

* [Vue](https://github.com/IntelliTect/Coalesce.Vue.Template): `dotnet new install IntelliTect.Coalesce.Vue.Template; dotnet new coalescevue -o MyCompany.MyApp`

This command will use the current folder name for the project names, namespaces, etc. It will create a solution in the current folder with .Data and .Web projects.
See the [Getting Started page](https://intellitect.github.io/Coalesce/stacks/vue/getting-started.html#creating-a-project) in the documentation for an interactive template command builder that makes it easy to start a new Coalesce project with the features you need.

After you create your project, you should start reading through [the Documentation](https://intellitect.github.io/Coalesce) to see all the things that Coalesce can do.
After you create your project, be sure to reading through the rest of [the Documentation](https://intellitect.github.io/Coalesce) to see all the things that Coalesce can do.

## Builds
|channel|build|IntelliTect.Coalesce|coalesce-vue
|build|IntelliTect.Coalesce|coalesce-vue
|:--:|:--:|:--:|:--:
|dev|[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/IntelliTect/Coalesce/alpha.yml?branch=dev&label=Build%20Status&logo=github)](https://github.com/IntelliTect/Coalesce/actions/workflows/alpha.yml)|[![NuGet](https://img.shields.io/static/v1?color=blue&label=nuget&logo=nuget&message=alpha%20prereleases)](https://www.nuget.org/packages/IntelliTect.Coalesce)|[![npm](https://img.shields.io/npm/v/coalesce-vue/latest.svg)](https://www.npmjs.com/package/coalesce-vue)
|master|[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/IntelliTect/Coalesce/release.yml?label=Build%20Status&logo=github)](https://github.com/IntelliTect/Coalesce/actions/workflows/release.yml)|[![NuGet](https://img.shields.io/nuget/v/IntelliTect.Coalesce.svg?label=nuget&logo=nuget)](https://www.nuget.org/packages/IntelliTect.Coalesce)
|[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/IntelliTect/Coalesce/release.yml?branch=dev&label=Build%20Status&logo=github)](https://github.com/IntelliTect/Coalesce/actions/workflows/release.yml)|[![NuGet](https://img.shields.io/nuget/v/IntelliTect.Coalesce)](https://www.nuget.org/packages/IntelliTect.Coalesce)|[![npm](https://img.shields.io/npm/v/coalesce-vue/latest.svg)](https://www.npmjs.com/package/coalesce-vue)


## Support
Expand Down

0 comments on commit c797446

Please sign in to comment.