chore: update example names to match their folders (#16268)
**What's the problem this PR addresses?** A decent amount of the examples don't have a `name` field in `package.json` that matches their folder name, meaning they either lack a name or the names are duplicated. I was testing Yarn 2 workspaces using the entire examples directory and needed to get rid of the duplicates. **How did you fix it?** Updated the names to match the names of their folders
This commit is contained in:
parent
ae7ae0ba68
commit
2acb53bd30
50 changed files with 53 additions and 46 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "with-webpack-bundle-analyzer",
|
||||
"name": "analyze-bundles",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "nextjs-auth0-example",
|
||||
"name": "auth0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
"build": "next build",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "hello-world",
|
||||
"name": "basic-export",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "custom-server-actionhero",
|
||||
"engines": {
|
||||
"node": ">=8.0.0"
|
||||
},
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
"start": "cross-env NODE_ENV=production node server.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@koa/router": "^8.0.7",
|
||||
"cross-env": "^5.2.0",
|
||||
"koa": "^2.0.1",
|
||||
"@koa/router": "^8.0.7",
|
||||
"next": "latest",
|
||||
"react": "^16.7.0",
|
||||
"react-dom": "^16.7.0"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "nextjs-hello-world",
|
||||
"name": "hello-world",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "with-absolute-imports",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
"build": "next build",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "create-next-example-app",
|
||||
"name": "with-algolia-react-instantsearch",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
"build": "cross-env NODE_ENV=development next build",
|
||||
|
|
0
examples/with-ant-design/package.json
Executable file → Normal file
0
examples/with-ant-design/package.json
Executable file → Normal file
|
@ -14,6 +14,5 @@
|
|||
"react": "^16.7.0",
|
||||
"react-dom": "^16.7.0"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"aws-amplify": "2.1.0",
|
||||
"immer": "3.1.3",
|
||||
"nanoid": "2.0.3",
|
||||
"next": "^latest",
|
||||
"next": "latest",
|
||||
"react": "16.13.1",
|
||||
"react-dom": "16.13.1"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "with-cookie-auth",
|
||||
"name": "with-cookie-auth-fauna",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
"build": "next build",
|
||||
|
@ -8,7 +8,7 @@
|
|||
"dependencies": {
|
||||
"cookie": "^0.4.0",
|
||||
"faunadb": "2.10.0",
|
||||
"next": "^latest",
|
||||
"next": "latest",
|
||||
"react": "^16.8.6",
|
||||
"react-dom": "^16.8.6",
|
||||
"swr": "0.2.3"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "electron-next-skeleton",
|
||||
"name": "with-electron-typescript",
|
||||
"productName": "ElectronTypescriptNext",
|
||||
"version": "1.0.0",
|
||||
"main": "main/index.js",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "electron-next-skeleton",
|
||||
"name": "with-electron",
|
||||
"productName": "ElectronNext",
|
||||
"version": "1.0.0",
|
||||
"main": "main/index.js",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "with-emotion-10",
|
||||
"name": "with-emotion",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "with-env-from-next-config",
|
||||
"name": "with-env-from-next-config-js",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"expo": "~37.0.3",
|
||||
"next": "latest",
|
||||
"react": "~16.9.0",
|
||||
"react-dom": "~16.9.0",
|
||||
"react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz",
|
||||
"react-native-web": "~0.11.7",
|
||||
"next": "latest"
|
||||
"react-native-web": "~0.11.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@expo/next-adapter": "2.1.5"
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
"start": "next start"
|
||||
},
|
||||
"dependencies": {
|
||||
"goober": "^2.0.2",
|
||||
"goober-autoprefixer": "^1.2.0",
|
||||
"next": "latest",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"goober": "^2.0.2",
|
||||
"goober-autoprefixer": "^1.2.0"
|
||||
"react-dom": "^16.13.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "next-graphql-react-example",
|
||||
"name": "with-graphql-react",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "with-rosetta",
|
||||
"name": "with-i18n-rosetta",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
|
|
|
@ -13,6 +13,5 @@
|
|||
"react": "^16.8.6",
|
||||
"react-dom": "^16.8.6"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -13,6 +13,5 @@
|
|||
"react": "^16.8.4",
|
||||
"react-dom": "^16.8.4"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {}
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "next-auth-example",
|
||||
"name": "with-next-auth",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "with-css-modules",
|
||||
"name": "with-next-css",
|
||||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "with-next-less",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
"build": "next build",
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"next": "latest",
|
||||
"next-page-transitions": "1.0.0-beta.2",
|
||||
"react": "^16.7.0",
|
||||
"react-dom": "^16.7.0",
|
||||
"next-page-transitions": "1.0.0-beta.2"
|
||||
"react-dom": "^16.7.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "with-next-sass",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
"build": "next build",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "next-overmind",
|
||||
"name": "with-overmind",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "with-portals-ssr",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
"build": "next build",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "with-portals",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
"build": "next build",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "ssr",
|
||||
"name": "with-react-multi-carousel",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "with-relay-modern",
|
||||
"name": "with-reason-relay",
|
||||
"version": "3.0.4",
|
||||
"description": "Example of Next.js with Relay Modern SSR",
|
||||
"scripts": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "with-reasonml",
|
||||
"name": "with-reasonml-todo",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "concurrently \"bsb -clean-world -make-world -w\" \"next dev\"",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "with-rebass",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
"build": "next build",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "with-redux",
|
||||
"name": "with-redux-persist",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "with-sentry-simple",
|
||||
"name": "with-sentry",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "with-stencil",
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "web-app",
|
||||
"name": "with-stencil-app",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
"start": "next start"
|
||||
},
|
||||
"dependencies": {
|
||||
"@stomp/stompjs": "^5.4.2",
|
||||
"next": "latest",
|
||||
"react": "^16.7.0",
|
||||
"react-dom": "^16.7.0",
|
||||
"@stomp/stompjs": "^5.4.2"
|
||||
"react-dom": "^16.7.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "with-strict-csp-hash",
|
||||
"name": "with-strict-csp",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "with-styled-components",
|
||||
"name": "with-styled-components-rtl",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "basic-css",
|
||||
"name": "with-styled-jsx-plugins",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "basic-css",
|
||||
"name": "with-styled-jsx-scss",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "realtime-chat-app",
|
||||
"name": "with-supabase-auth-realtime-db",
|
||||
"version": "0.1.0",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
"start": "next start"
|
||||
},
|
||||
"dependencies": {
|
||||
"cookie": "0.4.1",
|
||||
"next": "latest",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"react-tesfy": "latest",
|
||||
"tesfy": "latest",
|
||||
"cookie": "0.4.1",
|
||||
"uuid": "8.1.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "with-webassembly",
|
||||
"dependencies": {
|
||||
"next": "latest",
|
||||
"react": "^16.7.0",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "why-did-you-render",
|
||||
"name": "with-why-did-you-render",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
"build": "next build",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "with-yarn-workspaces",
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "data-fetch",
|
||||
"name": "with-zeit-fetch",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "next",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "with-zones-example",
|
||||
"name": "with-zones",
|
||||
"private": true,
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue