mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
0.17.3 - patch release
This commit is contained in:
parent
23dcc649fe
commit
bc1e5bb27f
24 changed files with 34 additions and 26 deletions
|
@ -7,7 +7,7 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
},
|
},
|
||||||
"snowpack": {
|
"snowpack": {
|
||||||
"workspaceRoot": "../.."
|
"workspaceRoot": "../.."
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
},
|
},
|
||||||
"snowpack": {
|
"snowpack": {
|
||||||
"workspaceRoot": "../.."
|
"workspaceRoot": "../.."
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
},
|
},
|
||||||
"snowpack": {
|
"snowpack": {
|
||||||
"workspaceRoot": "../.."
|
"workspaceRoot": "../.."
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
},
|
},
|
||||||
"snowpack": {
|
"snowpack": {
|
||||||
"workspaceRoot": "../.."
|
"workspaceRoot": "../.."
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
},
|
},
|
||||||
"snowpack": {
|
"snowpack": {
|
||||||
"workspaceRoot": "../.."
|
"workspaceRoot": "../.."
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
},
|
},
|
||||||
"snowpack": {
|
"snowpack": {
|
||||||
"workspaceRoot": "../.."
|
"workspaceRoot": "../.."
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
},
|
},
|
||||||
"snowpack": {
|
"snowpack": {
|
||||||
"workspaceRoot": "../.."
|
"workspaceRoot": "../.."
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
},
|
},
|
||||||
"snowpack": {
|
"snowpack": {
|
||||||
"workspaceRoot": "../.."
|
"workspaceRoot": "../.."
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
},
|
},
|
||||||
"snowpack": {
|
"snowpack": {
|
||||||
"workspaceRoot": "../.."
|
"workspaceRoot": "../.."
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
"lint": "prettier --check \"src/**/*.js\""
|
"lint": "prettier --check \"src/**/*.js\""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "^0.17.2",
|
"astro": "^0.17.3",
|
||||||
"date-fns": "^2.19.0",
|
"date-fns": "^2.19.0",
|
||||||
"deepmerge": "^4.2.2",
|
"deepmerge": "^4.2.2",
|
||||||
"docsearch.js": "^2.6.3",
|
"docsearch.js": "^2.6.3",
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.4",
|
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.4",
|
||||||
"@contentful/rich-text-html-renderer": "^14.1.2",
|
"@contentful/rich-text-html-renderer": "^14.1.2",
|
||||||
"@contentful/rich-text-types": "^14.1.2",
|
"@contentful/rich-text-types": "^14.1.2",
|
||||||
"astro": "^0.17.2",
|
"astro": "^0.17.3",
|
||||||
"eleventy-plugin-nesting-toc": "^1.2.0",
|
"eleventy-plugin-nesting-toc": "^1.2.0",
|
||||||
"luxon": "^1.25.0",
|
"luxon": "^1.25.0",
|
||||||
"markdown-it": "^12.0.2",
|
"markdown-it": "^12.0.2",
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
},
|
},
|
||||||
"snowpack": {
|
"snowpack": {
|
||||||
"workspaceRoot": "../.."
|
"workspaceRoot": "../.."
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2",
|
"astro": "^0.17.3",
|
||||||
"rehype-add-classes": "^1.0.0",
|
"rehype-add-classes": "^1.0.0",
|
||||||
"rehype-toc": "^3.0.2",
|
"rehype-toc": "^3.0.2",
|
||||||
"remark-autolink-headings": "^6.0.1",
|
"remark-autolink-headings": "^6.0.1",
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
},
|
},
|
||||||
"snowpack": {
|
"snowpack": {
|
||||||
"workspaceRoot": "../.."
|
"workspaceRoot": "../.."
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"nanostores": "^0.3.3"
|
"nanostores": "^0.3.3"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"tailwindcss": "^2.1.2",
|
"tailwindcss": "^2.1.2",
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
},
|
},
|
||||||
"snowpack": {
|
"snowpack": {
|
||||||
"workspaceRoot": "../.."
|
"workspaceRoot": "../.."
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2020",
|
"target": "ES2019",
|
||||||
"module": "CommonJS",
|
"module": "CommonJS",
|
||||||
"outDir": "./dist"
|
"outDir": "./dist"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
# astro
|
# astro
|
||||||
|
|
||||||
|
## 0.17.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Update compile target to better support Node v12.
|
||||||
|
|
||||||
## 0.17.2
|
## 0.17.2
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "astro",
|
"name": "astro",
|
||||||
"version": "0.17.2",
|
"version": "0.17.3",
|
||||||
"author": "Skypack",
|
"author": "Skypack",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|
|
@ -135,9 +135,9 @@ async function __render(props, ...children) {
|
||||||
const Astro = {
|
const Astro = {
|
||||||
props,
|
props,
|
||||||
site: new URL('/', ${JSON.stringify(site)}),
|
site: new URL('/', ${JSON.stringify(site)}),
|
||||||
css: props[__astroInternal]?.css || [],
|
css: (props[__astroInternal] && props[__astroInternal].css) || [],
|
||||||
request: props[__astroInternal]?.request || {},
|
request: (props[__astroInternal] && props[__astroInternal].request) || {},
|
||||||
isPage: props[__astroInternal]?.isPage || false
|
isPage: (props[__astroInternal] && props[__astroInternal].isPage) || false,
|
||||||
};
|
};
|
||||||
|
|
||||||
${result.script}
|
${result.script}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"include": ["src", "index.d.ts"],
|
"include": ["src", "index.d.ts"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"target": "ES2020",
|
"target": "ES2019",
|
||||||
"module": "ES2020",
|
"module": "ES2020",
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"declarationDir": "./dist/types"
|
"declarationDir": "./dist/types"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"include": ["src", "index.d.ts"],
|
"include": ["src", "index.d.ts"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"target": "ES2020",
|
"target": "ES2019",
|
||||||
"module": "ES2020",
|
"module": "ES2020",
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"declarationDir": "./dist/types"
|
"declarationDir": "./dist/types"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"target": "ES2020",
|
"target": "ES2019",
|
||||||
"module": "CommonJS",
|
"module": "CommonJS",
|
||||||
"outDir": "./dist"
|
"outDir": "./dist"
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,9 @@ const defaultConfig = {
|
||||||
minify: false,
|
minify: false,
|
||||||
format: 'esm',
|
format: 'esm',
|
||||||
platform: 'node',
|
platform: 'node',
|
||||||
target: 'node14',
|
// There's an issue with 'node12.20' compiling ESM to CJS
|
||||||
|
// so use 'node13.2' instead. V8 support should be similar.
|
||||||
|
target: 'node13.2',
|
||||||
sourcemap: 'inline',
|
sourcemap: 'inline',
|
||||||
sourcesContent: false,
|
sourcesContent: false,
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,6 +7,6 @@
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.17.2"
|
"astro": "^0.17.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue