Skip to content

Commit

Permalink
Version Packages (next)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 16, 2021
1 parent 5e0e276 commit ad371a1
Show file tree
Hide file tree
Showing 24 changed files with 65 additions and 23 deletions.
4 changes: 3 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@
"astro-scripts": "0.0.1",
"@astrojs/language-server": "0.6.0",
"astro-vscode": "0.6.1",
"www": "1.1.0"
"www": "1.1.0",
"@example/minimal": "0.0.1"
},
"changesets": [
"honest-rivers-call",
"light-ads-grin",
"seven-singers-mate",
"tidy-hotels-serve"
]
}
20 changes: 20 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# docs

## 0.0.5-next.0

### Patch Changes

- 78b5bde1: Adds support for Astro.resolve

`Astro.resolve()` helps with creating URLs relative to the current Astro file, allowing you to reference files within your `src/` folder.

Astro _does not_ resolve relative links within HTML, such as images:

```html
<img src="../images/penguin.png" />
```

The above will be sent to the browser as-is and the browser will resolve it relative to the current **page**. If you want it to be resolved relative to the .astro file you are working in, use `Astro.resolve`:

```astro
<img src={Astro.resolve('../images/penguin.png')} />
```

## 0.0.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "0.0.4",
"version": "0.0.5-next.0",
"private": true,
"scripts": {
"start": "astro dev",
Expand All @@ -15,7 +15,7 @@
},
"devDependencies": {
"@snowpack/plugin-dotenv": "^2.1.0",
"astro": "^0.19.0-next.0",
"astro": "^0.19.0-next.3",
"broken-link-checker": "^0.7.8",
"npm-run-all": "^4.1.5",
"pa11y-ci": "^2.4.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-multiple-authors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
2 changes: 1 addition & 1 deletion examples/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
2 changes: 1 addition & 1 deletion examples/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-lit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"devDependencies": {
"@astrojs/renderer-lit": "^0.1.0",
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-multiple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2",
"astro": "^0.19.0-next.3",
"@astrojs/renderer-solid": "0.1.0"
},
"snowpack": {
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
2 changes: 1 addition & 1 deletion examples/portfolio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
2 changes: 1 addition & 1 deletion examples/snowpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"devDependencies": {
"@contentful/rich-text-html-renderer": "^14.1.2",
"@contentful/rich-text-types": "^14.1.2",
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
2 changes: 1 addition & 1 deletion examples/starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
2 changes: 1 addition & 1 deletion examples/with-markdown-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2",
"astro": "^0.19.0-next.3",
"rehype-add-classes": "^1.0.0",
"rehype-toc": "^3.0.2",
"remark-autolink-headings": "^6.0.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
2 changes: 1 addition & 1 deletion examples/with-nanostores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"dependencies": {
"nanostores": "^0.3.3"
Expand Down
2 changes: 1 addition & 1 deletion examples/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"devDependencies": {
"tailwindcss": "^2.1.2",
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
},
"snowpack": {
"workspaceRoot": "../.."
Expand Down
20 changes: 20 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# astro

## 0.19.0-next.3

### Patch Changes

- 78b5bde1: Adds support for Astro.resolve

`Astro.resolve()` helps with creating URLs relative to the current Astro file, allowing you to reference files within your `src/` folder.

Astro _does not_ resolve relative links within HTML, such as images:

```html
<img src="../images/penguin.png" />
```

The above will be sent to the browser as-is and the browser will resolve it relative to the current **page**. If you want it to be resolved relative to the .astro file you are working in, use `Astro.resolve`:

```astro
<img src={Astro.resolve('../images/penguin.png')} />
```

## 0.19.0-next.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astro",
"version": "0.19.0-next.2",
"version": "0.19.0-next.3",
"author": "Skypack",
"license": "MIT",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion tools/language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"vscode-languageserver-textdocument": "^1.0.1"
},
"devDependencies": {
"astro": "0.19.0-next.2",
"astro": "0.19.0-next.3",
"astro-scripts": "0.0.1"
}
}
2 changes: 1 addition & 1 deletion www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.19.0-next.2"
"astro": "^0.19.0-next.3"
}
}

0 comments on commit ad371a1

Please sign in to comment.