@albi_scando/as-backbone-lib 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,16 +1,6 @@
1
- # AsBackboneWorkspace
1
+ # AsBackboneLib
2
2
 
3
- This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.2.2.
4
-
5
- ## Development server
6
-
7
- To start a local development server, run:
8
-
9
- ```bash
10
- ng serve
11
- ```
12
-
13
- Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
3
+ This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.2.0.
14
4
 
15
5
  ## Code scaffolding
16
6
 
@@ -28,17 +18,32 @@ ng generate --help
28
18
 
29
19
  ## Building
30
20
 
31
- To build the project run:
21
+ To build the library, run:
32
22
 
33
23
  ```bash
34
- ng build
24
+ ng build as-backbone-lib
35
25
  ```
36
26
 
37
- This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
27
+ This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
28
+
29
+ ### Publishing the Library
30
+
31
+ Once the project is built, you can publish your library by following these steps:
32
+
33
+ 1. Navigate to the `dist` directory:
34
+
35
+ ```bash
36
+ cd dist/as-backbone-lib
37
+ ```
38
+
39
+ 2. Run the `npm publish` command to publish your library to the npm registry:
40
+ ```bash
41
+ npm publish
42
+ ```
38
43
 
39
44
  ## Running unit tests
40
45
 
41
- To execute unit tests with the [Vitest](https://vitest.dev/) test runner, use the following command:
46
+ To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
42
47
 
43
48
  ```bash
44
49
  ng test
package/package.json CHANGED
@@ -1,120 +1,27 @@
1
1
  {
2
2
  "name": "@albi_scando/as-backbone-lib",
3
- "version": "1.1.0",
4
- "description": "Workspace for as-backbone-lib",
5
- "repository": {
6
- "type": "git",
7
- "url": "git+https://github.com/albertoscandolara/as-backbone-lib"
8
- },
9
- "author": "Alberto Scandolara",
10
- "license": "ISC",
11
- "bugs": {
12
- "url": "https://github.com/albertoscandolara/as-backbone-lib/issues"
3
+ "version": "1.1.2",
4
+ "peerDependencies": {
5
+ "@angular/common": "^21.2.0",
6
+ "@angular/core": "^21.2.0"
13
7
  },
14
- "homepage": "https://github.com/albertoscandolara/as-backbone-lib#readme",
15
- "scripts": {
16
- "ng": "ng",
17
- "start": "ng serve",
18
- "build": "ng build",
19
- "commit": "cz",
20
- "watch": "ng build --watch --configuration development",
21
- "test": "ng test",
22
- "docs:build": "typedoc",
23
- "docs:serve": "npx http-server docs -o",
24
- "formatter": "npm run prettier && npm run lint",
25
- "formatter:fix": "npm run prettier:fix && npm run lint:fix",
26
- "lint": "eslint .",
27
- "lint:fix": "eslint . --fix",
28
- "prepare": "husky",
29
- "preview": "vite preview",
30
- "prettier": "prettier . --check",
31
- "prettier:fix": "prettier . --write",
32
- "release": "semantic-release",
33
- "release:dry": "semantic-release --dry-run"
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
34
10
  },
35
- "main": "dist/as-backbone-lib/index.js",
36
- "module": "dist/as-backbone-lib/index.esm2022.js",
37
- "types": "dist/as-backbone-lib/index.d.ts",
11
+ "sideEffects": false,
12
+ "main": "./fesm2022/albi_scando-as-backbone-lib.mjs",
13
+ "module": "fesm2022/albi_scando-as-backbone-lib.mjs",
14
+ "types": "./types/albi_scando-as-backbone-lib.d.ts",
38
15
  "exports": {
39
16
  ".": {
40
- "import": "./dist/as-backbone-lib/index.esm2022.js",
41
- "require": "./dist/as-backbone-lib/index.js",
42
- "types": "./dist/as-backbone-lib/index.d.ts"
43
- }
44
- },
45
- "files": [
46
- "dist/as-backbone-lib"
47
- ],
48
- "packageManager": "pnpm@10.28.2",
49
- "engines": {
50
- "node": ">=22.11.0"
51
- },
52
- "config": {
53
- "commitizen": {
54
- "path": "./node_modules/cz-conventional-changelog"
17
+ "types": "./types/albi_scando-as-backbone-lib.d.ts",
18
+ "import": "./fesm2022/albi_scando-as-backbone-lib.mjs",
19
+ "require": "./fesm2022/albi_scando-as-backbone-lib.mjs",
20
+ "default": "./fesm2022/albi_scando-as-backbone-lib.mjs"
21
+ },
22
+ "./package.json": {
23
+ "default": "./package.json"
55
24
  }
56
25
  },
57
- "lint-staged": {
58
- "*.ts": "prettier --write",
59
- "*.{js,scss,css,md}": [
60
- "prettier --write",
61
- "eslint --fix"
62
- ]
63
- },
64
- "dependencies": {
65
- "@angular/common": "^21.2.0",
66
- "@angular/compiler": "^21.2.0",
67
- "@angular/core": "^21.2.0",
68
- "@angular/forms": "^21.2.0",
69
- "@angular/platform-browser": "^21.2.0",
70
- "@angular/router": "^21.2.0",
71
- "rxjs": "~7.8.0",
72
- "tslib": "^2.3.0"
73
- },
74
- "devDependencies": {
75
- "@albi_scando/as-const-http-lib": "^1.0.0",
76
- "@albi_scando/as-const-languages-lib": "^1.1.0",
77
- "@albi_scando/as-const-lib": "^1.11.0",
78
- "@albi_scando/as-log-lib": "^1.0.1",
79
- "@angular/build": "^21.2.2",
80
- "@angular/cli": "^21.2.2",
81
- "@angular/compiler-cli": "^21.2.0",
82
- "@commitlint/cli": "^20.4.1",
83
- "@commitlint/config-conventional": "^20.4.1",
84
- "@eslint/js": "^9.39.2",
85
- "@semantic-release/changelog": "^6.0.3",
86
- "@semantic-release/git": "^10.0.1",
87
- "@semantic-release/github": "^12.0.3",
88
- "@semantic-release/npm": "^13.1.3",
89
- "@types/jasmine": "~5.1.0",
90
- "@types/node": "^25.2.1",
91
- "@types/numeric": "^1.2.6",
92
- "branch-name-lint": "^3.0.1",
93
- "commitizen": "^4.3.1",
94
- "cz-conventional-changelog": "^3.3.0",
95
- "eslint": "^9.39.2",
96
- "eslint-config-prettier": "^10.1.8",
97
- "eslint-plugin-import-x": "^4.16.1",
98
- "eslint-plugin-prettier": "^5.5.5",
99
- "eslint-plugin-regexp": "^3.0.0",
100
- "eslint-plugin-security": "^3.0.1",
101
- "globals": "^17.3.0",
102
- "husky": "^9.1.7",
103
- "jsdom": "^28.0.0",
104
- "lint-staged": "^16.2.7",
105
- "ng-packagr": "^21.2.0",
106
- "prettier": "^3.8.1",
107
- "semantic-release": "^25.0.3",
108
- "typedoc": "^0.28.16",
109
- "typescript": "~5.9.2",
110
- "typescript-eslint": "^8.54.0",
111
- "validate-branch-name": "^1.3.2",
112
- "vitest": "^4.0.8"
113
- },
114
- "peerDependencies": {
115
- "@albi_scando/as-const-http-lib": "^1.0.0",
116
- "@albi_scando/as-const-languages-lib": "^1.1.0",
117
- "@albi_scando/as-const-lib": "^1.11.0",
118
- "@albi_scando/as-log-lib": "^1.0.1"
119
- }
26
+ "typings": "types/albi_scando-as-backbone-lib.d.ts"
120
27
  }
@@ -1,64 +0,0 @@
1
- # AsBackboneLib
2
-
3
- This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.2.0.
4
-
5
- ## Code scaffolding
6
-
7
- Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
8
-
9
- ```bash
10
- ng generate component component-name
11
- ```
12
-
13
- For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
14
-
15
- ```bash
16
- ng generate --help
17
- ```
18
-
19
- ## Building
20
-
21
- To build the library, run:
22
-
23
- ```bash
24
- ng build as-backbone-lib
25
- ```
26
-
27
- This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
28
-
29
- ### Publishing the Library
30
-
31
- Once the project is built, you can publish your library by following these steps:
32
-
33
- 1. Navigate to the `dist` directory:
34
-
35
- ```bash
36
- cd dist/as-backbone-lib
37
- ```
38
-
39
- 2. Run the `npm publish` command to publish your library to the npm registry:
40
- ```bash
41
- npm publish
42
- ```
43
-
44
- ## Running unit tests
45
-
46
- To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
47
-
48
- ```bash
49
- ng test
50
- ```
51
-
52
- ## Running end-to-end tests
53
-
54
- For end-to-end (e2e) testing, run:
55
-
56
- ```bash
57
- ng e2e
58
- ```
59
-
60
- Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
61
-
62
- ## Additional Resources
63
-
64
- For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.