Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions lib/modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export async function sync(name: string, repo?: string, isNew: boolean = false):
// Store original values for regression detection
const originalWebsite = mod.website
const originalCompatibility = mod.compatibility.nuxt
const wasArchived = Boolean(mod.archived)

// Repo
if (repo) {
Expand Down Expand Up @@ -339,7 +340,7 @@ export async function sync(name: string, repo?: string, isNew: boolean = false):
// Write module
await writeModule(mod)

return { module: mod, regressions }
return { module: mod, regressions, newlyArchived: Boolean(mod.archived) && !wasArchived }
}

export async function getModule(name: string): Promise<ModuleInfo> {
Expand Down Expand Up @@ -401,7 +402,9 @@ export async function syncAll(onProgress?: SyncProgressCallback): Promise<SyncAl
if (result.regressions.length > 0) {
regressions.push(...result.regressions)
}
if (result.module.archived) {
// Only report the ones nobody has seen yet: the flag written above keeps
// a known-archived module from failing every later run.
if (result.newlyArchived) {
archivedModules.push(module.name)
}
}
Expand Down
2 changes: 2 additions & 0 deletions lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ export interface SyncRegression {
export interface SyncResult {
module: ModuleInfo
regressions: SyncRegression[]
/** The repository was archived since the last sync, so nobody has been told yet. */
newlyArchived: boolean
}

export interface SyncError {
Expand Down
2 changes: 1 addition & 1 deletion modules/laravel-echo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ npm: '@nuxtjs/laravel-echo'
icon: laravel-echo.png
github: https://github.com/nuxt-community/laravel-echo-module
website: https://github.com/nuxt-community/laravel-echo-module
learn_more: https://laravel.com/docs/8.x/broadcasting#installing-laravel-echo
learn_more: https://laravel.com/framework/docs/8.x/broadcasting#installing-laravel-echo
category: CMS
type: community
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion modules/nuxt-auth-sanctum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ npm: nuxt-auth-sanctum
icon: laravel.svg
github: https://github.com/manchenkoff/nuxt-auth-sanctum
website: https://sanctum.manchenkoff.me
learn_more: https://laravel.com/docs/12.x/sanctum
learn_more: https://laravel.com/framework/docs/12.x/sanctum
category: Security
type: 3rd-party
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion modules/nuxt-fortify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ npm: nuxt-fortify
icon: laravel-nuxt-fortify.svg
github: https://github.com/dev-charles15531/nuxt-fortify
website: https://github.com/dev-charles15531/nuxt-fortify
learn_more: https://laravel.com/docs/11.x/fortify
learn_more: https://laravel.com/framework/docs/11.x/fortify
category: Security
type: 3rd-party
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion modules/nuxt-highlight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ npm: nuxt-highlight
icon: nuxt-highlight.svg
github: https://github.com/nuxtaid/nuxt-highlight
website: https://github.com/nuxtaid/nuxt-highlight#readme
learn_more: https://highlight.io/docs/general/welcome
learn_more: https://launchdarkly.com/
category: Monitoring
type: 3rd-party
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion modules/nuxt-laravel-echo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ npm: nuxt-laravel-echo
icon: laravel.svg
github: https://github.com/manchenkoff/nuxt-laravel-echo
website: https://echo.manchenkoff.me
learn_more: https://laravel.com/docs/12.x/broadcasting
learn_more: https://laravel.com/framework/docs/12.x/broadcasting
category: Libraries
type: 3rd-party
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion modules/nuxt-sanctum-precognition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ npm: nuxt-sanctum-precognition
icon: laravel.svg
github: https://github.com/manchenkoff/nuxt-sanctum-precognition
website: https://precognition.manchenkoff.me
learn_more: https://laravel.com/docs/12.x/precognition
learn_more: https://laravel.com/framework/docs/12.x/precognition
category: Libraries
type: 3rd-party
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion modules/nuxt-spyglass.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ maintainers:
- name: Florian Heuberger
github: Flo0806
compatibility:
nuxt: '>=3.0.0'
nuxt: '>=4.0.0'
requires: {}
2 changes: 1 addition & 1 deletion modules/shopify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ maintainers:
github: freb97
bluesky: freb97.bsky.social
compatibility:
nuxt: '>=3.0.0'
nuxt: '>=3.17.0'
requires: {}
2 changes: 1 addition & 1 deletion modules/simple-line-icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ npm: nuxt-simple-line-icons
icon: ''
github: https://github.com/galsd/nuxt-simple-line-icons
website: https://github.com/galsd/nuxt-simple-line-icons
learn_more: https://thesabbir.github.io/simple-line-icons/
learn_more: https://ahmed.bio/simple-line-icons/
category: Fonts
type: 3rd-party
maintainers:
Expand Down
1 change: 1 addition & 0 deletions modules/windicss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ compatibility:
nuxt: ^2.0.0 || >=3.0.0
requires:
bridge: optional
archived: true
Loading