Skip to content

Commit 4e88f7a

Browse files
committed
chore: use
1 parent c7907fa commit 4e88f7a

File tree

10 files changed

+40
-8
lines changed

10 files changed

+40
-8
lines changed

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ logs
33
*.log
44
npm-debug.log*
55

6+
package.json
7+
68
# Dependency directories
79
node_modules
810

demos/base-path/netlify.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ CYPRESS_CACHE_FOLDER = "../node_modules/.CypressBinary"
1212
framework = "#static"
1313

1414
[[plugins]]
15-
package = "./local-plugin"
15+
package = "../plugin-wrapper/"
1616

1717
[[plugins]]
1818
package = "@netlify/plugin-local-install-core"
19-
2019
# [[context.deploy-preview.plugins]]
21-
# package = "netlify-plugin-cypress"
20+
# package = "netlify-plugin-cypress"

demos/default/netlify.toml

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

1717
[[plugins]]
18-
package = "../../plugin/src/index.ts"
18+
package = "../plugin-wrapper/"
19+
20+
[[plugins]]
21+
package = "@netlify/plugin-local-install-core"

demos/next-export/netlify.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ NODE_VERSION = "17"
1111
framework = "#static"
1212

1313
[[plugins]]
14-
package = "../../plugin"
14+
package = "../plugin-wrapper/"
15+
16+
[[plugins]]
17+
package = "@netlify/plugin-local-install-core"

demos/plugin-wrapper/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// eslint-disable-next-line node/no-unpublished-require
2+
module.exports = require('../../plugin/lib')

demos/plugin-wrapper/manifest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
name: 'plugin-wrapper'

demos/plugin-wrapper/package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/plugin-wrapper/package.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "local-plugin",
3+
"version": "1.0.0",
4+
"main": "index.js",
5+
"author": "",
6+
"license": "MIT",
7+
"scripts": {
8+
"test": "echo \"Error: no test specified\" && exit 1"
9+
},
10+
"devDependencies": {
11+
"@netlify/plugin-nextjs": "*"
12+
}
13+
}

demos/static-root/netlify.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ NODE_VERSION = "17"
1313
framework = "#static"
1414

1515
[[plugins]]
16-
package = "../../plugin"
16+
package = "../plugin-wrapper/"
17+
18+
[[plugins]]
19+
package = "@netlify/plugin-local-install-core"

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"plugin",
9191
"demos/static-root",
9292
"demos/next-export",
93-
"demos/base-path"
93+
"demos/base-path",
94+
"demos/plugin-wrapper"
9495
]
95-
}
96+
}

0 commit comments

Comments
 (0)