Skip to content

Commit

Permalink
fix: remove @Alwatr in definePackage
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm committed Dec 19, 2023
1 parent 8cfabcf commit 42ea0d0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll": true
"source.fixAll": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"prettier.useEditorConfig": true,
Expand Down
2 changes: 1 addition & 1 deletion deprecated/icon/src/icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {preloadIcon} from './preload.js';

export {preloadIcon};

definePackage('@alwatr/icon', '1.x')
definePackage('icon', '1.x')

declare global {
interface HTMLElementTagNameMap {
Expand Down
2 changes: 1 addition & 1 deletion packages/fract/src/directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {createLogger, definePackage} from '@alwatr/logger';

import {Directive, PartType, type PartInfo, type Part} from './lit-html.js';

definePackage('@alwatr/fract', '1.x');
definePackage('fract', '1.x');

export abstract class AlwatrDirective extends Directive {
protected _logger;
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/src/l10n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {localeList} from './locale-list.js';
import type {L10nResource, L10nResourceLoader, Locale} from './type.js';
import type {LocaleCode} from '@alwatr/type';

definePackage('@alwatr/i18n', '2.x');
definePackage('i18n', '2.x');

export class AlwatrL10n extends AlwatrObservable<LocaleCode> {
protected _locale?: Locale;
Expand Down
2 changes: 1 addition & 1 deletion packages/router/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {AlwatrObservable} from '@alwatr/signal/observable.js';
import type {RouterConfig, PushState, RouteContext, RouteContextBase} from './type.js';
import type {QueryParameters} from '@alwatr/type';

definePackage('@alwatr/router', '2.x');
definePackage('router', '2.x');

const documentBaseUrl = document.querySelector('base')?.href || '/';

Expand Down

0 comments on commit 42ea0d0

Please sign in to comment.