Files
team/webapp/platform/@hanzoteam/redux/package.json
T
zeekayandHanzo Dev 045c8b0fa2 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]>
2026-09-08 13:43:58 -07:00

68 lines
2.0 KiB
JSON

{
"name": "@hanzoteam/redux",
"version": "11.11.1",
"description": "Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client",
"keywords": [
"mattermost"
],
"homepage": "https://github.com/mattermost/mattermost/tree/master/webapp/platform/@hanzoteam/redux#readme",
"license": "MIT",
"type": "commonjs",
"files": [
"lib"
],
"exports": {
"./action_types": "./lib/action_types/index.js",
"./actions": "./lib/actions/index.js",
"./client": "./lib/client/index.js",
"./constants": "./lib/constants/index.js",
"./reducers": "./lib/reducers/index.js",
"./reducers/entities": "./lib/reducers/entities/index.js",
"./reducers/entities/threads": "./lib/reducers/entities/threads/index.js",
"./reducers/errors": "./lib/reducers/errors/index.js",
"./reducers/requests": "./lib/reducers/requests/index.js",
"./selectors/create_selector": "./lib/selectors/create_selector/index.js",
"./store": "./lib/store/index.js",
"./*": "./lib/*.js"
},
"typesVersions": {
">=3.1": {
"*": [
"./lib/*.d.ts",
"./lib/*/index.d.ts"
]
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/mattermost/mattermost.git",
"directory": "webapp/platform/@hanzoteam/redux"
},
"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
}
},
"scripts": {
"build": "tsc --build --verbose",
"postbuild": "sh postbuild.sh",
"clean": "rm -rf lib node_modules *.tsbuildinfo"
}
}