Skip to content

Commit

Permalink
bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Dec 23, 2023
1 parent 723c61f commit 5a1c1e7
Show file tree
Hide file tree
Showing 3 changed files with 788 additions and 260 deletions.
3 changes: 1 addition & 2 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @ts-ignore
import { convertPreset } from '@visbot/webvsc';
import { basename, extname } from 'node:path';
import { stat } from 'node:fs/promises';
Expand All @@ -16,7 +15,7 @@ export default function ViteAvsPlugin() {
const input = textEncoder.encode(code)
const ext = extname(id);
const name = basename(id, ext);
const date = ((await stat(id)).mtime || new Date()).toISOString();
const date = (await stat(id)).mtime || new Date();

const output = convertPreset(input, name, date);

Expand Down
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
"description": "A Vite plugin for your AVS presets",
"license": "MIT",
"author": "idleberg",
"repository": {
"repository": {
"type": "git",
"url": "https://github.com/visbot/vite-plugin-avs"
},
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"files": [
"dist",
"LICENCE",
"README.md"
],
"files": [
"dist",
"LICENCE",
"README.md"
],
"scripts": {
"build": "tsup index.ts --format esm --platform node --dts",
"dev": "npm run build -- --watch",
Expand All @@ -25,24 +25,24 @@
"test": "cd tests && vite build"
},
"keywords": [
"vite-plugin",
"avs",
"webvs",
"winamp"
],
"vite-plugin",
"avs",
"webvs",
"winamp"
],
"dependencies": {
"@visbot/webvsc": "3.0.0-alpha"
"@visbot/webvsc": "3.0.0-alpha.4"
},
"devDependencies": {
"@types/node": "^20.6.4",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.50.0",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"vite": "^4.4.9"
"lint-staged": "^15.2.0",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vite": "^4.5.1"
},
"lint-staged": {
"*.ts": "eslint --cache --fix"
Expand Down
Loading

0 comments on commit 5a1c1e7

Please sign in to comment.