Skip to content

Add vue-next to docker suite #33865

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

Merged
merged 2 commits into from
Feb 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
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
126 changes: 126 additions & 0 deletions tests/baselines/reference/docker/vue-next.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
Exit Code: 0
Standard output:

> @ build /vue-next
> node scripts/build.js "--types"
Rolling up type definitions for compiler-core...
Writing: /vue-next/temp/compiler-core.api.json
The API report is up to date: temp/compiler-core.api.md
Writing package typings: /vue-next/packages/compiler-core/dist/compiler-core.d.ts
API Extractor completed successfully.
Rolling up type definitions for compiler-dom...
Writing: /vue-next/temp/compiler-dom.api.json
The API report is up to date: temp/compiler-dom.api.md
Writing package typings: /vue-next/packages/compiler-dom/dist/compiler-dom.d.ts
API Extractor completed successfully.
Rolling up type definitions for reactivity...
Writing: /vue-next/temp/reactivity.api.json
The API report is up to date: temp/reactivity.api.md
Writing package typings: /vue-next/packages/reactivity/dist/reactivity.d.ts
API Extractor completed successfully.
Rolling up type definitions for runtime-core...
Writing: /vue-next/temp/runtime-core.api.json
The API report is up to date: temp/runtime-core.api.md
Writing package typings: /vue-next/packages/runtime-core/dist/runtime-core.d.ts
API Extractor completed successfully.
Rolling up type definitions for runtime-dom...
Writing: /vue-next/temp/runtime-dom.api.json
The API report is up to date: temp/runtime-dom.api.md
Writing package typings: /vue-next/packages/runtime-dom/dist/runtime-dom.d.ts
API Extractor completed successfully.
Rolling up type definitions for runtime-test...
Writing: /vue-next/temp/runtime-test.api.json
The API report is up to date: temp/runtime-test.api.md
Writing package typings: /vue-next/packages/runtime-test/dist/runtime-test.d.ts
API Extractor completed successfully.
Rolling up type definitions for server-renderer...



Standard error:

/vue-next/packages/compiler-core/src/index.ts → packages/compiler-core/dist/compiler-core.cjs.js...
created packages/compiler-core/dist/compiler-core.cjs.js in ?s
/vue-next/packages/compiler-core/src/index.ts → packages/compiler-core/dist/compiler-core.cjs.prod.js...
created packages/compiler-core/dist/compiler-core.cjs.prod.js in ?s
/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.cjs.js...
created packages/compiler-dom/dist/compiler-dom.cjs.js in ?s
/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.global.js...
created packages/compiler-dom/dist/compiler-dom.global.js in ?s
/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.esm-browser.js...
created packages/compiler-dom/dist/compiler-dom.esm-browser.js in ?s
/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.cjs.prod.js...
created packages/compiler-dom/dist/compiler-dom.cjs.prod.js in ?s
/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.global.prod.js...
created packages/compiler-dom/dist/compiler-dom.global.prod.js in ?s
/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.esm-browser.prod.js...
created packages/compiler-dom/dist/compiler-dom.esm-browser.prod.js in ?s
Warning: /vue-next/packages/compiler-core/src/transforms/vFor.ts:122:37 - (TS2339) Property 'codegenNode' does not exist on type 'TemplateChildNode'.; Property 'codegenNode' does not exist on type 'CompoundExpressionNode'.
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm-bundler.js...
created packages/reactivity/dist/reactivity.esm-bundler.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.cjs.js...
created packages/reactivity/dist/reactivity.cjs.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.global.js...
created packages/reactivity/dist/reactivity.global.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm-browser.js...
created packages/reactivity/dist/reactivity.esm-browser.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.cjs.prod.js...
created packages/reactivity/dist/reactivity.cjs.prod.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.global.prod.js...
created packages/reactivity/dist/reactivity.global.prod.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm-browser.prod.js...
created packages/reactivity/dist/reactivity.esm-browser.prod.js in ?s
/vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.esm-bundler.js...
created packages/runtime-core/dist/runtime-core.esm-bundler.js in ?s
/vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.cjs.js...
created packages/runtime-core/dist/runtime-core.cjs.js in ?s
/vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.cjs.prod.js...
created packages/runtime-core/dist/runtime-core.cjs.prod.js in ?s
Warning: /vue-next/packages/compiler-core/src/transforms/vFor.ts:122:37 - (TS2339) Property 'codegenNode' does not exist on type 'TemplateChildNode'.; Property 'codegenNode' does not exist on type 'CompoundExpressionNode'.
/vue-next/packages/runtime-dom/src/index.ts → packages/runtime-dom/dist/runtime-dom.esm-bundler.js...
created packages/runtime-dom/dist/runtime-dom.esm-bundler.js in ?s
/vue-next/packages/runtime-dom/src/index.ts → packages/runtime-dom/dist/runtime-dom.cjs.js...
created packages/runtime-dom/dist/runtime-dom.cjs.js in ?s
/vue-next/packages/runtime-dom/src/index.ts → packages/runtime-dom/dist/runtime-dom.global.js...
created packages/runtime-dom/dist/runtime-dom.global.js in ?s
/vue-next/packages/runtime-dom/src/index.ts → packages/runtime-dom/dist/runtime-dom.esm-browser.js...
created packages/runtime-dom/dist/runtime-dom.esm-browser.js in ?s
/vue-next/packages/runtime-dom/src/index.ts → packages/runtime-dom/dist/runtime-dom.cjs.prod.js...
created packages/runtime-dom/dist/runtime-dom.cjs.prod.js in ?s
/vue-next/packages/runtime-dom/src/index.ts → packages/runtime-dom/dist/runtime-dom.global.prod.js...
created packages/runtime-dom/dist/runtime-dom.global.prod.js in ?s
/vue-next/packages/runtime-dom/src/index.ts → packages/runtime-dom/dist/runtime-dom.esm-browser.prod.js...
created packages/runtime-dom/dist/runtime-dom.esm-browser.prod.js in ?s
Warning: /vue-next/packages/compiler-core/src/transforms/vFor.ts:122:37 - (TS2339) Property 'codegenNode' does not exist on type 'TemplateChildNode'.; Property 'codegenNode' does not exist on type 'CompoundExpressionNode'.
Warning: /vue-next/packages/runtime-core/src/component.ts:322:19 - (TS7006) Parameter 'err' implicitly has an 'any' type.
/vue-next/packages/runtime-test/src/index.ts → packages/runtime-test/dist/runtime-test.esm-bundler.js...
created packages/runtime-test/dist/runtime-test.esm-bundler.js in ?s
/vue-next/packages/runtime-test/src/index.ts → packages/runtime-test/dist/runtime-test.cjs.js...
created packages/runtime-test/dist/runtime-test.cjs.js in ?s
/vue-next/packages/runtime-test/src/index.ts → packages/runtime-test/dist/runtime-test.global.js...
created packages/runtime-test/dist/runtime-test.global.js in ?s
/vue-next/packages/runtime-test/src/index.ts → packages/runtime-test/dist/runtime-test.cjs.prod.js...
created packages/runtime-test/dist/runtime-test.cjs.prod.js in ?s
/vue-next/packages/runtime-test/src/index.ts → packages/runtime-test/dist/runtime-test.global.prod.js...
created packages/runtime-test/dist/runtime-test.global.prod.js in ?s
Warning: /vue-next/packages/compiler-core/src/transforms/vFor.ts:122:37 - (TS2339) Property 'codegenNode' does not exist on type 'TemplateChildNode'.; Property 'codegenNode' does not exist on type 'CompoundExpressionNode'.
Warning: /vue-next/packages/runtime-core/src/component.ts:322:19 - (TS7006) Parameter 'err' implicitly has an 'any' type.
/vue-next/packages/server-renderer/src/index.ts → packages/server-renderer/dist/server-renderer.cjs.js...
(!) Generated an empty bundle
created packages/server-renderer/dist/server-renderer.cjs.js in ?s
/vue-next/packages/server-renderer/src/index.ts → packages/server-renderer/dist/server-renderer.cjs.prod.js...
(!) Generated an empty bundle
created packages/server-renderer/dist/server-renderer.cjs.prod.js in ?s
(node:18) UnhandledPromiseRejectionWarning: Error: Internal Error: Unable to determine module for: /vue-next/packages/server-renderer/dist/packages/server-renderer/src/index.d.ts
You have encountered a software defect. Please consider reporting the issue to the maintainers of this application.
at ExportAnalyzer._getModuleSymbolFromSourceFile (/vue-next/node_modules/@microsoft/api-extractor/lib/analyzer/ExportAnalyzer.js:146:15)
at ExportAnalyzer.fetchAstModuleFromSourceFile (/vue-next/node_modules/@microsoft/api-extractor/lib/analyzer/ExportAnalyzer.js:41:35)
at AstSymbolTable.fetchAstModuleFromWorkingPackage (/vue-next/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:53:37)
at Collector.analyze (/vue-next/node_modules/@microsoft/api-extractor/lib/collector/Collector.js:114:51)
at Function.invoke (/vue-next/node_modules/@microsoft/api-extractor/lib/api/Extractor.js:97:19)
at build (/vue-next/scripts/build.js:91:30)
at processTicksAndRejections (internal/process/task_queues.js:89:5)
at async buildAll (/vue-next/scripts/build.js:45:5)
at async /vue-next/scripts/build.js:35:5
(node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:18) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
11 changes: 11 additions & 0 deletions tests/cases/docker/vue-next/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:current
RUN npm install -g yarn lerna
RUN git clone https://github.com/vuejs/vue-next.git /vue-next
WORKDIR /vue-next
RUN git pull
COPY --from=typescript/typescript /typescript/typescript-*.tgz typescript.tgz
# Sync up all TS versions used internally to the new one
RUN yarn add typescript@./typescript.tgz --exact --dev --ignore-scripts -W
RUN yarn
ENTRYPOINT [ "npm" ]
CMD [ "run", "build", "--production", "--", "--types" ]