Skip to content

Commit 6effc54

Browse files
committed
ci: move demo sites to use monorepos
1 parent 3a9cc91 commit 6effc54

File tree

15 files changed

+175
-71
lines changed

15 files changed

+175
-71
lines changed

demos/base-path/package.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "base-path-demo",
3+
"version": "1.0.0",
4+
"description": "",
5+
"devDependencies": {
6+
"@netlify/plugin-nextjs": "*"
7+
},
8+
"scripts": {
9+
"test": "echo \"Error: no test specified\" && exit 1"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "git+https://github.com/netlify/netlify-plugin-nextjs.git"
14+
},
15+
"author": "",
16+
"private": true,
17+
"license": "MIT",
18+
"bugs": {
19+
"url": "https://github.com/netlify/netlify-plugin-nextjs/issues"
20+
},
21+
"homepage": "https://github.com/netlify/netlify-plugin-nextjs#readme"
22+
}

demos/default/netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ NODE_VERSION = "17"
1515
framework = "#static"
1616

1717
[[plugins]]
18-
package = "../../plugin"
18+
package = "../../plugin/src/index.ts"

demos/next-export/local-plugin/index.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

demos/next-export/local-plugin/manifest.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

demos/next-export/local-plugin/package-lock.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

demos/next-export/local-plugin/package.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

demos/next-export/netlify.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../../"
55

66
[build.environment]
77
NETLIFY_NEXT_PLUGIN_SKIP = "true"
8+
NODE_VERSION = "17"
89

910
[dev]
1011
framework = "#static"
1112

1213
[[plugins]]
13-
package = "./local-plugin"
14-
15-
[[plugins]]
16-
package = "@netlify/plugin-local-install-core"
14+
package = "../../plugin"

demos/next-export/package.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "next-export-demo",
3+
"version": "1.0.0",
4+
"description": "",
5+
"devDependencies": {
6+
"@netlify/plugin-nextjs": "*"
7+
},
8+
"scripts": {
9+
"test": "echo \"Error: no test specified\" && exit 1"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "git+https://github.com/netlify/netlify-plugin-nextjs.git"
14+
},
15+
"author": "",
16+
"private": true,
17+
"license": "MIT",
18+
"bugs": {
19+
"url": "https://github.com/netlify/netlify-plugin-nextjs/issues"
20+
},
21+
"homepage": "https://github.com/netlify/netlify-plugin-nextjs#readme"
22+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require('../../../lib')
1+
module.exports = require('../../../plugin/lib')

demos/static-root/netlify.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,10 @@ ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../../"
77
# cache Cypress binary in local "node_modules" folder
88
# so Netlify caches it
99
CYPRESS_CACHE_FOLDER = "../node_modules/.CypressBinary"
10+
NODE_VERSION = "17"
1011

1112
[dev]
1213
framework = "#static"
1314

1415
[[plugins]]
15-
package = "./local-plugin"
16-
17-
[[plugins]]
18-
package = "@netlify/plugin-local-install-core"
19-
20-
[[context.deploy-preview.plugins]]
21-
package = "netlify-plugin-cypress"
16+
package = "../../plugin"

demos/static-root/package.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "static-root-demo",
3+
"version": "1.0.0",
4+
"description": "",
5+
"devDependencies": {
6+
"@netlify/plugin-nextjs": "*"
7+
},
8+
"scripts": {
9+
"test": "echo \"Error: no test specified\" && exit 1"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "git+https://github.com/netlify/netlify-plugin-nextjs.git"
14+
},
15+
"author": "",
16+
"license": "MIT",
17+
"private": true,
18+
"bugs": {
19+
"url": "https://github.com/netlify/netlify-plugin-nextjs/issues"
20+
},
21+
"homepage": "https://github.com/netlify/netlify-plugin-nextjs#readme"
22+
}

0 commit comments

Comments
 (0)