Skip to content

Commit

Permalink
Updated packages to include their imports
Browse files Browse the repository at this point in the history
  • Loading branch information
alshdavid committed Nov 14, 2022
1 parent c3bbe0a commit 04c5090
Show file tree
Hide file tree
Showing 46 changed files with 110 additions and 19 deletions.
1 change: 1 addition & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<PROJECT_ROOT>/packages/core/integration-tests/test/input/**
<PROJECT_ROOT>/packages/core/integration-tests/test/integration/babel-strip-flow-types/**
<PROJECT_ROOT>/packages/core/integration-tests/test/integration/diagnostic-sourcemap/**
.*/node_modules/resolve/**/.*

[untyped]
.*/node_modules/graphql/error/GraphQLError.js.flow
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"@khanacademy/flow-to-ts": "^0.5.2",
"@napi-rs/cli": "^2.6.2",
"@parcel/babel-register": "2.8.0",
"@octokit/core": "3.6.0",
"@parcel/eslint-config": "2.8.0",
"@parcel/babel-preset": "2.8.0",
"@types/node": "^15.12.4",
"cross-env": "^7.0.0",
"eslint": "^7.20.0",
Expand Down
1 change: 1 addition & 0 deletions packages/bundlers/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"@parcel/graph": "2.8.0",
"@parcel/hash": "2.8.0",
"@parcel/plugin": "2.8.0",
"@parcel/types": "2.8.0",
"@parcel/utils": "2.8.0",
"nullthrows": "^1.1.1"
}
Expand Down
3 changes: 2 additions & 1 deletion packages/core/cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"@parcel/core": "^2.8.0"
},
"devDependencies": {
"idb": "^5.0.8"
"idb": "^5.0.8",
"@parcel/types": "2.8.0"
},
"browser": {
"./src/IDBCache.js": "./src/IDBCache.browser.js",
Expand Down
3 changes: 3 additions & 0 deletions packages/core/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"@parcel/types": "2.8.0",
"@parcel/utils": "2.8.0",
"@parcel/workers": "2.8.0",
"@parcel/watcher": "2.0.7",
"abortcontroller-polyfill": "^1.1.9",
"base-x": "^3.0.8",
"browserslist": "^4.6.6",
Expand All @@ -50,6 +51,8 @@
"semver": "^5.7.1"
},
"devDependencies": {
"@parcel/config-default": "2.8.0",
"@parcel/test-utils": "2.8.0",
"graphviz": "^0.0.9",
"tempy": "^0.2.1"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/core/fs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"@parcel/types": "2.8.0",
"@parcel/utils": "2.8.0",
"@parcel/watcher": "^2.0.7",
"@parcel/workers": "2.8.0"
"@parcel/workers": "2.8.0",
"@parcel/core": "^2.8.0"
},
"devDependencies": {
"graceful-fs": "^4.2.4",
Expand Down
1 change: 1 addition & 0 deletions packages/core/graph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"dependencies": {
"@parcel/utils": "2.8.0",
"@parcel/types": "2.8.0",
"nullthrows": "^1.1.1"
}
}
9 changes: 9 additions & 0 deletions packages/core/integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
"@babel/preset-typescript": "^7.14.5",
"@jetbrains/kotlinc-js-api": "^1.2.12",
"@mdx-js/react": "^1.5.3",
"@parcel/core": "2.8.0",
"@parcel/diagnostic": "2.8.0",
"@parcel/logger": "2.8.0",
"@parcel/package-manager": "2.8.0",
"@parcel/source-map": "2.1.1",
"@parcel/test-utils": "2.8.0",
"@parcel/types": "2.8.0",
"@parcel/utils": "2.8.0",
"autoprefixer": "^10.4.0",
"chalk": "^4.1.0",
"codecov": "^3.0.0",
Expand All @@ -43,6 +51,7 @@
"nib": "^1.1.2",
"node-elm-compiler": "^5.0.5",
"parcel": "2.8.0",
"nullthrows": "^1.1.1",
"postcss": "^8.4.5",
"postcss-custom-properties": "^12.1.2",
"postcss-import": "^14.0.2",
Expand Down
3 changes: 2 additions & 1 deletion packages/core/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"dependencies": {
"@parcel/diagnostic": "2.8.0",
"@parcel/events": "2.8.0"
"@parcel/events": "2.8.0",
"@parcel/types": "2.8.0"
}
}
1 change: 1 addition & 0 deletions packages/core/package-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"semver": "^5.7.1"
},
"devDependencies": {
"@parcel/core": "^2.8.0",
"command-exists": "^1.2.6",
"cross-spawn": "^6.0.4",
"nullthrows": "^1.1.1",
Expand Down
1 change: 1 addition & 0 deletions packages/core/parcel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@parcel/reporter-cli": "2.8.0",
"@parcel/reporter-dev-server": "2.8.0",
"@parcel/utils": "2.8.0",
"@parcel/types": "2.8.0",
"chalk": "^4.1.0",
"commander": "^7.0.0",
"get-port": "^4.2.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/core/register/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@
"@parcel/fs": "2.8.0",
"@parcel/package-manager": "2.8.0",
"pirates": "^4.0.0"
},
"devDependencies": {
"@parcel/types": "2.8.0"
}
}
4 changes: 3 additions & 1 deletion packages/core/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@
"@parcel/fs": "2.8.0",
"@parcel/package-manager": "2.8.0",
"@parcel/utils": "2.8.0",
"@parcel/workers": "2.8.0",
"@parcel/types": "2.8.0",
"chalk": "^4.1.0",
"ncp": "^2.0.0",
"nullthrows": "^1.1.1",
"posthtml": "^0.16.5",
"posthtml-parser": "^0.10.1",
"resolve": "^1.12.0",
"resolve": "^1.22.1",
"ws": "^7.0.0"
}
}
4 changes: 4 additions & 0 deletions packages/core/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
},
"devDependencies": {
"@iarna/toml": "^2.2.0",
"@mischnic/json-sourcemap": "^0.1.0",
"@parcel/fs": "2.8.0",
"@parcel/test-utils": "2.8.0",
"@parcel/types": "2.8.0",
"ansi-html-community": "0.0.8",
"clone": "^2.1.1",
"fast-glob": "3.1.1",
Expand Down
3 changes: 3 additions & 0 deletions packages/core/workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"peerDependencies": {
"@parcel/core": "^2.8.0"
},
"devDependencies": {
"@parcel/core": "^2.8.0"
},
"browser": {
"./src/cpuCount.js": false,
"./src/process/ProcessWorker.js": false,
Expand Down
8 changes: 4 additions & 4 deletions packages/dev/babel-preset/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ module.exports = api => {
// Inline the value of PARCEL_BUILD_ENV during self builds.
// Parcel does not do this itself for node targets...
[
'babel-plugin-transform-inline-environment-variables',
require('babel-plugin-transform-inline-environment-variables'),
{include: ['PARCEL_BUILD_ENV']},
],
'babel-plugin-minify-dead-code-elimination',
require('babel-plugin-minify-dead-code-elimination'),
],
};
}
Expand Down Expand Up @@ -43,7 +43,7 @@ module.exports = api => {
// Inline the value of PARCEL_BUILD_ENV during production builds so that
// it can be removed through dead code elimination below
[
'babel-plugin-transform-inline-environment-variables',
require('babel-plugin-transform-inline-environment-variables'),
{
include: [
'PARCEL_BUILD_ENV',
Expand All @@ -55,7 +55,7 @@ module.exports = api => {
],
},
],
'babel-plugin-minify-dead-code-elimination',
require('babel-plugin-minify-dead-code-elimination'),
],
},
},
Expand Down
5 changes: 4 additions & 1 deletion packages/dev/babel-register/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@
"dependencies": {
"@babel/register": "^7.4.4",
"@parcel/babel-preset": "2.8.0",
"resolve": "^1.12.0"
"resolve": "^1.22.1"
},
"peerDependencies": {
"@babel/core": "^7.0.0"
},
"devDependencies": {
"@babel/core": "^7.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/dev/eslint-config-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"eslint": ">= 7.0.0"
"eslint": "^7.32.0"
}
}
6 changes: 5 additions & 1 deletion packages/dev/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"eslint": ">= 7.0.0"
"eslint": "^7.32.0"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"eslint": "^7.32.0"
}
}
2 changes: 1 addition & 1 deletion packages/dev/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/eslint-parser": "^7.12.1",
"eslint": "^7.20.0"
"eslint": "^7.32.0"
}
}
1 change: 1 addition & 0 deletions packages/namers/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"dependencies": {
"@parcel/diagnostic": "2.8.0",
"@parcel/plugin": "2.8.0",
"@parcel/types": "2.8.0",
"nullthrows": "^1.1.1"
}
}
1 change: 1 addition & 0 deletions packages/optimizers/image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"detect-libc": "^1.0.3"
},
"devDependencies": {
"@types/node": "^12.20.55",
"@napi-rs/cli": "^2.6.2",
"tiny-benchy": "^1.0.2"
}
Expand Down
3 changes: 2 additions & 1 deletion packages/packagers/css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"nullthrows": "^1.1.1"
},
"devDependencies": {
"postcss": "^8.4.5"
"postcss": "^8.4.5",
"@parcel/types": "2.8.0"
}
}
1 change: 1 addition & 0 deletions packages/packagers/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@parcel/plugin": "2.8.0",
"@parcel/source-map": "^2.1.1",
"@parcel/utils": "2.8.0",
"@parcel/types": "2.8.0",
"globals": "^13.2.0",
"nullthrows": "^1.1.1"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/reporters/bundle-buddy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
},
"dependencies": {
"@parcel/plugin": "2.8.0"
},
"devDependencies": {
"@parcel/types": "2.8.0"
}
}
4 changes: 4 additions & 0 deletions packages/reporters/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@
"@parcel/plugin": "2.8.0",
"@parcel/types": "2.8.0",
"@parcel/utils": "2.8.0",
"@parcel/diagnostic": "2.8.0",
"@parcel/fs": "2.8.0",
"@parcel/package-manager": "2.8.0",
"chalk": "^4.1.0",
"term-size": "^2.2.1"
},
"devDependencies": {
"@parcel/test-utils": "2.8.0",
"filesize": "^6.1.0",
"nullthrows": "^1.1.1",
"ora": "^5.2.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/reporters/dev-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
},
"dependencies": {
"@parcel/plugin": "2.8.0",
"@parcel/utils": "2.8.0"
"@parcel/utils": "2.8.0",
"@parcel/diagnostic": "2.8.0",
"@parcel/fs": "2.8.0"
},
"devDependencies": {
"@parcel/babel-preset": "2.8.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/reporters/lsp-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
"dependencies": {
"@parcel/plugin": "2.8.0",
"@parcel/utils": "2.8.0",
"@parcel/diagnostic": "2.8.0",
"@parcel/types": "2.8.0",
"node-ipc": "^9.1.4",
"nullthrows": "^1.1.1",
"ps-node": "^0.1.6",
Expand Down
3 changes: 2 additions & 1 deletion packages/runtimes/hmr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"dependencies": {
"@parcel/plugin": "2.8.0",
"@parcel/utils": "2.8.0"
"@parcel/utils": "2.8.0",
"@parcel/reporter-dev-server": "2.8.0"
}
}
1 change: 1 addition & 0 deletions packages/runtimes/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"dependencies": {
"@parcel/plugin": "2.8.0",
"@parcel/utils": "2.8.0",
"@parcel/types": "2.8.0",
"nullthrows": "^1.1.1"
}
}
1 change: 1 addition & 0 deletions packages/transformers/elm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"dependencies": {
"@parcel/diagnostic": "2.8.0",
"@parcel/plugin": "2.8.0",
"@parcel/types": "2.8.0",
"command-exists": "^1.2.8",
"cross-spawn": "^7.0.3",
"elm-hot": "^1.1.5",
Expand Down
1 change: 1 addition & 0 deletions packages/transformers/html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@parcel/diagnostic": "2.8.0",
"@parcel/hash": "2.8.0",
"@parcel/plugin": "2.8.0",
"@parcel/types": "2.8.0",
"nullthrows": "^1.1.1",
"posthtml": "^0.16.5",
"posthtml-parser": "^0.10.1",
Expand Down
2 changes: 2 additions & 0 deletions packages/transformers/image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
"@parcel/plugin": "2.8.0",
"@parcel/utils": "2.8.0",
"@parcel/workers": "2.8.0",
"@parcel/package-manager": "2.8.0",
"@parcel/types": "2.8.0",
"nullthrows": "^1.1.1"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/transformers/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"semver": "^5.7.1"
},
"devDependencies": {
"@napi-rs/cli": "^2.6.2"
"@napi-rs/cli": "^2.6.2",
"@parcel/types": "2.8.0"
},
"peerDependencies": {
"@parcel/core": "^2.8.0"
Expand Down
3 changes: 3 additions & 0 deletions packages/transformers/less/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@
"@parcel/plugin": "2.8.0",
"@parcel/source-map": "^2.1.1",
"less": "^4.1.1"
},
"devDependencies": {
"@parcel/types": "2.8.0"
}
}
2 changes: 2 additions & 0 deletions packages/transformers/postcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@
"@parcel/hash": "2.8.0",
"@parcel/plugin": "2.8.0",
"@parcel/utils": "2.8.0",
"@parcel/package-manager": "2.8.0",
"clone": "^2.1.1",
"nullthrows": "^1.1.1",
"postcss-value-parser": "^4.2.0",
"semver": "^5.7.1"
},
"devDependencies": {
"@parcel/types": "2.8.0",
"postcss": "^8.4.5",
"postcss-modules": "^4.3.1"
}
Expand Down
Loading

0 comments on commit 04c5090

Please sign in to comment.