Normalize and cleanup examples projects (#2364)
* Remove unused line in the examples .gitignore * Add missing .npmrc, .stackblitzrc and tsconfig.json files to a few examples * Removed unused file and link directive in the minimal example * Oops, added an accidental slash
This commit is contained in:
parent
deac867e17
commit
488a145456
30 changed files with 42 additions and 24 deletions
1
examples/blog-multiple-authors/.gitignore
vendored
1
examples/blog-multiple-authors/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/blog/.gitignore
vendored
1
examples/blog/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/component/.gitignore
vendored
1
examples/component/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/docs/.gitignore
vendored
1
examples/docs/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/framework-alpine/.gitignore
vendored
1
examples/framework-alpine/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/framework-lit/.gitignore
vendored
1
examples/framework-lit/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
2
examples/framework-lit/.npmrc
Normal file
2
examples/framework-lit/.npmrc
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
## force pnpm to hoist
|
||||||
|
shamefully-hoist = true
|
1
examples/framework-multiple/.gitignore
vendored
1
examples/framework-multiple/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/framework-preact/.gitignore
vendored
1
examples/framework-preact/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/framework-react/.gitignore
vendored
1
examples/framework-react/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/framework-solid/.gitignore
vendored
1
examples/framework-solid/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
5
examples/framework-solid/tsconfig.json
Normal file
5
examples/framework-solid/tsconfig.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"moduleResolution": "node"
|
||||||
|
}
|
||||||
|
}
|
1
examples/framework-svelte/.gitignore
vendored
1
examples/framework-svelte/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/framework-vue/.gitignore
vendored
1
examples/framework-vue/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/minimal/.gitignore
vendored
1
examples/minimal/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
User-agent: *
|
|
||||||
Disallow: /
|
|
|
@ -5,7 +5,6 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<title>Welcome to Astro</title>
|
<title>Welcome to Astro</title>
|
||||||
<style>
|
<style>
|
||||||
|
|
5
examples/minimal/tsconfig.json
Normal file
5
examples/minimal/tsconfig.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"moduleResolution": "node"
|
||||||
|
}
|
||||||
|
}
|
1
examples/portfolio-svelte/.gitignore
vendored
1
examples/portfolio-svelte/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/portfolio/.gitignore
vendored
1
examples/portfolio/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/starter/.gitignore
vendored
1
examples/starter/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
17
examples/subpath/.gitignore
vendored
Normal file
17
examples/subpath/.gitignore
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# build output
|
||||||
|
dist
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# logs
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
|
||||||
|
# environment variables
|
||||||
|
.env
|
||||||
|
.env.production
|
||||||
|
|
||||||
|
# macOS-specific files
|
||||||
|
.DS_Store
|
2
examples/subpath/.npmrc
Normal file
2
examples/subpath/.npmrc
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
## force pnpm to hoist
|
||||||
|
shamefully-hoist = true
|
6
examples/subpath/.stackblitzrc
Normal file
6
examples/subpath/.stackblitzrc
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"startCommand": "npm start",
|
||||||
|
"env": {
|
||||||
|
"ENABLE_CJS_IMPORTS": true
|
||||||
|
}
|
||||||
|
}
|
5
examples/subpath/tsconfig.json
Normal file
5
examples/subpath/tsconfig.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"moduleResolution": "node"
|
||||||
|
}
|
||||||
|
}
|
1
examples/with-markdown-plugins/.gitignore
vendored
1
examples/with-markdown-plugins/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/with-markdown/.gitignore
vendored
1
examples/with-markdown/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/with-nanostores/.gitignore
vendored
1
examples/with-nanostores/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/with-tailwindcss/.gitignore
vendored
1
examples/with-tailwindcss/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
1
examples/with-vite-plugin-pwa/.gitignore
vendored
1
examples/with-vite-plugin-pwa/.gitignore
vendored
|
@ -3,7 +3,6 @@ dist
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
.snowpack/
|
|
||||||
|
|
||||||
# logs
|
# logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
Loading…
Reference in a new issue