Skip to content

Commit

Permalink
feat: Updated Nx
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Updated to Nx 19
  • Loading branch information
TriPSs committed May 15, 2024
1 parent 09c5cb8 commit 79325aa
Show file tree
Hide file tree
Showing 60 changed files with 58 additions and 59 deletions.
2 changes: 1 addition & 1 deletion force-release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8
9
3 changes: 3 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
"cache": true
},
"version": {
"dependsOn": ["^version"],
"inputs": ["production"],
"options": {
"trackDeps": true,
"tagPrefix": "${target}@"
}
},
Expand Down
1 change: 0 additions & 1 deletion packages/changelog-notify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ npm install -D @nx-extend/changelog-notify
}
}
```

2 changes: 0 additions & 2 deletions packages/core/src/utils/exec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ import * as shell from 'shelljs'
import { ExecOptions, ShellString } from 'shelljs'

export interface Options extends ExecOptions {

asString?: boolean
asJSON?: boolean

}

export {
Expand Down
1 change: 0 additions & 1 deletion packages/e2e-runner/src/executors/run/compat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ import { convertNxExecutor } from '@nx/devkit'
import { endToEndRunner } from './run.impl'

export default convertNxExecutor(endToEndRunner)

2 changes: 1 addition & 1 deletion packages/firebase-hosting/src/executors/deploy/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Deploy executor",
"description": "Deploy to Firebase Hosting",
Expand Down
2 changes: 1 addition & 1 deletion packages/gcp-cloud-run/generators.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"name": "gcp-cloud-run",
"version": "0.0.1",
"generators": {}
Expand Down
2 changes: 1 addition & 1 deletion packages/gcp-cloud-run/src/executors/deploy/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Deploy executor",
"description": "Deploy",
Expand Down
2 changes: 1 addition & 1 deletion packages/gcp-deployment-manager/generators.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"name": "gcp-deployment-manager",
"version": "0.0.1",
"generators": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Deploy executor",
"description": "Deploy",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Delete executor",
"description": "Delete",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Deploy executor",
"description": "Deploy",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$schema": "https://json-schema.org/draft-07/schema",
"id": "GcpDeploymentManager",
"title": "",
"type": "object",
Expand Down
2 changes: 1 addition & 1 deletion packages/gcp-functions/src/executors/build/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Node Application Build Target",
"description": "Node application build target options for Build Facade",
Expand Down
2 changes: 1 addition & 1 deletion packages/gcp-functions/src/executors/deploy/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "deploy",
"description": "Deploy a Google Cloud Platform function",
Expand Down
2 changes: 1 addition & 1 deletion packages/gcp-secrets/generators.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"name": "gcp-secrets",
"version": "0.0.1",
"generators": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gcp-secrets/src/executors/decrypt/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Decrypt executor",
"description": "Decrypt",
Expand Down
2 changes: 1 addition & 1 deletion packages/gcp-secrets/src/executors/deploy/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Deploy executor",
"description": "Deploy",
Expand Down
2 changes: 1 addition & 1 deletion packages/gcp-secrets/src/executors/encrypt/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Encrypt executor",
"description": "Encrypt",
Expand Down
2 changes: 1 addition & 1 deletion packages/gcp-secrets/src/generators/init/schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$schema": "https://json-schema.org/draft-07/schema",
"id": "GcpDeploymentManager",
"title": "",
"type": "object",
Expand Down
2 changes: 1 addition & 1 deletion packages/gcp-storage/generators.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"name": "gcp-storage",
"version": "0.0.1",
"generators": {}
Expand Down
2 changes: 1 addition & 1 deletion packages/gcp-storage/src/executors/upload/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "upload",
"description": "Upload files to Google Cloud Storage",
Expand Down
1 change: 1 addition & 0 deletions packages/gcp-task-runner/src/gcp-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export class GcpCache implements RemoteCache {

try {
await this.bucket.upload(destination, { destination: file })

} catch (err) {
throw new Error(`Storage Cache: Upload error - ${err}`)
}
Expand Down
1 change: 0 additions & 1 deletion packages/github-pages/src/executors/deploy/schema.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/github-pages/src/executors/deploy/schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"cli": "nx",
"title": "Build executor",
"description": "",
Expand Down
2 changes: 1 addition & 1 deletion packages/playwright/src/executors/codegen/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Codegen executor",
"description": "codegen",
Expand Down
2 changes: 1 addition & 1 deletion packages/playwright/src/executors/test/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Codegen executor",
"description": "codegen",
Expand Down
2 changes: 1 addition & 1 deletion packages/playwright/src/generators/init/schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$schema": "https://json-schema.org/draft-07/schema",
"id": "playwright-init",
"title": "",
"type": "object",
Expand Down
2 changes: 1 addition & 1 deletion packages/pulumi/generators.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"name": "pulumi",
"version": "0.0.1",
"generators": {
Expand Down
2 changes: 1 addition & 1 deletion packages/pulumi/src/executors/import/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Preview executor",
"description": "Preview",
Expand Down
2 changes: 1 addition & 1 deletion packages/pulumi/src/executors/preview/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Preview executor",
"description": "Preview",
Expand Down
2 changes: 1 addition & 1 deletion packages/pulumi/src/executors/refresh/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Refresh executor",
"description": "Refresh",
Expand Down
2 changes: 1 addition & 1 deletion packages/pulumi/src/executors/up/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Apply executor",
"description": "Apply",
Expand Down
2 changes: 1 addition & 1 deletion packages/pulumi/src/generators/init/schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$schema": "https://json-schema.org/draft-07/schema",
"id": "pulumi",
"title": "",
"cli": "nx",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-email/src/generators/init/schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"id": "Strapi",
"title": "",
Expand Down
2 changes: 1 addition & 1 deletion packages/shadcn-ui/src/executors/add/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "add executor",
"description": "",
Expand Down
2 changes: 1 addition & 1 deletion packages/shadcn-ui/src/generators/init/schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"id": "Strapi",
"title": "",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi/generators.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"name": "strapi",
"version": "0.0.1",
"generators": {
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi/src/executors/build/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Build executor",
"description": "",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi/src/executors/serve/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Serve executor",
"description": "Runs the command 'strapi develop'",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi/src/generators/init/schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"id": "Strapi",
"title": "",
Expand Down
2 changes: 1 addition & 1 deletion packages/terraform/generators.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"name": "terraform",
"version": "0.0.1",
"generators": {
Expand Down
2 changes: 1 addition & 1 deletion packages/terraform/src/executors/apply/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Apply executor",
"description": "Apply",
Expand Down
2 changes: 1 addition & 1 deletion packages/terraform/src/executors/destroy/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Destroy executor",
"description": "Destroy",
Expand Down
2 changes: 1 addition & 1 deletion packages/terraform/src/executors/fmt/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Format executor",
"description": "Format",
Expand Down
2 changes: 1 addition & 1 deletion packages/terraform/src/executors/init/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Init executor",
"description": "Init",
Expand Down
2 changes: 1 addition & 1 deletion packages/terraform/src/executors/plan/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Plan executor",
"description": "Plan",
Expand Down
2 changes: 1 addition & 1 deletion packages/terraform/src/executors/providers/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Providers executor",
"description": "Providers",
Expand Down
2 changes: 1 addition & 1 deletion packages/terraform/src/executors/test/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"type": "object",
"title": "Test executor",
"description": "Test",
Expand Down
Loading

0 comments on commit 79325aa

Please sign in to comment.