#1050 (Phase C) deleted packages/core in favor of @meshtastic/sdk, but the squash-merge hit a delete/modify conflict with #1097 (which had modified packages/core/package.json and src/meshDevice.ts), leaving those two files behind as a broken stub. Its package.json still declared a tsdown build (entry: "mod.ts") while mod.ts and the rest of the source were gone, so the 'Push to Main CI' build-and-package loop failed with: Error: Cannot find entry: "mod.ts" Nothing depends on the workspace @meshtastic/core — the app resolves @meshtastic/core to the JSR-published @jsr/meshtastic__core@2.6.6 — so finish the deletion and drop the now-unused pnpm-lock importer. Verified locally: frozen-lockfile install passes and the full build-and-package loop builds every package green (sdk, sdk-react, sdk-storage-sqlocal, all transports).
This commit is contained in:
@@ -1,51 +0,0 @@
|
||||
{
|
||||
"name": "@meshtastic/core",
|
||||
"version": "2.6.7",
|
||||
"description": "Core functionalities for Meshtastic web applications.",
|
||||
"exports": {
|
||||
".": "./mod.ts"
|
||||
},
|
||||
"type": "module",
|
||||
"main": "./dist/mod.js",
|
||||
"module": "./dist/mod.js",
|
||||
"types": "./dist/mod.d.ts",
|
||||
"license": "GPL-3.0-only",
|
||||
"tsdown": {
|
||||
"entry": "mod.ts",
|
||||
"platform": "browser",
|
||||
"dts": true,
|
||||
"format": [
|
||||
"esm"
|
||||
],
|
||||
"splitting": false,
|
||||
"clean": true
|
||||
},
|
||||
"jsrInclude": [
|
||||
"mod.ts",
|
||||
"src",
|
||||
"README.md",
|
||||
"LICENSE"
|
||||
],
|
||||
"jsrExclude": [
|
||||
"src/**/*.test.ts"
|
||||
],
|
||||
"files": [
|
||||
"package.json",
|
||||
"README.md",
|
||||
"LICENSE",
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
"prepack": "cp ../../LICENSE ./LICENSE",
|
||||
"clean": "rm -rf dist LICENSE",
|
||||
"build:npm": "tsdown",
|
||||
"publish:npm": "pnpm clean && pnpm build:npm && pnpm publish --access public --no-git-checks",
|
||||
"prepare:jsr": "rm -rf dist && pnpm dlx pkg-to-jsr",
|
||||
"publish:jsr": "pnpm run prepack && pnpm prepare:jsr && deno publish --allow-dirty --no-check"
|
||||
},
|
||||
"dependencies": {
|
||||
"@meshtastic/protobufs": "workspace:*",
|
||||
"crc": "npm:crc@^4.3.2"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Generated
-9
@@ -317,15 +317,6 @@ importers:
|
||||
specifier: ^4.1.8
|
||||
version: 4.1.8(@types/node@24.12.0)(happy-dom@20.8.9)(jsdom@25.0.1)(vite@7.3.5(@types/node@24.12.0)(jiti@2.7.0)(lightningcss@1.31.1)(terser@5.48.0)(tsx@4.21.0)(yaml@2.8.2))
|
||||
|
||||
packages/core:
|
||||
dependencies:
|
||||
'@meshtastic/protobufs':
|
||||
specifier: workspace:*
|
||||
version: link:../protobufs
|
||||
crc:
|
||||
specifier: npm:crc@^4.3.2
|
||||
version: 4.3.2
|
||||
|
||||
packages/protobufs:
|
||||
dependencies:
|
||||
'@bufbuild/protobuf':
|
||||
|
||||
Reference in New Issue
Block a user