@inriver/inri 1.11.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const baseConfig = require('./configs/base-eslint-config.js')
2
2
 
3
3
  module.exports = {
4
- ...baseConfig
4
+ ...baseConfig,
5
5
  }
@@ -1,4 +1,4 @@
1
- const baseTailwindConfig = {
1
+ module.exports = {
2
2
  preflight: false,
3
3
  darkMode: false,
4
4
  theme: {
@@ -147,5 +147,3 @@ const baseTailwindConfig = {
147
147
  'text-green',
148
148
  ],
149
149
  }
150
-
151
- module.exports = baseTailwindConfig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inriver/inri",
3
- "version": "1.11.0",
3
+ "version": "1.13.0",
4
4
  "peerDependencies": {
5
5
  "quasar": "2.12.1",
6
6
  "vue": "^3.3.4",
@@ -31,5 +31,21 @@
31
31
  "stylelint-config-standard": "^22.0.0",
32
32
  "stylelint-webpack-plugin": "^3.0.1",
33
33
  "typescript": "~4.1.5"
34
+ },
35
+ "gitHooks": {
36
+ "pre-commit": "lint-staged"
37
+ },
38
+ "lint-staged": {
39
+ "*.{css,scss,sass,vue}": [
40
+ "stylelint --fix",
41
+ "git add"
42
+ ],
43
+ "*.{js,jsx,vue,ts,tsx}": [
44
+ "vue-cli-service lint",
45
+ "git add"
46
+ ]
47
+ },
48
+ "scripts": {
49
+ "lint": "vue-cli-service lint"
34
50
  }
35
51
  }
@@ -33,7 +33,7 @@ export function useDialog (data?: object, immediate = true) {
33
33
  emit('after-confirm', returnValue)
34
34
 
35
35
  if (msg) {
36
- notify.success(msg)
36
+ notify.success(msg)
37
37
  }
38
38
  }
39
39
 
@@ -1,5 +1,6 @@
1
1
  import '../styles/main.scss'
2
- import '../styles/tailwind/index.css'
2
+ import 'windi.css'
3
+ // import '../styles/tailwind/index.css'
3
4
  import { App } from 'vue'
4
5
  import { Quasar, Notify, Dialog, Meta } from 'quasar'
5
6
  import { registerComponents } from '../plugins/library'