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

Prepare Release v1.30.0 #1642

Merged
merged 7 commits into from Oct 2, 2017
Merged

Prepare Release v1.30.0 #1642

merged 7 commits into from Oct 2, 2017

Conversation

cmslewis
Copy link
Contributor

@cmslewis cmslewis commented Sep 29, 2017

📖 Latest docs: blueprintjs.com/docs

@blueprintjs/core 1.30.0

🔄 Changed

🐛 Bug fixes

@blueprintjs/table 1.27.0

🔄 Changed

🐛 Bug fixes

@blueprintjs/labs 0.11.0

💎 New features

@blueprint-bot
Copy link

Fix package versions

Preview: documentation | table | github pages
Coverage: core | datetime

@@ -1,6 +1,6 @@
{
"name": "blueprint-monorepo",
"version": "1.28.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, we didn't bump this for 1.29.0.

@@ -20,7 +20,7 @@
"watch": "onchange 'src/**' 'preview/*.ts*' -- npm-run-all build:gulp build:preview"
},
"dependencies": {
"@blueprintjs/core": "^1.25.0",
"@blueprintjs/core": "^1.30.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Bumping because of the utils that moved from table to core.

Copy link
Contributor

Choose a reason for hiding this comment

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

is this the correct minimum version?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yup, as Chris mentioned, some utils moved from table to core

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes

Copy link
Contributor

@giladgray giladgray Oct 2, 2017

Choose a reason for hiding this comment

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

well sure but didn't that move actually happen last release? 1.29.0?

no big deal though.

Copy link
Contributor

Choose a reason for hiding this comment

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

nvm, I see release notes. my bad.

@blueprint-bot
Copy link

Undo version bumps on datetime and docs

Preview: documentation | table | github pages
Coverage: core | datetime

Copy link
Contributor

@adidahiya adidahiya left a comment

Choose a reason for hiding this comment

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

  1. site-docs.js diff is surprising -- 40k lines removed?
  2. we might as well bump labs' dependency on core as well so that we can start using the compare utils there

@adidahiya
Copy link
Contributor

also please remove tslint changes from the release notes.

@cmslewis
Copy link
Contributor Author

cmslewis commented Oct 1, 2017

@adidahiya @giladgray a lot of the removals seem to be related to moment-timezone. I'm seeing an error related to it when the prepRelease.sh script runs:

[23:24:17] Finished 'bundle-core' after 1.5 s
[23:24:17] [webpack] Time: 1580ms
             Asset    Size  Chunks             Chunk Names
    labs.bundle.js  279 kB       0  [emitted]  labs
labs.bundle.js.map  331 kB       0  [emitted]  labs

ERROR in ./packages/labs/~/moment-timezone/data/packed/latest.json
Module parse failed: /Users/clewis/Developer/blueprint-external/packages/labs/node_modules/moment-timezone/data/packed/latest.json Unexpected token (2:10)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (2:10)
  at Parser.pp$4.raise (/Users/clewis/Developer/blueprint-external/node_modules/webpack/node_modules/acorn/dist/acorn.js:2221:15)
  at Parser.pp.unexpected (/Users/clewis/Developer/blueprint-external/node_modules/webpack/node_modules/acorn/dist/acorn.js:603:10)
  at Parser.pp.semicolon (/Users/clewis/Developer/blueprint-external/node_modules/webpack/node_modules/acorn/dist/acorn.js:581:61)
  at Parser.pp$1.parseExpressionStatement (/Users/clewis/Developer/blueprint-external/node_modules/webpack/node_modules/acorn/dist/acorn.js:966:10)
  at Parser.pp$1.parseStatement (/Users/clewis/Developer/blueprint-external/node_modules/webpack/node_modules/acorn/dist/acorn.js:730:24)
  at Parser.pp$1.parseBlock (/Users/clewis/Developer/blueprint-external/node_modules/webpack/node_modules/acorn/dist/acorn.js:981:25)
  at Parser.pp$1.parseStatement (/Users/clewis/Developer/blueprint-external/node_modules/webpack/node_modules/acorn/dist/acorn.js:709:33)
  at Parser.pp$1.parseTopLevel (/Users/clewis/Developer/blueprint-external/node_modules/webpack/node_modules/acorn/dist/acorn.js:638:25)
  at Parser.parse (/Users/clewis/Developer/blueprint-external/node_modules/webpack/node_modules/acorn/dist/acorn.js:516:17)
  at Object.parse (/Users/clewis/Developer/blueprint-external/node_modules/webpack/node_modules/acorn/dist/acorn.js:3098:39)
  at Parser.parse (/Users/clewis/Developer/blueprint-external/node_modules/webpack/lib/Parser.js:902:15)
  at NormalModule.<anonymous> (/Users/clewis/Developer/blueprint-external/node_modules/webpack/lib/NormalModule.js:104:16)
  at NormalModule.onModuleBuild (/Users/clewis/Developer/blueprint-external/node_modules/webpack-core/lib/NormalModuleMixin.js:310:10)
  at nextLoader (/Users/clewis/Developer/blueprint-external/node_modules/webpack-core/lib/NormalModuleMixin.js:275:25)
  at /Users/clewis/Developer/blueprint-external/node_modules/webpack-core/lib/NormalModuleMixin.js:259:5
  at Storage.finished (/Users/clewis/Developer/blueprint-external/node_modules/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:38:16)
  at /Users/clewis/Developer/blueprint-external/node_modules/graceful-fs/graceful-fs.js:78:16
  at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:504:3)

 @ ./packages/labs/~/moment-timezone/index.js 2:15-51
[23:24:17] Finished 'bundle-labs' after 1.58 s

I'm also seeing the following later in the build:

[23:24:36] [webpack] Time: 16627ms
           Asset     Size  Chunks             Chunk Names
    site-docs.js  5.39 MB       0  [emitted]  site-docs
site-docs.js.map  6.63 MB       0  [emitted]  site-docs

ERROR in ./packages/labs/examples/omniboxExample.tsx
(17,5): error TS6133: 'IToastProps' is declared but never used.

ERROR in ./packages/labs/src/components/timezone-picker/timezoneMetadata.ts
(30,26): error TS2339: Property 'population' does not exist on type 'MomentZone'.

ERROR in /Users/clewis/Developer/blueprint-external/packages/labs/node_modules/popper.js/index.d.ts
(9,15): error TS2300: Duplicate identifier 'Position'.

ERROR in /Users/clewis/Developer/blueprint-external/packages/labs/node_modules/popper.js/index.d.ts
(11,15): error TS2300: Duplicate identifier 'Placement'.

ERROR in /Users/clewis/Developer/blueprint-external/packages/labs/node_modules/popper.js/index.d.ts
(27,15): error TS2300: Duplicate identifier 'Boundary'.

ERROR in /Users/clewis/Developer/blueprint-external/packages/labs/node_modules/popper.js/index.d.ts
(29,15): error TS2300: Duplicate identifier 'ModifierFn'.

ERROR in /Users/clewis/Developer/blueprint-external/packages/labs/node_modules/popper.js/index.d.ts
(62,5): error TS2374: Duplicate string index signature.

ERROR in /Users/clewis/Developer/blueprint-external/packages/labs/node_modules/popper.js/index.d.ts
(106,24): error TS2300: Duplicate identifier 'Popper'.

ERROR in /Users/clewis/Developer/blueprint-external/packages/site-docs/node_modules/@blueprintjs/labs/node_modules/popper.js/index.d.ts
(9,15): error TS2300: Duplicate identifier 'Position'.

ERROR in /Users/clewis/Developer/blueprint-external/packages/site-docs/node_modules/@blueprintjs/labs/node_modules/popper.js/index.d.ts
(11,15): error TS2300: Duplicate identifier 'Placement'.

ERROR in /Users/clewis/Developer/blueprint-external/packages/site-docs/node_modules/@blueprintjs/labs/node_modules/popper.js/index.d.ts
(27,15): error TS2300: Duplicate identifier 'Boundary'.

ERROR in /Users/clewis/Developer/blueprint-external/packages/site-docs/node_modules/@blueprintjs/labs/node_modules/popper.js/index.d.ts
(29,15): error TS2300: Duplicate identifier 'ModifierFn'.

ERROR in /Users/clewis/Developer/blueprint-external/packages/site-docs/node_modules/@blueprintjs/labs/node_modules/popper.js/index.d.ts
(106,24): error TS2300: Duplicate identifier 'Popper'.
[23:24:36] Finished 'webpack-docs' after 17 s
[23:24:36] Finished 'build' after 34 s

Could any of these errors be causing undesired deletions from the site-docs bundle?

@blueprint-bot
Copy link

Bump labs package dependency on core

Preview: documentation | table | github pages
Coverage: core | datetime

@cmslewis
Copy link
Contributor Author

cmslewis commented Oct 2, 2017

@giladgray is taking a look at this release today to see if things look good.

@giladgray
Copy link
Contributor

ok pushed some build fixes. we should still see the timezoneMetadata and popper.js errors noted at the end of #1642 (comment) (until #1527 is resolved), but the labs.bundle.js error should be fixed.

@giladgray
Copy link
Contributor

giladgray commented Oct 2, 2017

@adidahiya @cmslewis pretty sure the -40k lines on docs.js is entirely due to prettier formatting things to require fewer lines. for instance, the massive docs.json blob now sits on exactly one line, instead of thirty-two thousand.

docs-line-diff

@blueprint-bot
Copy link

rebuild site

Preview: documentation | table | github pages
Coverage: core | datetime

module: {
loaders: [
// always provide JSON loader to support importing data files (see moment-timezone)
{ loader: "json-loader", test: /\.json$/ },
Copy link
Contributor

Choose a reason for hiding this comment

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

this resolve the latest.json issue from labs.bundle.js

@adidahiya
Copy link
Contributor

@giladgray @cmslewis prettier shouldn't be running on built files; did you run gulp lint-fix in this PR?

@cmslewis
Copy link
Contributor Author

cmslewis commented Oct 2, 2017

@adidahiya no, I didn't.

@cmslewis cmslewis merged commit 48ab7b7 into master Oct 2, 2017
@cmslewis cmslewis deleted the release/1.30.0 branch October 2, 2017 20:36
@DrewDennison
Copy link
Contributor

@cmslewis did this make it to NPM yet?

@adidahiya
Copy link
Contributor

The release build failed; we're looking into it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants