Skip to content

Commit e2b9994

Browse files
authored
fix: simplify package filtering during release. (#312)
Fixes #311
1 parent a5dfc8a commit e2b9994

File tree

10 files changed

+119
-131
lines changed

10 files changed

+119
-131
lines changed

packages/demo-admin/src/config/userIdentity.js

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

packages/webiny-app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"react": "^16.4.0",
3333
"react-dom": "^16.4.0",
3434
"react-error-boundary": "^1.2.3",
35+
"react-apollo": "^2.3.2",
3536
"warning": "^4.0.2",
3637
"webiny-compose": "0.0.0-semantically-released",
3738
"webiny-i18n": "0.0.0-semantically-released",

packages/webiny-app/src/components/Image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type ImageProps = Object & {
1414
};
1515

1616
export type ImagePlugin = PluginType & {
17-
type: "image-component",
17+
type: string,
1818
render: ImageProps => React.Node
1919
};
2020

packages/webiny-app/src/components/withFileUpload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type WithFileUploadOptions = {
1313
};
1414

1515
export type WithFileUploadPlugin = PluginType & {
16-
type: "with-file-upload",
16+
type: string,
1717
upload: (file: FileBrowserFile, options: Object) => Promise<any>
1818
};
1919

packages/webiny-cra-utils/index.js

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

packages/webiny-cra-utils/package.json

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

packages/webiny-cra-utils/src/babelrc.js

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

packages/webiny-cra-utils/src/index.js

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

scripts/release/utils/getPackages.js

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,6 @@ const path = require("path");
22
const readPkg = require("read-pkg");
33
const globby = require("globby");
44

5-
const toPublish = [
6-
"webiny-api",
7-
"webiny-api-cms",
8-
"webiny-app",
9-
"webiny-app-admin",
10-
"webiny-app-cms",
11-
"webiny-ui",
12-
"webiny-compose",
13-
"webiny-data-extractor",
14-
"webiny-entity-memory",
15-
"webiny-entity-mysql",
16-
"webiny-entity",
17-
"webiny-file-storage-local",
18-
"webiny-file-storage-s3",
19-
"webiny-file-storage",
20-
"webiny-form",
21-
"webiny-i18n-react",
22-
"webiny-i18n",
23-
"webiny-jimp",
24-
"webiny-model",
25-
"webiny-mysql-connection",
26-
"webiny-react-router",
27-
"webiny-service-manager",
28-
"webiny-sql-table-mysql",
29-
"webiny-sql-table-sync",
30-
"webiny-sql-table",
31-
"webiny-validation"
32-
];
33-
345
// Get packages to process
356
module.exports = glob => {
367
if (!glob) {
@@ -47,5 +18,5 @@ module.exports = glob => {
4718
package: pkg
4819
};
4920
})
50-
.filter(pkg => !pkg.package.private && toPublish.includes(pkg.name));
21+
.filter(pkg => !pkg.package.private);
5122
};

0 commit comments

Comments
 (0)