@crossdelta/platform-sdk 0.17.4 → 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 +15 -3
- 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
|
|
|
@@ -112,7 +113,14 @@ jobs:
|
|
|
112
113
|
uses: actions/upload-artifact@v4
|
|
113
114
|
with:
|
|
114
115
|
name: dist-packages
|
|
115
|
-
path:
|
|
116
|
+
path: |
|
|
117
|
+
packages/*/dist
|
|
118
|
+
packages/*/bin
|
|
119
|
+
packages/*/*.md
|
|
120
|
+
packages/*/LICENSE
|
|
121
|
+
packages/*/*.png
|
|
122
|
+
packages/*/schemas
|
|
123
|
+
packages/*/*.sh
|
|
116
124
|
retention-days: 1
|
|
117
125
|
|
|
118
126
|
# Publish packages sequentially (max-parallel: 1)
|
|
@@ -137,12 +145,16 @@ jobs:
|
|
|
137
145
|
uses: actions/download-artifact@v4
|
|
138
146
|
with:
|
|
139
147
|
name: dist-packages
|
|
140
|
-
path: packages
|
|
148
|
+
path: packages
|
|
141
149
|
|
|
142
150
|
- name: Verify build artifacts
|
|
143
151
|
run: |
|
|
144
|
-
|
|
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
|
|
145
155
|
echo "❌ Build artifacts missing for ${{ matrix.package.name }}"
|
|
156
|
+
echo "📂 packages/ contents:"
|
|
157
|
+
ls -la packages/
|
|
146
158
|
exit 1
|
|
147
159
|
fi
|
|
148
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"
|