@modelforms/fontawesome-vuetify 2.9.3 → 3.1.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/package.json CHANGED
@@ -1,56 +1,57 @@
1
- {
2
- "name": "@modelforms/fontawesome-vuetify",
3
- "version": "2.9.3",
4
- "main": "./components/index.d.ts",
5
- "type": "module",
6
- "exports": {
7
- ".": {
8
- "default": "./dist/index.cjs.ts",
9
- "types": "./dist/index.amd.ts"
10
- }
11
- },
12
- "module": "./components/index.d.ts",
13
- "types": "./components/index.d.ts",
14
- "license": "MIT",
15
- "private": false,
16
- "dependencies": {
17
- "@fortawesome/fontawesome-svg-core": "^7.1.0",
18
- "@fortawesome/free-brands-svg-icons": "^7.1.0",
19
- "@fortawesome/free-regular-svg-icons": "^7.1.0",
20
- "@fortawesome/free-solid-svg-icons": "^7.1.0",
21
- "@fortawesome/vue-fontawesome": "^3.1.2",
22
- "@vitejs/plugin-vue": "5.0.0",
23
- "@vue/cli-plugin-typescript": "^5.0.9",
24
- "@vue/cli-service": "^5.0.9",
25
- "init": "^0.1.2",
26
- "jest": "^30.2.0",
27
- "my-project": "^0.0.1",
28
- "tsconfig": "^7.0.0",
29
- "typescript": "^5.9.3",
30
- "vite": "5.4.2",
31
- "vite-plugin-vuetify": "^2.1.2",
32
- "vue": "^3.5.25",
33
- "vuetify": "^3.11.0",
34
- "webpack": "^5.103.0"
35
- },
36
- "keywords": [
37
- "vue",
38
- "vuetify",
39
- "fortawesome",
40
- "boilerPlate"
41
- ],
42
- "scripts": {
43
- "vite-build": "vite build",
44
- "cli-build": "vue-cli-service build",
45
- "type-check": "vue-tsc --build",
46
- "tsc": "tsc"
47
- },
48
- "publishConfig": {
49
- "registry": "https://registry.npmjs.org/"
50
- },
51
- "devDependencies": {
52
- "@types/node": "^24.10.1"
53
- },
54
- "author": "Ignjat Koicki",
55
- "description": ""
56
- }
1
+ {
2
+ "name": "@modelforms/fontawesome-vuetify",
3
+ "version": "3.1.0",
4
+ "main": "./components/index.ts",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": {
8
+ "default": "./dist/index.esm.ts",
9
+ "types": "./dist/index.amd.ts"
10
+ }
11
+ },
12
+ "module": "./components/index.ts",
13
+ "types": "./components/index.d.ts",
14
+ "license": "MIT",
15
+ "private": false,
16
+ "dependencies": {
17
+ "@fortawesome/fontawesome-svg-core": "^7.1.0",
18
+ "@fortawesome/free-brands-svg-icons": "^7.1.0",
19
+ "@fortawesome/free-regular-svg-icons": "^7.1.0",
20
+ "@fortawesome/free-solid-svg-icons": "^7.1.0",
21
+ "@fortawesome/vue-fontawesome": "^3.1.2",
22
+ "@vitejs/plugin-vue": "5.0.0",
23
+ "@vue/cli-plugin-typescript": "^5.0.9",
24
+ "@vue/cli-service": "^5.0.9",
25
+ "init": "^0.1.2",
26
+ "jest": "^30.2.0",
27
+ "my-project": "^0.0.1",
28
+ "tsconfig": "^7.0.0",
29
+ "typescript": "^5.9.3",
30
+ "vite": "5.4.2",
31
+ "vite-plugin-vuetify": "^2.1.2",
32
+ "vue": "^3.5.25",
33
+ "vuetify": "^3.11.0",
34
+ "webpack": "^5.103.0"
35
+ },
36
+ "keywords": [
37
+ "vue",
38
+ "vuetify",
39
+ "fortawesome",
40
+ "boilerPlate"
41
+ ],
42
+ "publishConfig": {
43
+ "registry": "https://registry.npmjs.org/"
44
+ },
45
+ "devDependencies": {
46
+ "@types/node": "^24.10.1",
47
+ "vue-loader": "^17.4.2"
48
+ },
49
+ "author": "Ignjat Koicki",
50
+ "description": "",
51
+ "scripts": {
52
+ "vite-build": "vite build",
53
+ "cli-build": "vue-cli-service build",
54
+ "type-check": "vue-tsc --build",
55
+ "tsc": "tsc"
56
+ }
57
+ }
package/tsconfig.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "include": [
3
+ "components/index.ts",
3
4
  "components/index.d.ts",
4
5
  "components/test/*.ts",
5
6
  "components/test/*.vue",
@@ -7,6 +8,10 @@
7
8
  ],
8
9
  // Visit https://aka.ms/tsconfig to read more about this file
9
10
  "compilerOptions": {
11
+ "baseUrl": ".",
12
+ "paths": {
13
+ "@/*": ["*"]
14
+ },
10
15
  // File Layout
11
16
  // "rootDir": "./src",
12
17
  "outDir": "./dist",
package/vite.config.js CHANGED
@@ -13,11 +13,14 @@ export default defineConfig({
13
13
  })
14
14
  ],
15
15
  build: {
16
+ resolve: {
17
+ alias: { '@': path.resolve(__dirname, '.') }
18
+ },
16
19
  transpile: ['vuetify'],
17
20
  lib: {
18
21
  entry: path.resolve(__dirname, 'components/index.d.ts'),
19
22
  name: '@modelforms/font-awesome-vuetify',
20
- formats: ['amd', 'cjs'],
23
+ formats: ['amd', 'esm'],
21
24
  fileName: (format) => `index.${format}.ts`
22
25
  },
23
26
  css: {
package/vue.config.js CHANGED
@@ -5,7 +5,7 @@ export default defineConfig({
5
5
  pages: {
6
6
  index: {
7
7
  // entry for the page
8
- entry: 'components/index.d.ts',
8
+ entry: 'components/index.ts',
9
9
  // the source template
10
10
  template: 'components/index.html',
11
11
  // output as dist/index.html