Skip to content

Commit

Permalink
chore: update deps and node version
Browse files Browse the repository at this point in the history
# Conflicts:
#	scripts/bin/sync_open.js
  • Loading branch information
taye authored and CI committed Dec 10, 2023
1 parent 97fe8d6 commit 8240375
Show file tree
Hide file tree
Showing 10 changed files with 512 additions and 563 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.15.1
v20.10.0
3 changes: 3 additions & 0 deletions babel.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [['@babel/preset-env', { targets: { node: 'current' } }], '@babel/preset-typescript'],
}
3 changes: 1 addition & 2 deletions esnext.rollup.config.cjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
/* eslint-disable import/no-extraneous-dependencies */
const { resolve, basename, dirname, relative, extname } = require('path')
const { promisify } = require('util')

const { transformAsync } = require('@babel/core')
const babel = require('@rollup/plugin-babel')
const commonjs = require('@rollup/plugin-commonjs')
const nodeResolve = require('@rollup/plugin-node-resolve')
const replace = require('@rollup/plugin-replace')
const terser = require('@rollup/plugin-terser')
const { glob } = require('glob')
const { defineConfig } = require('rollup')
const glob = promisify(require('glob'))

const headers = require('./scripts/headers')
const {
Expand Down
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bin": "./bin"
},
"scripts": {
"bootstrap": "yarn install --pure-lockfile --prefer-offline --silent && bin/_link",
"bootstrap": "yarn install --pure-lockfile --prefer-offline --silent && sh bin/_link",
"start": "_add_plugin_indexes && vite serve",
"build": "yarn build:docs && yarn build:bundle && _add_plugin_indexes && yarn build:types && yarn build:esnext",
"build:docs": "yarn typedoc",
Expand Down Expand Up @@ -39,21 +39,21 @@
"@testing-library/user-event": "^14.5.1",
"@types/jest": "27",
"@types/node": "^17.0.42",
"@types/react": "^18.0.12",
"@types/react": "^18.2.43",
"@types/shelljs": "^0.8.11",
"@types/symbol-tree": "^3.2.3",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"@vitejs/plugin-vue": "^2.3.3",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@vitejs/plugin-vue": "^4.5.2",
"@vue/babel-plugin-jsx": "^1.1.5",
"@vue/compiler-sfc": "^3.3.8",
"@vue/reactivity": "^3.3.8",
"@vue/runtime-dom": "^3.3.8",
"@vue/compiler-sfc": "^3.3.11",
"@vue/reactivity": "^3.3.11",
"@vue/runtime-dom": "^3.3.11",
"@vue/test-utils": "^2.4.2",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-plugin-syntax-jsx": "^6.18.0",
"bulma": "^0.9.4",
"del": "^6.1.1",
"del": "^7.1.0",
"eslint": "^8.17.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.0.0",
Expand All @@ -67,38 +67,38 @@
"eslint-plugin-require-path-exists": "^1.1.9",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-plugin-vue": "^9.1.1",
"fs-extra": "^10.1.0",
"glob": "^8.0.3",
"fs-extra": "^11.2.0",
"glob": "^10.3.10",
"hash-sum": "^2.0.0",
"husky": "8.0.1",
"husky": "8.0.3",
"jest": "27",
"lint-staged": "^13.0.1",
"mkdirp": "^1.0.4",
"lint-staged": "^15.2.0",
"mkdirp": "^3.0.1",
"path-browserify": "^1.0.1",
"prettier": "^3.1.0",
"prettier": "^3.1.1",
"promise-polyfill": "^8.2.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"rebound": "^0.1.0",
"resolve": "^1.22.0",
"rollup": "3",
"rollup": "4.7.0",
"semver": "^7.3.7",
"serve-index": "^1.9.1",
"shelljs": "^0.8.5",
"stylelint": "^15.11.0",
"stylelint": "^16.0.1",
"stylelint-config-css-modules": "^4.2.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recess-order": "^4.2.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard": "^35.0.0",
"symbol-tree": "^3.2.4",
"temp": "^0.9.4",
"ts-node": "^10.9.1",
"ts-node": "^10.9.2",
"typedoc": "^0.25.4",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.3.2",
"typescript": "^5.3.3",
"vijest": "^0.0.2",
"vite": "^4.1.4",
"vue": "^3.3.8",
"vite": "^5.0.7",
"vue": "^3.3.11",
"yargs": "^17.5.1"
},
"resolutions": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@interactjs/types/types.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import path from 'path'

import * as execTypes from '@interactjs/_dev/scripts/execTypes'
import mkdirp from 'mkdirp'
import { mkdirp } from 'mkdirp'
import * as shell from 'shelljs'
import temp from 'temp'

Expand Down
2 changes: 1 addition & 1 deletion scripts/addPluginIndexes.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require('fs').promises
const path = require('path')

const mkdirp = require('mkdirp')
const { mkdirp } = require('mkdirp')

module.exports = (plugins) => {
return Promise.all(
Expand Down
3 changes: 1 addition & 2 deletions scripts/bin/lint.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const { existsSync, promises: fs } = require('fs')

const { ESLint } = require('eslint')
const { glob } = require('glob')
const prettier = require('prettier')
const yargs = require('yargs')

Expand Down Expand Up @@ -52,8 +53,6 @@ async function formatWithPrettier(filepath) {
}

async function getSources() {
const glob = require('util').promisify(require('glob'))

const sources = await glob(lintSourcesGlob, {
ignore: lintIgnoreGlobs,
silent: true,
Expand Down
2 changes: 1 addition & 1 deletion scripts/bin/version.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require('fs')
const path = require('path')

const glob = require('glob')
const { glob } = require('glob')
const semver = require('semver')

const getVersion = require('../getVersion')
Expand Down
3 changes: 1 addition & 2 deletions scripts/utils.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
const fs = require('fs')
const path = require('path')
const { promisify } = require('util')

const glob = promisify(require('glob'))
const { glob } = require('glob')
const resolveSync = require('resolve').sync

const sourcesGlob = 'packages/{,@}interactjs/**/**/*{.ts,.tsx,.vue}'
Expand Down
Loading

0 comments on commit 8240375

Please sign in to comment.