Skip to content

Commit

Permalink
New version coinciding with vue-mapbox-map refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
songololo committed Apr 20, 2021
1 parent 71a8217 commit 0673b40
Show file tree
Hide file tree
Showing 16 changed files with 2,353 additions and 2,972 deletions.
2 changes: 0 additions & 2 deletions .browserslistrc

This file was deleted.

19 changes: 8 additions & 11 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@ module.exports = {
env: {
node: true
},
extends: [
'plugin:vue/recommended',
// this config loads eslint:recommended...
// then chains to eslint-config-prettier and eslint-config-prettier/vue
'@vue/prettier/recommended'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
extends: ['eslint:recommended', 'plugin:prettier/recommended', 'plugin:vue/recommended'],
plugins: ['prettier', 'vue'],
parser: 'vue-eslint-parser',
parserOptions: {
parser: 'babel-eslint'
ecmaVersion: 2020
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
}
}
2 changes: 1 addition & 1 deletion .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: build docs
run: |
yarn install
Expand Down
26 changes: 12 additions & 14 deletions .github/workflows/publish_package.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
name: publish package
on:
create:
tags:
- 'v*'
release:
types: [created]
jobs:
publish-package:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- name: bundle and publish
run: |
yarn install
yarn run bundle
yarn publish
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
scope: '@benchmark-urbanism'
- run: yarn
- run: yarn bundle
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6 changes: 5 additions & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
module.exports = {
printWidth: 100,
semi: false,
singleQuote: true
singleQuote: true,
pugAttributeSeparator: 'none',
pugCommentPreserveSpaces: 'trim-all',
pugWrapAttributesThreshold: -1,
pugEmptyAttributes: 'as-is'
}
14 changes: 2 additions & 12 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
module.exports = {
extends: 'stylelint-config-standard',
rules: {
'block-no-empty': null,
'at-rule-no-unknown': [
true,
{
ignoreAtRules: ['tailwind', 'apply', 'variants', 'responsive', 'screen']
}
],
'declaration-block-trailing-semicolon': null,
'no-descending-specificity': null
}
extends: ['stylelint-config-standard', 'stylelint-config-prettier'],
rules: {}
}
28 changes: 0 additions & 28 deletions .vscode/settings.json

This file was deleted.

Loading

0 comments on commit 0673b40

Please sign in to comment.