Giter Site home page Giter Site logo

vite-ecosystem-ci's People

Contributors

akryum avatar arnaudbarre avatar aslemammad avatar benmccann avatar bholmesdev avatar bluwy avatar brc-dd avatar brillout avatar cijiugechu avatar cyco130 avatar dafnik avatar danielroe avatar dominikg avatar elmassimo avatar frandiox avatar fwouts avatar ianvs avatar innocenzi avatar mandarini avatar markdalgleish avatar patak-dev avatar renovate[bot] avatar sapphi-red avatar sodatea avatar tajo avatar userquin avatar yusufkandemir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vite-ecosystem-ci's Issues

move to pnpm7

pnpm7 has a few breaking changes and a new lockfile version.

Right now our ci uses pnpm@6 and that causes errors when running on ecosystem projects already on 7.
The same can be true if we switch to pnpm7 and projects are still on 6.

Once vite main branch is on pnpm7 make that move here too. Once moved, disable projects still on pnpm6 until they also migrated.

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: .github/renovate.json5
Error type: The renovate configuration file contains some invalid settings
Message: Invalid configuration option: node

enhancement: custom discord integration

Current webhook doesn't log all details needed to figure out what was executed and isn't configurable. Use a custom github action or some other way to show custom messages on vite discord

marko test fail with vite 2.9 alpha

pnpm test -- marko --release 2.8.6 passes but pnpm test -- marko fails with

> @marko/[email protected] mocha
> NODE_ENV=test mocha 'src/**/__tests__/*.test.ts'



  browser-basic
    ✔ dev (1314ms)
    ✔ build (1097ms)

  isomorphic-basic
    ✔ dev (1134ms)
    1) build


  3 passing (4s)
  1 failing

  1) isomorphic-basic
       build:
     /home/dominikg/develop/vite-ecosystem-ci/workspace/marko/marko/src/__tests__/fixtures/isomorphic-basic/dist/index.js:240
window.addEventListener("message", function(ev) {
^

ReferenceError: window is not defined
      at Module.<anonymous> (src/__tests__/fixtures/isomorphic-basic/dist/index.js:240:1)
      at Module._compile (node:internal/modules/cjs/loader:1101:14)
      at Module._compile (node_modules/esbuild-register/dist/node.js:2258:26)
      at Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
      at Object.newLoader (node_modules/esbuild-register/dist/node.js:2262:9)
      at Object.extensions..js (node_modules/esbuild-register/dist/node.js:4801:24)
      at Module.load (node:internal/modules/cjs/loader:981:32)
      at Function.Module._load (node:internal/modules/cjs/loader:822:12)
      at Module.require (node:internal/modules/cjs/loader:1005:19)
      at require (node:internal/modules/cjs/helpers:102:18)
      at Object.<anonymous> (src/__tests__/fixtures/isomorphic-basic/server.js:4:21)
      at Module._compile (node:internal/modules/cjs/loader:1101:14)
      at Module._compile (node_modules/esbuild-register/dist/node.js:2258:26)
      at Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
      at Object.newLoader (node_modules/esbuild-register/dist/node.js:2262:9)
      at Object.extensions..js (node_modules/esbuild-register/dist/node.js:4801:24)
      at Module.load (node:internal/modules/cjs/loader:981:32)
      at Function.Module._load (node:internal/modules/cjs/loader:822:12)
      at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:190:29)
      at ModuleJob.run (node:internal/modules/esm/module_job:185:25)
      at async Promise.all (index 0)
      at async ESMLoader.import (node:internal/modules/esm/loader:281:24)
      at async importModuleDynamicallyWrapper (node:internal/vm/module:437:15)
      at Context.<anonymous> (src/__tests__/main.test.ts:133:12)

vite ref: b0c0efe009c4234c8915a649dc9b1568d1d8a07f

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v4
  • actions/setup-node v4
  • actions/setup-node v4
.github/workflows/ecosystem-ci-from-pr.yml
  • tibdex/github-app-token v2
  • actions/github-script v7
  • actions/checkout v4
  • actions/setup-node v4
  • actions/checkout v4
  • actions/setup-node v4
  • tibdex/github-app-token v2
  • actions/github-script v7
.github/workflows/ecosystem-ci-selected.yml
  • actions/checkout v4
  • actions/setup-node v4
.github/workflows/ecosystem-ci.yml
  • actions/checkout v4
  • actions/setup-node v4
npm
package.json
  • @actions/core ^1.10.1
  • cac ^6.7.14
  • execa ^8.0.1
  • node-fetch ^3.3.2
  • @antfu/ni ^0.21.12
  • @types/node ^20.11.30
  • @types/semver ^7.5.8
  • @typescript-eslint/eslint-plugin ^7.4.0
  • @typescript-eslint/parser ^7.4.0
  • eslint ^8.57.0
  • eslint-define-config ^2.1.0
  • eslint-plugin-n ^16.6.2
  • lint-staged ^15.2.2
  • prettier ^3.2.5
  • semver ^7.6.0
  • simple-git-hooks ^2.11.1
  • tsx ^4.7.1
  • typescript ^5.4.3
  • pnpm 8.15.5

  • Check this box to trigger a request for Renovate to run again on this repository

switch to node20

After node20 is promoted to active lts status by the end of october, switch to it

  • change ci scripts to use setup node action with v20
  • update our own engine field
  • reenable ladle test

hydrogen - yarn1 install error

running pnpm test -- hydrogen results in the following error:

error An unexpected error occurred: "ENOENT: no such file or directory, stat '/home/dominikg/develop/vite-ecosystem-ci/workspace/hydrogen/hydrogen/node_modules/vite/node_modules/resolve'".
yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
info If you think this is a bug, please open a bug report with the information provided in "/home/dominikg/develop/vite-ecosystem-ci/workspace/hydrogen/hydrogen/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
    at makeError (file:///home/dominikg/develop/vite-ecosystem-ci/node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:59:11)
    at handlePromise (file:///home/dominikg/develop/vite-ecosystem-ci/node_modules/.pnpm/[email protected]/node_modules/execa/index.js:119:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async $ (file:///home/dominikg/develop/vite-ecosystem-ci/utils.ts:42:18)
    at async applyPackageOverrides (file:///home/dominikg/develop/vite-ecosystem-ci/utils.ts:239:5)
    at async runInRepo (file:///home/dominikg/develop/vite-ecosystem-ci/utils.ts:142:3)
    at async test (file:///home/dominikg/develop/vite-ecosystem-ci/tests/hydrogen.ts:22:3)
    at async run (file:///home/dominikg/develop/vite-ecosystem-ci/ecosystem-ci.ts:103:3)
    at async CAC.<anonymous> (file:///home/dominikg/develop/vite-ecosystem-ci/ecosystem-ci.ts:42:5) {
  shortMessage: 'Command failed with exit code 1: yarn install',

if you look closely, you'll notice that vite is inside hydrogen/node_modules and not our local one.
this seems to be caused by the fact that yarn1 silently refuses to use absolute paths in resolutions.

prefixing the resolution path with link: fixes that, but then other errors crop up because yarn tries to hoist dependencies and that fails.

Already tried rewriting hydrogens workspaces declaration in package.json to

  "workspaces": {
    "packages": [
      "examples/*",
      "packages/*",
      "packages/playground/*"
    ],
    "nohoist": [
      "vite/**"
    ]
  },

but that failed with

  Error: ENOENT: no such file or directory, lstat '/home/dominikg/develop/vite-ecosystem-ci/workspace/vite/packages/vite/node_modules/esbuild-linux-64'

tbh i'm out of ideas and not familiar with yarn1 or hydrogens project setup.

@frandiox: is there a way to to provide a local vite package to hydrogen so that yarn install works without using yarn link on the cli?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.