chore: update dependencies and configurations across multiple packages
Publish to NPM / Check version changes and publish (push) Failing after 10m44s
Publish to NPM / Check version changes and publish (push) Failing after 10m44s
This commit is contained in:
@@ -15,11 +15,12 @@
|
||||
"url": "git+https://github.com/robonen/tools.git",
|
||||
"directory": "vue/primitives"
|
||||
},
|
||||
"packageManager": "pnpm@10.34.1",
|
||||
"packageManager": "pnpm@11.7.0",
|
||||
"engines": {
|
||||
"node": ">=24.16.0"
|
||||
},
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
@@ -58,23 +59,26 @@
|
||||
"@robonen/tsconfig": "workspace:*",
|
||||
"@robonen/tsdown": "workspace:*",
|
||||
"@vitest/browser": "catalog:",
|
||||
"@vitest/browser-playwright": "^4.1.8",
|
||||
"@vitest/browser-playwright": "^4.1.9",
|
||||
"@vue/test-utils": "catalog:",
|
||||
"axe-core": "^4.12.0",
|
||||
"axe-core": "^4.12.1",
|
||||
"eslint": "catalog:",
|
||||
"playwright": "^1.60.0",
|
||||
"playwright": "^1.61.0",
|
||||
"tsdown": "catalog:",
|
||||
"unplugin-vue": "^7.2.0",
|
||||
"vitest-browser-vue": "^2.1.0",
|
||||
"vue-tsc": "^3.3.4"
|
||||
"vue": "catalog:",
|
||||
"vue-tsc": "^3.3.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"@floating-ui/vue": "^1.1.11",
|
||||
"@floating-ui/vue": "^2.0.0",
|
||||
"@robonen/encoding": "workspace:*",
|
||||
"@robonen/platform": "workspace:*",
|
||||
"@robonen/stdlib": "workspace:*",
|
||||
"@robonen/vue": "workspace:*",
|
||||
"@vue/shared": "catalog:",
|
||||
"vue": "catalog:"
|
||||
"@vue/shared": "catalog:"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "^3.5"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@robonen/tsconfig": "workspace:*",
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@tailwindcss/vite": "^4.3.1",
|
||||
"@vitejs/plugin-vue": "^6.0.7",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"tailwindcss": "^4.3.1",
|
||||
"vite": "^8.0.16",
|
||||
"vue-tsc": "^3.3.4"
|
||||
"vue-tsc": "^3.3.5"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,8 +12,14 @@ import {
|
||||
CalendarHeadCell,
|
||||
CalendarRoot,
|
||||
} from '../index';
|
||||
import { nativeDateAdapter } from '../../../utilities/config-provider';
|
||||
import { findFirstFocusableDate, getLocaleWeekStartsOn, toIsoDate } from '../utils';
|
||||
|
||||
// A date adapter whose "today" sits far outside any month exercised below, so
|
||||
// the roving-tabindex fallback never anchors on the real system date (which
|
||||
// would otherwise make date-sensitive expectations flaky).
|
||||
const fixedTodayAdapter = { ...nativeDateAdapter, now: () => new Date(2020, 0, 1) };
|
||||
|
||||
function mountCalendar(
|
||||
props: Record<string, unknown> = {},
|
||||
options: Record<string, unknown> = {},
|
||||
@@ -203,6 +209,7 @@ describe('Calendar — roving fallback tabindex', () => {
|
||||
const w = mountCalendar({
|
||||
defaultPlaceholder: new Date(2026, 5, 1),
|
||||
isDateDisabled: (d: Date) => d.getMonth() === 5 && d.getDate() < 16,
|
||||
dateAdapter: fixedTodayAdapter,
|
||||
});
|
||||
const focusable = w.findAll('[data-primitives-calendar-cell-trigger][tabindex="0"]');
|
||||
expect(focusable).toHaveLength(1);
|
||||
|
||||
@@ -11,7 +11,10 @@ export default defineConfig({
|
||||
dts: { vue: true },
|
||||
deps: {
|
||||
neverBundle: ['vue'],
|
||||
alwaysBundle: [/^@robonen\//, '@vue/shared'],
|
||||
// `@robonen/*` stay external (deduped by the package manager); only the
|
||||
// stateless `@vue/shared` helpers are inlined (a Vue internal consumers
|
||||
// don't install directly, so it can't be externalized reliably).
|
||||
alwaysBundle: ['@vue/shared'],
|
||||
},
|
||||
inputOptions: {
|
||||
resolve: {
|
||||
|
||||
@@ -13,6 +13,9 @@ export default defineConfig({
|
||||
'@': resolve(__dirname, './src'),
|
||||
},
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: ['@robonen/vue'],
|
||||
},
|
||||
test: {
|
||||
browser: {
|
||||
enabled: true,
|
||||
|
||||
@@ -19,12 +19,12 @@
|
||||
"devDependencies": {
|
||||
"@robonen/eslint": "workspace:*",
|
||||
"@robonen/tsconfig": "workspace:*",
|
||||
"@storybook/addon-a11y": "^10.4.2",
|
||||
"@storybook/addon-docs": "^10.4.2",
|
||||
"@storybook/vue3-vite": "^10.4.2",
|
||||
"@storybook/addon-a11y": "^10.4.6",
|
||||
"@storybook/addon-docs": "^10.4.6",
|
||||
"@storybook/vue3-vite": "^10.4.6",
|
||||
"@vitejs/plugin-vue": "^6.0.7",
|
||||
"eslint": "catalog:",
|
||||
"storybook": "^10.4.2",
|
||||
"storybook": "^10.4.6",
|
||||
"vite": "^8.0.16"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,11 +16,12 @@
|
||||
"url": "git+https://github.com/robonen/tools.git",
|
||||
"directory": "vue/toolkit"
|
||||
},
|
||||
"packageManager": "pnpm@10.34.1",
|
||||
"packageManager": "pnpm@11.7.0",
|
||||
"engines": {
|
||||
"node": ">=24.16.0"
|
||||
},
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
@@ -49,11 +50,14 @@
|
||||
"@robonen/tsdown": "workspace:*",
|
||||
"@vue/test-utils": "catalog:",
|
||||
"eslint": "catalog:",
|
||||
"tsdown": "catalog:"
|
||||
"tsdown": "catalog:",
|
||||
"vue": "catalog:"
|
||||
},
|
||||
"dependencies": {
|
||||
"@robonen/platform": "workspace:*",
|
||||
"@robonen/stdlib": "workspace:*",
|
||||
"vue": "catalog:"
|
||||
"@robonen/stdlib": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "^3.5"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,15 +44,15 @@ export type UseDateFormatReturn = ComputedRef<string>;
|
||||
|
||||
// Matches a token, or a `[literal]` escape that is emitted verbatim.
|
||||
const REGEX_FORMAT
|
||||
= /* #__PURE__ */ /[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|z{1,4}|SSS/g;
|
||||
= /[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|z{1,4}|SSS/g;
|
||||
|
||||
// Loose ISO-ish parser used for date strings without a trailing `Z`. The optional
|
||||
// separators make adjacent digit groups technically "misleading" to the linter,
|
||||
// but this is the deliberate lenient dayjs parser (accepts `2024-01-01` and
|
||||
// `20240101`); JS lacks possessive quantifiers to disambiguate it.
|
||||
// eslint-disable-next-line regexp/no-misleading-capturing-group
|
||||
const REGEX_PARSE = /* #__PURE__ */ /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i;
|
||||
const REGEX_ISO_SUFFIX = /* #__PURE__ */ /z$/i;
|
||||
const REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i;
|
||||
const REGEX_ISO_SUFFIX = /z$/i;
|
||||
|
||||
const ORDINAL_SUFFIXES = ['th', 'st', 'nd', 'rd'] as const;
|
||||
|
||||
|
||||
@@ -165,7 +165,7 @@ const DEFAULT_UNITS: Array<UseTimeAgoUnit<UseTimeAgoUnitName>> = [
|
||||
{ max: Number.POSITIVE_INFINITY, value: 31536000000, name: 'year' },
|
||||
];
|
||||
|
||||
const REGEX_DIGIT = /* #__PURE__ */ /\d/;
|
||||
const REGEX_DIGIT = /\d/;
|
||||
|
||||
const DEFAULT_MESSAGES: UseTimeAgoMessages<UseTimeAgoUnitName> = {
|
||||
justNow: 'just now',
|
||||
|
||||
@@ -7,7 +7,7 @@ import { defaultWindow } from '@/types';
|
||||
|
||||
// Combo separator (`ctrl+a`, `ctrl_a`, `ctrl-a`). Non-global so it is safe to
|
||||
// reuse for both `.test()` (no lastIndex state) and `.split()`.
|
||||
const COMBO_SEPARATOR_RE = /* #__PURE__ */ /[+_-]/;
|
||||
const COMBO_SEPARATOR_RE = /[+_-]/;
|
||||
|
||||
export type UseMagicKeysAliasMap = Readonly<Record<string, string>>;
|
||||
|
||||
@@ -15,7 +15,7 @@ export type UseMagicKeysAliasMap = Readonly<Record<string, string>>;
|
||||
* Default lowercase alias map: maps common shorthand key names to their
|
||||
* canonical `KeyboardEvent.key` (lowercased) equivalents.
|
||||
*/
|
||||
export const DefaultMagicKeysAliasMap: UseMagicKeysAliasMap = /* #__PURE__ */ {
|
||||
export const DefaultMagicKeysAliasMap: UseMagicKeysAliasMap = {
|
||||
ctrl: 'control',
|
||||
command: 'meta',
|
||||
cmd: 'meta',
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { isClient } from '@robonen/platform/multi';
|
||||
|
||||
export const defaultWindow = /* #__PURE__ */ isClient ? globalThis as Window & typeof globalThis : undefined;
|
||||
export const defaultDocument = /* #__PURE__ */ isClient ? globalThis.document : undefined;
|
||||
export const defaultNavigator = /* #__PURE__ */ isClient ? globalThis.navigator : undefined;
|
||||
export const defaultWindow = isClient ? globalThis as Window & typeof globalThis : undefined;
|
||||
export const defaultDocument = isClient ? globalThis.document : undefined;
|
||||
export const defaultNavigator = isClient ? globalThis.navigator : undefined;
|
||||
|
||||
export interface ConfigurableWindow {
|
||||
/**
|
||||
|
||||
@@ -6,5 +6,4 @@ export default defineConfig({
|
||||
tsconfig: './tsconfig.src.json',
|
||||
entry: ['src/index.ts'],
|
||||
external: ['vue'],
|
||||
noExternal: [/^@robonen\//],
|
||||
});
|
||||
|
||||
@@ -19,11 +19,12 @@
|
||||
"url": "git+https://github.com/robonen/tools.git",
|
||||
"directory": "vue/writekit"
|
||||
},
|
||||
"packageManager": "pnpm@10.34.1",
|
||||
"packageManager": "pnpm@11.7.0",
|
||||
"engines": {
|
||||
"node": ">=24.16.0"
|
||||
},
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
@@ -62,15 +63,16 @@
|
||||
"@robonen/tsconfig": "workspace:*",
|
||||
"@robonen/tsdown": "workspace:*",
|
||||
"@vitest/browser": "catalog:",
|
||||
"@vitest/browser-playwright": "^4.1.8",
|
||||
"@vitest/browser-playwright": "^4.1.9",
|
||||
"@vue/test-utils": "catalog:",
|
||||
"eslint": "catalog:",
|
||||
"jsdom": "catalog:",
|
||||
"playwright": "^1.60.0",
|
||||
"playwright": "^1.61.0",
|
||||
"tsdown": "catalog:",
|
||||
"unplugin-vue": "^7.2.0",
|
||||
"vitest-browser-vue": "^2.1.0",
|
||||
"vue-tsc": "^3.3.4"
|
||||
"vue": "catalog:",
|
||||
"vue-tsc": "^3.3.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"@robonen/crdt": "workspace:*",
|
||||
@@ -78,7 +80,9 @@
|
||||
"@robonen/primitives": "workspace:*",
|
||||
"@robonen/stdlib": "workspace:*",
|
||||
"@robonen/vue": "workspace:*",
|
||||
"@vue/shared": "catalog:",
|
||||
"vue": "catalog:"
|
||||
"@vue/shared": "catalog:"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "^3.5"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,6 +18,6 @@
|
||||
"@robonen/tsconfig": "workspace:*",
|
||||
"@vitejs/plugin-vue": "^6.0.7",
|
||||
"vite": "^8.0.16",
|
||||
"vue-tsc": "^3.3.4"
|
||||
"vue-tsc": "^3.3.5"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,10 @@ export default defineConfig({
|
||||
dts: { vue: true },
|
||||
deps: {
|
||||
neverBundle: ['vue'],
|
||||
alwaysBundle: [/^@robonen\//, '@vue/shared'],
|
||||
// `@robonen/*` (incl. `@robonen/primitives`) stay external — no more
|
||||
// inlining the whole component lib (and its transitive `@floating-ui/*`)
|
||||
// into writekit's bundle. Only stateless `@vue/shared` is inlined.
|
||||
alwaysBundle: ['@vue/shared'],
|
||||
},
|
||||
inputOptions: {
|
||||
resolve: {
|
||||
|
||||
Reference in New Issue
Block a user