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"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
},
|
||||
"snowpack": {
|
||||
"workspaceRoot": "../.."
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "astro build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
},
|
||||
"snowpack": {
|
||||
"workspaceRoot": "../.."
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "astro build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
},
|
||||
"snowpack": {
|
||||
"workspaceRoot": "../.."
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "astro build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
},
|
||||
"snowpack": {
|
||||
"workspaceRoot": "../.."
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "astro build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
},
|
||||
"snowpack": {
|
||||
"workspaceRoot": "../.."
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "astro build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
},
|
||||
"snowpack": {
|
||||
"workspaceRoot": "../.."
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "astro build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
},
|
||||
"snowpack": {
|
||||
"workspaceRoot": "../.."
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "astro build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
},
|
||||
"snowpack": {
|
||||
"workspaceRoot": "../.."
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "astro build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
},
|
||||
"snowpack": {
|
||||
"workspaceRoot": "../.."
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"lint": "prettier --check \"src/**/*.js\""
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^0.17.2",
|
||||
"astro": "^0.17.3",
|
||||
"date-fns": "^2.19.0",
|
||||
"deepmerge": "^4.2.2",
|
||||
"docsearch.js": "^2.6.3",
|
||||
|
@ -25,7 +25,7 @@
|
|||
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.4",
|
||||
"@contentful/rich-text-html-renderer": "^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",
|
||||
"luxon": "^1.25.0",
|
||||
"markdown-it": "^12.0.2",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "astro build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
},
|
||||
"snowpack": {
|
||||
"workspaceRoot": "../.."
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "astro build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2",
|
||||
"astro": "^0.17.3",
|
||||
"rehype-add-classes": "^1.0.0",
|
||||
"rehype-toc": "^3.0.2",
|
||||
"remark-autolink-headings": "^6.0.1",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "astro build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
},
|
||||
"snowpack": {
|
||||
"workspaceRoot": "../.."
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "astro build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"nanostores": "^0.3.3"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"tailwindcss": "^2.1.2",
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
},
|
||||
"snowpack": {
|
||||
"workspaceRoot": "../.."
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"extends": "../../tsconfig.base.json",
|
||||
"include": ["src"],
|
||||
"compilerOptions": {
|
||||
"target": "ES2020",
|
||||
"target": "ES2019",
|
||||
"module": "CommonJS",
|
||||
"outDir": "./dist"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# astro
|
||||
|
||||
## 0.17.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Update compile target to better support Node v12.
|
||||
|
||||
## 0.17.2
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "astro",
|
||||
"version": "0.17.2",
|
||||
"version": "0.17.3",
|
||||
"author": "Skypack",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
|
|
|
@ -135,9 +135,9 @@ async function __render(props, ...children) {
|
|||
const Astro = {
|
||||
props,
|
||||
site: new URL('/', ${JSON.stringify(site)}),
|
||||
css: props[__astroInternal]?.css || [],
|
||||
request: props[__astroInternal]?.request || {},
|
||||
isPage: props[__astroInternal]?.isPage || false
|
||||
css: (props[__astroInternal] && props[__astroInternal].css) || [],
|
||||
request: (props[__astroInternal] && props[__astroInternal].request) || {},
|
||||
isPage: (props[__astroInternal] && props[__astroInternal].isPage) || false,
|
||||
};
|
||||
|
||||
${result.script}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"include": ["src", "index.d.ts"],
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"target": "ES2020",
|
||||
"target": "ES2019",
|
||||
"module": "ES2020",
|
||||
"outDir": "./dist",
|
||||
"declarationDir": "./dist/types"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"include": ["src", "index.d.ts"],
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"target": "ES2020",
|
||||
"target": "ES2019",
|
||||
"module": "ES2020",
|
||||
"outDir": "./dist",
|
||||
"declarationDir": "./dist/types"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"include": ["src"],
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"target": "ES2020",
|
||||
"target": "ES2019",
|
||||
"module": "CommonJS",
|
||||
"outDir": "./dist"
|
||||
}
|
||||
|
|
|
@ -11,7 +11,9 @@ const defaultConfig = {
|
|||
minify: false,
|
||||
format: 'esm',
|
||||
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',
|
||||
sourcesContent: false,
|
||||
};
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
"build": "astro build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.17.2"
|
||||
"astro": "^0.17.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue