Skip to content

Commit

Permalink
[ci] release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and Fryuni committed Oct 6, 2024
1 parent fccaa43 commit 805b2a0
Show file tree
Hide file tree
Showing 37 changed files with 863 additions and 768 deletions.
5 changes: 0 additions & 5 deletions .changeset/gentle-flies-try.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/aik-mod/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @inox-tools/aik-mod

## 0.8.4

### Patch Changes

- @inox-tools/inline-mod@1.5.2

## 0.8.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/aik-mod/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inox-tools/aik-mod",
"version": "0.8.3",
"version": "0.8.4",
"description": "AIK Plugin for inline modules",
"keywords": [
"aik",
Expand Down
7 changes: 7 additions & 0 deletions packages/aik-route-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @inox-tools/aik-route-config

## 0.7.4

### Patch Changes

- Updated dependencies [e07b8a8]
- @inox-tools/utils@0.2.0

## 0.7.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/aik-route-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inox-tools/aik-route-config",
"version": "0.7.3",
"version": "0.7.4",
"description": "",
"keywords": [
"aik",
Expand Down
7 changes: 7 additions & 0 deletions packages/astro-tests/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @inox-tools/astro-tests

## 0.1.4

### Patch Changes

- Updated dependencies [e07b8a8]
- @inox-tools/utils@0.2.0

## 0.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/astro-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inox-tools/astro-tests",
"version": "0.1.3",
"version": "0.1.4",
"license": "MIT",
"author": "Luiz Ferraz <luiz@lferraz.com>",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions packages/content-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @inox-tools/content-utils

## 0.7.3

### Patch Changes

- Updated dependencies [e07b8a8]
- @inox-tools/utils@0.2.0
- @inox-tools/modular-station@0.3.3

## 0.7.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/content-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inox-tools/content-utils",
"version": "0.7.2",
"version": "0.7.3",
"description": "Utilities to work with content collections on an Astro project from an integration or library.",
"keywords": [
"lifecycle",
Expand Down
7 changes: 7 additions & 0 deletions packages/cut-short/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @inox-tools/cut-short

## 0.1.2

### Patch Changes

- Updated dependencies [e07b8a8]
- @inox-tools/utils@0.2.0

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cut-short/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inox-tools/cut-short",
"version": "0.1.1",
"version": "0.1.2",
"description": "Immediately halt request processing and return custom responses effortlessly.",
"keywords": [
"astro-integration",
Expand Down
7 changes: 7 additions & 0 deletions packages/inline-mod/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @inox-tools/inline-mod

## 1.5.2

### Patch Changes

- Updated dependencies [e07b8a8]
- @inox-tools/utils@0.2.0

## 1.5.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/inline-mod/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inox-tools/inline-mod",
"version": "1.5.1",
"version": "1.5.2",
"description": "Define a virtual module inline with any reference to buildtime values",
"keywords": [
"vite-plugin"
Expand Down
7 changes: 7 additions & 0 deletions packages/modular-station/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @inox-tools/modular-station

## 0.3.3

### Patch Changes

- Updated dependencies [e07b8a8]
- @inox-tools/utils@0.2.0

## 0.3.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/modular-station/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inox-tools/modular-station",
"version": "0.3.2",
"version": "0.3.3",
"description": "Simplifying Astro integrations with a flexible docking system.",
"keywords": [
"astro-integration",
Expand Down
9 changes: 9 additions & 0 deletions packages/portal-gun/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# @inox-tools/portal-gun

## 0.0.1

### Patch Changes

- Updated dependencies [e07b8a8]
- @inox-tools/utils@0.2.0
- @inox-tools/runtime-logger@0.3.4
2 changes: 1 addition & 1 deletion packages/portal-gun/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inox-tools/portal-gun",
"version": "0.0.0",
"version": "0.0.1",
"description": "Transport HTML elements through your page during rendering using Portals.",
"keywords": [
"astro-integration",
Expand Down
6 changes: 3 additions & 3 deletions packages/portal-gun/tests/basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import { beforeAll } from 'vitest';
import { defineCommonTests } from './common.js';

const fixture = await loadFixture({
root: './fixture/basic',
outDir: 'dist/static',
root: './fixture/basic',
outDir: 'dist/static',
});

beforeAll(async () => {
await fixture.build({});
await fixture.build({});
});

defineCommonTests((path) => fixture.readFile(`${path}/index.html`));
48 changes: 24 additions & 24 deletions packages/portal-gun/tests/common.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { expect, test } from 'vitest';

export const defineCommonTests = (loadPath: (path: string) => Promise<string>) => {
test('elements are sent across Astro Components', async () => {
const html = await loadPath('header-footer');
test('elements are sent across Astro Components', async () => {
const html = await loadPath('header-footer');

expect(html).toEqualIgnoringWhitespace(`
expect(html).toEqualIgnoringWhitespace(`
<!doctype html>
<html>
<head>
Expand All @@ -24,12 +24,12 @@ export const defineCommonTests = (loadPath: (path: string) => Promise<string>) =
</body>
</html>
`);
});
});

test('portals entries without a landing portal get voided', async () => {
const html = await loadPath('missing-portal');
test('portals entries without a landing portal get voided', async () => {
const html = await loadPath('missing-portal');

expect(html).toEqualIgnoringWhitespace(`
expect(html).toEqualIgnoringWhitespace(`
<!doctype html>
<html>
<head>
Expand All @@ -43,12 +43,12 @@ export const defineCommonTests = (loadPath: (path: string) => Promise<string>) =
</body>
</html>
`);
});
});

test('portal to start and end of identified element', async () => {
const html = await loadPath('id-boundary');
test('portal to start and end of identified element', async () => {
const html = await loadPath('id-boundary');

expect(html).toEqualIgnoringWhitespace(`
expect(html).toEqualIgnoringWhitespace(`
<!doctype html>
<html>
<head>
Expand All @@ -66,12 +66,12 @@ export const defineCommonTests = (loadPath: (path: string) => Promise<string>) =
</body>
</html>
`);
});
});

test('portal to start and end of head and body', async () => {
const html = await loadPath('global-boundary');
test('portal to start and end of head and body', async () => {
const html = await loadPath('global-boundary');

expect(html).toEqualIgnoringWhitespace(`
expect(html).toEqualIgnoringWhitespace(`
<!doctype html>
<html>
<head>
Expand All @@ -94,12 +94,12 @@ export const defineCommonTests = (loadPath: (path: string) => Promise<string>) =
</body>
</html>
`);
});
});

test('portal entries from within UI framework component', async () => {
const html = await loadPath('ui-frameworks');
test('portal entries from within UI framework component', async () => {
const html = await loadPath('ui-frameworks');

expect(html).toEqualIgnoringWhitespace(`
expect(html).toEqualIgnoringWhitespace(`
<!doctype html>
<html>
<head>
Expand All @@ -117,12 +117,12 @@ export const defineCommonTests = (loadPath: (path: string) => Promise<string>) =
</body>
</html>
`);
});
});

test('portals can go through portals', async () => {
const html = await loadPath('nested-portals');
test('portals can go through portals', async () => {
const html = await loadPath('nested-portals');

expect(html).toEqualIgnoringWhitespace(`
expect(html).toEqualIgnoringWhitespace(`
<!doctype html>
<html>
<head>
Expand All @@ -140,5 +140,5 @@ export const defineCommonTests = (loadPath: (path: string) => Promise<string>) =
</body>
</html>
`);
});
});
};
4 changes: 2 additions & 2 deletions packages/portal-gun/tests/fixture/basic/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import portalGun from '@inox-tools/portal-gun';
import preact from '@astrojs/preact';

export default defineConfig({
integrations: [portalGun(), preact()],
});
integrations: [portalGun(), preact()],
});
2 changes: 1 addition & 1 deletion packages/portal-gun/tests/fixture/basic/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"jsx": "react-jsx",
"jsxImportSource": "preact"
}
}
}
24 changes: 12 additions & 12 deletions packages/portal-gun/tests/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ import { beforeAll } from 'vitest';
import { defineCommonTests } from './common.js';

const fixture = await loadFixture({
root: './fixture/basic',
outDir: 'dist/server',
build: {
server: 'dist/server/server',
client: 'dist/server/client',
},
output: 'server',
adapter: testAdapter(),
root: './fixture/basic',
outDir: 'dist/server',
build: {
server: 'dist/server/server',
client: 'dist/server/client',
},
output: 'server',
adapter: testAdapter(),
});

let app: TestApp;

beforeAll(async () => {
await fixture.build({});
app = await fixture.loadTestAdapterApp();
await fixture.build({});
app = await fixture.loadTestAdapterApp();
});

defineCommonTests(async (path) => {
const res = await app.render(new Request(`http://example.com/${path}`));
return res.text();
const res = await app.render(new Request(`http://example.com/${path}`));
return res.text();
});
10 changes: 5 additions & 5 deletions packages/portal-gun/virtual.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@ import 'astro/astro-jsx';
declare module 'astro/astro-jsx' {
export namespace astroHTML {
export namespace JSX {
export interface IntrinsicElements extends ITAstroPortalGun.NewElements { }
export interface IntrinsicElements extends ITAstroPortalGun.NewElements {}
}
}
}

declare global {
namespace JSX {
export interface IntrinsicElements extends ITAstroPortalGun.NewElements { }
export interface IntrinsicElements extends ITAstroPortalGun.NewElements {}
}

namespace preact.JSX {
interface IntrinsicElements extends ITAstroPortalGun.NewElements { }
interface IntrinsicElements extends ITAstroPortalGun.NewElements {}
}

namespace svelteHTML {
interface IntrinsicElements extends ITAstroPortalGun.NewElements { }
interface IntrinsicElements extends ITAstroPortalGun.NewElements {}
}
}

declare module 'solid-js' {
namespace JSX {
interface IntrinsicElements extends ITAstroPortalGun.NewElements { }
interface IntrinsicElements extends ITAstroPortalGun.NewElements {}
}
}
8 changes: 8 additions & 0 deletions packages/request-nanostores/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @inox-tools/request-nanostores

## 0.1.4

### Patch Changes

- Updated dependencies [e07b8a8]
- @inox-tools/utils@0.2.0
- @inox-tools/request-state@0.1.4

## 0.1.3

### Patch Changes
Expand Down
Loading

0 comments on commit 805b2a0

Please sign in to comment.