Skip to content

Commit

Permalink
build: rename scrollarea and remove explicit building as its done as …
Browse files Browse the repository at this point in the history
…part of pulish generator
  • Loading branch information
goetzrobin committed Jul 20, 2023
1 parent d395343 commit 0f26130
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:
cache-dependency-path: '**/yarn.lock'
- name: Install
run: yarn install --frozen-lockfile --prefer-offline
- name: Build
run: yarn build
- name: Release
run: npx semantic-release
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export const routeMeta: RouteMeta = {
<spartan-section-sub-heading id="installation">Installation</spartan-section-sub-heading>
<spartan-tabs class="mt-4" firstTab="yarn" secondTab="npm">
<spartan-code firstTab language="sh" code="yarn install @spartan-ng/ui-scroll-area" />
<spartan-code secondTab language="sh" code="npm install @spartan-ng/ui-scroll-area" />
<spartan-code firstTab language="sh" code="yarn install @spartan-ng/ui-scrollarea" />
<spartan-code secondTab language="sh" code="npm install @spartan-ng/ui-scrollarea" />
</spartan-tabs>
<spartan-section-sub-heading id="usage">Usage</spartan-section-sub-heading>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component } from '@angular/core';
import { NgFor } from '@angular/common';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scroll-area-helm';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scrollarea-helm';
import { HlmSeparatorDirective } from '@spartan-ng/ui-separator-helm';

@Component({
Expand All @@ -24,7 +24,7 @@ export class ScrollAreaPreviewComponent {
export const defaultCode = `
import { Component } from '@angular/core';
import { NgFor } from '@angular/common';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scroll-area-helm';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scrollarea-helm';
import { HlmSeparatorDirective } from '@spartan-ng/ui-separator-helm';
@Component({
Expand All @@ -47,7 +47,7 @@ export class ScrollAreaPreviewComponent {
`;

export const defaultImports = `
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scroll-area-helm';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scrollarea-helm';
`;
export const defaultSkeleton = `
<hlm-scroll-area class="w-72 rounded-md border border-border">
Expand Down
2 changes: 1 addition & 1 deletion apps/app/src/app/shared/code/code.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import 'prismjs/components/prism-javascript';
import 'prismjs/components/prism-json';
import 'prismjs/components/prism-markup';
import 'prismjs/components/prism-typescript';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scroll-area-helm';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scrollarea-helm';
import { HlmButtonDirective } from '@spartan-ng/ui-button-helm';
import { HlmIconComponent } from '@spartan-ng/ui-icon-helm';
import { provideIcons } from '@ng-icons/core';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { HlmIconComponent } from '@spartan-ng/ui-icon-helm';
import { provideIcons } from '@ng-icons/core';
import { radixCross1, radixViewVertical } from '@ng-icons/radix-icons';
import { SideNavContentComponent } from '~/app/shared/layout/side-nav/side-nav-content.component';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scroll-area-helm';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scrollarea-helm';
import { RouterLink } from '@angular/router';
import { NavLinkDirective } from '~/app/shared/spartan-nav-link.directive';
import { SideNavLinkDirective } from '~/app/shared/layout/side-nav/side-nav-link.directive';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AfterViewInit, Component, OnDestroy, TemplateRef, ViewChild } from '@angular/core';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scroll-area-helm';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scrollarea-helm';
import { pageNavTmpl } from '~/app/shared/layout/page-nav/page-nav-outlet.component';

@Component({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, EventEmitter, Output } from '@angular/core';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scroll-area-helm';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scrollarea-helm';
import { SideNavLinkDirective } from './side-nav-link.directive';
import { SideNavLinksComponent } from './side-nav-links.directive';
import { SideNavHeadingDirective } from './side-nav-heading.directive';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component } from '@angular/core';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scroll-area-helm';
import { HlmScrollAreaComponent } from '@spartan-ng/ui-scrollarea-helm';
import { SideNavContentComponent } from './side-nav-content.component';

@Component({
Expand Down
2 changes: 1 addition & 1 deletion libs/ui/scroll-area/helm/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@spartan-ng/ui-scroll-area-helm",
"name": "@spartan-ng/ui-scrollarea-helm",
"version": "0.0.1",
"peerDependencies": {
"@angular/common": "^16.0.0",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@spartan-ng/ui-progress-helm": ["libs/ui/progress/helm/src/index.ts"],
"@spartan-ng/ui-radiogroup-brain": ["libs/ui/radio-group/brain/src/index.ts"],
"@spartan-ng/ui-radiogroup-helm": ["libs/ui/radio-group/helm/src/index.ts"],
"@spartan-ng/ui-scroll-area-helm": ["libs/ui/scroll-area/helm/src/index.ts"],
"@spartan-ng/ui-scrollarea-helm": ["libs/ui/scroll-area/helm/src/index.ts"],
"@spartan-ng/ui-separator-brain": ["libs/ui/separator/brain/src/index.ts"],
"@spartan-ng/ui-separator-helm": ["libs/ui/separator/helm/src/index.ts"],
"@spartan-ng/ui-sheet-brain": ["libs/ui/sheet/brain/src/index.ts"],
Expand Down

1 comment on commit 0f26130

@vercel
Copy link

@vercel vercel bot commented on 0f26130 Jul 20, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

spartan – ./

spartan-goetzrobin.vercel.app
spartan-git-main-goetzrobin.vercel.app
spartan.ng
www.spartan.ng

Please sign in to comment.