@modeltables/fontawesome-vuetify 1.0.4 → 1.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,6 +1,7 @@
1
1
  {
2
2
  "name": "@modeltables/fontawesome-vuetify",
3
- "version": "1.0.4",
3
+ "version": "1.1.0",
4
+ "description": "",
4
5
  "main": "./components/index.d.ts",
5
6
  "type": "module",
6
7
  "exports": {
@@ -9,30 +10,6 @@
9
10
  "types": "./dist/index.amd.ts"
10
11
  }
11
12
  },
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
- "@modeltables/fontawesome-vuetify": "1.0.0",
23
- "@vitejs/plugin-vue": "5.0.0",
24
- "@vue/cli-plugin-typescript": "^5.0.9",
25
- "@vue/cli-service": "^5.0.9",
26
- "init": "^0.1.2",
27
- "jest": "^30.2.0",
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
13
  "keywords": [
37
14
  "vue",
38
15
  "vuetify",
@@ -49,8 +26,28 @@
49
26
  "registry": "https://registry.npmjs.org/"
50
27
  },
51
28
  "devDependencies": {
52
- "@types/node": "^24.10.1"
29
+ "@types/node": "^24.10.1",
30
+ "@vue/cli-plugin-typescript": "^5.0.9",
31
+ "ts-loader": "^9.4.4",
32
+ "vue-tsc": "^1.5.0"
53
33
  },
54
34
  "author": "Ignjat Koicki",
55
- "description": ""
35
+ "license": "ISC",
36
+ "packageManager": "pnpm@10.25.0",
37
+ "dependencies": {
38
+ "@fortawesome/fontawesome-svg-core": "^7.1.0",
39
+ "@fortawesome/free-regular-svg-icons": "^7.1.0",
40
+ "@fortawesome/free-solid-svg-icons": "^7.1.0",
41
+ "@fortawesome/vue-fontawesome": "^3.1.2",
42
+ "@vitejs/plugin-vue": "5.0.0",
43
+ "@vue/cli-service": "^5.0.9",
44
+ "tsconfig": "^7.0.0",
45
+ "typescript": "^5.9.3",
46
+ "vite": "5.4.2",
47
+ "vite-plugin-vue-devtools": "^8.0.5",
48
+ "vite-plugin-vuetify": "2.1.2",
49
+ "vue": "^3.5.26",
50
+ "vuetify": "^3.11.5",
51
+ "webpack": "^5.104.1"
52
+ }
56
53
  }
package/tsconfig.json CHANGED
@@ -1,8 +1,6 @@
1
1
  {
2
2
  "include": [
3
- "components/index.d.ts",
4
- "components/test/*.ts",
5
- "components/test/*.vue",
3
+ "./components/index.d.ts",
6
4
  "types"
7
5
  ],
8
6
  // Visit https://aka.ms/tsconfig to read more about this file
@@ -10,13 +8,12 @@
10
8
  // File Layout
11
9
  // "rootDir": "./src",
12
10
  "outDir": "./dist",
13
- "module": "preserve",
14
- "moduleResolution": "bundler",
15
-
16
11
 
17
12
  // Environment Settings
18
13
  // See also https://aka.ms/tsconfig/module
19
- "target": "es2020",
14
+ "module": "preserve",
15
+ "moduleResolution": "bundler",
16
+ "target": "esnext",
20
17
  "types": [],
21
18
  // For nodejs:
22
19
  // "lib": ["esnext"],
package/vite.config.js CHANGED
@@ -2,10 +2,12 @@ import path from 'path'
2
2
  import { defineConfig } from 'vite'
3
3
  import vue from '@vitejs/plugin-vue'
4
4
  import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify';
5
+ import vueDevTools from 'vite-plugin-vue-devtools';
5
6
 
6
7
  export default defineConfig({
7
8
  plugins: [
8
9
  vue(),
10
+ vueDevTools(),
9
11
  vuetify({
10
12
  autoImport: {
11
13
  labs: true
@@ -16,8 +18,8 @@ export default defineConfig({
16
18
  transpile: ['vuetify'],
17
19
  lib: {
18
20
  entry: path.resolve(__dirname, 'components/index.d.ts'),
19
- name: '@modeltables/fontawesome-vuetify',
20
- formats: ['amd', 'cjs'],
21
+ name: '@modeltables/font-awesome-vuetify',
22
+ formats: ['amd', 'esm'],
21
23
  fileName: (format) => `index.${format}.ts`
22
24
  },
23
25
  css: {
package/vue.config.js ADDED
@@ -0,0 +1,53 @@
1
+ import { defineConfig } from "@vue/cli-service";
2
+
3
+ export default defineConfig({
4
+ pages: {
5
+ index: {
6
+ // entry for the page (must be a JS/TS entry, not a .d.ts file)
7
+ entry: 'components/index.js',
8
+ // the source template
9
+ template: 'components/index.html',
10
+ // output as dist/index.html
11
+ filename: './styles/index.html',
12
+ // when using title option,
13
+ // template title tag needs to be <title><%= htmlWebpackPlugin.options.title %></title>
14
+ title: 'Index Page',
15
+ // chunks to include on this page, by default includes
16
+ // extracted common chunks and vendor chunks.
17
+ chunks: ['index', 'chunk-common', 'index.d']
18
+ },
19
+ // when using the entry-only string format,
20
+ // template is inferred to be `public/subpage.html`
21
+ // and falls back to `public/index.html` if not found.
22
+ // Output filename is inferred to be `subpage.html`.
23
+ //subpage: 'src/subpage/main.js'
24
+ },
25
+ transpileDependencies: true,
26
+ chainWebpack : (config) => {
27
+ console.warn(config);
28
+ config.output.filename('./js/[name].js');
29
+ },
30
+ configureWebpack: {
31
+ resolve: {
32
+ extensions: ['.ts', '.tsx', '.js', '.vue', '.json']
33
+ },
34
+ output: {
35
+ filename: './js/[name].d.js',
36
+ chunkFilename: './js/[name].d.js',
37
+ library: 'MyLib',
38
+ umdNamedDefine: true,
39
+ },
40
+ externals: {
41
+ vue: 'Vue'
42
+ },
43
+ },
44
+ css: {
45
+ extract: {
46
+ filename: './styles/[name].css',
47
+ chunkFilename: './styles/[name].css',
48
+ }
49
+ },
50
+ // testMatch: [
51
+ // 'src/test/form.test.ts'
52
+ // ],
53
+ });