Skip to content

Commit

Permalink
chore: update to latest version of nx
Browse files Browse the repository at this point in the history
Fixes #43

chore: update esbuild dependency
  • Loading branch information
mainawycliffe committed Nov 9, 2024
1 parent dfd6a17 commit c1a5683
Show file tree
Hide file tree
Showing 7 changed files with 6,134 additions and 3,598 deletions.
13 changes: 13 additions & 0 deletions .firebase/logs/vsce-debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[debug] [2024-11-09T00:52:54.968Z] [Firebase Plugin] Activating Firebase extension.
[info] [Firebase Plugin] Checked firebase-tools, is up to date!
[info] i dataconnect: downloading dataconnect-emulator-1.6.1... {"metadata":{"emulator":{"name":"dataconnect"},"message":"downloading dataconnect-emulator-1.6.1..."}}
[debug] [2024-11-09T00:52:58.251Z] >>> [apiv2][query] GET https://storage.googleapis.com/firemat-preview-drop/emulator/dataconnect-emulator-macos-v1.6.1
[debug] [2024-11-09T00:52:58.821Z] <<< [apiv2][status] GET https://storage.googleapis.com/firemat-preview-drop/emulator/dataconnect-emulator-macos-v1.6.1 200
[debug] [2024-11-09T00:52:58.822Z] <<< [apiv2][body] GET https://storage.googleapis.com/firemat-preview-drop/emulator/dataconnect-emulator-macos-v1.6.1 [stream]
[info] i dataconnect: Removing outdated emulator files: dataconnect-emulator-1.5.1 {"metadata":{"emulator":{"name":"dataconnect"},"message":"Removing outdated emulator files: dataconnect-emulator-1.5.1"}}
[debug] [2024-11-09T00:53:04.573Z] 'fdc build' failed with error: Unable to build your Data Connect schema and connectors (exit code 1): E1109 03:53:04.569387 30318 cmd.go:41] Error loading data connect config: could not find dataconnect.yaml in `/Users/mainawycliffe/projects/nx-toolkits/dataconnect`
{"metadata":{"emulator":{"name":"dataconnect"},"message":"'fdc build' failed with error: Unable to build your Data Connect schema and connectors (exit code 1): E1109 03:53:04.569387 30318 cmd.go:41] Error loading data connect config: could not find dataconnect.yaml in `/Users/mainawycliffe/projects/nx-toolkits/dataconnect`\n"}}
[debug] [2024-11-09T09:03:12.543Z] [Firebase Plugin] Activating Firebase extension.
[info] [Firebase Plugin] Checked firebase-tools, is up to date!
[debug] [2024-11-09T09:03:14.555Z] 'fdc build' failed with error: Unable to build your Data Connect schema and connectors (exit code 1): E1109 12:03:14.550688 41269 cmd.go:41] Error loading data connect config: could not find dataconnect.yaml in `/Users/mainawycliffe/projects/nx-toolkits/dataconnect`
{"metadata":{"emulator":{"name":"dataconnect"},"message":"'fdc build' failed with error: Unable to build your Data Connect schema and connectors (exit code 1): E1109 12:03:14.550688 41269 cmd.go:41] Error loading data connect config: could not find dataconnect.yaml in `/Users/mainawycliffe/projects/nx-toolkits/dataconnect`\n"}}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ ui-debug.log
.angular

.nx/cache
.nx/workspace-data
.nx/workspace-data
.firebase/logs/vsce-debug.log
8 changes: 4 additions & 4 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getJestProjects } from '@nx/jest';
import { getJestProjectsAsync } from '@nx/jest';

export default {
projects: getJestProjects(),
};
export default async () => ({
projects: await getJestProjectsAsync(),
});
119 changes: 64 additions & 55 deletions migrations.json
Original file line number Diff line number Diff line change
@@ -1,83 +1,92 @@
{
"migrations": [
{
"cli": "nx",
"version": "19.2.0-beta.2",
"description": "Updates the default workspace data directory to .nx/workspace-data",
"implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory",
"version": "20.0.0-beta.7",
"description": "Migration for v20.0.0-beta.7",
"implementation": "./src/migrations/update-20-0-0/move-use-daemon-process",
"package": "nx",
"name": "19-2-0-move-graph-cache-directory"
"name": "move-use-daemon-process"
},
{
"cli": "nx",
"version": "19.2.2-beta.0",
"description": "Updates the nx wrapper.",
"implementation": "./src/migrations/update-17-3-0/update-nxw",
"version": "20.0.1",
"description": "Set `useLegacyCache` to true for migrating workspaces",
"implementation": "./src/migrations/update-20-0-1/use-legacy-cache",
"x-repair-skip": true,
"package": "nx",
"name": "19-2-2-update-nx-wrapper"
"name": "use-legacy-cache"
},
{
"version": "19.2.4-beta.0",
"description": "Set project name in nx.json explicitly",
"implementation": "./src/migrations/update-19-2-4/set-project-name",
"x-repair-skip": true,
"package": "nx",
"name": "19-2-4-set-project-name"
"cli": "nx",
"version": "19.6.0-beta.4",
"description": "Update ciWebServerCommand to use static serve for the application.",
"implementation": "./src/migrations/update-19-6-0/update-ci-webserver-for-static-serve",
"package": "@nx/cypress",
"name": "update-19-6-0-update-ci-webserver-for-vite"
},
{
"cli": "nx",
"version": "19.1.0-beta.6",
"description": "Migrate no-extra-semi rules into user config, out of nx extendable configs",
"implementation": "./src/migrations/update-19-1-0-migrate-no-extra-semi/migrate-no-extra-semi",
"package": "@nx/eslint-plugin",
"name": "update-19-1-0-rename-no-extra-semi"
"version": "20.0.0-beta.5",
"description": "replace getJestProjects with getJestProjectsAsync",
"implementation": "./src/migrations/update-20-0-0/replace-getJestProjects-with-getJestProjectsAsync",
"package": "@nx/jest",
"name": "replace-getJestProjects-with-getJestProjectsAsync"
},
{
"cli": "nx",
"version": "18.2.0-beta.0",
"requires": {
"@angular/core": ">=17.3.0"
},
"description": "Update the @angular/cli package version to ~17.3.0.",
"factory": "./src/migrations/update-18-2-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-17-3-0"
"version": "19.6.0-beta.4",
"description": "Ensure Module Federation DTS is turned off by default.",
"factory": "./src/migrations/update-19-6-0/turn-off-dts-by-default",
"package": "@nx/react",
"name": "update-19-6-0-turn-module-federation-dts-off"
},
{
"cli": "nx",
"version": "19.1.0-beta.2",
"requires": {
"@angular/core": ">=18.0.0"
},
"description": "Update the @angular/cli package version to ~18.0.0.",
"factory": "./src/migrations/update-19-1-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-18-0-0"
"version": "19.6.0-beta.4",
"description": "Update the server file for Module Federation SSR port value to be the same as the 'serve' target port value.",
"factory": "./src/migrations/update-19-6-0/update-ssr-server-port",
"package": "@nx/react",
"name": "update-module-federation-ssr-server-file"
},
{
"cli": "nx",
"version": "19.6.1-beta.0",
"description": "Ensure Target Defaults are set correctly for Module Federation.",
"factory": "./src/migrations/update-19-6-1/ensure-depends-on-for-mf",
"package": "@nx/react",
"name": "update-19-6-1-ensure-module-federation-target-defaults"
},
{
"cli": "nx",
"version": "19.6.3-beta.0",
"description": "Migrate proxy config files to match new format from webpack-dev-server v5.",
"implementation": "./src/migrations/update-19-6-3/proxy-config",
"package": "@nx/webpack",
"name": "update-19-6-3-proxy-config"
},
{
"cli": "nx",
"version": "19.2.1-beta.0",
"requires": {
"@angular-eslint/eslint-plugin": ">=18.0.0"
},
"description": "Installs the '@typescript-eslint/utils' package when having installed '@angular-eslint/eslint-plugin' or '@angular-eslint/eslint-plugin-template' with version >=18.0.0.",
"factory": "./src/migrations/update-19-2-1/add-typescript-eslint-utils",
"version": "19.6.0-beta.4",
"description": "Ensure Module Federation DTS is turned off by default.",
"factory": "./src/migrations/update-19-6-0/turn-off-dts-by-default",
"package": "@nx/angular",
"name": "add-typescript-eslint-utils"
"name": "update-19-6-0"
},
{
"version": "18.0.0",
"description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.",
"factory": "./migrations/invalid-two-way-bindings/bundle",
"package": "@angular/core",
"name": "invalid-two-way-bindings"
"cli": "nx",
"version": "19.6.0-beta.7",
"requires": { "@angular/core": ">=18.2.0" },
"description": "Update the @angular/cli package version to ~18.2.0.",
"factory": "./src/migrations/update-19-6-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-18-2-0"
},
{
"version": "18.0.0",
"description": "Replace deprecated HTTP related modules with provider functions",
"factory": "./migrations/http-providers/bundle",
"package": "@angular/core",
"name": "migration-http-providers"
"cli": "nx",
"version": "19.6.1-beta.0",
"description": "Ensure Target Defaults are set correctly for Module Federation.",
"factory": "./src/migrations/update-19-6-1/ensure-depends-on-for-mf",
"package": "@nx/angular",
"name": "update-19-6-1-ensure-module-federation-target-defaults"
}
]
}
}
32 changes: 8 additions & 24 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,13 @@
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": {
"build": {
"dependsOn": [
"^build"
],
"inputs": [
"production",
"^production"
],
"dependsOn": ["^build"],
"inputs": ["production", "^production"],
"cache": true
},
"@nx/jest:jest": {
"cache": true,
"inputs": [
"default",
"^production",
"{workspaceRoot}/jest.preset.js"
],
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"options": {
"passWithNoTests": true
},
Expand All @@ -29,18 +20,12 @@
}
},
"@nx/eslint:lint": {
"inputs": [
"default",
"{workspaceRoot}/.eslintrc.json"
],
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"],
"cache": true
}
},
"namedInputs": {
"default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"production": [
"default",
"!{projectRoot}/.eslintrc.json",
Expand All @@ -49,9 +34,7 @@
"!{projectRoot}/jest.config.[jt]s",
"!{projectRoot}/src/test-setup.[jt]s"
],
"sharedGlobals": [
"{workspaceRoot}/babel.config.json"
]
"sharedGlobals": ["{workspaceRoot}/babel.config.json"]
},
"workspaceLayout": {
"appsDir": "apps",
Expand Down Expand Up @@ -88,5 +71,6 @@
}
},
"nxCloudAccessToken": "YTRkYmQ1YTItZDU1OS00NDA2LTlmNjAtNjVhMGQ1MmIwYTNlfHJlYWQtd3JpdGU=",
"useInferencePlugins": false
"useInferencePlugins": false,
"useLegacyCache": true
}
83 changes: 42 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
},
"private": true,
"dependencies": {
"@angular/animations": "18.0.6",
"@angular/common": "18.0.6",
"@angular/compiler": "18.0.6",
"@angular/core": "18.0.6",
"@angular/forms": "18.0.6",
"@angular/platform-browser": "18.0.6",
"@angular/platform-browser-dynamic": "18.0.6",
"@angular/router": "18.0.6",
"@angular/animations": "18.2.11",
"@angular/common": "18.2.11",
"@angular/compiler": "18.2.11",
"@angular/core": "18.2.11",
"@angular/forms": "18.2.11",
"@angular/platform-browser": "18.2.11",
"@angular/platform-browser-dynamic": "18.2.11",
"@angular/router": "18.2.11",
"@jscutlery/semver": "^2.30.1",
"@nx/angular": "19.4.1",
"@nx/plugin": "19.4.1",
"@nx/angular": "20.0.12",
"@nx/plugin": "20.0.12",
"@phenomnomnominal/tsquery": "^5.0.1",
"@swc/helpers": "0.5.11",
"firebase-admin": "^12.0.0",
Expand All @@ -26,71 +26,72 @@
"react-dom": "18.3.1",
"rxjs": "~7.5.0",
"tslib": "^2.6.3",
"zone.js": "0.14.4"
"zone.js": "0.14.10"
},
"devDependencies": {
"@angular-devkit/build-angular": "18.0.7",
"@angular-devkit/core": "18.0.7",
"@angular-devkit/schematics": "18.0.7",
"@angular-devkit/build-angular": "18.2.9",
"@angular-devkit/core": "18.2.9",
"@angular-devkit/schematics": "18.2.9",
"@angular-eslint/eslint-plugin": "18.1.0",
"@angular-eslint/eslint-plugin-template": "18.1.0",
"@angular-eslint/template-parser": "18.1.0",
"@angular/cli": "~18.0.0",
"@angular/compiler-cli": "18.0.6",
"@angular/language-service": "18.0.6",
"@angular/cli": "~18.2.0",
"@angular/compiler-cli": "18.2.11",
"@angular/language-service": "18.2.11",
"@babel/core": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-angular": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@nx/cypress": "19.4.1",
"@nx/devkit": "19.4.1",
"@nx/esbuild": "19.4.1",
"@nx/eslint": "19.4.1",
"@nx/eslint-plugin": "19.4.1",
"@nx/jest": "19.4.1",
"@nx/js": "19.4.1",
"@nx/react": "19.4.1",
"@nx/webpack": "19.4.1",
"@nx/workspace": "19.4.1",
"@nx/cypress": "20.0.12",
"@nx/devkit": "20.0.12",
"@nx/esbuild": "20.0.12",
"@nx/eslint": "20.0.12",
"@nx/eslint-plugin": "20.0.12",
"@nx/jest": "20.0.12",
"@nx/js": "20.0.12",
"@nx/react": "20.0.12",
"@nx/webpack": "20.0.12",
"@nx/workspace": "20.0.12",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@schematics/angular": "18.0.7",
"@schematics/angular": "18.2.9",
"@svgr/webpack": "8.0.1",
"@swc-node/register": "1.9.2",
"@swc/cli": "0.3.14",
"@swc/core": "1.5.7",
"@testing-library/angular": "latest",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "15.0.6",
"@types/jest": "29.4.0",
"@types/jest": "29.5.14",
"@types/node": "18.19.26",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"@typescript-eslint/utils": "^8.0.0-alpha.28",
"babel-jest": "29.4.3",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@typescript-eslint/utils": "7.18.0",
"babel-jest": "29.7.0",
"cypress": "13.13.0",
"esbuild": "^0.20.2",
"esbuild": "^0.23.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-cypress": "2.15.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-react": "7.31.11",
"eslint-plugin-react-hooks": "4.6.0",
"firebase-functions-test": "^3.3.0",
"husky": "^8.0.3",
"jest": "29.5.0",
"jest-environment-jsdom": "29.5.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-preset-angular": "14.1.1",
"jsonc-eslint-parser": "^2.4.0",
"nx": "19.4.1",
"nx": "20.0.12",
"prettier": "^2.8.8",
"react-refresh": "^0.10.0",
"ts-jest": "29.1.0",
"ts-node": "10.9.1",
"typescript": "5.4.5",
"typescript": "5.5.4",
"url-loader": "^4.1.1"
}
}
},
"packageManager": "[email protected]+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903"
}
Loading

0 comments on commit c1a5683

Please sign in to comment.