mirror of
https://github.com/hanzoai/team.git
synced 2026-09-30 01:57:35 +00:00
Put the redux workspace where everything names it
webapp/package.json lists platform/@hanzoteam/redux, check-external-links.mjs
reads platform/@hanzoteam/redux/src, and the package's own homepage and
repository.directory both say platform/@hanzoteam/redux. The directory was
platform/mattermost-redux, so none of those resolved.
npm ci says nothing about it — a workspace whose directory is absent is
silently dropped — and then the very next command dies:
Failed to build subpackages
ENOENT: no such file or directory, open 'platform/@hanzoteam/redux/package.json'
at getPlatformPackagesContainingCommand (scripts/utils.mjs:17)
scripts/build.mjs reads the workspace list from package.json and opens each
one, so it does not get npm's forgiveness.
A scoped name is two directories, not one, and three things counted the old
depth: the project references and compiled sources are one `../` further out,
postbuild copies from the channels path that moved with it, and the ignore
globs read platform/*/lib, which stops matching one level down and would have
committed 37,093 lines of build output.
The lockfile gains the workspace entry that its absence had left out.
Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
+2
-2
@@ -9,8 +9,8 @@ node_modules
|
||||
channels/dist
|
||||
playbooks/dist
|
||||
boards/dist
|
||||
platform/*/dist
|
||||
platform/*/lib
|
||||
platform/**/dist
|
||||
platform/**/lib
|
||||
|
||||
config.override.mk
|
||||
build/test-results*.xml
|
||||
|
||||
Generated
+36
-7
@@ -3399,12 +3399,6 @@
|
||||
"resolved": "platform/client",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@mattermost/compass-icons": {
|
||||
"version": "0.1.61",
|
||||
"resolved": "https://registry.npmjs.org/@mattermost/compass-icons/-/compass-icons-0.1.61.tgz",
|
||||
"integrity": "sha512-Xq7QHyxq7NPljgqlzwRp6tWGe5sD49tWTzG41q9+sYsI+DdymJmteezupkfO3NxNxYXJiDD+q2kF0Ai2he1Mcg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@hanzoteam/components": {
|
||||
"resolved": "platform/components",
|
||||
"link": true
|
||||
@@ -3413,6 +3407,10 @@
|
||||
"resolved": "platform/eslint-plugin",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@hanzoteam/redux": {
|
||||
"resolved": "platform/@hanzoteam/redux",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@hanzoteam/shared": {
|
||||
"resolved": "platform/shared",
|
||||
"link": true
|
||||
@@ -6204,6 +6202,12 @@
|
||||
"integrity": "sha512-G/r8dWoloDycHkOtewIkme7af8OEVsnjWT77+GsmRypGkZAWJy+nI7zecYFLBzOROjoqGRhn1QUNsPartUgC/w==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@mattermost/compass-icons": {
|
||||
"version": "0.1.61",
|
||||
"resolved": "https://registry.npmjs.org/@mattermost/compass-icons/-/compass-icons-0.1.61.tgz",
|
||||
"integrity": "sha512-Xq7QHyxq7NPljgqlzwRp6tWGe5sD49tWTzG41q9+sYsI+DdymJmteezupkfO3NxNxYXJiDD+q2kF0Ai2he1Mcg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@mattermost/desktop-api": {
|
||||
"version": "6.3.0-2",
|
||||
"resolved": "https://registry.npmjs.org/@mattermost/desktop-api/-/desktop-api-6.3.0-2.tgz",
|
||||
@@ -28572,6 +28576,31 @@
|
||||
"zod": "^3.25.0 || ^4.0.0"
|
||||
}
|
||||
},
|
||||
"platform/@hanzoteam/redux": {
|
||||
"version": "11.11.1",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@hanzoteam/client": "^11.11.0",
|
||||
"@hanzoteam/types": "^11.11.0",
|
||||
"@redux-devtools/extension": "3.3.0",
|
||||
"lodash": "^4.17.21",
|
||||
"moment-timezone": "^0.5.38",
|
||||
"redux": "^5.0.0",
|
||||
"redux-batched-actions": "0.5.0",
|
||||
"redux-thunk": "^3.0.0",
|
||||
"serialize-error": "^11.0.3",
|
||||
"shallow-equals": "^1.0.0",
|
||||
"timezones.json": "^1.7.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": ">=4.3"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"typescript": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"platform/client": {
|
||||
"name": "@hanzoteam/client",
|
||||
"version": "11.11.4",
|
||||
@@ -28627,8 +28656,8 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/runtime-corejs3": "^7.17.8",
|
||||
"@mattermost/compass-icons": "0.1.61",
|
||||
"@hanzoteam/shared": "^11.11.0",
|
||||
"@mattermost/compass-icons": "0.1.61",
|
||||
"classnames": "^2.3.1",
|
||||
"lodash": "^4.17.21",
|
||||
"react-intl": "*",
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
cp ../../../channels/src/packages/@hanzoteam/redux/src/selectors/create_selector/index.d.ts lib/selectors/create_selector/index.d.ts
|
||||
cp ../../../channels/src/packages/@hanzoteam/redux/src/types/extend_redux.d.ts lib/types/extend_redux.d.ts
|
||||
cp ../../../channels/src/packages/@hanzoteam/redux/src/types/extend_react_redux.d.ts lib/types/extend_react_redux.d.ts
|
||||
+6
-6
@@ -16,23 +16,23 @@
|
||||
"jsx": "react",
|
||||
"preserveConstEnums": true,
|
||||
"outDir": "./lib",
|
||||
"rootDir": "../../channels/src/packages/@hanzoteam/redux/src",
|
||||
"rootDir": "../../../channels/src/packages/@hanzoteam/redux/src",
|
||||
"composite": true,
|
||||
"useUnknownInCatchVariables": false,
|
||||
"skipLibCheck": true,
|
||||
"tsBuildInfoFile": "tsconfig.tsbuildinfo",
|
||||
"paths": {
|
||||
"@hanzoteam/redux/*": ["../../channels/src/packages/@hanzoteam/redux/src/*"]
|
||||
"@hanzoteam/redux/*": ["../../../channels/src/packages/@hanzoteam/redux/src/*"]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"../../channels/src/packages/@hanzoteam/redux/src/**/*"
|
||||
"../../../channels/src/packages/@hanzoteam/redux/src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"../../**/*.test.*"
|
||||
"../../../**/*.test.*"
|
||||
],
|
||||
"references": [
|
||||
{"path": "../types"},
|
||||
{"path": "../client"}
|
||||
{"path": "../../types"},
|
||||
{"path": "../../client"}
|
||||
]
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
cp ../../channels/src/packages/mattermost-redux/src/selectors/create_selector/index.d.ts lib/selectors/create_selector/index.d.ts
|
||||
cp ../../channels/src/packages/mattermost-redux/src/types/extend_redux.d.ts lib/types/extend_redux.d.ts
|
||||
cp ../../channels/src/packages/mattermost-redux/src/types/extend_react_redux.d.ts lib/types/extend_react_redux.d.ts
|
||||
Reference in New Issue
Block a user