feat(planning): grille hebdomadaire complète avec API et filtres
- Connexion API via proxy Angular (résolution CORS, base path /api) - Import CSS ng-zorro global pour les modales et composants - Filtres Camion/Show câblés sur l'affichage de la grille - Camions affichés via TrucksService (linkés au show du même créneau) - Panneau de détails : spectacles + camions du jour sélectionné - Modale de création de spectacle stylisée avec fond et centrage - Positionnement précis des events à la minute dans leur créneau - Auto-scroll vers l'heure courante au chargement - Ligne "maintenant" sur la colonne du jour actuel - Régénération des services OpenAPI (nouveaux noms de types) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+8
-3
@@ -93,10 +93,13 @@ const pickManifest = (packument, wanted, opts) => {
|
||||
throw new Error('Only tag, version, and range are supported')
|
||||
}
|
||||
|
||||
// if the type is 'tag', and not just the implicit default, then it must be that exactly, or nothing else will do.
|
||||
// if the type is 'tag', and not just the implicit default, then it must
|
||||
// be that exactly, or nothing else will do.
|
||||
if (wanted && type === 'tag') {
|
||||
const ver = distTags[wanted]
|
||||
// if the version in the dist-tags is before the before date, then we use that. Otherwise, we get the highest precedence version prior to the dist-tag.
|
||||
// if the version in the dist-tags is before the before date, then
|
||||
// we use that. Otherwise, we get the highest precedence version
|
||||
// prior to the dist-tag.
|
||||
if (isBefore(verTimes, ver, time)) {
|
||||
return decorateAvoid(versions[ver] || staged[ver] || restricted[ver], avoid)
|
||||
} else {
|
||||
@@ -114,7 +117,9 @@ const pickManifest = (packument, wanted, opts) => {
|
||||
// ok, sort based on our heuristics, and pick the best fit
|
||||
const range = type === 'range' ? wanted : '*'
|
||||
|
||||
// if the range is *, then we prefer the 'latest' if available but skip this if it should be avoided, in that case we have to try a little harder.
|
||||
// if the range is *, then we prefer the 'latest' if available
|
||||
// but skip this if it should be avoided, in that case we have
|
||||
// to try a little harder.
|
||||
const defaultVer = distTags[defaultTag]
|
||||
if (defaultVer &&
|
||||
(range === '*' || semver.satisfies(defaultVer, range, { loose: true })) &&
|
||||
|
||||
+8
-8
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "npm-pick-manifest",
|
||||
"version": "11.0.3",
|
||||
"version": "10.0.0",
|
||||
"description": "Resolves a matching manifest from a package metadata document according to standard npm semver resolution rules.",
|
||||
"main": "./lib",
|
||||
"files": [
|
||||
@@ -30,14 +30,14 @@
|
||||
"author": "GitHub Inc.",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"npm-install-checks": "^8.0.0",
|
||||
"npm-normalize-package-bin": "^5.0.0",
|
||||
"npm-package-arg": "^13.0.0",
|
||||
"npm-install-checks": "^7.1.0",
|
||||
"npm-normalize-package-bin": "^4.0.0",
|
||||
"npm-package-arg": "^12.0.0",
|
||||
"semver": "^7.3.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@npmcli/eslint-config": "^6.0.0",
|
||||
"@npmcli/template-oss": "4.27.1",
|
||||
"@npmcli/eslint-config": "^5.0.0",
|
||||
"@npmcli/template-oss": "4.23.3",
|
||||
"tap": "^16.0.1"
|
||||
},
|
||||
"tap": {
|
||||
@@ -48,11 +48,11 @@
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": "^20.17.0 || >=22.9.0"
|
||||
"node": "^18.17.0 || >=20.5.0"
|
||||
},
|
||||
"templateOSS": {
|
||||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
||||
"version": "4.27.1",
|
||||
"version": "4.23.3",
|
||||
"publish": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user