Skip to content

Commit e1e8dca

Browse files
committed
chore(release): dist
1 parent 6d11317 commit e1e8dca

File tree

5 files changed

+622
-2
lines changed

5 files changed

+622
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
dist/
2+
!/dist/
23
bin/
34
public/
45
node_modules/

dist/storefront-cms.min.js

Lines changed: 603 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/storefront-cms.min.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
22
"name": "@ecomplus/storefront-cms",
33
"version": "2.0.0-alpha.6",
4-
"private": true,
54
"description": "Content and page builder for Storefront based on Netlify CMS",
65
"main": "netlify-cms@2/packages/netlify-cms/src/index.js",
6+
"files": [
7+
"/dist/*"
8+
],
79
"scripts": {
810
"postinstall": "husky install",
9-
"release": "standard-version --prerelease alpha"
11+
"build": "cd netlify-cms* && yarn build:app && npx ncp packages/netlify-cms-app/dist ../dist && cd ..",
12+
"version": "standard-version --prerelease alpha",
13+
"release": "npm run build && git add dist && git commit -m 'chore(release): dist' && npm run version"
1014
},
1115
"repository": {
1216
"type": "git",
@@ -22,6 +26,11 @@
2226
"@commitlint/cli": "^16.0.1",
2327
"@commitlint/config-conventional": "^16.0.0",
2428
"husky": "^7.0.4",
29+
"ncp": "^2.0.0",
2530
"standard-version": "^9.3.2"
31+
},
32+
"publishConfig": {
33+
"registry": "https://npm.pkg.github.com/",
34+
"access": "public"
2635
}
2736
}

0 commit comments

Comments
 (0)