0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-03 22:29:08 -05:00

get build-all passing (#795)

This commit is contained in:
Fred K. Schott 2021-07-21 17:39:14 -07:00 committed by GitHub
parent 5549f28157
commit e31e276781
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 23 additions and 23 deletions

View file

@ -23,17 +23,6 @@ export function createCollection() {
posts: paginate(sortedPosts, {pageSize: 2}), posts: paginate(sortedPosts, {pageSize: 2}),
} }
}, },
rss: {
title: 'Dons Blog',
description: 'An example blog on Astro',
customData: `<language>en-us</language>`,
item: (item) => ({
title: item.title,
description: item.description,
link: item.url,
pubDate: item.date,
}),
}
}; };
} }

View file

@ -9,7 +9,7 @@ export default {
}, },
devOptions: { devOptions: {
// port: 3000, // The port to run the dev server on. // port: 3000, // The port to run the dev server on.
tailwindConfig: './tailwind.config.js', // Path to tailwind.config.js if used, e.g. './tailwind.config.js' // tailwindConfig: './tailwind.config.js', // Path to tailwind.config.js if used, e.g. './tailwind.config.js'
}, },
renderers: ['@astrojs/renderer-preact', '@astrojs/renderer-react', '@astrojs/renderer-svelte', '@astrojs/renderer-vue'], renderers: ['@astrojs/renderer-preact', '@astrojs/renderer-react', '@astrojs/renderer-svelte', '@astrojs/renderer-vue'],
}; };

View file

@ -10,11 +10,15 @@
"release": "yarn build && yarn changeset publish", "release": "yarn build && yarn changeset publish",
"benchmark": "yarn workspace astro run benchmark", "benchmark": "yarn workspace astro run benchmark",
"build": "yarn build:core", "build": "yarn build:core",
"build:all": "lerna run build",
"build:one": "lerna run build --scope", "build:one": "lerna run build --scope",
"build:core": "lerna run build --scope astro --scope @astrojs/parser --scope @astrojs/markdown-support", "build:all": "lerna run build --scope \"{astro,@astrojs/*}\"",
"build:vscode": "lerna run build --scope astro-languageserver --scope astro-vscode --scope @astrojs/parser", "build:core": "lerna run build --scope \"{astro,@astrojs/parser,@astrojs/markdown-support}\"",
"dev:vscode": "lerna run dev --scope astro-languageserver --scope astro-vscode --scope @astrojs/parser --parallel --stream", "build:vscode": "lerna run build --scope \"{@astrojs/language-server,astro-vscode,@astrojs/parser}\"",
"dev": "yarn dev:core --parallel --stream",
"dev:one": "lerna run dev --scope --parallel --stream",
"dev:all": "lerna run dev --scope \"{astro,@astrojs/*}\" --parallel --stream",
"dev:core": "lerna run dev --scope \"{astro,@astrojs/parser,@astrojs/markdown-support}\" --parallel --stream",
"dev:vscode": "lerna run dev --scope \"{@astrojs/language-server,astro-vscode,@astrojs/parser}\" --parallel --stream",
"format": "prettier -w .", "format": "prettier -w .",
"lint": "eslint \"packages/**/*.ts\"", "lint": "eslint \"packages/**/*.ts\"",
"test": "yarn workspace astro run test", "test": "yarn workspace astro run test",

View file

@ -36,8 +36,8 @@
], ],
"scripts": { "scripts": {
"build": "astro-scripts build \"src/**/*.ts\" && tsc", "build": "astro-scripts build \"src/**/*.ts\" && tsc",
"postbuild": "astro-scripts copy \"src/**/*.astro\"",
"dev": "astro-scripts dev \"src/**/*.ts\"", "dev": "astro-scripts dev \"src/**/*.ts\"",
"postbuild": "astro-scripts copy \"src/**/*.astro\"",
"benchmark": "node test/benchmark/dev.bench.js && node test/benchmark/build.bench.js", "benchmark": "node test/benchmark/dev.bench.js && node test/benchmark/build.bench.js",
"test": "uvu test -i fixtures -i benchmark -i test-utils.js" "test": "uvu test -i fixtures -i benchmark -i test-utils.js"
}, },

View file

@ -1,6 +1,7 @@
{ {
"name": "@astrojs/astro-test-builtins-polyfillnode", "name": "@astrojs/astro-test-builtins-polyfillnode",
"version": "1.2.0", "version": "1.2.0",
"private": true,
"dependencies": { "dependencies": {
"file-url": "4.0.0" "file-url": "4.0.0"
} }

View file

@ -1,6 +1,7 @@
{ {
"name": "@astrojs/astro-test-builtins", "name": "@astrojs/astro-test-builtins",
"version": "1.2.0", "version": "1.2.0",
"private": true,
"dependencies": { "dependencies": {
"@astrojs/astro-test-builtins-dep": "file:./packages/dep" "@astrojs/astro-test-builtins-dep": "file:./packages/dep"
} }

View file

@ -1,6 +1,7 @@
{ {
"name": "@astrojs/astro-test-builtins-dep", "name": "@astrojs/astro-test-builtins-dep",
"version": "0.0.1", "version": "0.0.1",
"private": true,
"module": "main.js", "module": "main.js",
"main": "main.js" "main": "main.js"
} }

View file

@ -1,6 +1,7 @@
{ {
"name": "@astrojs/test-custom-element-renderer", "name": "@astrojs/test-custom-element-renderer",
"main": "index.js",
"version": "0.0.1", "version": "0.0.1",
"private": true,
"main": "index.js",
"type": "module" "type": "module"
} }

View file

@ -1,6 +1,7 @@
{ {
"name": "@astrojs/test-custom-elements", "name": "@astrojs/test-custom-elements",
"version": "0.0.1", "version": "0.0.1",
"private": true,
"dependencies": { "dependencies": {
"@astrojs/test-custom-element-renderer": "0.0.1" "@astrojs/test-custom-element-renderer": "0.0.1"
} }

View file

@ -14,7 +14,8 @@
"create-astro": "./create-astro.mjs" "create-astro": "./create-astro.mjs"
}, },
"scripts": { "scripts": {
"build": "astro-scripts build \"src/*.ts\"", "build": "astro-scripts build \"src/**/*.ts\" && tsc",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"prepare": "yarn build", "prepare": "yarn build",
"test": "rm -rf test/fixtures && mkdir test/fixtures && node --unhandled-rejections=strict test/create-astro.test.js" "test": "rm -rf test/fixtures && mkdir test/fixtures && node --unhandled-rejections=strict test/create-astro.test.js"
}, },

View file

@ -15,8 +15,8 @@
"types" "types"
], ],
"scripts": { "scripts": {
"build": "astro-scripts build 'src/index.ts'", "build": "astro-scripts build \"src/**/*.ts\"",
"dev": "astro-scripts dev 'src/index.ts'" "dev": "astro-scripts dev \"src/**/*.ts\""
}, },
"dependencies": { "dependencies": {
"source-map": "^0.7.3", "source-map": "^0.7.3",

View file

@ -12,11 +12,12 @@
"author": "Astro", "author": "Astro",
"license": "MIT", "license": "MIT",
"publisher": "astro-build", "publisher": "astro-build",
"private": true,
"scripts": { "scripts": {
"vscode:prepublish": "yarn build", "vscode:prepublish": "yarn build",
"vscode:publish": "node ./scripts/publish.mjs", "vscode:publish": "node ./scripts/publish.mjs",
"build": "astro-scripts build 'src/index.ts'", "build": "astro-scripts build \"src/**/*.ts\" && tsc -p tsconfig.json",
"dev": "astro-scripts dev 'src/index.ts'" "dev": "astro-scripts dev \"src/**/*.ts\""
}, },
"engines": { "engines": {
"vscode": "^1.52.0" "vscode": "^1.52.0"