Skip to content

Commit

Permalink
build: change project name (#609)
Browse files Browse the repository at this point in the history
* build: change project name

* build: work in progress

---------

Co-authored-by: khalilou88 <[email protected]>
  • Loading branch information
khalilou88 and khalilou88 authored Nov 12, 2023
1 parent 3c20697 commit 8a9c01c
Show file tree
Hide file tree
Showing 32 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion packages/common/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
}
},
"update-dependencies": {
"executor": "@jnxplus/internal-gradle-executors:update-dependencies",
"executor": "@jnxplus/internal-executors:update-dependencies",
"options": {
"version": "${version}"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/create-nx-gradle-workspace/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}
},
"update-package-json": {
"executor": "@jnxplus/internal-gradle-executors:update-package-json",
"executor": "@jnxplus/internal-executors:update-package-json",
"options": {
"version": "${version}"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/create-nx-maven-workspace/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}
},
"update-package-json": {
"executor": "@jnxplus/internal-gradle-executors:update-package-json",
"executor": "@jnxplus/internal-executors:update-package-json",
"options": {
"version": "${version}"
}
Expand Down
14 changes: 7 additions & 7 deletions packages/gradle-plugin/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"sourceRoot": "packages/gradle-plugin/src",
"projectType": "library",
"targets": {
"build2": {
"executor": "@jnxplus/internal-gradle-executors:run-commands",
"build": {
"executor": "@jnxplus/internal-executors:run-commands",
"options": {
"command": "build publishToMavenLocal",
"cwd": "packages/gradle-plugin"
Expand All @@ -17,7 +17,7 @@
"preset": "angular",
"push": true,
"noVerify": true,
"postTargets": ["gradle-plugin:set-version", "gradle-plugin:publish"],
"postTargets": ["gradle-plugin:set-version", "gradle-plugin:deploy"],
"commitMessageFormat": "release: cut release ${version} for {projectName}"
},
"dependsOn": [
Expand All @@ -27,19 +27,19 @@
]
},
"set-version": {
"executor": "@jnxplus/internal-gradle-executors:set-version",
"executor": "@jnxplus/internal-executors:set-version",
"options": {
"version": "${version}"
}
},
"publish2": {
"executor": "@jnxplus/internal-gradle-executors:run-commands",
"deploy": {
"executor": "@jnxplus/internal-executors:run-commands",
"options": {
"command": "publishPlugins",
"cwd": "packages/gradle-plugin"
}
}
},
"tags": [],
"implicitDependencies": ["internal-gradle-executors"]
"implicitDependencies": ["internal-executors"]
}
File renamed without changes.
11 changes: 11 additions & 0 deletions packages/internal/executors/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# internal-executors

This library was generated with [Nx](https://nx.dev).

## Building

Run `nx build internal-executors` to build the library.

## Running unit tests

Run `nx test internal-executors` to execute the unit tests via [Jest](https://jestjs.io).
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* eslint-disable */
export default {
displayName: 'internal-gradle-executors',
displayName: 'internal-executors',
preset: '../../../jest.preset.js',
testEnvironment: 'node',
transform: {
'^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
},
moduleFileExtensions: ['ts', 'js', 'html'],
coverageDirectory: '../../../coverage/packages/internal/gradle-executors',
coverageDirectory: '../../../coverage/packages/internal/executors',
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@jnxplus/internal-gradle-executors",
"name": "@jnxplus/internal-executors",
"version": "0.0.1",
"type": "commonjs",
"main": "./src/index.js",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"name": "internal-gradle-executors",
"name": "internal-executors",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/internal/gradle-executors/src",
"sourceRoot": "packages/internal/executors/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/internal/gradle-executors",
"main": "packages/internal/gradle-executors/src/index.ts",
"tsConfig": "packages/internal/gradle-executors/tsconfig.lib.json",
"outputPath": "dist/packages/internal/executors",
"main": "packages/internal/executors/src/index.ts",
"tsConfig": "packages/internal/executors/tsconfig.lib.json",
"assets": [
"packages/internal/gradle-executors/*.md",
"packages/internal/executors/*.md",
{
"input": "./packages/internal/gradle-executors/src",
"input": "./packages/internal/executors/src",
"glob": "**/!(*.ts)",
"output": "./src"
},
{
"input": "./packages/internal/gradle-executors/src",
"input": "./packages/internal/executors/src",
"glob": "**/*.d.ts",
"output": "./src"
},
{
"input": "./packages/internal/gradle-executors",
"input": "./packages/internal/executors",
"glob": "executors.json",
"output": "."
}
Expand All @@ -36,17 +36,17 @@
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"packages/internal/gradle-executors/**/*.ts",
"packages/internal/gradle-executors/package.json",
"packages/internal/gradle-executors/executors.json"
"packages/internal/executors/**/*.ts",
"packages/internal/executors/package.json",
"packages/internal/executors/executors.json"
]
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "packages/internal/gradle-executors/jest.config.ts"
"jestConfig": "packages/internal/executors/jest.config.ts"
}
}
},
Expand Down
File renamed without changes.
File renamed without changes.
11 changes: 0 additions & 11 deletions packages/internal/gradle-executors/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion packages/xml/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
}
},
"update-xml-deps": {
"executor": "@jnxplus/internal-gradle-executors:update-xml-deps",
"executor": "@jnxplus/internal-executors:update-xml-deps",
"options": {
"version": "${version}"
}
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"baseUrl": ".",
"paths": {
"@jnxplus/common": ["packages/common/src/index.ts"],
"@jnxplus/internal-gradle-executors": [
"packages/internal/gradle-executors/src/index.ts"
"@jnxplus/internal-executors": [
"packages/internal/executors/src/index.ts"
],
"@jnxplus/internal/testing": ["packages/internal/testing/src/index.ts"],
"@jnxplus/nx-checkstyle": ["packages/nx-checkstyle/src/index.ts"],
Expand Down

0 comments on commit 8a9c01c

Please sign in to comment.