diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 063b70d..64db494 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,12 @@ name: CI +env: + # configure corepack + COREPACK_DEFAULT_TO_LATEST: 0 + COREPACK_ENABLE_AUTO_PIN: 0 + # configure yarn + YARN_ENABLE_IMMUTABLE_INSTALLS: 'false' + on: push: branches: @@ -15,86 +22,32 @@ on: jobs: test: name: Test - timeout-minutes: 10 + timeout-minutes: 5 runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - node: [16] + node: [20] os: [ubuntu-latest, macos-latest, windows-latest] + pm: ["pnpm@9"] include: - - node: 18 + - node: 22 + os: ubuntu-latest + pm: "pnpm@9" + - node: 22 + os: ubuntu-latest + pm: "yarn@4" + - node: 22 os: ubuntu-latest + pm: "npm@10" steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Install pnpm - uses: pnpm/action-setup@v2.2.4 - with: - version: '7.14.1' - - - name: Setup node - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - cache: pnpm - cache-dependency-path: '**/pnpm-lock.yaml' - - - name: Install dependencies - run: pnpm install --frozen-lockfile --prefer-offline - - - name: Test - run: pnpm test - - test-npm: - name: Test npm - timeout-minutes: 5 - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup workspaces - run: cat package.json | jq '.workspaces = ["tests/deps/*","tests/projects/*"]' | tee package.json - - - name: Setup node - uses: actions/setup-node@v3 - with: - node-version: 16 - - - name: Install dependencies - run: npm install - - - name: Test - run: npm test - - test-yarn: - name: Test yarn PnP - timeout-minutes: 5 - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup workspaces - run: cat package.json | jq '.workspaces = ["tests/deps/*","tests/projects/*"]' | tee package.json - - - name: Use yarn 3 - run: cat package.json | jq '.packageManager = "yarn@3.2.4"' | tee package.json - - - name: Setup node - uses: actions/setup-node@v3 - with: - node-version: 16 - - - name: Enable corepack - run: corepack enable - + - run: corepack enable - name: Install dependencies - run: yarn - env: - YARN_ENABLE_IMMUTABLE_INSTALLS: false + run: corepack ${{matrix.pm}} install - name: Test - run: yarn test + run: corepack ${{matrix.pm}} test diff --git a/.gitignore b/.gitignore index b512c09..c68a6e8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ -node_modules \ No newline at end of file +node_modules +.yarn +.pnp.* +yarn.lock +package-lock.json diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..59346b6 --- /dev/null +++ b/.npmrc @@ -0,0 +1,3 @@ +auto-install-peers=false +link-workspace-packages=true +dedupe-injected-deps=false # needed for file: references to work diff --git a/package.json b/package.json index 4fe697c..9fcf29c 100644 --- a/package.json +++ b/package.json @@ -42,5 +42,9 @@ "devDependencies": { "uvu": "^0.5.6", "vite": "^3.2.3" - } + }, + "workspaces": [ + "tests/deps/*", + "tests/projects/*" + ] } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9f66586..68da06b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,435 +1,352 @@ -lockfileVersion: 5.4 +lockfileVersion: '9.0' + +settings: + autoInstallPeers: false + excludeLinksFromLockfile: false importers: .: - specifiers: - uvu: ^0.5.6 - vite: ^3.2.3 devDependencies: - uvu: 0.5.6 - vite: 3.2.3 + uvu: + specifier: ^0.5.6 + version: 0.5.6 + vite: + specifier: ^3.2.3 + version: 3.2.10 - tests/deps/cjs-js-lib: - specifiers: {} + tests/deps/cjs-js-lib: {} - tests/deps/esm-js-lib: - specifiers: {} + tests/deps/esm-js-lib: {} - tests/deps/framework: - specifiers: {} + tests/deps/framework: {} tests/deps/full-direct-framework-lib: - specifiers: - '@vitefu/dep-cjs-js-lib': file:../cjs-js-lib dependencies: - '@vitefu/dep-cjs-js-lib': file:tests/deps/cjs-js-lib + '@vitefu/dep-cjs-js-lib': + specifier: file:../cjs-js-lib + version: file:tests/deps/cjs-js-lib tests/deps/full-framework-lib: - specifiers: - '@vitefu/dep-cjs-js-lib': file:../cjs-js-lib - '@vitefu/dep-implicit-entry-cjs-lib': file:../implicit-entry-cjs-lib - '@vitefu/dep-no-deep-optimize-lib': file:../no-deep-optimize-lib - '@vitefu/dep-no-entry-lib': file:../no-entry-lib - '@vitefu/dep-should-no-external-lib': file:../should-no-external-lib dependencies: - '@vitefu/dep-cjs-js-lib': file:tests/deps/cjs-js-lib - '@vitefu/dep-implicit-entry-cjs-lib': file:tests/deps/implicit-entry-cjs-lib - '@vitefu/dep-no-deep-optimize-lib': file:tests/deps/no-deep-optimize-lib - '@vitefu/dep-no-entry-lib': file:tests/deps/no-entry-lib - '@vitefu/dep-should-no-external-lib': file:tests/deps/should-no-external-lib - - tests/deps/implicit-entry-cjs-lib: - specifiers: {} - - tests/deps/no-deep-optimize-lib: - specifiers: {} - - tests/deps/no-entry-lib: - specifiers: {} + '@vitefu/dep-cjs-js-lib': + specifier: file:../cjs-js-lib + version: file:tests/deps/cjs-js-lib + '@vitefu/dep-implicit-entry-cjs-lib': + specifier: file:../implicit-entry-cjs-lib + version: file:tests/deps/implicit-entry-cjs-lib + '@vitefu/dep-no-deep-optimize-lib': + specifier: file:../no-deep-optimize-lib + version: file:tests/deps/no-deep-optimize-lib + '@vitefu/dep-no-entry-lib': + specifier: file:../no-entry-lib + version: file:tests/deps/no-entry-lib + '@vitefu/dep-should-no-external-lib': + specifier: file:../should-no-external-lib + version: '@vitefu/dep-sshould-no-external-lib@file:tests/deps/should-no-external-lib' + + tests/deps/implicit-entry-cjs-lib: {} + + tests/deps/no-deep-optimize-lib: {} + + tests/deps/no-entry-lib: {} tests/deps/proxy-framework-lib: - specifiers: - '@vitefu/dep-framework': file:../framework - '@vitefu/dep-full-framework-lib': file:../full-framework-lib dependencies: - '@vitefu/dep-full-framework-lib': file:tests/deps/full-framework-lib_xng2sgcu4u3rzr73unoh4hinhq + '@vitefu/dep-full-framework-lib': + specifier: file:../full-framework-lib + version: file:tests/deps/full-framework-lib(@vitefu/dep-framework@file:tests/deps/framework) devDependencies: - '@vitefu/dep-framework': file:tests/deps/framework + '@vitefu/dep-framework': + specifier: file:../framework + version: file:tests/deps/framework tests/deps/semi-framework-lib: - specifiers: - '@vitefu/dep-framework': file:../framework dependencies: - '@vitefu/dep-framework': file:tests/deps/framework + '@vitefu/dep-framework': + specifier: file:../framework + version: file:tests/deps/framework - tests/deps/should-no-external-lib: - specifiers: {} + tests/deps/should-no-external-lib: {} tests/projects/basic: - specifiers: - '@vitefu/dep-esm-js-lib': file:../../deps/esm-js-lib - '@vitefu/dep-framework': file:../../deps/framework - '@vitefu/dep-full-direct-framework-lib': file:../../deps/full-direct-framework-lib - '@vitefu/dep-full-framework-lib': file:../../deps/full-framework-lib - '@vitefu/dep-proxy-framework-lib': file:../../deps/proxy-framework-lib - '@vitefu/dep-semi-framework-lib': file:../../deps/semi-framework-lib - uvu: ^0.5.6 dependencies: - '@vitefu/dep-esm-js-lib': file:tests/deps/esm-js-lib - '@vitefu/dep-framework': file:tests/deps/framework - '@vitefu/dep-full-direct-framework-lib': file:tests/deps/full-direct-framework-lib_xng2sgcu4u3rzr73unoh4hinhq - '@vitefu/dep-full-framework-lib': file:tests/deps/full-framework-lib_xng2sgcu4u3rzr73unoh4hinhq - '@vitefu/dep-proxy-framework-lib': file:tests/deps/proxy-framework-lib_xng2sgcu4u3rzr73unoh4hinhq - '@vitefu/dep-semi-framework-lib': file:tests/deps/semi-framework-lib + '@vitefu/dep-esm-js-lib': + specifier: file:../../deps/esm-js-lib + version: file:tests/deps/esm-js-lib + '@vitefu/dep-framework': + specifier: file:../../deps/framework + version: file:tests/deps/framework + '@vitefu/dep-full-direct-framework-lib': + specifier: file:../../deps/full-direct-framework-lib + version: file:tests/deps/full-direct-framework-lib(@vitefu/dep-framework@file:tests/deps/framework) + '@vitefu/dep-full-framework-lib': + specifier: file:../../deps/full-framework-lib + version: file:tests/deps/full-framework-lib(@vitefu/dep-framework@file:tests/deps/framework) + '@vitefu/dep-proxy-framework-lib': + specifier: file:../../deps/proxy-framework-lib + version: file:tests/deps/proxy-framework-lib(@vitefu/dep-framework@file:tests/deps/framework) + '@vitefu/dep-semi-framework-lib': + specifier: file:../../deps/semi-framework-lib + version: file:tests/deps/semi-framework-lib devDependencies: - uvu: 0.5.6 + uvu: + specifier: ^0.5.6 + version: 0.5.6 packages: - /@esbuild/android-arm/0.15.13: - resolution: {integrity: sha512-RY2fVI8O0iFUNvZirXaQ1vMvK0xhCcl0gqRj74Z6yEiO1zAUa7hbsdwZM1kzqbxHK7LFyMizipfXT3JME+12Hw==} + '@esbuild/android-arm@0.15.18': + resolution: {integrity: sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw==} engines: {node: '>=12'} cpu: [arm] os: [android] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-loong64/0.15.13: - resolution: {integrity: sha512-+BoyIm4I8uJmH/QDIH0fu7MG0AEx9OXEDXnqptXCwKOlOqZiS4iraH1Nr7/ObLMokW3sOCeBNyD68ATcV9b9Ag==} + '@esbuild/linux-loong64@0.15.18': + resolution: {integrity: sha512-L4jVKS82XVhw2nvzLg/19ClLWg0y27ulRwuP7lcyL6AbUWB5aPglXY3M21mauDQMDfRLs8cQmeT03r/+X3cZYQ==} engines: {node: '>=12'} cpu: [loong64] os: [linux] - requiresBuild: true - dev: true - optional: true - /dequal/2.0.3: + '@vitefu/dep-cjs-js-lib@file:tests/deps/cjs-js-lib': + resolution: {directory: tests/deps/cjs-js-lib, type: directory} + + '@vitefu/dep-esm-js-lib@file:tests/deps/esm-js-lib': + resolution: {directory: tests/deps/esm-js-lib, type: directory} + + '@vitefu/dep-framework@file:tests/deps/framework': + resolution: {directory: tests/deps/framework, type: directory} + + '@vitefu/dep-full-direct-framework-lib@file:tests/deps/full-direct-framework-lib': + resolution: {directory: tests/deps/full-direct-framework-lib, type: directory} + peerDependencies: + '@vitefu/dep-framework': ^0.0.1 + + '@vitefu/dep-full-framework-lib@file:tests/deps/full-framework-lib': + resolution: {directory: tests/deps/full-framework-lib, type: directory} + peerDependencies: + '@vitefu/dep-framework': ^0.0.1 + + '@vitefu/dep-implicit-entry-cjs-lib@file:tests/deps/implicit-entry-cjs-lib': + resolution: {directory: tests/deps/implicit-entry-cjs-lib, type: directory} + + '@vitefu/dep-no-deep-optimize-lib@file:tests/deps/no-deep-optimize-lib': + resolution: {directory: tests/deps/no-deep-optimize-lib, type: directory} + + '@vitefu/dep-no-entry-lib@file:tests/deps/no-entry-lib': + resolution: {directory: tests/deps/no-entry-lib, type: directory} + + '@vitefu/dep-proxy-framework-lib@file:tests/deps/proxy-framework-lib': + resolution: {directory: tests/deps/proxy-framework-lib, type: directory} + peerDependencies: + '@vitefu/dep-framework': ^0.0.1 + + '@vitefu/dep-semi-framework-lib@file:tests/deps/semi-framework-lib': + resolution: {directory: tests/deps/semi-framework-lib, type: directory} + + '@vitefu/dep-sshould-no-external-lib@file:tests/deps/should-no-external-lib': + resolution: {directory: tests/deps/should-no-external-lib, type: directory} + + dequal@2.0.3: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} - dev: true - /diff/5.1.0: - resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==} + diff@5.2.0: + resolution: {integrity: sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==} engines: {node: '>=0.3.1'} - dev: true - /esbuild-android-64/0.15.13: - resolution: {integrity: sha512-yRorukXBlokwTip+Sy4MYskLhJsO0Kn0/Fj43s1krVblfwP+hMD37a4Wmg139GEsMLl+vh8WXp2mq/cTA9J97g==} + esbuild-android-64@0.15.18: + resolution: {integrity: sha512-wnpt3OXRhcjfIDSZu9bnzT4/TNTDsOUvip0foZOUBG7QbSt//w3QV4FInVJxNhKc/ErhUxc5z4QjHtMi7/TbgA==} engines: {node: '>=12'} cpu: [x64] os: [android] - requiresBuild: true - dev: true - optional: true - /esbuild-android-arm64/0.15.13: - resolution: {integrity: sha512-TKzyymLD6PiVeyYa4c5wdPw87BeAiTXNtK6amWUcXZxkV51gOk5u5qzmDaYSwiWeecSNHamFsaFjLoi32QR5/w==} + esbuild-android-arm64@0.15.18: + resolution: {integrity: sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ==} engines: {node: '>=12'} cpu: [arm64] os: [android] - requiresBuild: true - dev: true - optional: true - /esbuild-darwin-64/0.15.13: - resolution: {integrity: sha512-WAx7c2DaOS6CrRcoYCgXgkXDliLnFv3pQLV6GeW1YcGEZq2Gnl8s9Pg7ahValZkpOa0iE/ojRVQ87sbUhF1Cbg==} + esbuild-darwin-64@0.15.18: + resolution: {integrity: sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg==} engines: {node: '>=12'} cpu: [x64] os: [darwin] - requiresBuild: true - dev: true - optional: true - /esbuild-darwin-arm64/0.15.13: - resolution: {integrity: sha512-U6jFsPfSSxC3V1CLiQqwvDuj3GGrtQNB3P3nNC3+q99EKf94UGpsG9l4CQ83zBs1NHrk1rtCSYT0+KfK5LsD8A==} + esbuild-darwin-arm64@0.15.18: + resolution: {integrity: sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] - requiresBuild: true - dev: true - optional: true - /esbuild-freebsd-64/0.15.13: - resolution: {integrity: sha512-whItJgDiOXaDG/idy75qqevIpZjnReZkMGCgQaBWZuKHoElDJC1rh7MpoUgupMcdfOd+PgdEwNQW9DAE6i8wyA==} + esbuild-freebsd-64@0.15.18: + resolution: {integrity: sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] - requiresBuild: true - dev: true - optional: true - /esbuild-freebsd-arm64/0.15.13: - resolution: {integrity: sha512-6pCSWt8mLUbPtygv7cufV0sZLeylaMwS5Fznj6Rsx9G2AJJsAjQ9ifA+0rQEIg7DwJmi9it+WjzNTEAzzdoM3Q==} + esbuild-freebsd-arm64@0.15.18: + resolution: {integrity: sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-32/0.15.13: - resolution: {integrity: sha512-VbZdWOEdrJiYApm2kkxoTOgsoCO1krBZ3quHdYk3g3ivWaMwNIVPIfEE0f0XQQ0u5pJtBsnk2/7OPiCFIPOe/w==} + esbuild-linux-32@0.15.18: + resolution: {integrity: sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg==} engines: {node: '>=12'} cpu: [ia32] os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-64/0.15.13: - resolution: {integrity: sha512-rXmnArVNio6yANSqDQlIO4WiP+Cv7+9EuAHNnag7rByAqFVuRusLbGi2697A5dFPNXoO//IiogVwi3AdcfPC6A==} + esbuild-linux-64@0.15.18: + resolution: {integrity: sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==} engines: {node: '>=12'} cpu: [x64] os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-arm/0.15.13: - resolution: {integrity: sha512-Ac6LpfmJO8WhCMQmO253xX2IU2B3wPDbl4IvR0hnqcPrdfCaUa2j/lLMGTjmQ4W5JsJIdHEdW12dG8lFS0MbxQ==} + esbuild-linux-arm64@0.15.18: + resolution: {integrity: sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug==} engines: {node: '>=12'} - cpu: [arm] + cpu: [arm64] os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-arm64/0.15.13: - resolution: {integrity: sha512-alEMGU4Z+d17U7KQQw2IV8tQycO6T+rOrgW8OS22Ua25x6kHxoG6Ngry6Aq6uranC+pNWNMB6aHFPh7aTQdORQ==} + esbuild-linux-arm@0.15.18: + resolution: {integrity: sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA==} engines: {node: '>=12'} - cpu: [arm64] + cpu: [arm] os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-mips64le/0.15.13: - resolution: {integrity: sha512-47PgmyYEu+yN5rD/MbwS6DxP2FSGPo4Uxg5LwIdxTiyGC2XKwHhHyW7YYEDlSuXLQXEdTO7mYe8zQ74czP7W8A==} + esbuild-linux-mips64le@0.15.18: + resolution: {integrity: sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-ppc64le/0.15.13: - resolution: {integrity: sha512-z6n28h2+PC1Ayle9DjKoBRcx/4cxHoOa2e689e2aDJSaKug3jXcQw7mM+GLg+9ydYoNzj8QxNL8ihOv/OnezhA==} + esbuild-linux-ppc64le@0.15.18: + resolution: {integrity: sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-riscv64/0.15.13: - resolution: {integrity: sha512-+Lu4zuuXuQhgLUGyZloWCqTslcCAjMZH1k3Xc9MSEJEpEFdpsSU0sRDXAnk18FKOfEjhu4YMGaykx9xjtpA6ow==} + esbuild-linux-riscv64@0.15.18: + resolution: {integrity: sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-s390x/0.15.13: - resolution: {integrity: sha512-BMeXRljruf7J0TMxD5CIXS65y7puiZkAh+s4XFV9qy16SxOuMhxhVIXYLnbdfLrsYGFzx7U9mcdpFWkkvy/Uag==} + esbuild-linux-s390x@0.15.18: + resolution: {integrity: sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ==} engines: {node: '>=12'} cpu: [s390x] os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-netbsd-64/0.15.13: - resolution: {integrity: sha512-EHj9QZOTel581JPj7UO3xYbltFTYnHy+SIqJVq6yd3KkCrsHRbapiPb0Lx3EOOtybBEE9EyqbmfW1NlSDsSzvQ==} + esbuild-netbsd-64@0.15.18: + resolution: {integrity: sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] - requiresBuild: true - dev: true - optional: true - /esbuild-openbsd-64/0.15.13: - resolution: {integrity: sha512-nkuDlIjF/sfUhfx8SKq0+U+Fgx5K9JcPq1mUodnxI0x4kBdCv46rOGWbuJ6eof2n3wdoCLccOoJAbg9ba/bT2w==} + esbuild-openbsd-64@0.15.18: + resolution: {integrity: sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] - requiresBuild: true - dev: true - optional: true - /esbuild-sunos-64/0.15.13: - resolution: {integrity: sha512-jVeu2GfxZQ++6lRdY43CS0Tm/r4WuQQ0Pdsrxbw+aOrHQPHV0+LNOLnvbN28M7BSUGnJnHkHm2HozGgNGyeIRw==} + esbuild-sunos-64@0.15.18: + resolution: {integrity: sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw==} engines: {node: '>=12'} cpu: [x64] os: [sunos] - requiresBuild: true - dev: true - optional: true - /esbuild-windows-32/0.15.13: - resolution: {integrity: sha512-XoF2iBf0wnqo16SDq+aDGi/+QbaLFpkiRarPVssMh9KYbFNCqPLlGAWwDvxEVz+ywX6Si37J2AKm+AXq1kC0JA==} + esbuild-windows-32@0.15.18: + resolution: {integrity: sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ==} engines: {node: '>=12'} cpu: [ia32] os: [win32] - requiresBuild: true - dev: true - optional: true - /esbuild-windows-64/0.15.13: - resolution: {integrity: sha512-Et6htEfGycjDrtqb2ng6nT+baesZPYQIW+HUEHK4D1ncggNrDNk3yoboYQ5KtiVrw/JaDMNttz8rrPubV/fvPQ==} + esbuild-windows-64@0.15.18: + resolution: {integrity: sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==} engines: {node: '>=12'} cpu: [x64] os: [win32] - requiresBuild: true - dev: true - optional: true - /esbuild-windows-arm64/0.15.13: - resolution: {integrity: sha512-3bv7tqntThQC9SWLRouMDmZnlOukBhOCTlkzNqzGCmrkCJI7io5LLjwJBOVY6kOUlIvdxbooNZwjtBvj+7uuVg==} + esbuild-windows-arm64@0.15.18: + resolution: {integrity: sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ==} engines: {node: '>=12'} cpu: [arm64] os: [win32] - requiresBuild: true - dev: true - optional: true - /esbuild/0.15.13: - resolution: {integrity: sha512-Cu3SC84oyzzhrK/YyN4iEVy2jZu5t2fz66HEOShHURcjSkOSAVL8C/gfUT+lDJxkVHpg8GZ10DD0rMHRPqMFaQ==} + esbuild@0.15.18: + resolution: {integrity: sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==} engines: {node: '>=12'} hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.15.13 - '@esbuild/linux-loong64': 0.15.13 - esbuild-android-64: 0.15.13 - esbuild-android-arm64: 0.15.13 - esbuild-darwin-64: 0.15.13 - esbuild-darwin-arm64: 0.15.13 - esbuild-freebsd-64: 0.15.13 - esbuild-freebsd-arm64: 0.15.13 - esbuild-linux-32: 0.15.13 - esbuild-linux-64: 0.15.13 - esbuild-linux-arm: 0.15.13 - esbuild-linux-arm64: 0.15.13 - esbuild-linux-mips64le: 0.15.13 - esbuild-linux-ppc64le: 0.15.13 - esbuild-linux-riscv64: 0.15.13 - esbuild-linux-s390x: 0.15.13 - esbuild-netbsd-64: 0.15.13 - esbuild-openbsd-64: 0.15.13 - esbuild-sunos-64: 0.15.13 - esbuild-windows-32: 0.15.13 - esbuild-windows-64: 0.15.13 - esbuild-windows-arm64: 0.15.13 - dev: true - - /fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] - requiresBuild: true - dev: true - optional: true - /function-bind/1.1.1: - resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} - dev: true + function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} - /has/1.0.3: - resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} - engines: {node: '>= 0.4.0'} - dependencies: - function-bind: 1.1.1 - dev: true + hasown@2.0.2: + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} + engines: {node: '>= 0.4'} - /is-core-module/2.11.0: - resolution: {integrity: sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==} - dependencies: - has: 1.0.3 - dev: true + is-core-module@2.15.1: + resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==} + engines: {node: '>= 0.4'} - /kleur/4.1.5: + kleur@4.1.5: resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} engines: {node: '>=6'} - dev: true - /mri/1.2.0: + mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} - dev: true - /nanoid/3.3.4: - resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} + nanoid@3.3.7: + resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - dev: true - /path-parse/1.0.7: + path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - dev: true - /picocolors/1.0.0: - resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} - dev: true + picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} - /postcss/8.4.18: - resolution: {integrity: sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==} + postcss@8.4.41: + resolution: {integrity: sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==} engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: 3.3.4 - picocolors: 1.0.0 - source-map-js: 1.0.2 - dev: true - /resolve/1.22.1: - resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} + resolve@1.22.8: + resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true - dependencies: - is-core-module: 2.11.0 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - dev: true - /rollup/2.79.1: + rollup@2.79.1: resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==} engines: {node: '>=10.0.0'} hasBin: true - optionalDependencies: - fsevents: 2.3.2 - dev: true - /sade/1.8.1: + sade@1.8.1: resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} engines: {node: '>=6'} - dependencies: - mri: 1.2.0 - dev: true - /source-map-js/1.0.2: - resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} + source-map-js@1.2.0: + resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} - dev: true - /supports-preserve-symlinks-flag/1.0.0: + supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - dev: true - /uvu/0.5.6: + uvu@0.5.6: resolution: {integrity: sha512-+g8ENReyr8YsOc6fv/NVJs2vFdHBnBNdfE49rshrTzDWOlUx4Gq7KOS2GD8eqhy2j+Ejq29+SbKH8yjkAqXqoA==} engines: {node: '>=8'} hasBin: true - dependencies: - dequal: 2.0.3 - diff: 5.1.0 - kleur: 4.1.5 - sade: 1.8.1 - dev: true - /vite/3.2.3: - resolution: {integrity: sha512-h8jl1TZ76eGs3o2dIBSsvXDLb1m/Ec1iej8ZMdz+PsaFUsftZeWe2CZOI3qogEsMNaywc17gu0q6cQDzh/weCQ==} + vite@3.2.10: + resolution: {integrity: sha512-Dx3olBo/ODNiMVk/cA5Yft9Ws+snLOXrhLtrI3F4XLt4syz2Yg8fayZMWScPKoz12v5BUv7VEmQHnsfpY80fYw==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -452,100 +369,200 @@ packages: optional: true terser: optional: true - dependencies: - esbuild: 0.15.13 - postcss: 8.4.18 - resolve: 1.22.1 - rollup: 2.79.1 - optionalDependencies: - fsevents: 2.3.2 - dev: true - file:tests/deps/cjs-js-lib: - resolution: {directory: tests/deps/cjs-js-lib, type: directory} - name: '@vitefu/dep-cjs-js-lib' - version: 0.0.1 - dev: false +snapshots: - file:tests/deps/esm-js-lib: - resolution: {directory: tests/deps/esm-js-lib, type: directory} - name: '@vitefu/dep-esm-js-lib' - version: 0.0.1 - dev: false + '@esbuild/android-arm@0.15.18': + optional: true - file:tests/deps/framework: - resolution: {directory: tests/deps/framework, type: directory} - name: '@vitefu/dep-framework' - version: 0.0.1 + '@esbuild/linux-loong64@0.15.18': + optional: true - file:tests/deps/full-direct-framework-lib_xng2sgcu4u3rzr73unoh4hinhq: - resolution: {directory: tests/deps/full-direct-framework-lib, type: directory} - id: file:tests/deps/full-direct-framework-lib - name: '@vitefu/dep-full-direct-framework-lib' - version: 0.0.1 - peerDependencies: - '@vitefu/dep-framework': ^0.0.1 + '@vitefu/dep-cjs-js-lib@file:tests/deps/cjs-js-lib': {} + + '@vitefu/dep-esm-js-lib@file:tests/deps/esm-js-lib': {} + + '@vitefu/dep-framework@file:tests/deps/framework': {} + + '@vitefu/dep-full-direct-framework-lib@file:tests/deps/full-direct-framework-lib(@vitefu/dep-framework@file:tests/deps/framework)': dependencies: '@vitefu/dep-cjs-js-lib': file:tests/deps/cjs-js-lib '@vitefu/dep-framework': file:tests/deps/framework - dev: false - file:tests/deps/full-framework-lib_xng2sgcu4u3rzr73unoh4hinhq: - resolution: {directory: tests/deps/full-framework-lib, type: directory} - id: file:tests/deps/full-framework-lib - name: '@vitefu/dep-full-framework-lib' - version: 0.0.1 - peerDependencies: - '@vitefu/dep-framework': ^0.0.1 + '@vitefu/dep-full-framework-lib@file:tests/deps/full-framework-lib(@vitefu/dep-framework@file:tests/deps/framework)': dependencies: '@vitefu/dep-cjs-js-lib': file:tests/deps/cjs-js-lib '@vitefu/dep-framework': file:tests/deps/framework '@vitefu/dep-implicit-entry-cjs-lib': file:tests/deps/implicit-entry-cjs-lib '@vitefu/dep-no-deep-optimize-lib': file:tests/deps/no-deep-optimize-lib '@vitefu/dep-no-entry-lib': file:tests/deps/no-entry-lib - '@vitefu/dep-should-no-external-lib': file:tests/deps/should-no-external-lib - dev: false + '@vitefu/dep-should-no-external-lib': '@vitefu/dep-sshould-no-external-lib@file:tests/deps/should-no-external-lib' - file:tests/deps/implicit-entry-cjs-lib: - resolution: {directory: tests/deps/implicit-entry-cjs-lib, type: directory} - name: '@vitefu/dep-implicit-entry-cjs-lib' - version: 0.0.1 - dev: false + '@vitefu/dep-implicit-entry-cjs-lib@file:tests/deps/implicit-entry-cjs-lib': {} - file:tests/deps/no-deep-optimize-lib: - resolution: {directory: tests/deps/no-deep-optimize-lib, type: directory} - name: '@vitefu/dep-no-deep-optimize-lib' - version: 0.0.1 - dev: false + '@vitefu/dep-no-deep-optimize-lib@file:tests/deps/no-deep-optimize-lib': {} - file:tests/deps/no-entry-lib: - resolution: {directory: tests/deps/no-entry-lib, type: directory} - name: '@vitefu/dep-no-entry-lib' - version: 0.0.1 - dev: false + '@vitefu/dep-no-entry-lib@file:tests/deps/no-entry-lib': {} - file:tests/deps/proxy-framework-lib_xng2sgcu4u3rzr73unoh4hinhq: - resolution: {directory: tests/deps/proxy-framework-lib, type: directory} - id: file:tests/deps/proxy-framework-lib - name: '@vitefu/dep-proxy-framework-lib' - version: 0.0.1 - peerDependencies: - '@vitefu/dep-framework': ^0.0.1 + '@vitefu/dep-proxy-framework-lib@file:tests/deps/proxy-framework-lib(@vitefu/dep-framework@file:tests/deps/framework)': dependencies: '@vitefu/dep-framework': file:tests/deps/framework - '@vitefu/dep-full-framework-lib': file:tests/deps/full-framework-lib_xng2sgcu4u3rzr73unoh4hinhq - dev: false + '@vitefu/dep-full-framework-lib': file:tests/deps/full-framework-lib(@vitefu/dep-framework@file:tests/deps/framework) - file:tests/deps/semi-framework-lib: - resolution: {directory: tests/deps/semi-framework-lib, type: directory} - name: '@vitefu/dep-semi-framework-lib' - version: 0.0.1 + '@vitefu/dep-semi-framework-lib@file:tests/deps/semi-framework-lib': dependencies: '@vitefu/dep-framework': file:tests/deps/framework - dev: false - file:tests/deps/should-no-external-lib: - resolution: {directory: tests/deps/should-no-external-lib, type: directory} - name: '@vitefu/dep-sshould-no-external-lib' - version: 0.0.1 - dev: false + '@vitefu/dep-sshould-no-external-lib@file:tests/deps/should-no-external-lib': {} + + dequal@2.0.3: {} + + diff@5.2.0: {} + + esbuild-android-64@0.15.18: + optional: true + + esbuild-android-arm64@0.15.18: + optional: true + + esbuild-darwin-64@0.15.18: + optional: true + + esbuild-darwin-arm64@0.15.18: + optional: true + + esbuild-freebsd-64@0.15.18: + optional: true + + esbuild-freebsd-arm64@0.15.18: + optional: true + + esbuild-linux-32@0.15.18: + optional: true + + esbuild-linux-64@0.15.18: + optional: true + + esbuild-linux-arm64@0.15.18: + optional: true + + esbuild-linux-arm@0.15.18: + optional: true + + esbuild-linux-mips64le@0.15.18: + optional: true + + esbuild-linux-ppc64le@0.15.18: + optional: true + + esbuild-linux-riscv64@0.15.18: + optional: true + + esbuild-linux-s390x@0.15.18: + optional: true + + esbuild-netbsd-64@0.15.18: + optional: true + + esbuild-openbsd-64@0.15.18: + optional: true + + esbuild-sunos-64@0.15.18: + optional: true + + esbuild-windows-32@0.15.18: + optional: true + + esbuild-windows-64@0.15.18: + optional: true + + esbuild-windows-arm64@0.15.18: + optional: true + + esbuild@0.15.18: + optionalDependencies: + '@esbuild/android-arm': 0.15.18 + '@esbuild/linux-loong64': 0.15.18 + esbuild-android-64: 0.15.18 + esbuild-android-arm64: 0.15.18 + esbuild-darwin-64: 0.15.18 + esbuild-darwin-arm64: 0.15.18 + esbuild-freebsd-64: 0.15.18 + esbuild-freebsd-arm64: 0.15.18 + esbuild-linux-32: 0.15.18 + esbuild-linux-64: 0.15.18 + esbuild-linux-arm: 0.15.18 + esbuild-linux-arm64: 0.15.18 + esbuild-linux-mips64le: 0.15.18 + esbuild-linux-ppc64le: 0.15.18 + esbuild-linux-riscv64: 0.15.18 + esbuild-linux-s390x: 0.15.18 + esbuild-netbsd-64: 0.15.18 + esbuild-openbsd-64: 0.15.18 + esbuild-sunos-64: 0.15.18 + esbuild-windows-32: 0.15.18 + esbuild-windows-64: 0.15.18 + esbuild-windows-arm64: 0.15.18 + + fsevents@2.3.3: + optional: true + + function-bind@1.1.2: {} + + hasown@2.0.2: + dependencies: + function-bind: 1.1.2 + + is-core-module@2.15.1: + dependencies: + hasown: 2.0.2 + + kleur@4.1.5: {} + + mri@1.2.0: {} + + nanoid@3.3.7: {} + + path-parse@1.0.7: {} + + picocolors@1.0.1: {} + + postcss@8.4.41: + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.1 + source-map-js: 1.2.0 + + resolve@1.22.8: + dependencies: + is-core-module: 2.15.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + + rollup@2.79.1: + optionalDependencies: + fsevents: 2.3.3 + + sade@1.8.1: + dependencies: + mri: 1.2.0 + + source-map-js@1.2.0: {} + + supports-preserve-symlinks-flag@1.0.0: {} + + uvu@0.5.6: + dependencies: + dequal: 2.0.3 + diff: 5.2.0 + kleur: 4.1.5 + sade: 1.8.1 + + vite@3.2.10: + dependencies: + esbuild: 0.15.18 + postcss: 8.4.41 + resolve: 1.22.8 + rollup: 2.79.1 + optionalDependencies: + fsevents: 2.3.3