Skip to content

Commit d65f75c

Browse files
authored
chore: move plugin package into packages/* directory (#1518)
* chore: move plugin into packages subdir * chore: update references to new package location * chore: fix lint rules
1 parent 583d2e0 commit d65f75c

39 files changed

+120
-74
lines changed

.eslintignore

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ node_modules
33
test
44
lib
55
demos
6-
plugin/src/templates/edge
7-
plugin/lib
8-
plugin/dist-types
6+
packages/runtime/src/templates/edge
7+
packages/runtime/lib
8+
packages/runtime/dist-types

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ Temporary Items
146146
.netlify
147147
demos/default/.next
148148
.parcel-cache
149-
plugin/lib
150-
plugin/dist-types
149+
packages/runtime/lib
150+
packages/runtime/dist-types
151151

152152
# Cypress
153153
cypress/screenshots

.prettierignore

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ lib
2222
tsconfig.json
2323
demos/nx-next-monorepo-demo
2424

25-
plugin/CHANGELOG.md
26-
plugin/lib
27-
plugin/dist-types
25+
packages/runtime/CHANGELOG.md
26+
packages/runtime/lib
27+
packages/runtime/dist-types

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"plugin": "4.14.2"
2+
"packages/runtime": "4.14.2"
33
}

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"deno.enablePaths": [
3-
"plugin/src/templates/edge",
3+
"packages/runtime/src/templates/edge",
44
"demos/middleware/.netlify/edge-functions",
55
"demos/server-components/.netlify/edge-functions",
66
],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require('../../../plugin/lib')
1+
module.exports = require('../../../packages/runtime/lib')

demos/plugin-wrapper/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// eslint-disable-next-line n/no-unpublished-require
2-
module.exports = require('../../plugin/lib')
2+
module.exports = require('../../packages/runtime/lib')

package-lock.json

+85-39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"test:update": "run-s build build:demo test:jest:update"
2424
},
2525
"config": {
26-
"eslint": "--cache --format=codeframe --max-warnings=0 \"{plugin,src,scripts,tests,.github}/**/*.{ts,js,md,html}\" \"*.{ts,js,md,html}\" \".*.{ts,js,md,html}\"",
27-
"prettier": "--loglevel=warn \"{plugin,src,scripts,tests,.github}/**/*.{ts,js,md,yml,json,html}\" \"*.{ts,js,yml,json,html}\" \".*.{ts,js,yml,json,html}\" \"!package-lock.json\""
26+
"eslint": "--cache --format=codeframe --max-warnings=0 \"{packages,src,scripts,tests,.github}/**/*.{ts,js,md,html}\" \"*.{ts,js,md,html}\" \".*.{ts,js,md,html}\"",
27+
"prettier": "--loglevel=warn \"{packages,src,scripts,tests,.github}/**/*.{ts,js,md,yml,json,html}\" \"*.{ts,js,yml,json,html}\" \".*.{ts,js,yml,json,html}\" \"!package-lock.json\""
2828
},
2929
"repository": {
3030
"type": "git",
@@ -95,7 +95,7 @@
9595
"testTimeout": 60000
9696
},
9797
"workspaces": [
98-
"plugin",
98+
"packages/*",
9999
"demos/default",
100100
"demos/static-root",
101101
"demos/next-export",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)