chore(workflow): compile components with latest version set

This commit is contained in:
Mo
2022-06-17 08:23:27 -05:00
parent e4bef17dfa
commit e94132ff28
3 changed files with 12 additions and 18 deletions

View File

@@ -15,7 +15,8 @@
"components:lint": "yarn workspaces foreach --parallel --jobs 10 --verbose --exclude @standardnotes/components-meta run components:lint",
"components:test": "yarn workspaces foreach --parallel --jobs 10 --verbose --exclude @standardnotes/components-meta run components:test",
"components:compile": "yarn workspaces foreach --parallel --jobs 10 --verbose --exclude @standardnotes/components-meta run components:compile",
"package": "node scripts/package.mjs"
"package": "node scripts/package.mjs",
"version": "./scripts/VERSION.sh"
},
"devDependencies": {
"@standardnotes/deterministic-zip": "^1.2.0",

View File

@@ -0,0 +1,10 @@
echo 'Compiling components from' $(pwd)
yarn components:clean && yarn components:compile
echo "Packaging component assets and zips..."
node scripts/package.mjs
git add dist
(git commit -m 'chore(release): components') || true