@netlify/angular-runtime
Advanced tools
Comparing version 2.0.4 to 2.0.5
{ | ||
"name": "@netlify/angular-runtime", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Netlify Angular Runtime - Run Angular seamlessly on Netlify.", | ||
@@ -25,2 +25,4 @@ "main": "src/index.js", | ||
"pretest:fixtures:missing-angular-deps": "cd tests/fixtures/missing-angular-deps && npm ci", | ||
"pretest:fixtures:application-builder": "cd tests/fixtures/application-builder && npm ci", | ||
"pretest:fixtures:browser-builder": "cd tests/fixtures/browser-builder && npm ci", | ||
"pretest": "run-s pretest:*", | ||
@@ -27,0 +29,0 @@ "test": "node --test" |
@@ -12,3 +12,4 @@ const { join } = require('path') | ||
const correctPublishDir = join(outputPath, 'browser') | ||
const isApplicationBuilder = project.architect.build.builder.endsWith(':application') | ||
const correctPublishDir = isApplicationBuilder ? join(outputPath, 'browser') : outputPath | ||
if (correctPublishDir === PUBLISH_DIR) { | ||
@@ -15,0 +16,0 @@ return |
@@ -21,3 +21,3 @@ const { readJSON } = require('fs-extra') | ||
const { version } = await readJSON(packagePath) | ||
if (!satisfies(version, '^17.0.0-rc')) { | ||
if (!satisfies(version, '^17.0.0-rc', { includePrerelease: true })) { | ||
console.warn(`This site does not seem to be using Angular 17.`) | ||
@@ -24,0 +24,0 @@ return false |
17720
257