@instadapp/avocado-base 0.1.8 → 0.2.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.
@@ -0,0 +1,20 @@
1
+ // @ts-check
2
+ import antfu from '@antfu/eslint-config'
3
+ import withNuxt from './.nuxt/eslint.config.mjs'
4
+
5
+ export default withNuxt(
6
+ antfu({
7
+ yaml: false,
8
+ rules: {
9
+ 'style/max-statements-per-line': 'off',
10
+ 'max-statements-per-line': 'off',
11
+ '@stylistic/max-statements-per-line': 'off',
12
+ 'vue/return-in-computed-property': 'off',
13
+ 'no-console': 'off',
14
+ 'ts/ban-ts-comment': 'off',
15
+ 'vue/prop-name-casing': 'off',
16
+ 'node/prefer-global/process': 'off',
17
+ 'eqeqeq': 'off',
18
+ },
19
+ }),
20
+ )
package/nuxt.config.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  import ViteComponents from "unplugin-vue-components/vite";
3
3
 
4
4
  export default defineNuxtConfig({
5
- modules: ["@nuxtjs/tailwindcss", "nuxt-svgo", "@vueuse/nuxt"],
5
+ modules: ["@nuxtjs/tailwindcss", "nuxt-svgo", "@vueuse/nuxt", "@nuxt/eslint"],
6
6
  svgo: {
7
7
  defaultImport: "component",
8
8
  autoImportPath: "./assets/images/icons",
@@ -17,4 +17,9 @@ export default defineNuxtConfig({
17
17
  }),
18
18
  ],
19
19
  },
20
- });
20
+ eslint: {
21
+ config: {
22
+ standalone: false,
23
+ },
24
+ },
25
+ });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@instadapp/avocado-base",
3
- "version": "0.1.8",
4
3
  "type": "module",
4
+ "version": "0.2.0",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "global.d.ts",
7
7
  "engines": {
@@ -15,21 +15,23 @@
15
15
  "generate:contracts": "rimraf contracts && typechain --target=ethers-v5 'abi/*.json' --out-dir 'contracts'",
16
16
  "typecheck": "nuxi typecheck"
17
17
  },
18
+ "dependencies": {
19
+ "@antfu/eslint-config": "^2.21.1",
20
+ "@vueuse/nuxt": "^10.2.0",
21
+ "bignumber.js": "^9.1.1",
22
+ "ethers": "^5.7.2",
23
+ "viem": "^2.10.5",
24
+ "xxhashjs": "^0.2.2"
25
+ },
18
26
  "devDependencies": {
27
+ "@nuxt/eslint": "^0.3.13",
19
28
  "@nuxtjs/tailwindcss": "^6.11.3",
20
29
  "@typechain/ethers-v5": "^10.2.0",
21
- "nuxt": "^3.10.1",
30
+ "nuxt": "3.10.1",
22
31
  "nuxt-svgo": "^4.0.0",
23
32
  "rimraf": "^3.0.2",
24
33
  "typechain": "^8.1.1",
25
34
  "unplugin-vue-components": "^0.25.1",
26
35
  "vue-tippy": "^6.0.0"
27
- },
28
- "dependencies": {
29
- "@vueuse/nuxt": "^10.2.0",
30
- "bignumber.js": "^9.1.1",
31
- "ethers": "^5.7.2",
32
- "viem": "^2.10.5",
33
- "xxhashjs": "^0.2.2"
34
36
  }
35
37
  }