Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(packages): make packages have correct main paths to index #1366

Merged
merged 3 commits into from
Mar 25, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/generate-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "@webpack-cli/generate-plugin",
"version": "1.0.1-alpha.5",
"description": "A scaffold for generating a plugin",
"main": "src/index.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"directories": {
"example": "examples",
"test": "test"
Expand Down
2 changes: 1 addition & 1 deletion packages/info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.1-alpha.4",
"description": "Outputs info about system and webpack config",
"main": "lib/index.js",
"type": "lib/index.d.ts",
"types": "lib/index.d.ts",
"author": "",
"license": "MIT",
"publishConfig": {
Expand Down
3 changes: 2 additions & 1 deletion packages/init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "@webpack-cli/init",
"version": "1.0.1-alpha.5",
"description": "init command for webpack-cli",
"main": "index.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"author": "",
"license": "MIT",
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@webpack-cli/migrate",
"version": "1.0.1-alpha.5",
"description": "Migrate command for webpack-cli",
"main": "index.js",
"types": "index.d.ts",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"author": "",
"license": "MIT",
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/serve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@webpack-cli/serve",
"version": "1.0.1-alpha.5",
"description": "",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"keywords": [],
"publishConfig": {
"access": "public"
Expand Down
48 changes: 24 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12467,80 +12467,80 @@ webpack-dev-middleware@^3.7.0, webpack-dev-middleware@^3.7.2:
range-parser "^1.2.1"
webpack-log "^2.0.0"

webpack-dev-server@3.8.0:
version "3.8.0"
resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.8.0.tgz#06cc4fc2f440428508d0e9770da1fef10e5ef28d"
integrity sha512-Hs8K9yI6pyMvGkaPTeTonhD6JXVsigXDApYk9JLW4M7viVBspQvb1WdAcWxqtmttxNW4zf2UFLsLNe0y87pIGQ==
webpack-dev-server@3.10.3:
version "3.10.3"
resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.10.3.tgz#f35945036813e57ef582c2420ef7b470e14d3af0"
integrity sha512-e4nWev8YzEVNdOMcNzNeCN947sWJNd43E5XvsJzbAL08kGc2frm1tQ32hTJslRS+H65LCb/AaUCYU7fjHCpDeQ==
dependencies:
ansi-html "0.0.7"
bonjour "^3.5.0"
chokidar "^2.1.6"
chokidar "^2.1.8"
compression "^1.7.4"
connect-history-api-fallback "^1.6.0"
debug "^4.1.1"
del "^4.1.1"
express "^4.17.1"
html-entities "^1.2.1"
http-proxy-middleware "^0.19.1"
http-proxy-middleware "0.19.1"
import-local "^2.0.0"
internal-ip "^4.3.0"
ip "^1.1.5"
is-absolute-url "^3.0.0"
is-absolute-url "^3.0.3"
killable "^1.0.1"
loglevel "^1.6.3"
loglevel "^1.6.6"
opn "^5.5.0"
p-retry "^3.0.1"
portfinder "^1.0.21"
portfinder "^1.0.25"
schema-utils "^1.0.0"
selfsigned "^1.10.4"
selfsigned "^1.10.7"
semver "^6.3.0"
serve-index "^1.9.1"
sockjs "0.3.19"
sockjs-client "1.3.0"
sockjs-client "1.4.0"
spdy "^4.0.1"
strip-ansi "^3.0.1"
supports-color "^6.1.0"
url "^0.11.0"
webpack-dev-middleware "^3.7.0"
webpack-dev-middleware "^3.7.2"
webpack-log "^2.0.0"
ws "^6.2.1"
yargs "12.0.5"

webpack-dev-server@^3.9.0:
version "3.10.3"
resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.10.3.tgz#f35945036813e57ef582c2420ef7b470e14d3af0"
integrity sha512-e4nWev8YzEVNdOMcNzNeCN947sWJNd43E5XvsJzbAL08kGc2frm1tQ32hTJslRS+H65LCb/AaUCYU7fjHCpDeQ==
webpack-dev-server@3.8.0:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think here something wrong, we don't update lock file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reverted it back to original. It looks like the lock file was updated in a recent commit anyway, so there should be no problems either way.

version "3.8.0"
resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.8.0.tgz#06cc4fc2f440428508d0e9770da1fef10e5ef28d"
integrity sha512-Hs8K9yI6pyMvGkaPTeTonhD6JXVsigXDApYk9JLW4M7viVBspQvb1WdAcWxqtmttxNW4zf2UFLsLNe0y87pIGQ==
dependencies:
ansi-html "0.0.7"
bonjour "^3.5.0"
chokidar "^2.1.8"
chokidar "^2.1.6"
compression "^1.7.4"
connect-history-api-fallback "^1.6.0"
debug "^4.1.1"
del "^4.1.1"
express "^4.17.1"
html-entities "^1.2.1"
http-proxy-middleware "0.19.1"
http-proxy-middleware "^0.19.1"
import-local "^2.0.0"
internal-ip "^4.3.0"
ip "^1.1.5"
is-absolute-url "^3.0.3"
is-absolute-url "^3.0.0"
killable "^1.0.1"
loglevel "^1.6.6"
loglevel "^1.6.3"
opn "^5.5.0"
p-retry "^3.0.1"
portfinder "^1.0.25"
portfinder "^1.0.21"
schema-utils "^1.0.0"
selfsigned "^1.10.7"
selfsigned "^1.10.4"
semver "^6.3.0"
serve-index "^1.9.1"
sockjs "0.3.19"
sockjs-client "1.4.0"
sockjs-client "1.3.0"
spdy "^4.0.1"
strip-ansi "^3.0.1"
supports-color "^6.1.0"
url "^0.11.0"
webpack-dev-middleware "^3.7.2"
webpack-dev-middleware "^3.7.0"
webpack-log "^2.0.0"
ws "^6.2.1"
yargs "12.0.5"
Expand Down