@hypernym/nuxt-gsap
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -1,8 +0,3 @@ | ||
import * as _nuxt_schema from '@nuxt/schema'; | ||
import { NuxtModule } from '@nuxt/schema'; | ||
/** | ||
* Extra Plugins | ||
* | ||
* @since 2.0.0 | ||
*/ | ||
interface ExtraPlugins { | ||
@@ -20,7 +15,2 @@ flip?: boolean; | ||
/** | ||
* Extra Eases | ||
* | ||
* @since 2.0.0 | ||
*/ | ||
interface ExtraEases { | ||
@@ -33,7 +23,2 @@ expoScale?: boolean; | ||
/** | ||
* Club Plugins | ||
* | ||
* @since 2.0.0 | ||
*/ | ||
interface ClubPlugins { | ||
@@ -54,7 +39,2 @@ drawSvg?: boolean; | ||
/** | ||
* Module Options | ||
* | ||
* @since 2.0.0 | ||
*/ | ||
interface ModuleOptions { | ||
@@ -160,27 +140,4 @@ /** | ||
} | ||
declare module '@nuxt/schema' { | ||
interface NuxtConfig { | ||
/** | ||
* Nuxt Gsap Module | ||
* | ||
* GSAP module for Nuxt. | ||
* | ||
* @see [Repository](https://github.com/hypernym-studio/nuxt-gsap) | ||
*/ | ||
gsap?: ModuleOptions; | ||
} | ||
interface NuxtOptions { | ||
/** | ||
* Nuxt Gsap Module | ||
* | ||
* GSAP module for Nuxt. | ||
* | ||
* @see [Repository](https://github.com/hypernym-studio/nuxt-gsap) | ||
*/ | ||
gsap?: ModuleOptions; | ||
} | ||
} | ||
declare const module: NuxtModule<ModuleOptions>; | ||
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>; | ||
export { ClubPlugins, ExtraEases, ExtraPlugins, ModuleOptions, _default as default }; | ||
export { type ModuleOptions, module as default }; |
{ | ||
"name": "@hypernym/nuxt-gsap", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"configKey": "gsap", | ||
@@ -5,0 +5,0 @@ "compatibility": { |
@@ -1,9 +0,25 @@ | ||
import { ModuleOptions } from './module' | ||
declare module '@nuxt/schema' { | ||
interface NuxtConfig { ['gsap']?: Partial<ModuleOptions> } | ||
interface NuxtOptions { ['gsap']?: ModuleOptions } | ||
interface NuxtConfig { | ||
/** | ||
* Nuxt Gsap Module | ||
* | ||
* GSAP module for Nuxt. | ||
* | ||
* @see [Repository](https://github.com/hypernym-studio/nuxt-gsap) | ||
*/ | ||
['gsap']?: Partial<ModuleOptions> | ||
} | ||
interface NuxtOptions { | ||
/** | ||
* Nuxt Gsap Module | ||
* | ||
* GSAP module for Nuxt. | ||
* | ||
* @see [Repository](https://github.com/hypernym-studio/nuxt-gsap) | ||
*/ | ||
['gsap']?: ModuleOptions | ||
} | ||
} | ||
declare module 'nuxt/schema' { | ||
@@ -14,3 +30,2 @@ interface NuxtConfig { ['gsap']?: Partial<ModuleOptions> } | ||
export { ClubPlugins, ExtraEases, ExtraPlugins, ModuleOptions, default } from './module' | ||
export { ModuleOptions, default } from './module' |
MIT License | ||
Copyright (c) Ivo Dolenc, Hypernym Studio | ||
Copyright (c) 2023 Ivo Dolenc, Hypernym Studio | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "@hypernym/nuxt-gsap", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"author": "Hypernym Studio", | ||
@@ -9,5 +9,4 @@ "description": "GSAP module for Nuxt.", | ||
"homepage": "https://github.com/hypernym-studio/nuxt-gsap", | ||
"configKey": "gsap", | ||
"funding": "https://github.com/sponsors/ivodolenc", | ||
"type": "module", | ||
"main": "./dist/module.mjs", | ||
"types": "./dist/types.d.ts", | ||
@@ -21,4 +20,3 @@ "exports": { | ||
"files": [ | ||
"dist", | ||
"!dist/module.cjs" | ||
"dist" | ||
], | ||
@@ -37,32 +35,25 @@ "keywords": [ | ||
"dev": "nuxt dev playground", | ||
"build:module": "nuxt-module-build", | ||
"build": "rolli", | ||
"build:play": "nuxt build playground", | ||
"generate:play": "nuxt generate playground", | ||
"preview:play": "nuxt preview playground", | ||
"prepublishOnly": "npm run build:module", | ||
"format": "prettier --write .", | ||
"lint": "eslint .", | ||
"fix": "eslint --fix ." | ||
"bump": "bummp", | ||
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c .config/eslint.config.js .", | ||
"lint:fix": "ESLINT_USE_FLAT_CONFIG=true eslint -c .config/eslint.config.js --fix .", | ||
"format": "prettier --config .config/prettier.config.js --write .", | ||
"prepublishOnly": "npm run build" | ||
}, | ||
"dependencies": { | ||
"gsap": "^3.11.5" | ||
"gsap": "^3.12.2" | ||
}, | ||
"devDependencies": { | ||
"@nuxt/module-builder": "^0.3.1", | ||
"@types/node": "^20.2.0", | ||
"@typescript-eslint/eslint-plugin": "^5.59.6", | ||
"@typescript-eslint/parser": "^5.59.6", | ||
"eslint": "^8.40.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"nuxt": "^3.5.0", | ||
"prettier": "^2.8.8", | ||
"typescript": "^5.0.4" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"eslintConfig": { | ||
"extends": "./.config/eslint.config.cjs" | ||
}, | ||
"prettier": "./.config/prettier.config.cjs" | ||
"@types/node": "^20.6.0", | ||
"bummp": "^0.2.0", | ||
"configshare": "^0.1.5", | ||
"eslint": "^8.49.0", | ||
"nuxt": "^3.7.1", | ||
"prettier": "^3.0.3", | ||
"rolli": "^0.6.0", | ||
"typescript": "^5.1.6" | ||
} | ||
} |
@@ -425,3 +425,3 @@ # Nuxt Gsap Module | ||
opacity: 0, | ||
duration: 2 | ||
duration: 2, | ||
}, | ||
@@ -434,10 +434,10 @@ // eslint-disable-next-line | ||
opacity: config.opacity, | ||
duration: config.duration | ||
duration: config.duration, | ||
}) | ||
} | ||
}, | ||
}, | ||
{ | ||
name: 'slideIn' | ||
name: 'slideIn', | ||
// ... | ||
} | ||
}, | ||
] | ||
@@ -474,10 +474,10 @@ } | ||
name: 'customEase', | ||
ease: progress => { | ||
ease: (progress) => { | ||
return progress // linear | ||
} | ||
}, | ||
}, | ||
{ | ||
name: 'customEase2' | ||
name: 'customEase2', | ||
// ... | ||
} | ||
}, | ||
] | ||
@@ -484,0 +484,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8
21404
328
Updatedgsap@^3.12.2