Skip to content
Merged
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
6 changes: 4 additions & 2 deletions .github/workflows/bootstrap-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ jobs:
registry-url: 'https://registry.npmjs.org'
cache: npm

- name: Upgrade npm to >= 11.5.1 (required for provenance attestation)
- name: Upgrade npm to 11.5.1 (required for provenance attestation)
# Pin to an exact version instead of @latest for reproducible builds
# and to satisfy Scorecard Pinned-Dependencies.
run: |
npm install -g npm@latest
npm install -g npm@11.5.1
npm --version

- name: Install dependencies
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ jobs:
registry-url: 'https://registry.npmjs.org'
cache: npm

- name: Upgrade npm to >= 11.5.1 (required by Trusted Publishing)
- name: Upgrade npm to 11.5.1 (required by Trusted Publishing)
# Pin to an exact version instead of @latest for reproducible builds
# and to satisfy Scorecard Pinned-Dependencies.
run: |
npm install -g npm@latest
npm install -g npm@11.5.1
npm --version

- name: Verify package.json version matches release tag
Expand Down
238 changes: 119 additions & 119 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kwiket/jets-seatmap-angular-lib",
"version": "0.0.1",
"version": "0.0.2",
"description": "Angular seatmap component library",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion projects/seatmap-demo/src/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export class App {
}

private updateTextareasForFlight(flight: DemoFlight): void {
const { config, availability, passengers, ...rest } = flight;
const { config } = flight;
const { apiUrl, apiAppId, apiKey, colorTheme, ...displayConfig } = config;
this.textareas.set({
config: JSON.stringify(displayConfig, null, 2),
Expand Down
2 changes: 1 addition & 1 deletion projects/seatmap-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seatmaps.com/angular-lib",
"version": "0.0.1",
"version": "0.0.2",
"description": "Jets seatmap angular library.",
"keywords": [
"angular",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { HttpClientTestingModule } from '@angular/common/http/testing';
import { JetsSeatMapComponent } from './jets-seat-map.component';
import { JetsSeatMapService } from '../../services/jets-seat-map.service';
import { resetCachedEnvironmentInfo } from '../../services/environment.service';
import { IConfig, IDeckData, IFlight, IPassenger, ISeatData, IInitialLayoutData, TSeatAvailability } from '../../types';
import { IConfig, IDeckData, IFlight, IPassenger, ISeatData, TSeatAvailability } from '../../types';
import { ENTITY_STATUS_MAP, ENTITY_TYPE_MAP } from '../../constants';

// ─── Test data factories ────────────────────────────────────────────────────
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, it, expect, beforeEach, vi } from 'vitest';
import { TestBed, ComponentFixture } from '@angular/core/testing';
import { JetsTooltipComponent } from './jets-tooltip.component';
import { ISeatData, ITooltipData, IPassenger } from '../../types';
import { ISeatData, ITooltipData } from '../../types';
import { ENTITY_STATUS_MAP, ENTITY_TYPE_MAP } from '../../constants';

function makeSeat(overrides: Partial<ISeatData> = {}): ISeatData {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ChangeDetectionStrategy, Component, EventEmitter, inject, Input, Output, Type } from '@angular/core';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { CommonModule, NgComponentOutlet } from '@angular/common';
import { IColorTheme, IPassenger, ISeatData, ISeatFeature, ITooltipData } from '../../types';
import { IColorTheme, ISeatData, ISeatFeature, ITooltipData } from '../../types';
import { LOCALES_MAP } from '../../constants';

@Component({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {
import {
API_SEAT_TYPE_MAP,
DEFAULT_SEAT_SIZE,
FEATURE_ICONS,
LOCALES_MAP,
SEAT_FEATURES_ICONS,
SEAT_LETTERS,
Expand Down