Skip to content

Commit acf7733

Browse files
fix: exclude packages/ and test/ from pub.dev upload, update dep refs
- .pubignore: exclude packages/, test/, example/test/, assets/screenshots/, IDE files - pubspec_publish_ready.yaml: bump hyper_render_clipboard to ^1.0.2 - packages/hyper_render_clipboard/pubspec.yaml: restore path dep for dev
1 parent 1ef5575 commit acf7733

4 files changed

Lines changed: 34 additions & 16 deletions

File tree

.pubignore

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ build/
66
*.dill
77
*.dill.track.dill
88

9-
# Example app — exclude platform-specific folders and build output,
10-
# but keep example/example.dart for pub.dev scoring.
9+
# Sub-packages are independent pub.dev packages — exclude from root upload
10+
packages/
11+
12+
# Tests — not needed by package consumers
13+
test/
14+
15+
# Example app — exclude platform dirs, tests, and extra files.
16+
# Keep only example/example.dart for pub.dev scoring.
1117
example/android/
1218
example/ios/
1319
example/macos/
@@ -23,8 +29,13 @@ example/pubspec.yaml
2329
example/pubspec.lock
2430
example/analysis_options.yaml
2531
example/.metadata
32+
example/README.md
33+
example/test/
2634

27-
# Benchmark runner (standalone Flutter project with unresolvable imports)
35+
# Screenshots (raw frames, not referenced in pubspec.yaml assets)
36+
assets/screenshots/
37+
38+
# Benchmark runner
2839
benchmark/
2940

3041
# CI/CD and dev scripts
@@ -35,6 +46,11 @@ scripts/
3546
pubspec.yaml.backup
3647
pubspec_publish_ready.yaml
3748

49+
# IDE files
50+
*.iml
51+
.idea/
52+
.vscode/
53+
3854
# macOS artifacts
3955
**/.DS_Store
4056
**/Pods/

packages/hyper_render_clipboard/pubspec.lock

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,10 @@ packages:
147147
hyper_render_core:
148148
dependency: "direct main"
149149
description:
150-
path: "../hyper_render_core"
151-
relative: true
152-
source: path
150+
name: hyper_render_core
151+
sha256: c0c5e38478092c65016a6b976ac48e813f78a80dda917e7ab86d7b5c0dfe6c61
152+
url: "https://pub.dev"
153+
source: hosted
153154
version: "1.0.0"
154155
irondash_engine_context:
155156
dependency: transitive
@@ -315,18 +316,18 @@ packages:
315316
dependency: "direct main"
316317
description:
317318
name: share_plus
318-
sha256: "3ef39599b00059db0990ca2e30fca0a29d8b37aae924d60063f8e0184cf20900"
319+
sha256: "14c8860d4de93d3a7e53af51bff479598c4e999605290756bbbe45cf65b37840"
319320
url: "https://pub.dev"
320321
source: hosted
321-
version: "7.2.2"
322+
version: "12.0.1"
322323
share_plus_platform_interface:
323324
dependency: transitive
324325
description:
325326
name: share_plus_platform_interface
326-
sha256: "251eb156a8b5fa9ce033747d73535bf53911071f8d3b6f4f0b578505ce0d4496"
327+
sha256: "88023e53a13429bd65d8e85e11a9b484f49d4c190abbd96c7932b74d6927cc9a"
327328
url: "https://pub.dev"
328329
source: hosted
329-
version: "3.4.0"
330+
version: "6.1.0"
330331
sky_engine:
331332
dependency: transitive
332333
description: flutter
@@ -368,18 +369,18 @@ packages:
368369
dependency: "direct main"
369370
description:
370371
name: super_clipboard
371-
sha256: "4a6ae6dfaa282ec1f2bff750976f535517ed8ca842d5deae13985eb11c00ac1f"
372+
sha256: e73f3bb7e66cc9260efa1dc507f979138e7e106c3521e2dda2d0311f6d728a16
372373
url: "https://pub.dev"
373374
source: hosted
374-
version: "0.8.24"
375+
version: "0.9.1"
375376
super_native_extensions:
376377
dependency: transitive
377378
description:
378379
name: super_native_extensions
379-
sha256: a433bba8186cd6b707560c42535bf284804665231c00bca86faf1aa4968b7637
380+
sha256: b9611dcb68f1047d6f3ef11af25e4e68a21b1a705bbcc3eb8cb4e9f5c3148569
380381
url: "https://pub.dev"
381382
source: hosted
382-
version: "0.8.24"
383+
version: "0.9.1"
383384
term_glyph:
384385
dependency: transitive
385386
description:

packages/hyper_render_clipboard/pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ dependencies:
1313
sdk: flutter
1414

1515
# Core hyper_render for interfaces
16-
hyper_render_core: ^1.0.0
16+
hyper_render_core:
17+
path: ../hyper_render_core
1718

1819
# Cross-platform clipboard with image support
1920
super_clipboard: ">=0.8.0 <1.0.0"

pubspec_publish_ready.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies:
3131
hyper_render_html: ^1.0.0
3232
hyper_render_markdown: ^1.0.0
3333
hyper_render_highlight: ^1.0.0
34-
hyper_render_clipboard: ^1.0.0
34+
hyper_render_clipboard: ^1.0.2
3535

3636
# External dependencies
3737
flutter_highlight: ^0.7.0

0 commit comments

Comments
 (0)