Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
LinboLen committed May 11, 2024
1 parent 8104b34 commit 17625f1
Show file tree
Hide file tree
Showing 79 changed files with 118 additions and 77 deletions.
3 changes: 1 addition & 2 deletions libs/fedaco/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"url": "https://github.com/gradii/fedaco.git"
},
"license": "MIT",
"peerDependencies": {
},
"peerDependencies": {},
"dependencies": {
"tslib": "^2.3.0"
}
Expand Down
File renamed without changes.
File renamed without changes.
16 changes: 12 additions & 4 deletions libs/triangle-icons/ng-package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
{
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../dist/libs/triangle-icons",
"lib": {
"entryFile": "index.ts"
"name": "@gradii/triangle-icons",
"version": "0.0.1",
"description": "gradii triangle icons",
"repository": {
"type": "git",
"url": "https://github.com/gradii/triangle.git"
},
"keywords": [
],
"license": "MIT",
"dependencies": {
"tslib": "^2.3.0"
}
}
15 changes: 0 additions & 15 deletions libs/triangle-icons/package.json

This file was deleted.

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.
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.
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.
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.
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.
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.
26 changes: 18 additions & 8 deletions libs/triangle/ng-package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
{
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../dist/libs/triangle",
"assets": [
"CHANGELOG.md",
"./core/themes/prebuilt/*.scss",
"./**/_*.scss"
"name": "@gradii/triangle",
"version": "2.3.2",
"description": "Triangle Packages",
"repository": {
"type": "git",
"url": "https://github.com/gradii/triangle.git"
},
"keywords": [
"angular",
"triangle",
"components"
],
"lib": {
"entryFile": "index.ts"
"license": "MIT",
"peerDependencies": {
"@angular/common": "^12.2.0",
"@angular/core": "^12.2.0"
},
"dependencies": {
"tslib": "^2.3.0"
}
}
22 changes: 0 additions & 22 deletions libs/triangle/package.json

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"ngPackage": {
{
"lib": {
"entryFile": "public-api.ts"
}
}
}

}
50 changes: 50 additions & 0 deletions libs/triangle/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"name": "triangle",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "libs/triangle/src",
"prefix": "tri",
"targets": {
"version": {
"executor": "@jscutlery/semver:version",
"options": {
"baseBranch": "master",
"releaseAs": "patch",
"postTargets": ["triangle:build"]
}
},
"build": {
"executor": "@nrwl/angular:package",
"outputs": ["{workspaceRoot}/dist/libs/triangle"],
"options": {
"project": "libs/triangle/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "libs/triangle/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "libs/triangle/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/triangle"],
"options": {
"jestConfig": "libs/triangle/jest.config.js",
"passWithNoTests": true
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"libs/triangle/src/**/*.ts",
"libs/triangle/src/**/*.html"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"ngPackage": {
{
"lib": {
"entryFile": "public-api.ts"
}
}
}

}
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
@@ -1,8 +1,5 @@
{
"ngPackage": {
{
"lib": {
"entryFile": "public-api.ts"
}
}
}

}
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"ngPackage": {
{
"lib": {
"entryFile": "public-api.ts"
}
}
}

}
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
35 changes: 29 additions & 6 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"production": [
"default",
"!{projectRoot}/.eslintrc.json",
Expand All @@ -20,8 +23,13 @@
"targetDefaults": {
"@angular-devkit/build-angular:application": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
"dependsOn": [
"^build"
],
"inputs": [
"production",
"^production"
]
},
"@nx/eslint:lint": {
"cache": true,
Expand All @@ -34,7 +42,11 @@
},
"@nx/jest:jest": {
"cache": true,
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"inputs": [
"default",
"^production",
"{workspaceRoot}/jest.preset.js"
],
"options": {
"passWithNoTests": true
},
Expand All @@ -47,8 +59,19 @@
},
"@nx/angular:package": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
"dependsOn": [
"^build"
],
"inputs": [
"production",
"^production"
]
},
"build": {
"inputs": [
"production",
"^production"
]
}
},
"plugins": [
Expand Down

0 comments on commit 17625f1

Please sign in to comment.