Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Bug report
description: Report a defect in a @ca-webstack/* or @caep/* package
description: Report a defect in a @ca-webstack/* package
labels: ["bug", "triage"]
body:
- type: markdown
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ See CONTRIBUTING.md for the full guidelines.

## Affected package(s)

<!-- e.g. @ca-webstack/reflection, @caep/ng-event-manager -->
<!-- e.g. @ca-webstack/reflection, @ca-webstack/ng-event-manager -->

## How has this been tested?

Expand Down
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ updates:
# pipeline — never let Dependabot try to bump them from the registry.
ignore:
- dependency-name: "@ca-webstack/*"
- dependency-name: "@caep/*"
groups:
# Batch low-risk updates to reduce PR noise
angular:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ All packages in the monorepo share a single version.

- Initial public open-source release of the CodeArchitects Enterprise Platform
WebStack monorepo under the Apache License 2.0.
- `@ca-webstack/*` and `@caep/*` libraries published from a single npm-workspaces
- `@ca-webstack/*` libraries published from a single npm-workspaces
monorepo orchestrated with Turborepo.
- Project legal and governance documentation: `LICENSE`, `NOTICE`,
`CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`, `SECURITY.md`, `GOVERNANCE.md`,
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Node.js >= 22](https://img.shields.io/badge/node-%3E%3D22-brightgreen.svg)](https://nodejs.org/)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)

An npm-workspaces monorepo of the `@ca-webstack/*` and `@caep/*` libraries,
An npm-workspaces monorepo of the `@ca-webstack/*` libraries,
orchestrated with [Turborepo](https://turbo.build/). One install links every
internal library; one command builds them all in the correct order.

Expand All @@ -27,7 +27,7 @@ That's it — no per-package installs, no manual build ordering.
## How it works

- **npm workspaces** — a single root `node_modules`. Every internal library is
symlinked into `node_modules/@ca-webstack/*` and `node_modules/@caep/*`, so a
symlinked into `node_modules/@ca-webstack/*`, so a
package always consumes the sibling it depends on, not a registry copy.
- **Turborepo** — derives the dependency graph from each package's
`dependencies`/`devDependencies` and runs builds in topological order
Expand Down Expand Up @@ -108,7 +108,7 @@ node scripts/publish.mjs --access public --tag latest # add --dry-run to previ

## Packages

Libraries live in the `ca-*` and `caep-*` directories. Pure-TypeScript libraries
Libraries live in the `ca-*` directories. Pure-TypeScript libraries
build with webpack; Angular libraries build with ng-packagr. Both are driven
uniformly through Turborepo.

Expand Down
2 changes: 1 addition & 1 deletion SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Use the GitHub issue templates:
- **Feature request** — for a new capability or improvement.

Please provide a minimal reproduction, versions (Node, npm, the affected
`@ca-webstack/*` / `@caep/*` package), and expected vs. actual behavior.
`@ca-webstack/*` package), and expected vs. actual behavior.

## Security issues

Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions caep-event-manager/README.md → ca-event-manager/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# caep-event-manager
# ca-event-manager

> `@caep/event-manager` — Lightweight, framework-agnostic event dispatching with a `@CaepEvent` decorator.
> `@ca-webstack/event-manager` — Lightweight, framework-agnostic event dispatching with a `@CaepEvent` decorator.

## Overview

Expand All @@ -9,7 +9,7 @@ Provides an `EventManager` class that dispatches `CustomEvent`s on the browser's
## Installation

```bash
npm install @caep/event-manager
npm install @ca-webstack/event-manager
```

### Peer Dependencies
Expand All @@ -23,7 +23,7 @@ npm install @caep/event-manager
## Quick Start

```typescript
import { EventManager, CaepEvent } from '@caep/event-manager';
import { EventManager, CaepEvent } from '@ca-webstack/event-manager';

class MyComponent {
@CaepEvent({ name: 'onSave' })
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# caep-event-manager — API Documentation
# ca-event-manager — API Documentation

## Why use this package

`@caep/event-manager` provides a simple, framework-agnostic pub/sub mechanism based on the browser's native `CustomEvent` API. It pairs well with `@caep/ng-event-manager` for Angular integration.
`@ca-webstack/event-manager` provides a simple, framework-agnostic pub/sub mechanism based on the browser's native `CustomEvent` API. It pairs well with `@ca-webstack/ng-event-manager` for Angular integration.

---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@caep/event-manager",
"name": "@ca-webstack/event-manager",
"version": "0.0.0",
"description": "Event-manager utilities.",
"author": "Code Architects S.r.l. (https://www.codearchitects.com/)",
Expand Down Expand Up @@ -99,5 +99,5 @@
"<rootDir>/dist/"
]
},
"main": "dist/bundles/@caep/event-manager.umd.js"
"main": "dist/bundles/@ca-webstack/event-manager.umd.js"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@
"titleBar.inactiveBackground": "#576574",
"titleBar.inactiveForeground": "#ebeef2"
},
"window.title": "CAEP: NgComponents",
"[html][scss][typescript]": {
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# caep-ng-components
# ca-ng-components-extra

> `@caep/ng-components` — Extended Angular component library with decorator-driven options, lifecycle hooks, pipes, and container layout system.
> `@ca-webstack/ng-components-extra` — Extended Angular component library with decorator-driven options, lifecycle hooks, pipes, and container layout system.

## Overview

Expand All @@ -9,7 +9,7 @@ Builds on top of `@ca-webstack/ng-components` with an enhanced component model f
## Installation

```bash
npm install @caep/ng-components
npm install @ca-webstack/ng-components-extra
```

### Key Peer Dependencies
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@caep/ng-components",
"name": "@ca-webstack/ng-components-extra",
"private": false,
"version": "0.0.0",
"ngPackageExports": {
Expand Down Expand Up @@ -85,6 +85,6 @@
"numeral": "^2.0.6",
"rxjs": "~7.8.1"
},
"module": "dist/ng-components/fesm2022/caep-ng-components.mjs",
"typings": "dist/ng-components/types/caep-ng-components.d.ts"
"module": "dist/ng-components/fesm2022/ca-webstack-ng-components-extra.mjs",
"typings": "dist/ng-components/types/ca-webstack-ng-components-extra.d.ts"
}
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ In uno scenario di esempio che abbiamo ipotizzato, andremo ad inserire il compon

### Prerequisiti

Piuttosto importante è verificare che la libreria `@caep/ng-components` sia installata correttamente e tutti i suoi assets siano serviti tramite **_angular.json_**.
Piuttosto importante è verificare che la libreria `@ca-webstack/ng-components-extra` sia installata correttamente e tutti i suoi assets siano serviti tramite **_angular.json_**.

```json
...
Expand All @@ -397,12 +397,12 @@ Piuttosto importante è verificare che la libreria `@caep/ng-components` sia ins
...
{
"glob": "**/*",
"input": "node_modules/@caep/ng-components/styles/fonts",
"input": "node_modules/@ca-webstack/ng-components-extra/styles/fonts",
"output": "/assets/fonts/caep"
},
{
"glob": "**/*",
"input": "node_modules/@caep/ng-components/assets",
"input": "node_modules/@ca-webstack/ng-components-extra/assets",
"output": "/assets"
},
...
Expand Down Expand Up @@ -592,7 +592,7 @@ Negli applicativi `Storybook` e `Demo`, andremo a loro volta a richiamare il _se
```ts
import { Component } from '@angular/core';
import { ApplicationShellComponent, IOnInit } from '@ca-webstack/ng-shell';
import { CaepSideMenuService, ICaepSideMenuEntry } from '@caep/ng-components';
import { CaepSideMenuService, ICaepSideMenuEntry } from '@ca-webstack/ng-components-extra';
...
const STORYBOOK_MENU: ICaepSideMenuEntry[] = [
{
Expand Down Expand Up @@ -729,7 +729,7 @@ A scopo dimostrativo abbiamo anche indicato per lo scenario `Textarea` un'apertu
```ts
import { Component } from '@angular/core';
import { ApplicationShellComponent, IOnInit } from '@ca-webstack/ng-shell';
import { CaepSideMenuService, ICaepSideMenuEntry } from '@caep/ng-components';
import { CaepSideMenuService, ICaepSideMenuEntry } from '@ca-webstack/ng-components-extra';
...
const DEMO_MENU: ICaepSideMenuEntry[] = [
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, OnInit, TemplateRef } from '@angular/core';
import { Aspect } from '@ca-webstack/ng-aspects';
import { CaepSidePanelService, CaepTextOptions, CaepValueChange, MockTextOptions } from '@caep/ng-components';
import { CaepSidePanelService, CaepTextOptions, CaepValueChange, MockTextOptions } from '@ca-webstack/ng-components-extra';
import { Subject } from 'rxjs';
import { BaseInputChildOptions } from './components/base';
import { BaseChildOptions } from './components/base/base-child.component';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ReactiveFormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { ContextService } from '@ca-webstack/ng-aspects';
import { I18nModule } from '@ca-webstack/ng-i18n';
import { CaepComponentsModule } from '@caep/ng-components';
import { CaepComponentsModule } from '@ca-webstack/ng-components-extra';
import { TranslateModule, TranslateService } from '@ngx-translate/core';
// import 'numeral/locales/it';
import { AppComponent } from './app.component';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Injector } from '@angular/core';
import { CaepBaseAuthComponent, CaepHook, CaepHookType } from '@caep/ng-components';
import { CaepBaseAuthComponent, CaepHook, CaepHookType } from '@ca-webstack/ng-components-extra';

@Component({
selector: 'app-base-auth-child',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Injector } from '@angular/core';
import { CaepBaseOptions, PickAll, CaepBaseComponent, CaepOption } from '@caep/ng-components';
import { CaepBaseOptions, PickAll, CaepBaseComponent, CaepOption } from '@ca-webstack/ng-components-extra';

export interface IBaseChildOptions extends PickAll<BaseChildOptions> {};
export class BaseChildOptions extends CaepBaseOptions {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Injector, Pipe } from '@angular/core';
import { CaepBaseFormattedComponent, CaepBaseFormattedOptions, CaepCoercionType, CaepFormControlMode, CaepNumberParserService, caepNumeral, CaepOption, CaepPipe, CaepPipeTransform, PickAll } from '@caep/ng-components';
import { CaepBaseFormattedComponent, CaepBaseFormattedOptions, CaepCoercionType, CaepFormControlMode, CaepNumberParserService, caepNumeral, CaepOption, CaepPipe, CaepPipeTransform, PickAll } from '@ca-webstack/ng-components-extra';

export interface IMyCurrencyArgs {
format: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Injector } from '@angular/core';
import { CaepBaseInputComponent, CaepBaseInputOptions, CaepOption, PickAll } from '@caep/ng-components';
import { CaepBaseInputComponent, CaepBaseInputOptions, CaepOption, PickAll } from '@ca-webstack/ng-components-extra';


export interface IBaseInputChildOptions extends PickAll<BaseInputChildOptions> {};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, ElementRef, Inject, Injector, ViewChild } from '@angular/core';
import { CAEP_OPTIONS_TOKEN, CaepBaseLookupMultiComponent, CaepBaseLookupMultiOptions, CaepOption, ICaepLookupMulti, PickAll } from '@caep/ng-components';
import { CAEP_OPTIONS_TOKEN, CaepBaseLookupMultiComponent, CaepBaseLookupMultiOptions, CaepOption, ICaepLookupMulti, PickAll } from '@ca-webstack/ng-components-extra';


export interface IBaseLookupMultiChildOptions<T, V> extends PickAll<BaseLookupMultiChildOptions<T, V>> { }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, ElementRef, Inject, Injector, Pipe, PipeTransform, ViewChild } from '@angular/core';
import { CAEP_OPTIONS_TOKEN, CaepBaseLookupSingleComponent, CaepBaseLookupSingleOptions, CaepOption, CaepPipe, PickAll } from '@caep/ng-components';
import { CAEP_OPTIONS_TOKEN, CaepBaseLookupSingleComponent, CaepBaseLookupSingleOptions, CaepOption, CaepPipe, PickAll } from '@ca-webstack/ng-components-extra';

@CaepPipe({
name: 'person'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
CaepHookType,
CaepOption,
PickAll
} from '@caep/ng-components';
} from '@ca-webstack/ng-components-extra';
import * as _ from 'lodash-es';
import { from } from 'rxjs';
import { distinctUntilChanged, takeUntil } from 'rxjs/operators';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component } from '@angular/core';
import { CaepPipeMapperService } from '@caep/ng-components';
import { CaepPipeMapperService } from '@ca-webstack/ng-components-extra';

@Component({
template: '<h1>Component A</h1><button type="button" (click)="onClick()">Test Pipe</button>',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { CaepComponentsModule } from '@caep/ng-components';
import { CaepComponentsModule } from '@ca-webstack/ng-components-extra';
import { ComponentAComponent } from './componentA.component';
import { PipeAPipe } from './pipeA.pipe';
import { RouterModule, Routes } from '@angular/router';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Pipe, PipeTransform } from '@angular/core';
import { CaepPipe } from '@caep/ng-components';
import { CaepPipe } from '@ca-webstack/ng-components-extra';

@CaepPipe({
name: 'myPipe'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component } from '@angular/core';
import { CaepPipeMapperService } from '@caep/ng-components';
import { CaepPipeMapperService } from '@ca-webstack/ng-components-extra';

@Component({
template: '<h1>Component B</h1><button type="button" (click)="onClick()">Test Pipe</button>',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { CaepComponentsModule } from '@caep/ng-components';
import { CaepComponentsModule } from '@ca-webstack/ng-components-extra';
import { ComponentBComponent } from './componentB.component';
import { PipeBPipe } from './pipeB.pipe';
import { RouterModule, Routes } from '@angular/router';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Pipe, PipeTransform } from '@angular/core';
import { CaepPipe } from '@caep/ng-components';
import { CaepPipe } from '@ca-webstack/ng-components-extra';

@CaepPipe({
name: 'myPipe'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"module": "ES2022",
"allowSyntheticDefaultImports": true,
"paths": {
"@caep/ng-components": [
"@ca-webstack/ng-components-extra": [
"./dist/ng-components"
],
"@caep/ng-components/*": [
"@ca-webstack/ng-components-extra/*": [
"./dist/ng-components/*"
]
},
Expand Down
2 changes: 1 addition & 1 deletion ca-ng-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ npm install @ca-webstack/ng-components
- `@angular-architects/module-federation`
- `@ca-webstack/ng-aspects`, `@ca-webstack/ng-command-dispatcher`, `@ca-webstack/ng-i18n`, `@ca-webstack/ng-policy-engine`
- `@ca-webstack/data-structures`, `@ca-webstack/policy-engine`, `@ca-webstack/reflection`
- `@caep/event-manager`, `@caep/ng-event-manager`
- `@ca-webstack/event-manager`, `@ca-webstack/ng-event-manager`
- `@ngx-translate/core`, `@perfectmemory/ngx-contextmenu`, `@nodro7/angular-mydatepicker`
- `dompurify`, `jquery`, `lodash-es`, `ngx-countdown`, `ngx-mask`, `ngx-toastr`, `numeral`, `rxjs`

Expand Down
8 changes: 4 additions & 4 deletions ca-ng-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"@ca-webstack/ng-policy-engine": "*",
"@ca-webstack/policy-engine": "*",
"@ca-webstack/reflection": "*",
"@caep/event-manager": "*",
"@caep/ng-event-manager": "*",
"@ca-webstack/event-manager": "*",
"@ca-webstack/ng-event-manager": "*",
"@ngx-translate/core": "^15.0.0",
"@perfectmemory/ngx-contextmenu": "^21.0.1",
"@nodro7/angular-mydatepicker": "~20.0.0",
Expand Down Expand Up @@ -96,8 +96,8 @@
"@ca-webstack/ng-policy-engine": "*",
"@ca-webstack/policy-engine": "*",
"@ca-webstack/reflection": "*",
"@caep/event-manager": "*",
"@caep/ng-event-manager": "*",
"@ca-webstack/event-manager": "*",
"@ca-webstack/ng-event-manager": "*",
"@ngx-translate/core": "^15.0.0",
"@perfectmemory/ngx-contextmenu": "^21.0.1",
"@types/core-js": "^2.5.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Injectable, inject } from '@angular/core';
import { Subject, concatMap, lastValueFrom, map, takeUntil } from 'rxjs';
import { ShTranslateService } from '../../i18n';
import { LocaleService } from '@ca-webstack/ng-i18n';
import { CaepEventManagerService } from '@caep/ng-event-manager';
import { CaepEventManagerService } from '@ca-webstack/ng-event-manager';
import { CAEP_MICROFRONTEND_REMOTE_DICTIONARY_TOKEN } from '../tokens';
import { CAEP_MICROFRONTEND_REMOTE_TRANSLATIONS_LOAD_EVENT_NAME, CAEP_MICROFRONTEND_SHELL_DEFAULT_LANG_REQUEST_EVENT_NAME, getMfShellDefaultLangChangeEventName } from './util';
import { LangChangeEvent } from '@ngx-translate/core';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Injectable, OnDestroy, inject } from '@angular/core';
import { Subject, concatMap, lastValueFrom, map, take, takeUntil } from 'rxjs';
import { ShTranslateService } from '../../i18n';
import { LocaleService } from '@ca-webstack/ng-i18n';
import { CaepEventManagerService } from '@caep/ng-event-manager';
import { CaepEventManagerService } from '@ca-webstack/ng-event-manager';
import { UUID } from 'angular2-uuid';
import { CAEP_MICROFRONTEND_REMOTE_TRANSLATIONS_CHANGE_EVENT_NAME, CAEP_MICROFRONTEND_REMOTE_TRANSLATIONS_LOAD_EVENT_NAME, getMfRemoteInternalTranslationsChangeEventName, getMfRemoteInternalTranslationsRequestEventName } from './util';
import { LangChangeEvent, TranslationChangeEvent } from '@ngx-translate/core';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Injectable, OnDestroy, inject } from '@angular/core';
import { CaepTranslationMergeMode, ShTranslateService } from '../../i18n';
import { Subject, lastValueFrom, take, takeUntil } from 'rxjs';
import { LocaleService } from '@ca-webstack/ng-i18n';
import { CaepEventManagerService } from '@caep/ng-event-manager';
import { CaepEventManagerService } from '@ca-webstack/ng-event-manager';
import { CAEP_MICROFRONTEND_REMOTE_TRANSLATIONS_CHANGE_EVENT_NAME, CAEP_MICROFRONTEND_REMOTE_TRANSLATIONS_LOAD_EVENT_NAME, CAEP_MICROFRONTEND_SHELL_DEFAULT_LANG_REQUEST_EVENT_NAME, getMfShellDefaultLangChangeEventName } from './util';
import { LangChangeEvent } from '@ngx-translate/core';

Expand Down
File renamed without changes.
Loading
Loading