Skip to content

Commit 087eae2

Browse files
author
Daniel
committed
fix: change package name to ng-cropper-lib for NPM publishing
1 parent 9a63280 commit 087eae2

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

apps/ng-cropper-playground/src/app/NgCropperPlaygroundApp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component, linkedSignal, signal, viewChild } from '@angular/core';
22
import { FormsModule } from '@angular/forms';
3-
import { NgCropper, NgCropperConfig, NgCropperInitialState } from '@dg/ng-cropper';
3+
import { NgCropper, NgCropperConfig, NgCropperInitialState } from 'ng-cropper-lib';
44

55
@Component({
66
imports: [NgCropper, FormsModule],

apps/ng-cropper-playground/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { bootstrapApplication } from '@angular/platform-browser';
22
import { NgCropperPlaygroundApp } from './app/NgCropperPlaygroundApp';
33
import { appConfig } from './app/app.config';
4-
import { provideCropperJS } from '@dg/ng-cropper';
4+
import { provideCropperJS } from 'ng-cropper-lib';
55

66
// Initialize CropperJS before bootstrapping
77
provideCropperJS().then(() => {

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default [
1414
'error',
1515
{
1616
enforceBuildableLibDependency: true,
17-
allow: ['^.*/eslint(\\.base)?\\.config\\.[cm]?[jt]s$', '^@dg/ng-cropper$'],
17+
allow: ['^.*/eslint(\\.base)?\\.config\\.[cm]?[jt]s$', '^ng-cropper-lib$'],
1818
depConstraints: [
1919
{
2020
sourceTag: '*',

libs/ng-cropper/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@dg/ng-cropper",
2+
"name": "ng-cropper-lib",
33
"version": "1.0.0",
44
"description": "Angular image cropper library built on CropperJS with optional built-in toolbar. Modern, customizable, and TypeScript-ready.",
55
"author": {

tsconfig.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"skipDefaultLibCheck": true,
1616
"baseUrl": ".",
1717
"paths": {
18-
"@dg/ng-cropper": ["dist/libs/ng-cropper"]
18+
"ng-cropper-lib": ["dist/libs/ng-cropper"]
1919
}
2020
},
2121
"exclude": ["node_modules", "tmp"]

0 commit comments

Comments
 (0)