@crossdelta/platform-sdk 0.17.5 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +407 -0
- package/README.md +22 -17
- package/bin/cli.js +342 -223
- package/bin/templates/workspace/.github/workflows/publish-packages.yml +10 -6
- package/package.json +3 -1
|
@@ -62,6 +62,7 @@ jobs:
|
|
|
62
62
|
[ ! -f "$dir/package.json" ] && continue
|
|
63
63
|
|
|
64
64
|
slug=$(basename "$dir")
|
|
65
|
+
dir="${dir%/}" # Remove trailing slash
|
|
65
66
|
name=$(jq -r '.name // empty' "$dir/package.json")
|
|
66
67
|
is_private=$(jq -r '.private // false' "$dir/package.json")
|
|
67
68
|
|
|
@@ -115,12 +116,11 @@ jobs:
|
|
|
115
116
|
path: |
|
|
116
117
|
packages/*/dist
|
|
117
118
|
packages/*/bin
|
|
118
|
-
packages
|
|
119
|
-
packages/*/CHANGELOG.md
|
|
119
|
+
packages/*/*.md
|
|
120
120
|
packages/*/LICENSE
|
|
121
|
-
packages
|
|
121
|
+
packages/*/*.png
|
|
122
122
|
packages/*/schemas
|
|
123
|
-
packages
|
|
123
|
+
packages/*/*.sh
|
|
124
124
|
retention-days: 1
|
|
125
125
|
|
|
126
126
|
# Publish packages sequentially (max-parallel: 1)
|
|
@@ -145,12 +145,16 @@ jobs:
|
|
|
145
145
|
uses: actions/download-artifact@v4
|
|
146
146
|
with:
|
|
147
147
|
name: dist-packages
|
|
148
|
-
path: packages
|
|
148
|
+
path: packages
|
|
149
149
|
|
|
150
150
|
- name: Verify build artifacts
|
|
151
151
|
run: |
|
|
152
|
-
|
|
152
|
+
echo "📂 Checking ${{ matrix.package.dir }}"
|
|
153
|
+
ls -la "${{ matrix.package.dir }}" || true
|
|
154
|
+
if [ ! -d "${{ matrix.package.dir }}/dist" ] && [ ! -d "${{ matrix.package.dir }}/bin" ]; then
|
|
153
155
|
echo "❌ Build artifacts missing for ${{ matrix.package.name }}"
|
|
156
|
+
echo "📂 packages/ contents:"
|
|
157
|
+
ls -la packages/
|
|
154
158
|
exit 1
|
|
155
159
|
fi
|
|
156
160
|
echo "✅ Build artifacts found for ${{ matrix.package.name }}"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossdelta/platform-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Platform toolkit for event-driven microservices — keeping code and infrastructure in lockstep.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -33,6 +33,8 @@
|
|
|
33
33
|
"!bin/**/*.map",
|
|
34
34
|
"dist/",
|
|
35
35
|
"README.md",
|
|
36
|
+
"CHANGELOG.md",
|
|
37
|
+
"LICENSE",
|
|
36
38
|
"logo.png",
|
|
37
39
|
"schemas",
|
|
38
40
|
"install.sh"
|