diff --git a/.gitignore b/.gitignore index e61a201..8f9f0ee 100644 --- a/.gitignore +++ b/.gitignore @@ -31,4 +31,6 @@ lerna-debug.log # For vim *.swp -public \ No newline at end of file +public + +.yarn \ No newline at end of file diff --git a/.recipes/default/package.json b/.recipes/default/package.json index ee29b4f..af7c826 100644 --- a/.recipes/default/package.json +++ b/.recipes/default/package.json @@ -22,44 +22,44 @@ "serve:a11y": "yarn workspace {{ tmplr.npm_scope }}/{{ tmplr.extension_name | kebab-case }} serve:a11y" }, "devDependencies": { - "@babel/core": "^7.24.7", - "@babel/plugin-transform-modules-commonjs": "^7.24.7", - "@babel/preset-env": "^7.24.7", - "@babel/preset-flow": "^7.24.7", - "@babel/preset-react": "^7.24.7", - "@babel/preset-typescript": "^7.24.7", - "@eslint/compat": "^1.2.0", - "@eslint/eslintrc": "^3.1.0", - "@eslint/js": "^9.12.0", - "@testing-library/dom": "^10.4.0", - "@testing-library/jest-dom": "^6.4.8", - "@testing-library/react": "^16.0.0", - "@testing-library/user-event": "^14.5.2", - "@types/jest": "^29.5.13", - "@types/react": "^18.3.11", - "@types/react-dom": "^18.3.0", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-jest": "^29.7.0", - "concurrently": "^9.0.1", - "eslint": "^9.12.0", - "eslint-config-prettier": "9.1.0", - "eslint-plugin-import": "^2.29.1", + "@babel/core": "^7.28.4", + "@babel/plugin-transform-modules-commonjs": "^7.27.1", + "@babel/preset-env": "^7.28.3", + "@babel/preset-flow": "^7.27.1", + "@babel/preset-react": "^7.27.1", + "@babel/preset-typescript": "^7.27.1", + "@eslint/compat": "^1.4.0", + "@eslint/eslintrc": "^3.3.1", + "@eslint/js": "^9.37.0", + "@testing-library/dom": "^10.4.1", + "@testing-library/jest-dom": "^6.9.1", + "@testing-library/react": "^16.3.0", + "@testing-library/user-event": "^14.6.1", + "@types/jest": "^30.0.0", + "@types/react": "^19.2.0", + "@types/react-dom": "^19.2.0", + "@typescript-eslint/eslint-plugin": "^8.45.0", + "@typescript-eslint/parser": "^8.45.0", + "babel-jest": "^30.2.0", + "concurrently": "^9.2.1", + "eslint": "^9.37.0", + "eslint-config-prettier": "10.1.8", + "eslint-plugin-import": "^2.32.0", "eslint-plugin-markdown": "^5.1.0", - "eslint-plugin-n": "^17.10.2", - "eslint-plugin-prettier": "^5.2.1", - "eslint-plugin-promise": "^7.1.0", - "eslint-plugin-react": "^7.37.1", + "eslint-plugin-n": "^17.23.1", + "eslint-plugin-prettier": "^5.5.4", + "eslint-plugin-promise": "^7.2.1", + "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^4.6.2", - "globals": "^15.10.0", - "jest": "^29.7.0", - "jest-environment-jsdom": "^29.7.0", - "prettier": "3.3.3", - "react": "^18.3.1", - "react-dom": "^18.3.1", - "serve": "^14.2.3", - "typescript": "^5.5.4", - "typescript-eslint": "^8.8.1" + "globals": "^16.4.0", + "jest": "^30.2.0", + "jest-environment-jsdom": "^30.2.0", + "prettier": "3.6.2", + "react": "^18", + "react-dom": "^18", + "serve": "^14.2.5", + "typescript": "^5.9.3", + "typescript-eslint": "^8.45.0" }, "packageManager": "yarn@4.10.3" } diff --git a/.recipes/default/packages/module/package.json b/.recipes/default/packages/module/package.json index 5f2c562..61dbe0a 100644 --- a/.recipes/default/packages/module/package.json +++ b/.recipes/default/packages/module/package.json @@ -29,24 +29,24 @@ "access": "public" }, "dependencies": { - "@patternfly/react-core": "6.0.0-prerelease.21" + "@patternfly/react-core": "^6.3.1" }, "peerDependencies": { "react": "^18", "react-dom": "^18" }, "devDependencies": { - "@patternfly/documentation-framework": "6.0.0-alpha.110", - "@patternfly/patternfly": "6.0.0-prerelease.15", - "@patternfly/react-table": "6.0.0-prerelease.22", - "@patternfly/react-code-editor": "6.0.0-prerelease.21", - "rimraf": "^6.0.1", - "@patternfly/patternfly-a11y": "^4.3.1", - "react-monaco-editor": "^0.56.0", - "monaco-editor": "^0.52.0", - "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-optional-chaining": "^7.21.0", - "@babel/plugin-proposal-private-methods": "^7.18.6" + "@babel/plugin-proposal-private-methods": "^7.18.6", + "@babel/plugin-proposal-private-property-in-object": "^7.21.11", + "@patternfly/documentation-framework": "^6.24.2", + "@patternfly/patternfly": "^6.3.1", + "@patternfly/patternfly-a11y": "^5.1.0", + "@patternfly/react-code-editor": "^6.3.1", + "@patternfly/react-table": "^6.3.1", + "monaco-editor": "^0.53.0", + "react-monaco-editor": "^0.59.0", + "rimraf": "^6.0.1" } } diff --git a/.yarnrc.yml b/.yarnrc.yml new file mode 100644 index 0000000..3186f3f --- /dev/null +++ b/.yarnrc.yml @@ -0,0 +1 @@ +nodeLinker: node-modules diff --git a/packages/module/src/ExtendedButton/__tests__/__snapshots__/ExtendedButton.test.tsx.snap b/packages/module/src/ExtendedButton/__tests__/__snapshots__/ExtendedButton.test.tsx.snap index 17f6559..9911eeb 100644 --- a/packages/module/src/ExtendedButton/__tests__/__snapshots__/ExtendedButton.test.tsx.snap +++ b/packages/module/src/ExtendedButton/__tests__/__snapshots__/ExtendedButton.test.tsx.snap @@ -1,9 +1,8 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Matches expected default snapshot 1`] = `