Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(vite): iterate over .ts files in all directories #5553

Merged
merged 1 commit into from
May 6, 2024

Conversation

Antreesy
Copy link
Contributor

@Antreesy Antreesy commented May 6, 2024

☑️ Resolves

  • Fix missing modules (z.B. Functions from ts files) in /dist bundle
  • Made similar to existing code for /Composables

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable
  • 3️⃣ Backport to next requested with a Vue 3 upgrade

@Antreesy Antreesy added bug Something isn't working 3. to review Waiting for reviews configuration Pull requests that update a config file labels May 6, 2024
@Antreesy Antreesy added this to the 8.11.3 milestone May 6, 2024
@Antreesy Antreesy requested review from susnux and ShGKme May 6, 2024 14:45
@Antreesy Antreesy self-assigned this May 6, 2024
@susnux susnux merged commit bb38a7a into master May 6, 2024
19 checks passed
@susnux susnux deleted the build/noid/emoji-ts branch May 6, 2024 16:08
@susnux
Copy link
Contributor

susnux commented May 6, 2024

/backport to next

Copy link

backportbot bot commented May 6, 2024

The backport to next failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout next
git pull origin next

# Create the new backport branch
git checkout -b backport/5553/next

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick c3382d68

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/5553/next

Error: No changes found in backport branch


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@@ -18,33 +18,33 @@ const SCOPE_VERSION = JSON.stringify(versionHash)

// Entry points which we build using vite
const entryPoints = {
...globSync('src/components/*/index.js').reduce((acc, item) => {
...globSync(['src/components/*/index.js', 'src/components/*/index.ts']).reduce((acc, item) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't [jt]s also work here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should work, according to docs: https://github.com/isaacs/node-glob#glob-primer

Error: No changes found in backport branch

But next branch already contains these changes in the same array format, so good for now, I'd say

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews backport-request bug Something isn't working configuration Pull requests that update a config file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants