Skip to content

Commit a93e552

Browse files
Merge pull request #1076 from pattern-lab/netlify
WIP Netlify Preview
2 parents 6b2ec81 + f286d15 commit a93e552

File tree

13 files changed

+4
-31
lines changed

13 files changed

+4
-31
lines changed

netlify.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[context.deploy-preview]
2+
command = "npm run preview:hbs"

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"test": "lerna run test",
3030
"clean": "git clean -dfx",
3131
"publish": "npx lerna publish -m \"[skip travis] chore(release): publish %s\"",
32-
"postpublish": "auto release"
32+
"postpublish": "auto release",
33+
"preview:hbs": "cd packages/development-edition-engine-handlebars && npx patternlab add --starterkits '@pattern-lab/starterkit-handlebars-vanilla' && npm run pl:build"
3334
},
3435
"nyc": {
3536
"exclude": [

packages/development-edition-engine-handlebars/source/_patterns/atoms/swatches/swatch.hbs

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/development-edition-engine-handlebars/source/_patterns/atoms/swatches/swatch.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/development-edition-engine-handlebars/source/_patterns/atoms/swatches/swatch.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/development-edition-engine-handlebars/source/_patterns/atoms/swatches/swatch.scss

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/development-edition-engine-handlebars/source/_patterns/atoms/text/helper.hbs

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/development-edition-engine-handlebars/source/_patterns/atoms/type.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/development-edition-engine-handlebars/source/_patterns/atoms/type/annotation.hbs

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/development-edition-engine-handlebars/source/_patterns/molecules/variants.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)