Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge master in to next branch #413

Open
wants to merge 82 commits into
base: next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
b83ac54
chore(release): 1.9.1
kevinmarrec Dec 5, 2019
b30f5db
fix(deps): bump vuetify version to latest and fix type path (#237)
ackushiw Jan 9, 2020
aa07eff
docs: add some small details about fonts (#234)
bengineer19 Jan 9, 2020
0bbdcca
chore(deps): update all non-major dependencies (#246)
renovate[bot] Jan 9, 2020
ae21251
chore(deps): update dependency sass to ^1.24.4 (#249)
renovate[bot] Jan 10, 2020
119b65b
chore(deps): update dependency sass-loader to ^8.0.1 (#250)
renovate[bot] Jan 10, 2020
003f372
chore: fix example (#230)
MrJmpl3 Jan 10, 2020
25d9813
feat: add preset support (#247)
aldarund Jan 10, 2020
f959f73
chore: use github actions
kevinmarrec Jan 10, 2020
9c0af60
chore(release): 1.10.0
kevinmarrec Jan 13, 2020
9c71899
chore(deps): update dependency sass-loader to ^8.0.2 (#253)
renovate[bot] Jan 13, 2020
7f37ef6
fix: update devDependencies & fix code
kevinmarrec Jan 13, 2020
a5ce68a
chore: fix fixture vuetify ooptions
kevinmarrec Jan 14, 2020
7ac63da
chore(deps): lock file maintenance
kevinmarrec Jan 14, 2020
cc034b6
chore(deps): update all non-major dependencies (#257)
renovate[bot] Jan 15, 2020
7b21bad
chore(deps): update devdependency @types/jest to ^24.9.0 (#258)
renovate[bot] Jan 15, 2020
6f7247d
chore(deps): update devdependency @nuxt/typescript-runtime to ^0.3.8 …
renovate[bot] Jan 15, 2020
a4cb9c1
chore(deps): pin husky due to issue
kevinmarrec Jan 15, 2020
f0a6ca4
chore(deps): lock file maintenance
kevinmarrec Jan 15, 2020
b8a720d
chore(release): 1.10.1
kevinmarrec Jan 15, 2020
a62c38c
chore(deps): unpin husky version
kevinmarrec Jan 17, 2020
bd7ce18
chore(deps): update all non-major dependencies (#261)
renovate[bot] Jan 17, 2020
ff947ee
chore(release): 1.10.2
kevinmarrec Jan 17, 2020
858c2cb
chore(deps): update devdependency ts-jest to v25 (#271)
renovate[bot] Jan 26, 2020
ff2c0f2
chore(deps): update devdependency jest to v25 (#270)
renovate[bot] Jan 26, 2020
cfd54d8
chore(deps): update all non-major dependencies (#264)
renovate[bot] Jan 26, 2020
2923943
fix: fix VuetifyLoaderOptions match type (#273)
nickmessing Jan 29, 2020
ee8055d
chore(deps): update devdependency @types/jest to v25 (#274)
renovate[bot] Jan 30, 2020
9429d2a
chore(deps): update all non-major dependencies (#272)
renovate[bot] Jan 30, 2020
2984c92
chore(deps): lock file maintenance (#266)
renovate[bot] Jan 30, 2020
1dffcbb
fix: use minimal vuetify import (#267)
KaelWD Jan 30, 2020
efbad03
chore(release): 1.10.3
kevinmarrec Jan 30, 2020
7b69763
chore(deps): update all non-major dependencies (#277)
renovate[bot] Feb 12, 2020
51f79bd
chore(deps): lock file maintenance (#279)
renovate[bot] Feb 12, 2020
20992e4
chore(deps): update all non-major dependencies (#285)
renovate[bot] Feb 17, 2020
3644437
feat: allow for list of custom fonts (#269)
StummeJ Feb 17, 2020
926729f
chore(deps): lock file maintenance (#286)
renovate[bot] Feb 17, 2020
ee39960
chore(deps): lock file maintenance
kevinmarrec Feb 17, 2020
681db4b
chore(release): 1.11.0
kevinmarrec Feb 17, 2020
57a0ceb
fix: check if preset is in presetsCDN (#291)
mseele Apr 26, 2020
8dece26
chore(deps): lock file maintenance (#289)
renovate[bot] Apr 26, 2020
df8b2ca
chore(deps): bump acorn from 6.4.0 to 6.4.1 (#301)
dependabot[bot] Apr 26, 2020
bba4c37
test: fix coverage
kevinmarrec Apr 26, 2020
b354f8d
chore(deps): upgrade dependencies
kevinmarrec Apr 26, 2020
d721f42
chore(deps): update all non-major dependencies
kevinmarrec Apr 26, 2020
e75a63b
chore(release): 1.11.1
kevinmarrec Apr 26, 2020
38e628b
chore(release): 1.11.2
kevinmarrec Apr 26, 2020
d651521
Migrate to Vuetify v2.3.0
benyou1969 Jun 12, 2020
a92eaf1
fix: sass-loader use additionalData vs prependData
micheldenegri Oct 12, 2020
a8ade81
Merge pull request #393 from micheldenegri/sass-loader
clarkdo Jan 17, 2021
d4e6687
Merge pull request #344 from benyou1969/VContentToVMain
clarkdo Jan 17, 2021
e587be0
docs: update tree-shake option (#398)
beijaflor Jan 17, 2021
7a02126
fix: remove fibers dependency to support node.js 14 on Windows (#390)
novobit-whellmann Jan 17, 2021
4d81691
chore(deps): update all non-major dependencies (#404)
renovate[bot] Jan 17, 2021
d3413a0
chore(deps): update devdependency standard-version to v9 (#405)
renovate[bot] Jan 17, 2021
9d9d6f1
chore(deps): use full version of vuetify
clarkdo Jan 17, 2021
73d3178
chore(release): 1.11.3
clarkdo Jan 17, 2021
4868782
fix: lock sass version to ~1.32.13 (#452)
KaelWD Jun 2, 2021
d75b2be
fix(types): use UserVuetifyPreset instead of VuetifyPreset (#419)
KaelWD Jun 13, 2021
350de6a
chore(deps): update all non-major dependencies (#415)
renovate[bot] Jun 13, 2021
16c2bca
feat: compatible with Nuxt 2.14 and typescript 4 (#395)
micheldenegri Jun 13, 2021
4dcfe49
chore: upgrade to jest 27
clarkdo Jun 13, 2021
b41ccbc
chore(deps): update devdependency @nuxtjs/eslint-config-typescript to…
renovate[bot] Jun 13, 2021
40ac611
chore(deps): update all non-major dependencies (#459)
renovate[bot] Jun 13, 2021
d376f57
chore(release): 1.12.0
clarkdo Jun 13, 2021
f7a65cf
fix: require [email protected]
clarkdo Jun 13, 2021
d75cc05
chore(release): 1.12.1
clarkdo Jun 13, 2021
4ff3605
chore(deps): update vuetify to v2.6 (#479)
Gu3 Nov 26, 2021
09409fa
chore(deps): update commitlint monorepo to v15 (major) (#423)
renovate[bot] Nov 28, 2021
baeced6
chore(deps): update dependency sass-loader to v12 (#453)
renovate[bot] Nov 28, 2021
9309e8a
chore(deps): update all non-major dependencies (#460)
renovate[bot] Nov 28, 2021
5c16e2a
chore(deps): update devdependency @types/jest to v27 (#481)
renovate[bot] Nov 28, 2021
cf49512
chore(deps): update devdependency husky to v7 (#465)
renovate[bot] Nov 28, 2021
96b1683
chore(deps): update devdependency eslint to v8 (#472)
renovate[bot] Nov 28, 2021
8f6c087
chore(deps): update devdependency husky to ^7.0.4 (#482)
renovate[bot] Nov 28, 2021
458d56a
chore(deps): lock file maintenance (#461)
renovate[bot] Nov 28, 2021
7e41d96
chore(release): 1.12.2
clarkdo Nov 28, 2021
50dd7d4
fix(deps): revert to sass-loader v10 (#487)
clarkdo Dec 12, 2021
8b52b93
chore(release): 1.12.3
clarkdo Dec 12, 2021
90edfda
doc: clarify Nuxt 2
harlan-zw Sep 11, 2023
2be84d3
doc: add Nuxt 3 alternative
harlan-zw Sep 11, 2023
dfd4ffb
doc: add userquin vuetify nuxt module
harlan-zw Sep 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions .circleci/config.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- uses: actions/cache@v1
id: cache
with:
path: "node_modules"
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn

- name: Run tests
run: yarn test

- name: Coverage
run: yarn codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no -- commitlint --edit ""
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint
6 changes: 0 additions & 6 deletions .huskyrc.js

This file was deleted.

84 changes: 84 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,90 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.12.3](https://github.com/nuxt-community/vuetify-module/compare/v1.12.2...v1.12.3) (2021-12-12)


### Bug Fixes

* **deps:** revert to sass-loader v10 ([#487](https://github.com/nuxt-community/vuetify-module/issues/487)) ([50dd7d4](https://github.com/nuxt-community/vuetify-module/commit/50dd7d40299aac7d04d1e951fe8bf9b77163e72f))

### [1.12.2](https://github.com/nuxt-community/vuetify-module/compare/v1.12.1...v1.12.2) (2021-11-28)

### [1.12.1](https://github.com/nuxt-community/vuetify-module/compare/v1.12.0...v1.12.1) (2021-06-13)


### Bug Fixes

* require [email protected] ([f7a65cf](https://github.com/nuxt-community/vuetify-module/commit/f7a65cf41e5f8b39469db0411f398a93a5865e31))

## [1.12.0](https://github.com/nuxt-community/vuetify-module/compare/v1.11.3...v1.12.0) (2021-06-13)


### Features

* compatible with Nuxt 2.14 and typescript 4 ([#395](https://github.com/nuxt-community/vuetify-module/issues/395)) ([16c2bca](https://github.com/nuxt-community/vuetify-module/commit/16c2bca8e6e293ada9ea4f00d4a2e767d5be5671))


### Bug Fixes

* **types:** use UserVuetifyPreset instead of VuetifyPreset ([#419](https://github.com/nuxt-community/vuetify-module/issues/419)) ([d75b2be](https://github.com/nuxt-community/vuetify-module/commit/d75b2bea1bf68a66f2f77e97dd88d5f0e01d4ad2))
* lock sass version to ~1.32.13 ([#452](https://github.com/nuxt-community/vuetify-module/issues/452)) ([4868782](https://github.com/nuxt-community/vuetify-module/commit/48687822d21bf87b375c934634f0ac02a05f47a8)), closes [#446](https://github.com/nuxt-community/vuetify-module/issues/446)

### [1.11.3](https://github.com/nuxt-community/vuetify-module/compare/v1.11.2...v1.11.3) (2021-01-17)


### Bug Fixes

* remove fibers dependency to support node.js 14 on Windows ([#390](https://github.com/nuxt-community/vuetify-module/issues/390)) ([7a02126](https://github.com/nuxt-community/vuetify-module/commit/7a021268b3901a9716a0f82d20ff034c454d9a95))
* sass-loader use additionalData vs prependData ([a92eaf1](https://github.com/nuxt-community/vuetify-module/commit/a92eaf175d626be20b68327b9b2be3d188ba59dd))

### [1.11.2](https://github.com/nuxt-community/vuetify-module/compare/v1.11.1...v1.11.2) (2020-04-26)

### [1.11.1](https://github.com/nuxt-community/vuetify-module/compare/v1.11.0...v1.11.1) (2020-04-26)


### Bug Fixes

* check if preset is in presetsCDN ([#291](https://github.com/nuxt-community/vuetify-module/issues/291)) ([57a0ceb](https://github.com/nuxt-community/vuetify-module/commit/57a0ceb74551c20ca9fccf53b5083ad805e500a8))

## [1.11.0](https://github.com/nuxt-community/vuetify-module/compare/v1.10.3...v1.11.0) (2020-02-17)


### Features

* allow for list of custom fonts ([#269](https://github.com/nuxt-community/vuetify-module/issues/269)) ([3644437](https://github.com/nuxt-community/vuetify-module/commit/3644437cb01630b43aaa1898bfa352469b8faa91))

### [1.10.3](https://github.com/nuxt-community/vuetify-module/compare/v1.10.2...v1.10.3) (2020-01-30)


### Bug Fixes

* fix VuetifyLoaderOptions match type ([#273](https://github.com/nuxt-community/vuetify-module/issues/273)) ([2923943](https://github.com/nuxt-community/vuetify-module/commit/2923943a05b3940b31277ab64234535eda4c3ceb))
* use minimal vuetify import ([#267](https://github.com/nuxt-community/vuetify-module/issues/267)) ([1dffcbb](https://github.com/nuxt-community/vuetify-module/commit/1dffcbbd4fcce8bae3f9b03d6b83cf0434588790))

### [1.10.2](https://github.com/nuxt-community/vuetify-module/compare/v1.10.1...v1.10.2) (2020-01-17)

### [1.10.1](https://github.com/nuxt-community/vuetify-module/compare/v1.10.0...v1.10.1) (2020-01-15)


### Bug Fixes

* update devDependencies & fix code ([7f37ef6](https://github.com/nuxt-community/vuetify-module/commit/7f37ef64f9fc7d23fcb3a84a9ba7cfe963f3f3ca)), closes [#251](https://github.com/nuxt-community/vuetify-module/issues/251)

## [1.10.0](https://github.com/nuxt-community/vuetify-module/compare/v1.9.1...v1.10.0) (2020-01-13)


### Features

* add preset support ([#247](https://github.com/nuxt-community/vuetify-module/issues/247)) ([25d9813](https://github.com/nuxt-community/vuetify-module/commit/25d98137ded1296d1ddab9a7c4854102021bce66))


### Bug Fixes

* **deps:** bump vuetify version to latest and fix type path ([#237](https://github.com/nuxt-community/vuetify-module/issues/237)) ([b30f5db](https://github.com/nuxt-community/vuetify-module/commit/b30f5db447e74fed1871d59584eb98bbc15dceb6))

### [1.9.1](https://github.com/nuxt-community/vuetify-module/compare/v1.9.0...v1.9.1) (2019-12-05)

## [1.9.0](https://github.com/nuxt-community/vuetify-module/compare/v1.8.6...v1.9.0) (2019-10-02)

### Notes
Expand Down
27 changes: 22 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
<a href="https://www.npmjs.com/package/@nuxtjs/vuetify"><img src="https://img.shields.io/npm/l/@nuxtjs/vuetify.svg?style=flat-square" alt="License"></a>
</p>

> [Vuetify 2](https://vuetifyjs.com) module for [Nuxt.js](https://nuxtjs.org)
> [Vuetify 2](https://vuetifyjs.com) module for [Nuxt 2](https://nuxt.com)

## Nuxt 3

Looking for a Nuxt 3 solution? Try out:
- [userquin/vuetify-nuxt-module](https://github.com/userquin/vuetify-nuxt-module)
- [nuxt-alt/vuetify](https://github.com/nuxt-alt/vuetify)

## Infos

Expand Down Expand Up @@ -75,8 +81,9 @@ Usage example :
$btn-border-radius: 0px;

// If you need to extend Vuetify SASS lists
$material-light: ( cards: blue );

@import '~vuetify/src/styles/styles.sass';
$material-light: map-merge($material-light, ( cards: blue ));
```

```js
Expand Down Expand Up @@ -129,7 +136,8 @@ Here are the accepted values for this option :

Please refer to [Vuetify Icons documentation](https://vuetifyjs.com/en/customization/icons) for more information about icons, notably for using only bunch of SVG icons instead of including all icons in your app.

You can also set the whole `defaultAssets` option to `false` to prevent any automatic add of these two assets.
You can also set the whole `defaultAssets` option to `false` to prevent any automatic add of these two assets.
You can read more about adding your own assets in the [Offline applications](https://github.com/nuxt-community/vuetify-module#offline-applications) section.

### `optionsPath`

Expand Down Expand Up @@ -187,12 +195,21 @@ export default function ({ app }) {

### `treeShake`

- Type: `Boolean`
- Type: `Object` or `Boolean`
- Default: `process.env.NODE_ENV === 'production'`

Uses [vuetify-loader](https://github.com/vuetifyjs/vuetify-loader) to enable automatic [tree-shaking](https://vuetifyjs.com/en/customization/a-la-carte).
Enabled only for production by default.

You can set object as a set of options to [manually import](https://vuetifyjs.com/en/features/treeshaking/#manually-importing) Vuetify modules globally:

| Key | Type | Value |
| --- | --- | --- |
| components | string[] | array of name of Vuetify components to import globally |
| directives | string[] | array of name of Vuetify directives to import globally |
| loaderOptions | function | loader option which applies to VuetifyLoaderPlugin |
| transitions | string[] | array of name of [Vuetify transitions](https://vuetifyjs.com/en/styles/transitions/) to import globally |

## TypeScript

If you're using TypeScript, you'll need to add `@nuxtjs/vuetify` in your `compilerOptions` of your `tsconfig.json` :
Expand All @@ -217,7 +234,7 @@ If you're building an application that will need to work offline (more likely a

It means you must set [`defaultAssets`](#defaultAssets) option to `false`.

For fonts, you may leverage CSS [**@font-face**](https://www.w3schools.com/cssref/css3_pr_font-face_rule.asp) rule with local path of your fonts.
For fonts, you may leverage CSS [**@font-face**](https://www.w3schools.com/cssref/css3_pr_font-face_rule.asp) rule with local path of your fonts. You may find the [google webfonts helper](https://google-webfonts-helper.herokuapp.com/fonts/roboto?subsets=latin) site useful for generating **@font-face** rules and sourcing replacement files for the default CDNs.

For icons, you can either use the same way than above, or leverage tree-shaken SVG libraries like [**Material Design Icons SVG**](https://github.com/Templarian/MaterialDesign-JS) or [**Font Awesome 5 SVG**](https://fontawesome.com/how-to-use/on-the-web/advanced/svg-javascript-core).

Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
},
globals: {
'ts-jest': {
tsConfig: 'tsconfig.test.json',
tsconfig: 'tsconfig.test.json',
diagnostics: {
ignoreCodes: [2345]
}
Expand Down
45 changes: 23 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nuxtjs/vuetify",
"version": "1.9.0",
"version": "1.12.3",
"description": "Vuetify Module for Nuxt.js",
"license": "MIT",
"contributors": [
Expand All @@ -22,36 +22,37 @@
"build": "tsc",
"lint": "eslint --ext .ts,.js,.vue .",
"test": "yarn lint && jest",
"release": "yarn test && yarn build && standard-version && git push --follow-tags && npm publish"
"release": "yarn test && yarn build && standard-version && git push --follow-tags && npm publish",
"prepare": "husky install"
},
"files": [
"dist",
"templates"
],
"dependencies": {
"deepmerge": "^4.2.2",
"fibers": "^4.0.2",
"sass": "^1.23.7",
"sass-loader": "^8.0.0",
"vuetify": "^2.1.13",
"vuetify-loader": "^1.4.3"
"sass": "~1.32.13",
"sass-loader": "^10.2.0",
"vuetify": "^2.6",
"vuetify-loader": "^1.7.3"
},
"devDependencies": {
"@commitlint/cli": "latest",
"@commitlint/config-conventional": "latest",
"@nuxt/typescript-build": "latest",
"@nuxt/typescript-runtime": "latest",
"@nuxtjs/eslint-config-typescript": "latest",
"@types/jest": "latest",
"@types/sass": "latest",
"codecov": "latest",
"eslint": "latest",
"husky": "latest",
"jest": "latest",
"nuxt-edge": "latest",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@nuxt/types": "^2.15.8",
"@nuxt/typescript-build": "^2.1.0",
"@nuxt/typescript-runtime": "^2.1.0",
"@nuxtjs/eslint-config-typescript": "^7.0.2",
"@types/jest": "^27.0.3",
"@types/sass": "^1.43.1",
"codecov": "^3.8.2",
"eslint": "^8.3.0",
"husky": "^7.0.4",
"jest": "^27.3.1",
"nuxt": "^2.15.8",
"nuxt-webfontloader": "^1.1.0",
"standard-version": "latest",
"ts-jest": "latest",
"typescript": "~3.6"
"standard-version": "^9.3.2",
"ts-jest": "^27.0.7",
"typescript": "~4.0"
}
}
1 change: 1 addition & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"dependencies"
],
"ignoreDeps": [
"sass",
"typescript"
]
}
Loading