Switch compat-test scripts to typescript

This commit is contained in:
Aria Minaei 2023-08-06 09:53:32 +02:00
parent 3b93430fd7
commit d228b7635c
11 changed files with 326 additions and 202 deletions

View file

@ -1,5 +1,5 @@
import path from 'path' import * as path from 'path'
import fs from 'fs' import * as fs from 'fs'
describe(`Compat tests`, () => { describe(`Compat tests`, () => {
test(`all fixtures should have an App/ directory identical to that of vite4's`, async () => { test(`all fixtures should have an App/ directory identical to that of vite4's`, async () => {

View file

@ -1,20 +1,21 @@
{ {
"name": "@theatre/compat-tests", "name": "@theatre/compat-tests",
"private": true, "private": true,
"type": "module",
"scripts": { "scripts": {
"install-fixtures": "zx ./scripts/install-fixtures.mjs", "install-fixtures": "node -r esbuild-register ./scripts/install-fixtures.ts",
"clean": "zx ./scripts/clean.mjs" "clean": "node -r esbuild-register ./scripts/clean.ts"
}, },
"dependencies": { "dependencies": {
"@cspotcode/zx": "^6.1.2", "@cspotcode/zx": "^6.1.2",
"@verdaccio/types": "^10.8.0",
"esbuild": "^0.18.18",
"esbuild-register": "^3.4.2",
"node-cleanup": "^2.1.2", "node-cleanup": "^2.1.2",
"playwright": "^1.29.1", "playwright": "^1.29.1",
"prettier": "^2.6.2", "prettier": "^2.6.2",
"verdaccio": "^5.26.1", "verdaccio": "^5.26.1",
"verdaccio-auth-memory": "^10.2.2", "verdaccio-auth-memory": "^10.2.2",
"verdaccio-memory": "^10.3.2", "verdaccio-memory": "^10.3.2"
"zx": "^7.1.1"
}, },
"version": "0.0.1-COMPAT.1" "version": "0.0.1-COMPAT.1"
} }

View file

@ -1,5 +0,0 @@
import {installTests} from './scripts.mjs'
;(async function runCI() {
await installTests()
process.exit(0)
})()

View file

@ -1,3 +0,0 @@
import {clean} from './scripts.mjs'
await clean()

View file

@ -0,0 +1,3 @@
import {clean} from './scripts'
clean()

View file

@ -1,3 +0,0 @@
import {installFixtures} from './scripts.mjs'
installFixtures()

View file

@ -0,0 +1,3 @@
import {installFixtures} from './scripts'
installFixtures()

View file

@ -2,11 +2,12 @@
* Utility functions for the compatibility tests * Utility functions for the compatibility tests
*/ */
import prettier from 'prettier' import * as prettier from 'prettier'
import path from 'path' import * as path from 'path'
import {globby, argv, YAML, $, fs, cd, os, within} from 'zx' import {globby, argv, YAML, $, fs, cd, os} from '@cspotcode/zx'
import onCleanup from 'node-cleanup' import onCleanup from 'node-cleanup'
import * as verdaccioPackage from 'verdaccio' import startVerdaccioServer from 'verdaccio'
import {defer} from '../utils/testUtils'
/** /**
* @param {string} pkg * @param {string} pkg
@ -24,10 +25,6 @@ if (!verbose) {
) )
} }
// 'verdaccio' is not an es module so we have to do this:
// @ts-ignore
const startVerdaccioServer = verdaccioPackage.default.default
const config = { const config = {
VERDACCIO_PORT: 4823, VERDACCIO_PORT: 4823,
VERDACCIO_HOST: `localhost`, VERDACCIO_HOST: `localhost`,
@ -60,7 +57,7 @@ const keepAlive = !!argv['keep-alive']
* This script starts verdaccio and publishes all the packages in the monorepo to it, then * This script starts verdaccio and publishes all the packages in the monorepo to it, then
* it runs `npm install` on all the test packages, and finally it closes verdaccio. * it runs `npm install` on all the test packages, and finally it closes verdaccio.
*/ */
export async function installFixtures() { export async function installFixtures(): Promise<void> {
onCleanup((exitCode, signal) => { onCleanup((exitCode, signal) => {
onCleanup.uninstall() onCleanup.uninstall()
restoreTestPackageJsons() restoreTestPackageJsons()
@ -197,7 +194,7 @@ async function patchTheatreDependencies(pathToPackageJson, version) {
fs.writeFileSync(pathToPackageJson, jsonStringPrettified, {encoding: 'utf-8'}) fs.writeFileSync(pathToPackageJson, jsonStringPrettified, {encoding: 'utf-8'})
} }
async function patchTestPackageJsons() { async function patchTestPackageJsons(): Promise<() => void> {
const packagePaths = (await getCompatibilityTestSetups()).map( const packagePaths = (await getCompatibilityTestSetups()).map(
(pathToPackageDir) => path.join(pathToPackageDir, 'package.json'), (pathToPackageDir) => path.join(pathToPackageDir, 'package.json'),
) )
@ -220,10 +217,11 @@ async function patchTestPackageJsons() {
* *
* Credit: https://github.com/storybookjs/storybook/blob/92b23c080d03433765cbc7a60553d036a612a501/scripts/run-registry.ts * Credit: https://github.com/storybookjs/storybook/blob/92b23c080d03433765cbc7a60553d036a612a501/scripts/run-registry.ts
*/ */
const startVerdaccio = (port) => { async function startVerdaccio(port: number): Promise<{close: () => void}> {
let resolved = false let resolved = false
return Promise.race([
new Promise((resolve) => { const deferred = defer<{close: () => void}>()
const config = { const config = {
...YAML.parse( ...YAML.parse(
fs.readFileSync(path.join(__dirname, '../verdaccio.yml'), 'utf8'), fs.readFileSync(path.join(__dirname, '../verdaccio.yml'), 'utf8'),
@ -238,24 +236,30 @@ const startVerdaccio = (port) => {
config.self_path = cache config.self_path = cache
const onReady = (webServer) => { startVerdaccioServer(
config,
'6000',
cache,
'1.0.0',
'verdaccio',
(webServer) => {
webServer.listen(port, () => { webServer.listen(port, () => {
resolved = true resolved = true
resolve(webServer) deferred.resolve(webServer)
}) })
} },
)
startVerdaccioServer(config, 6000, cache, '1.0.0', 'verdaccio', onReady) await Promise.race([
}), deferred.promise,
new Promise((_, rej) => { new Promise((_, rej) => {
setTimeout(() => { setTimeout(() => {
if (!resolved) {
resolved = true
rej(new Error(`TIMEOUT - verdaccio didn't start within 10s`)) rej(new Error(`TIMEOUT - verdaccio didn't start within 10s`))
}
}, 10000) }, 10000)
}), }),
]) ])
return deferred.promise
} }
const packagesToPublish = [ const packagesToPublish = [
@ -272,11 +276,14 @@ const packagesToPublish = [
* Assigns a new version to each of @theatre/* packages. If there a package depends on another package in this monorepo, * Assigns a new version to each of @theatre/* packages. If there a package depends on another package in this monorepo,
* this function makes sure the dependency version is fixed at "version" * this function makes sure the dependency version is fixed at "version"
* *
* @param {{name: string, location: string}[]} workspacesListObjects - An Array of objects containing information about the workspaces * @param workspacesListObjects - An Array of objects containing information about the workspaces
* @param {string} version - Version of the latest commit (or any other string) * @param version - Version of the latest commit (or any other string)
* @returns {Promise<() => void>} - An async function that restores the package.json files to their original version * @returns - An async function that restores the package.json files to their original version
*/ */
async function writeVersionsToPackageJSONs(workspacesListObjects, version) { async function writeVersionsToPackageJSONs(
workspacesListObjects: Array<{name: string; location: string}>,
version: string,
): Promise<() => void> {
/** /**
* An array of functions each of which restores a certain package.json to its original state * An array of functions each of which restores a certain package.json to its original state
* @type {Array<() => void>} * @type {Array<() => void>}
@ -374,9 +381,9 @@ async function releaseToVerdaccio() {
/** /**
* Get all the setups from `./compat-tests/` * Get all the setups from `./compat-tests/`
* *
* @returns {Promise<Array<string>>} An array containing the absolute paths to the compatibility test setups * @returns An array containing the absolute paths to the compatibility test setups
*/ */
export async function getCompatibilityTestSetups() { export async function getCompatibilityTestSetups(): Promise<Array<string>> {
const fixturePackageJsonFiles = await globby( const fixturePackageJsonFiles = await globby(
'./fixtures/*/package/package.json', './fixtures/*/package/package.json',
{ {

View file

@ -0,0 +1,19 @@
{
"compilerOptions": {
"outDir": "dist",
"lib": ["ESNext", "DOM"],
"rootDir": ".",
"types": ["jest", "node"],
"target": "es6",
"noEmit": true,
"composite": true,
"moduleResolution": "node",
"skipLibCheck": true
},
"include": [
"./scripts/*.ts",
"./*.compat-test.ts",
"./**/*.compat-test.ts",
"./utils/**/*.ts"
]
}

View file

@ -11,6 +11,7 @@
{"path": "../../packages/playground"}, {"path": "../../packages/playground"},
{"path": "../../packages/benchmarks"}, {"path": "../../packages/benchmarks"},
{"path": "../../packages/r3f"}, {"path": "../../packages/r3f"},
{"path": "../../examples/basic-dom"} {"path": "../../examples/basic-dom"},
{"path": "../../compat-tests"}
] ]
} }

385
yarn.lock
View file

@ -5148,6 +5148,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/android-arm64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/android-arm64@npm:0.18.18"
conditions: os=android & cpu=arm64
languageName: node
linkType: hard
"@esbuild/android-arm@npm:0.15.15": "@esbuild/android-arm@npm:0.15.15":
version: 0.15.15 version: 0.15.15
resolution: "@esbuild/android-arm@npm:0.15.15" resolution: "@esbuild/android-arm@npm:0.15.15"
@ -5176,6 +5183,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/android-arm@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/android-arm@npm:0.18.18"
conditions: os=android & cpu=arm
languageName: node
linkType: hard
"@esbuild/android-x64@npm:0.17.19": "@esbuild/android-x64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/android-x64@npm:0.17.19" resolution: "@esbuild/android-x64@npm:0.17.19"
@ -5197,6 +5211,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/android-x64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/android-x64@npm:0.18.18"
conditions: os=android & cpu=x64
languageName: node
linkType: hard
"@esbuild/darwin-arm64@npm:0.17.19": "@esbuild/darwin-arm64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/darwin-arm64@npm:0.17.19" resolution: "@esbuild/darwin-arm64@npm:0.17.19"
@ -5218,6 +5239,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/darwin-arm64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/darwin-arm64@npm:0.18.18"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"@esbuild/darwin-x64@npm:0.17.19": "@esbuild/darwin-x64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/darwin-x64@npm:0.17.19" resolution: "@esbuild/darwin-x64@npm:0.17.19"
@ -5239,6 +5267,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/darwin-x64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/darwin-x64@npm:0.18.18"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"@esbuild/freebsd-arm64@npm:0.17.19": "@esbuild/freebsd-arm64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/freebsd-arm64@npm:0.17.19" resolution: "@esbuild/freebsd-arm64@npm:0.17.19"
@ -5260,6 +5295,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/freebsd-arm64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/freebsd-arm64@npm:0.18.18"
conditions: os=freebsd & cpu=arm64
languageName: node
linkType: hard
"@esbuild/freebsd-x64@npm:0.17.19": "@esbuild/freebsd-x64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/freebsd-x64@npm:0.17.19" resolution: "@esbuild/freebsd-x64@npm:0.17.19"
@ -5281,6 +5323,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/freebsd-x64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/freebsd-x64@npm:0.18.18"
conditions: os=freebsd & cpu=x64
languageName: node
linkType: hard
"@esbuild/linux-arm64@npm:0.17.19": "@esbuild/linux-arm64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/linux-arm64@npm:0.17.19" resolution: "@esbuild/linux-arm64@npm:0.17.19"
@ -5302,6 +5351,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-arm64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/linux-arm64@npm:0.18.18"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard
"@esbuild/linux-arm@npm:0.17.19": "@esbuild/linux-arm@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/linux-arm@npm:0.17.19" resolution: "@esbuild/linux-arm@npm:0.17.19"
@ -5323,6 +5379,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-arm@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/linux-arm@npm:0.18.18"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
"@esbuild/linux-ia32@npm:0.17.19": "@esbuild/linux-ia32@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/linux-ia32@npm:0.17.19" resolution: "@esbuild/linux-ia32@npm:0.17.19"
@ -5344,6 +5407,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-ia32@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/linux-ia32@npm:0.18.18"
conditions: os=linux & cpu=ia32
languageName: node
linkType: hard
"@esbuild/linux-loong64@npm:0.14.54": "@esbuild/linux-loong64@npm:0.14.54":
version: 0.14.54 version: 0.14.54
resolution: "@esbuild/linux-loong64@npm:0.14.54" resolution: "@esbuild/linux-loong64@npm:0.14.54"
@ -5379,6 +5449,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-loong64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/linux-loong64@npm:0.18.18"
conditions: os=linux & cpu=loong64
languageName: node
linkType: hard
"@esbuild/linux-mips64el@npm:0.17.19": "@esbuild/linux-mips64el@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/linux-mips64el@npm:0.17.19" resolution: "@esbuild/linux-mips64el@npm:0.17.19"
@ -5400,6 +5477,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-mips64el@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/linux-mips64el@npm:0.18.18"
conditions: os=linux & cpu=mips64el
languageName: node
linkType: hard
"@esbuild/linux-ppc64@npm:0.17.19": "@esbuild/linux-ppc64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/linux-ppc64@npm:0.17.19" resolution: "@esbuild/linux-ppc64@npm:0.17.19"
@ -5421,6 +5505,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-ppc64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/linux-ppc64@npm:0.18.18"
conditions: os=linux & cpu=ppc64
languageName: node
linkType: hard
"@esbuild/linux-riscv64@npm:0.17.19": "@esbuild/linux-riscv64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/linux-riscv64@npm:0.17.19" resolution: "@esbuild/linux-riscv64@npm:0.17.19"
@ -5442,6 +5533,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-riscv64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/linux-riscv64@npm:0.18.18"
conditions: os=linux & cpu=riscv64
languageName: node
linkType: hard
"@esbuild/linux-s390x@npm:0.17.19": "@esbuild/linux-s390x@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/linux-s390x@npm:0.17.19" resolution: "@esbuild/linux-s390x@npm:0.17.19"
@ -5463,6 +5561,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-s390x@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/linux-s390x@npm:0.18.18"
conditions: os=linux & cpu=s390x
languageName: node
linkType: hard
"@esbuild/linux-x64@npm:0.17.19": "@esbuild/linux-x64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/linux-x64@npm:0.17.19" resolution: "@esbuild/linux-x64@npm:0.17.19"
@ -5484,6 +5589,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-x64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/linux-x64@npm:0.18.18"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard
"@esbuild/netbsd-x64@npm:0.17.19": "@esbuild/netbsd-x64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/netbsd-x64@npm:0.17.19" resolution: "@esbuild/netbsd-x64@npm:0.17.19"
@ -5505,6 +5617,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/netbsd-x64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/netbsd-x64@npm:0.18.18"
conditions: os=netbsd & cpu=x64
languageName: node
linkType: hard
"@esbuild/openbsd-x64@npm:0.17.19": "@esbuild/openbsd-x64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/openbsd-x64@npm:0.17.19" resolution: "@esbuild/openbsd-x64@npm:0.17.19"
@ -5526,6 +5645,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/openbsd-x64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/openbsd-x64@npm:0.18.18"
conditions: os=openbsd & cpu=x64
languageName: node
linkType: hard
"@esbuild/sunos-x64@npm:0.17.19": "@esbuild/sunos-x64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/sunos-x64@npm:0.17.19" resolution: "@esbuild/sunos-x64@npm:0.17.19"
@ -5547,6 +5673,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/sunos-x64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/sunos-x64@npm:0.18.18"
conditions: os=sunos & cpu=x64
languageName: node
linkType: hard
"@esbuild/win32-arm64@npm:0.17.19": "@esbuild/win32-arm64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/win32-arm64@npm:0.17.19" resolution: "@esbuild/win32-arm64@npm:0.17.19"
@ -5568,6 +5701,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/win32-arm64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/win32-arm64@npm:0.18.18"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
"@esbuild/win32-ia32@npm:0.17.19": "@esbuild/win32-ia32@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/win32-ia32@npm:0.17.19" resolution: "@esbuild/win32-ia32@npm:0.17.19"
@ -5589,6 +5729,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/win32-ia32@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/win32-ia32@npm:0.18.18"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
"@esbuild/win32-x64@npm:0.17.19": "@esbuild/win32-x64@npm:0.17.19":
version: 0.17.19 version: 0.17.19
resolution: "@esbuild/win32-x64@npm:0.17.19" resolution: "@esbuild/win32-x64@npm:0.17.19"
@ -5610,6 +5757,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/win32-x64@npm:0.18.18":
version: 0.18.18
resolution: "@esbuild/win32-x64@npm:0.18.18"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"@eslint/eslintrc@npm:^0.4.3": "@eslint/eslintrc@npm:^0.4.3":
version: 0.4.3 version: 0.4.3
resolution: "@eslint/eslintrc@npm:0.4.3" resolution: "@eslint/eslintrc@npm:0.4.3"
@ -7856,13 +8010,15 @@ __metadata:
resolution: "@theatre/compat-tests@workspace:compat-tests" resolution: "@theatre/compat-tests@workspace:compat-tests"
dependencies: dependencies:
"@cspotcode/zx": ^6.1.2 "@cspotcode/zx": ^6.1.2
"@verdaccio/types": ^10.8.0
esbuild: ^0.18.18
esbuild-register: ^3.4.2
node-cleanup: ^2.1.2 node-cleanup: ^2.1.2
playwright: ^1.29.1 playwright: ^1.29.1
prettier: ^2.6.2 prettier: ^2.6.2
verdaccio: ^5.26.1 verdaccio: ^5.26.1
verdaccio-auth-memory: ^10.2.2 verdaccio-auth-memory: ^10.2.2
verdaccio-memory: ^10.3.2 verdaccio-memory: ^10.3.2
zx: ^7.1.1
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@ -8535,13 +8691,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@types/node@npm:^18.7.20":
version: 18.11.13
resolution: "@types/node@npm:18.11.13"
checksum: b0c1aa3bd2f5df8240e61096a49d6d4be600109b824d23408ec4ba1ec057dc0c60588e09f73b8a60455ad26d367e9c5562fad8403099f885cbc7b4cace83ec4c
languageName: node
linkType: hard
"@types/normalize-package-data@npm:^2.4.0": "@types/normalize-package-data@npm:^2.4.0":
version: 2.4.0 version: 2.4.0
resolution: "@types/normalize-package-data@npm:2.4.0" resolution: "@types/normalize-package-data@npm:2.4.0"
@ -8591,13 +8740,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@types/ps-tree@npm:^1.1.2":
version: 1.1.2
resolution: "@types/ps-tree@npm:1.1.2"
checksum: 575c3b2b83ea8935ab296ac9e17f6a2c1a5bb155f9e30663bb7a7c741a8ca4641f0df9748866230f1d6c3f87ed4ffa3fa91f1df444ef9979a3df31114534bf25
languageName: node
linkType: hard
"@types/q@npm:^1.5.1": "@types/q@npm:^1.5.1":
version: 1.5.4 version: 1.5.4
resolution: "@types/q@npm:1.5.4" resolution: "@types/q@npm:1.5.4"
@ -9548,6 +9690,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@verdaccio/types@npm:^10.8.0":
version: 10.8.0
resolution: "@verdaccio/types@npm:10.8.0"
checksum: d69822c5a8b5530dfe5335b4fc4a220bad43220ed6af39d5b81ed6f22a8f5d557873d3382da30a96b08249a345deb05f6fad7aa356f2508b4c4afda943fcd701
languageName: node
linkType: hard
"@verdaccio/ui-theme@npm:6.0.0-6-next.74": "@verdaccio/ui-theme@npm:6.0.0-6-next.74":
version: 6.0.0-6-next.74 version: 6.0.0-6-next.74
resolution: "@verdaccio/ui-theme@npm:6.0.0-6-next.74" resolution: "@verdaccio/ui-theme@npm:6.0.0-6-next.74"
@ -14786,7 +14935,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"duplexer@npm:^0.1.1, duplexer@npm:^0.1.2, duplexer@npm:~0.1.1": "duplexer@npm:^0.1.1, duplexer@npm:^0.1.2":
version: 0.1.2 version: 0.1.2
resolution: "duplexer@npm:0.1.2" resolution: "duplexer@npm:0.1.2"
checksum: 62ba61a830c56801db28ff6305c7d289b6dc9f859054e8c982abd8ee0b0a14d2e9a8e7d086ffee12e868d43e2bbe8a964be55ddbd8c8957714c87373c7a4f9b0 checksum: 62ba61a830c56801db28ff6305c7d289b6dc9f859054e8c982abd8ee0b0a14d2e9a8e7d086ffee12e868d43e2bbe8a964be55ddbd8c8957714c87373c7a4f9b0
@ -16055,6 +16204,83 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"esbuild@npm:^0.18.18":
version: 0.18.18
resolution: "esbuild@npm:0.18.18"
dependencies:
"@esbuild/android-arm": 0.18.18
"@esbuild/android-arm64": 0.18.18
"@esbuild/android-x64": 0.18.18
"@esbuild/darwin-arm64": 0.18.18
"@esbuild/darwin-x64": 0.18.18
"@esbuild/freebsd-arm64": 0.18.18
"@esbuild/freebsd-x64": 0.18.18
"@esbuild/linux-arm": 0.18.18
"@esbuild/linux-arm64": 0.18.18
"@esbuild/linux-ia32": 0.18.18
"@esbuild/linux-loong64": 0.18.18
"@esbuild/linux-mips64el": 0.18.18
"@esbuild/linux-ppc64": 0.18.18
"@esbuild/linux-riscv64": 0.18.18
"@esbuild/linux-s390x": 0.18.18
"@esbuild/linux-x64": 0.18.18
"@esbuild/netbsd-x64": 0.18.18
"@esbuild/openbsd-x64": 0.18.18
"@esbuild/sunos-x64": 0.18.18
"@esbuild/win32-arm64": 0.18.18
"@esbuild/win32-ia32": 0.18.18
"@esbuild/win32-x64": 0.18.18
dependenciesMeta:
"@esbuild/android-arm":
optional: true
"@esbuild/android-arm64":
optional: true
"@esbuild/android-x64":
optional: true
"@esbuild/darwin-arm64":
optional: true
"@esbuild/darwin-x64":
optional: true
"@esbuild/freebsd-arm64":
optional: true
"@esbuild/freebsd-x64":
optional: true
"@esbuild/linux-arm":
optional: true
"@esbuild/linux-arm64":
optional: true
"@esbuild/linux-ia32":
optional: true
"@esbuild/linux-loong64":
optional: true
"@esbuild/linux-mips64el":
optional: true
"@esbuild/linux-ppc64":
optional: true
"@esbuild/linux-riscv64":
optional: true
"@esbuild/linux-s390x":
optional: true
"@esbuild/linux-x64":
optional: true
"@esbuild/netbsd-x64":
optional: true
"@esbuild/openbsd-x64":
optional: true
"@esbuild/sunos-x64":
optional: true
"@esbuild/win32-arm64":
optional: true
"@esbuild/win32-ia32":
optional: true
"@esbuild/win32-x64":
optional: true
bin:
esbuild: bin/esbuild
checksum: 77451ce6b64da1fd5fd24815cf1ebfeeb9471fbd2e10577b399b5a0e44589b936384d4d7be8576b0aafdedbd8696cec21579a6e596afe87875902c3a55be6acc
languageName: node
linkType: hard
"escalade@npm:^3.0.2, escalade@npm:^3.1.1": "escalade@npm:^3.0.2, escalade@npm:^3.1.1":
version: 3.1.1 version: 3.1.1
resolution: "escalade@npm:3.1.1" resolution: "escalade@npm:3.1.1"
@ -16974,21 +17200,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"event-stream@npm:=3.3.4":
version: 3.3.4
resolution: "event-stream@npm:3.3.4"
dependencies:
duplexer: ~0.1.1
from: ~0
map-stream: ~0.1.0
pause-stream: 0.0.11
split: 0.3
stream-combiner: ~0.0.4
through: ~2.3.1
checksum: 80b467820b6daf824d9fb4345d2daf115a056e5c104463f2e98534e92d196a27f2df5ea2aa085624db26f4c45698905499e881d13bc7c01f7a13eac85be72a22
languageName: node
linkType: hard
"event-target-shim@npm:^5.0.0": "event-target-shim@npm:^5.0.0":
version: 5.0.1 version: 5.0.1
resolution: "event-target-shim@npm:5.0.1" resolution: "event-target-shim@npm:5.0.1"
@ -17881,13 +18092,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"from@npm:~0":
version: 0.1.7
resolution: "from@npm:0.1.7"
checksum: b85125b7890489656eb2e4f208f7654a93ec26e3aefaf3bbbcc0d496fc1941e4405834fcc9fe7333192aa2187905510ace70417bbf9ac6f6f4784a731d986939
languageName: node
linkType: hard
"fs-extra@npm:^10.0.0": "fs-extra@npm:^10.0.0":
version: 10.0.0 version: 10.0.0
resolution: "fs-extra@npm:10.0.0" resolution: "fs-extra@npm:10.0.0"
@ -17899,17 +18103,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"fs-extra@npm:^10.1.0":
version: 10.1.0
resolution: "fs-extra@npm:10.1.0"
dependencies:
graceful-fs: ^4.2.0
jsonfile: ^6.0.1
universalify: ^2.0.0
checksum: dc94ab37096f813cc3ca12f0f1b5ad6744dfed9ed21e953d72530d103cea193c2f81584a39e9dee1bea36de5ee66805678c0dddc048e8af1427ac19c00fffc50
languageName: node
linkType: hard
"fs-extra@npm:^7.0.0, fs-extra@npm:~7.0.1": "fs-extra@npm:^7.0.0, fs-extra@npm:~7.0.1":
version: 7.0.1 version: 7.0.1
resolution: "fs-extra@npm:7.0.1" resolution: "fs-extra@npm:7.0.1"
@ -18421,19 +18614,6 @@ fsevents@^1.2.7:
languageName: node languageName: node
linkType: hard linkType: hard
"globby@npm:^13.1.2":
version: 13.1.2
resolution: "globby@npm:13.1.2"
dependencies:
dir-glob: ^3.0.1
fast-glob: ^3.2.11
ignore: ^5.2.0
merge2: ^1.4.1
slash: ^4.0.0
checksum: c148fcda0c981f00fb434bb94ca258f0a9d23cedbde6fb3f37098e1abde5b065019e2c63fe2aa2fad4daf2b54bf360b4d0423d85fb3a63d09ed75a2837d4de0f
languageName: node
linkType: hard
"globby@npm:^6.1.0": "globby@npm:^6.1.0":
version: 6.1.0 version: 6.1.0
resolution: "globby@npm:6.1.0" resolution: "globby@npm:6.1.0"
@ -23061,13 +23241,6 @@ fsevents@^1.2.7:
languageName: node languageName: node
linkType: hard linkType: hard
"map-stream@npm:~0.1.0":
version: 0.1.0
resolution: "map-stream@npm:0.1.0"
checksum: 38abbe4eb883888031e6b2fc0630bc583c99396be16b8ace5794b937b682a8a081f03e8b15bfd4914d1bc88318f0e9ac73ba3512ae65955cd449f63256ddb31d
languageName: node
linkType: hard
"map-visit@npm:^1.0.0": "map-visit@npm:^1.0.0":
version: 1.0.0 version: 1.0.0
resolution: "map-visit@npm:1.0.0" resolution: "map-visit@npm:1.0.0"
@ -23895,17 +24068,6 @@ fsevents@^1.2.7:
languageName: node languageName: node
linkType: hard linkType: hard
"node-fetch@npm:3.2.10":
version: 3.2.10
resolution: "node-fetch@npm:3.2.10"
dependencies:
data-uri-to-buffer: ^4.0.0
fetch-blob: ^3.1.4
formdata-polyfill: ^4.0.10
checksum: e65322431f4897ded04197aa5923eaec63a8d53e00432de4e70a4f7006625c8dc32629c5c35f4fe8ee719a4825544d07bf53f6e146a7265914262f493e8deac1
languageName: node
linkType: hard
"node-fetch@npm:^2.6.1, node-fetch@npm:cjs": "node-fetch@npm:^2.6.1, node-fetch@npm:cjs":
version: 2.6.7 version: 2.6.7
resolution: "node-fetch@npm:2.6.7" resolution: "node-fetch@npm:2.6.7"
@ -25165,15 +25327,6 @@ fsevents@^1.2.7:
languageName: node languageName: node
linkType: hard linkType: hard
"pause-stream@npm:0.0.11":
version: 0.0.11
resolution: "pause-stream@npm:0.0.11"
dependencies:
through: ~2.3
checksum: 3c4a14052a638b92e0c96eb00c0d7977df7f79ea28395250c525d197f1fc02d34ce1165d5362e2e6ebbb251524b94a76f3f0d4abc39ab8b016d97449fe15583c
languageName: node
linkType: hard
"pbkdf2@npm:^3.0.3": "pbkdf2@npm:^3.0.3":
version: 3.1.1 version: 3.1.1
resolution: "pbkdf2@npm:3.1.1" resolution: "pbkdf2@npm:3.1.1"
@ -27563,17 +27716,6 @@ fsevents@^1.2.7:
languageName: node languageName: node
linkType: hard linkType: hard
"ps-tree@npm:^1.2.0":
version: 1.2.0
resolution: "ps-tree@npm:1.2.0"
dependencies:
event-stream: =3.3.4
bin:
ps-tree: ./bin/ps-tree.js
checksum: e635dd00f53d30d31696cf5f95b3a8dbdf9b1aeb36d4391578ce8e8cd22949b7c5536c73b0dc18c78615ea3ddd4be96101166be59ca2e3e3cb1e2f79ba3c7f98
languageName: node
linkType: hard
"psl@npm:^1.1.28, psl@npm:^1.1.33": "psl@npm:^1.1.28, psl@npm:^1.1.33":
version: 1.8.0 version: 1.8.0
resolution: "psl@npm:1.8.0" resolution: "psl@npm:1.8.0"
@ -30433,15 +30575,6 @@ fsevents@^1.2.7:
languageName: node languageName: node
linkType: hard linkType: hard
"split@npm:0.3":
version: 0.3.3
resolution: "split@npm:0.3.3"
dependencies:
through: 2
checksum: 2e076634c9637cfdc54ab4387b6a243b8c33b360874a25adf6f327a5647f07cb3bf1c755d515248eb3afee4e382278d01f62c62d87263c118f28065b86f74f02
languageName: node
linkType: hard
"sprintf-js@npm:~1.0.2": "sprintf-js@npm:~1.0.2":
version: 1.0.3 version: 1.0.3
resolution: "sprintf-js@npm:1.0.3" resolution: "sprintf-js@npm:1.0.3"
@ -30652,15 +30785,6 @@ fsevents@^1.2.7:
languageName: node languageName: node
linkType: hard linkType: hard
"stream-combiner@npm:~0.0.4":
version: 0.0.4
resolution: "stream-combiner@npm:0.0.4"
dependencies:
duplexer: ~0.1.1
checksum: 844b622cfe8b9de45a6007404f613b60aaf85200ab9862299066204242f89a7c8033b1c356c998aa6cfc630f6cd9eba119ec1c6dc1f93e245982be4a847aee7d
languageName: node
linkType: hard
"stream-each@npm:^1.1.0": "stream-each@npm:^1.1.0":
version: 1.2.3 version: 1.2.3
resolution: "stream-each@npm:1.2.3" resolution: "stream-each@npm:1.2.3"
@ -31815,7 +31939,7 @@ fsevents@^1.2.7:
languageName: node languageName: node
linkType: hard linkType: hard
"through@npm:2, through@npm:>=2.2.7 <3, through@npm:^2.3.8, through@npm:~2.3, through@npm:~2.3.1": "through@npm:>=2.2.7 <3, through@npm:^2.3.8":
version: 2.3.8 version: 2.3.8
resolution: "through@npm:2.3.8" resolution: "through@npm:2.3.8"
checksum: a38c3e059853c494af95d50c072b83f8b676a9ba2818dcc5b108ef252230735c54e0185437618596c790bbba8fcdaef5b290405981ffa09dce67b1f1bf190cbd checksum: a38c3e059853c494af95d50c072b83f8b676a9ba2818dcc5b108ef252230735c54e0185437618596c790bbba8fcdaef5b290405981ffa09dce67b1f1bf190cbd
@ -34568,26 +34692,3 @@ fsevents@^1.2.7:
checksum: cecb75747561c44fd75c8c6d12c0c9d3f4803231846c3ec308dcf2ffbef4f9d53c306152690ea4a5169b92c7f21f1402b2c9a5dff41632cc33ba7dad22a00e14 checksum: cecb75747561c44fd75c8c6d12c0c9d3f4803231846c3ec308dcf2ffbef4f9d53c306152690ea4a5169b92c7f21f1402b2c9a5dff41632cc33ba7dad22a00e14
languageName: node languageName: node
linkType: hard linkType: hard
"zx@npm:^7.1.1":
version: 7.1.1
resolution: "zx@npm:7.1.1"
dependencies:
"@types/fs-extra": ^9.0.13
"@types/minimist": ^1.2.2
"@types/node": ^18.7.20
"@types/ps-tree": ^1.1.2
"@types/which": ^2.0.1
chalk: ^5.0.1
fs-extra: ^10.1.0
globby: ^13.1.2
minimist: ^1.2.6
node-fetch: 3.2.10
ps-tree: ^1.2.0
which: ^2.0.2
yaml: ^2.1.1
bin:
zx: build/cli.js
checksum: 510c56366a62220108247624a83fc088bfc8f393e3f20168d69a67e3c7aff1a4b790c118ee70e58171dcbc91b53ab079bba3074e1c40829f6179a7f48a38be78
languageName: node
linkType: hard