Page MenuHomePhabricator
Paste P13045

~/Documents/gerrit/wikibase/termbox$ npm t
ArchivedPublic

Authored by zeljkofilipin on Oct 21 2020, 3:45 PM.
Tags
None
Referenced Files
F32410317: ~/Documents/gerrit/wikibase/termbox$ npm t
Oct 21 2020, 3:46 PM
F32410315: ~/Documents/gerrit/wikibase/termbox$ npm t
Oct 21 2020, 3:45 PM
Subscribers
None
~/Documents/gerrit/wikibase/termbox$ cat .env
SSR_PORT=3030
# set to e.g. the api script of your development environment's mediawiki
WIKIBASE_REPO=http://default.web.mw.localhost/mediawiki
# hostname which will be used in place of the one in WIKIBASE_REPO for network requests to the wikibase
WIKIBASE_REPO_HOSTNAME_ALIAS=default.web.mw.localhost
# timeout to mediawiki in ms
MEDIAWIKI_REQUEST_TIMEOUT=3000
# maximum age of entries in the messages cache in ms
MESSAGES_CACHE_MAX_AGE=60000
# maximum age of entries in the languages cache in ms
LANGUAGES_CACHE_MAX_AGE=300000
# query string for the openapi x-amples healthcheck
HEALTHCHECK_QUERY=language=de&entity=Q1&revision=3&editLink=/edit/Q1347&preferredLanguages=de|en
# set to e.g. "addshoremediawikidockerdev_default" (see README)
MEDIAWIKI_NETWORK_TO_JOIN=
CSR_PORT=3000
STORYBOOK_PORT=6006
NODE_ENV=development
# set to e.g. "request" to see API requests done by SSR
NODE_DEBUG=
# set to e.g. "express:*" to see incoming requests
DEBUG=
~/Documents/gerrit/wikibase/termbox$ npm ci
...
~/Documents/gerrit/wikibase/termbox$ npm run build
> wikibase-termbox@0.1.0 build /Users/z/Documents/gerrit/wikibase/termbox
> NODE_ENV=production vue-cli-service build
⠙ Building for production...Starting type checking service...
Using 1 worker with 2048MB memory limit
⠹ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠏ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠋ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠸ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠇ Building for production...
DONE Compiled successfully in 17957ms 5:37:22 PM
File Size Gzipped
dist/wikibase.termbox.main.js 163.61 KiB 44.51 KiB
dist/wikibase.termbox.main.css 28.35 KiB 3.79 KiB
Images and other types of assets omitted.
DONE Build complete. The dist directory is ready to be deployed.
INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
~/Documents/gerrit/wikibase/termbox$ npm run build-server
> wikibase-termbox@0.1.0 build-server /Users/z/Documents/gerrit/wikibase/termbox
> NODE_ENV=production WEBPACK_TARGET=node vue-cli-service build && tsc -p tsconfig.server.json && rm -rf node_modules/.cache
⠙ Building for production...Starting type checking service...
Using 1 worker with 2048MB memory limit
⠏ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠙ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠴ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠦ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠸ Building for production...
DONE Compiled successfully in 7968ms 5:38:18 PM
File Size Gzipped
Images and other types of assets omitted.
DONE Build complete. The serverDist directory is ready to be deployed.
INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
~/Documents/gerrit/wikibase/termbox$ npm t
> wikibase-termbox@0.1.0 test /Users/z/Documents/gerrit/wikibase/termbox
> npm-run-all test:*
> wikibase-termbox@0.1.0 test:lint /Users/z/Documents/gerrit/wikibase/termbox
> vue-cli-service lint --no-fix --max-warnings 0 . && stylelint --syntax scss 'src/**/*.(vue|scss)'
DONE No lint errors found!
Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`
> wikibase-termbox@0.1.0 test:unit /Users/z/Documents/gerrit/wikibase/termbox
> vue-cli-service test:unit
PASS tests/edge-to-edge/server/app.spec.ts (7.559s)
PASS tests/unit/store/entity/mutations.spec.ts
PASS tests/unit/components/AliasesEdit.spec.ts (8.109s)
PASS tests/unit/store/entity/actions.spec.ts
PASS tests/unit/components/TermBox.spec.ts (8.375s)
PASS tests/unit/components/MonolingualFingerprintView.spec.ts
PASS tests/unit/server/data-access/AxiosSpecialPageEntityRepo.spec.ts
PASS tests/unit/server/data-access/AxiosWikibaseContentLanguagesRepo.spec.ts
PASS tests/unit/components/AnonEditWarning.spec.ts
PASS tests/unit/components/LicenseAgreement.spec.ts
PASS tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts
PASS tests/unit/server/assertAndGetConfig.spec.ts
PASS tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts
PASS tests/unit/components/AllEnteredLanguagesExpandable.spec.ts
PASS tests/unit/components/LabelEdit.spec.ts
PASS tests/unit/components/DescriptionEdit.spec.ts
PASS tests/unit/store/user/actions.spec.ts
PASS tests/unit/server-entry.spec.ts
PASS tests/unit/client/axios/editTokenRequestInterceptor.spec.ts
PASS tests/unit/client/init.spec.ts
PASS tests/unit/server/buildOpenApiSpec.spec.ts
PASS tests/unit/client/data-access/EntityRepository.spec.ts
PASS tests/unit/store/entity/getters.spec.ts
PASS tests/unit/server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo.spec.ts
PASS tests/unit/server/axios/axiosFactory.spec.ts
PASS tests/unit/components/Aliases.spec.ts
PASS tests/unit/components/App.spec.ts
PASS tests/unit/components/Label.spec.ts
PASS tests/unit/store/language/mutations.spec.ts
PASS tests/unit/components/Description.spec.ts
PASS tests/unit/client/axios/axiosFactory.spec.ts
PASS tests/unit/components/AllEnteredLanguages.spec.ts
PASS tests/unit/common/buildApp.spec.ts
PASS tests/unit/store/language/actions.spec.ts
PASS tests/unit/store/user/mutations.spec.ts
PASS tests/unit/client/data-access/StringMWCookieStore.spec.ts
PASS tests/unit/store/language/getters.spec.ts
PASS tests/unit/server/data-access/ContentLanguagesLanguageRepo.spec.ts
PASS tests/unit/components/EventEmittingButton.spec.ts
PASS tests/unit/components/InMoreLanguagesExpandable.spec.ts
PASS tests/unit/server/data-access/CachingMethodDecorator.spec.ts
PASS tests/unit/server/route-handler/termbox/TermboxHandler.spec.ts
PASS tests/unit/store/messages/getters.spec.ts
PASS tests/unit/common/EntityInitializer.spec.ts
PASS tests/unit/client/buildAndAttemptHydration.spec.ts
PASS tests/unit/client/data-access/AxiosWritingSingleUserPreferenceRepository.spec.ts
PASS tests/unit/server/reportResponseTimeMetrics.spec.ts
PASS tests/unit/newFingerprintable.spec.ts
PASS tests/unit/server/data-access/ContentLanguagesLanguageTranslationRepo.spec.ts
PASS tests/unit/components/mixins/Messages.spec.ts
PASS tests/unit/components/InMoreLanguages.spec.ts
PASS tests/unit/client/data-access/BooleanCookieStore.spec.ts
PASS tests/unit/server/bundle-renderer/BundleRendererContextBuilder.spec.ts
PASS tests/unit/common/data-access/DispatchingUserPreferenceRepository.spec.ts
PASS tests/unit/components/Checkbox.spec.ts
PASS tests/unit/client/axios/assertUserRequestInterceptor.spec.ts
PASS tests/unit/common/TermboxRequest.spec.ts
PASS tests/unit/common/data-access/AxiosTechnicalProblem.spec.ts
PASS tests/unit/client/data-access/CookieUserPreferenceRepository.spec.ts
PASS tests/unit/common/data-access/DelegatingUserPreferenceRepository.spec.ts
PASS tests/unit/common/getChildComponents.spec.ts
PASS tests/unit/client/directives/inlanguage.spec.ts
PASS tests/unit/server/directives/inlanguage.spec.ts
PASS tests/unit/server/bundle-renderer/BundleRendererServices.spec.ts
PASS tests/unit/components/EditTools.spec.ts
PASS tests/unit/common/data-access/CompoundSingleUserPreferenceRepository.spec.ts
PASS tests/unit/client/data-access/UlsLanguageRepository.spec.ts
PASS tests/unit/server/bundle-renderer/BundleRendererContext.spec.ts
PASS tests/unit/store/messages/actions.spec.ts
PASS tests/unit/components/Sectionedit.spec.ts
PASS tests/unit/store/index.spec.ts
PASS tests/unit/store/actions.spec.ts
PASS tests/unit/client/data-access/MessagesRepository.spec.ts
PASS tests/unit/components/IconMessageBox.spec.ts
PASS tests/unit/components/mixins/newConfigMixin.spec.ts
PASS tests/unit/store/links/actions.spec.ts
PASS tests/unit/common/TermboxServices.spec.ts
PASS tests/unit/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository.spec.ts
PASS tests/unit/store/links/mutations.spec.ts
PASS tests/unit/server/route-handler/termbox/CoercingQueryValidator.spec.ts
PASS tests/unit/store/messages/mutations.spec.ts
PASS tests/unit/client/axios/formDataRequestTransformation.spec.ts
PASS tests/unit/client/data-access/UlsLanguageTranslationRepository.spec.ts
PASS tests/unit/store/user/getters.spec.ts
PASS tests/unit/common/error/ContextError.spec.ts
PASS tests/unit/components/MessageBanner.spec.ts
PASS tests/unit/datamodel/EntityRevision.spec.ts
PASS tests/unit/store/mutations.spec.ts
PASS tests/unit/store/entity/index.spec.ts
PASS tests/unit/components/Overlay.spec.ts
PASS tests/unit/server/axios/getMwUserAgentString.spec.ts
PASS tests/unit/components/Modal.spec.ts
PASS tests/unit/store/user/index.spec.ts
PASS tests/unit/client/directives/focus.spec.ts
PASS tests/unit/store/language/index.spec.ts
PASS tests/unit/store/links/index.spec.ts
PASS tests/unit/store/messages/index.spec.ts
Test Suites: 97 passed, 97 total
Tests: 392 passed, 392 total
Snapshots: 0 total
Time: 15.048s
Ran all test suites.
> wikibase-termbox@0.1.0 test:distnodiff /Users/z/Documents/gerrit/wikibase/termbox
> npm run build -- --dest /tmp/dist && diff -q ./dist/wikibase.termbox.main.css /tmp/dist/wikibase.termbox.main.css && diff -q ./dist/wikibase.termbox.main.js /tmp/dist/wikibase.termbox.main.js
> wikibase-termbox@0.1.0 build /Users/z/Documents/gerrit/wikibase/termbox
> NODE_ENV=production vue-cli-service build "--dest" "/tmp/dist"
⠙ Building for production...Starting type checking service...
Using 1 worker with 2048MB memory limit
⠋ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠹ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠸ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠴ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠏ Building for production...
DONE Compiled successfully in 17491ms 5:39:27 PM
File Size Gzipped
../../../../../../tmp/dist/wikibase.te 163.61 KiB 44.51 KiB
rmbox.main.js
../../../../../../tmp/dist/wikibase.te 28.35 KiB 3.79 KiB
rmbox.main.css
Images and other types of assets omitted.
DONE Build complete. The ../../../../../../tmp/dist directory is ready to be deployed.
INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html