Skip to content

Commit

Permalink
Merge branch 'release/2.1.0' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
titouanmathis committed Sep 15, 2020
2 parents 0899353 + e9e11bc commit f6c0d24
Show file tree
Hide file tree
Showing 15 changed files with 16,701 additions and 13,146 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: NPM Publish

on:
release:
types: [created]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12
2 changes: 1 addition & 1 deletion demo/dist/css/app.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demo/dist/css/app.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions demo/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
env: {
browser: true,
},
root: true,
extends: ['@studiometa/eslint-config'],
};
10 changes: 9 additions & 1 deletion demo/meta.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,13 @@ module.exports = {
dist: './dist/',
public: '/',
server: true,
watch: ['./*.html'],
watch: [
'*.html',
[
'*.html',
(event, file) => {
console.log(`The "${event}" event was emitted for the file "${file}".`);
},
],
],
};
Loading

0 comments on commit f6c0d24

Please sign in to comment.