Skip to content

Commit

Permalink
fix: update migration entry points (#448)
Browse files Browse the repository at this point in the history
* fix: update migration entry points

* refactor: change entrypoint to require subfolder

* fix: update sourceCodeUrl

---------

Co-authored-by: Chau Tran <nartc7789@gmail.com>
  • Loading branch information
jdegand and nartc authored Aug 2, 2024
1 parent 7f41de0 commit 9d55adb
Show file tree
Hide file tree
Showing 60 changed files with 61 additions and 61 deletions.
4 changes: 2 additions & 2 deletions docs/src/components/PageTitle.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { Icon } from '@astrojs/starlight/components';
const badge = Astro.props.entry.data.badge;
const entryPoint = Astro.props.entry.data.entryPoint;
const bundleJsUrl = `https://deno.bundlejs.com?q=ngxtension/${entryPoint}&treeshake=[*]&config={%22esbuild%22:{%22external%22:[%22rxjs%22,%22@angular/core%22,%22@angular/common%22,%22@angular/forms%22,%22@angular/router%22]}}`;
const sourceCodeUrl = `https://github.com/nartc/ngxtension-platform/tree/main/libs/ngxtension/${entryPoint}`;
const bundleJsUrl = `https://deno.bundlejs.com?q=${entryPoint}&treeshake=[*]&config={%22esbuild%22:{%22external%22:[%22rxjs%22,%22@angular/core%22,%22@angular/common%22,%22@angular/forms%22,%22@angular/router%22]}}`;
const sourceCodeUrl = `https://github.com/ngxtension/ngxtension-platform/tree/main/libs/${entryPoint}`;
const { size } = await fetch(bundleJsUrl)
.then((res) => {
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Assets/svg-sprites.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Svg Sprites
description: A directive for rendering symbols of svg sprites.
entryPoint: svg-sprite
entryPoint: ngxtension/svg-sprite
badge: stable
contributors: ['robby-rabbitman']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Components/host-binding.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: hostBinding
description: ngxtension/host-binding
entryPoint: host-binding
entryPoint: ngxtension/host-binding
badge: stable
contributors: ['lucas-garcia']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: clickOutside
description: An Angular directive that is used to detect clicks outside the element.
entryPoint: click-outside
entryPoint: ngxtension/click-outside
badge: stable
contributors: ['dale-nguyen']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Directives/merge-inputs.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: mergeInputs
description: ngxtension/inject-inputs
entryPoint: inject-inputs
entryPoint: ngxtension/inject-inputs
badge: stable
contributors: ['chau-tran']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Directives/repeat.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: repeat
description: An Angular directive extending NgFor to allow iteration over a fixed number of iterations.
entryPoint: repeat
entryPoint: ngxtension/repeat
badge: stable
contributors: ['chau-tran']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Directives/resize.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: resize
description: An Angular directive and function for listening to element resize events, allowing you to respond dynamically to changes in element size.
badge: stable
entryPoint: resize
entryPoint: ngxtension/resize
contributors: ['tomer']
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: TrackById / TrackByProp
description: Angular directives that simplify using trackBy in *ngFor, eliminating the need for custom component methods.
entryPoint: trackby-id-prop
entryPoint: ngxtension/trackby-id-prop
badge: stable
contributors: ['daniele-morosinotto']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Forms/control-error.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: NgxControlError
description: Structural directive for displaying form control errors consistently and reduce boilerplate.
entryPoint: control-error
entryPoint: ngxtension/control-error
badge: stable
contributors: ['robby-rabbitman']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: NgxControlValueAccessor
description: A directive to reduce boilerplate when building custom inputs.
entryPoint: control-value-accessor
entryPoint: ngxtension/control-value-accessor
badge: stable
contributors: ['robby-rabbitman']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Forms/if-validator.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ifValidator / ifAsyncValidator
description: Utility functions to dynamically change the validation of Angular's Reactive Form.
entryPoint: if-validator
entryPoint: ngxtension/if-validator
badge: stable
contributors: ['tomer']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Gesture/gesture.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Gesture
description: ngxtension/gestures
badge: stable
entryPoint: gestures
entryPoint: ngxtension/gestures
contributors: ['chau-tran']
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: injectActiveElement
description: An Angular utility to create an Observable that emits active element from the document.
entryPoint: active-element
entryPoint: ngxtension/active-element
badge: stable
contributors: ['nevzat-topçu']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: assertInjector
description: ngxtension/assert-injector
entryPoint: assert-injector
entryPoint: ngxtension/assert-injector
badge: stable
contributors: ['chau-tran']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Injectors/auto-effect.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: injectAutoEffect
description: ngxtension/auto-effect
entryPoint: auto-effect
entryPoint: ngxtension/auto-effect
badge: stable
contributors: ['chau-tran']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: createInjectable
description: A function based approach for creating Injectable services
entryPoint: create-injectable
entryPoint: ngxtension/create-injectable
badge: experimental
contributors: ['josh-morony', 'chau-tran']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: createInjectionToken
description: Create an InjectionToken and return an injectFn and provideFn for it as well.
entryPoint: create-injection-token
entryPoint: ngxtension/create-injection-token
badge: stable
contributors: ['chau-tran']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: injectDestroy
description: ngxtension/inject-destroy
entryPoint: inject-destroy
entryPoint: ngxtension/inject-destroy
badge: stable
contributors: ['enea-jahollari']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: injectDocumentVisibility
description: ngxtension/inject-document-visibility
entryPoint: inject-document-visibility
entryPoint: ngxtension/inject-document-visibility
badge: stable
contributors: ['fiorelozere']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Injectors/inject-inputs.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: injectInputs
description: ngxtension/inject-inputs
entryPoint: inject-inputs
entryPoint: ngxtension/inject-inputs
badge: stable
contributors: ['chau-tran']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: injectIsIntersecting
description: ngxtension/inject-is-intersecting
entryPoint: inject-is-intersecting
entryPoint: ngxtension/inject-is-intersecting
badge: stable
contributors: ['enea-jahollari']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Injectors/inject-lazy.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: injectLazy
description: ngxtension/inject-lazy
entryPoint: inject-lazy
entryPoint: ngxtension/inject-lazy
badge: stable
contributors: ['enea-jahollari']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: injectNetwork
description: ngxtension/inject-network
entryPoint: inject-network
entryPoint: ngxtension/inject-network
badge: stable
contributors: ['fiorelozere']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Injectors/inject-params.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: injectParams
description: ngxtension/inject-params
entryPoint: inject-params
entryPoint: ngxtension/inject-params
badge: stable
contributors: ['enea-jahollari']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: injectQueryParams
description: ngxtension/inject-query-params
entryPoint: inject-query-params
entryPoint: ngxtension/inject-query-params
badge: stable
contributors: ['enea-jahollari']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: injectRouteData
description: ngxtension/inject-route-data
entryPoint: inject-route-data
entryPoint: ngxtension/inject-route-data
contributors: ['krzysztof-kachniarz']
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: injectRouteFragment
description: ngxtension/inject-route-fragment
entryPoint: inject-route-fragment
entryPoint: ngxtension/inject-route-fragment
contributors: ['krzysztof-kachniarz']
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: injectNavigationEnd
description: An Angular utility to create an Observable that emits NavigationEnd events from the Angular Router.
entryPoint: navigation-end
entryPoint: ngxtension/navigation-end
badge: stable
contributors: ['mateusz-stefanczyk']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Intl/intl.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Intl
description: Additional Intl Utilities for formatting numbers, strings, and other objects.
entryPoint: intl
entryPoint: ngxtension/intl
badge: stable
contributors: ['ion-prodan']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: inject() Migration
description: Schematics for migrating from constructor dependency injection to inject()
entryPoint: convert-di-to-inject
entryPoint: /plugin/src/generators/convert-di-to-inject
badge: stable
contributors: ['enea-jahollari', 'kevinkreuzer', 'lilbeqiri']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: New output() Migration
description: Schematics for migrating decorator outputs to function based outputs
entryPoint: convert-outputs
entryPoint: plugin/src/generators/convert-outputs
badge: stable
contributors: ['enea-jahollari']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Queries Migration
description: Schematics for migrating from decorator-based Queries to Signal-based Queries
entryPoint: convert-queries
entryPoint: plugin/src/generators/convert-queries
badge: stable
contributors: ['enea-jahollari']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Signal Inputs Migration
description: Schematics for migrating decorator inputs to signal inputs (including input references)
entryPoint: convert-signal-inputs
entryPoint: plugin/src/generators/convert-signal-inputs
badge: stable
contributors: ['chau-tran']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: createSingletonProxy
description: ngxtension/singleton-proxy
entryPoint: singleton-proxy
entryPoint: ngxtension/singleton-proxy
badge: stable
contributors: ['chau-tran']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Operators/debug.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: debug
description: An RxJS operator that helps to debug what happens in an observable pipeline, it'll console.log all emitted values + final events (console.warn completed or console.error).
entryPoint: debug
entryPoint: ngxtension/debug
badge: stable
contributors: ['daniele-morosinotto']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Operators/filter-array.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: filterArray
description: An RxJS operator to simplify the process of filtering arrays within an Observable stream.
entryPoint: filter-array
entryPoint: ngxtension/filter-array
badge: stable
contributors: ['thomas-laforge']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Operators/filter-nil.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: filterNil
description: An RxJS operator designed to filter out `undefined` and `null` values from an Observable stream, returning a strongly-typed value.
entryPoint: filter-nil
entryPoint: ngxtension/filter-nil
badge: stable
contributors: ['thomas-laforge']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Operators/map-array.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: mapArray
description: An RxJS operator designed to apply a map function to an array within an Observable stream, simplifying array transformations.
entryPoint: map-array
entryPoint: ngxtension/map-array
badge: stable
contributors: ['thomas-laforge']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: mapSkipUndefined
description: An RxJS operator that allows applying a transform function to each value of the observable in (same as map), but with the ability to skip (filter out) some values if the function explicitly returns undefined or simply doesn't return anything for same code-path (implicit return undefined).
entryPoint: map-skip-undefined
entryPoint: ngxtension/map-skip-undefined
badge: stable
contributors: ['daniele-morosinotto']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Operators/poll.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: poll
description: RxJS operator to apply to a stream that you want to poll every "period" milliseconds after an optional "initialDelay" milliseconds.
entryPoint: poll
entryPoint: ngxtension/poll
badge: stable
contributors: ['fabiendehopre']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Operators/reduce-array.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: reduceArray
description: An RxJS operator designed to apply a reduce function to an array within an Observable stream, simplifying array transformations.
entryPoint: reduce-array
entryPoint: ngxtension/reduce-array
badge: stable
contributors: ['tomer']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Operators/rx-effect.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: rxEffect
description: ngxtension/rx-effect
entryPoint: rx-effect
entryPoint: ngxtension/rx-effect
badge: stable
contributors: ['lucas-garcia']
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: whenDocumentVisible
description: RxJS operator to pause a stream when the document is hidden and to resume the stream when the document is visible.
entryPoint: when-document-visible
entryPoint: ngxtension/when-document-visible
badge: stable
contributors: ['fabiendehopre']
---
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/utilities/Pipes/call-apply.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: CallPipe / ApplyPipe
description: Standalone Angular pipes for invoking pure functions with arguments, leveraging Angular's pure pipe memoization.
entryPoint: call-apply
entryPoint: ngxtension/call-apply
badge: stable
contributors: ['daniele-morosinotto']
---
Expand Down
Loading

0 comments on commit 9d55adb

Please sign in to comment.