Граф коммитов

692 Коммитов

Автор SHA1 Сообщение Дата
kchau@microsoft.com c7bcd969ba applying package updates 2020-04-24 17:42:34 +00:00
Luan Nguyen 14bea01d53
Add 'open' flag to WebpackTaskOptions (#362)
* Add 'noOpen' flag to tell webpack not to open browser page.

* Change files

* change noOpen to open

Co-authored-by: Kenneth Chau <34725+kenotron@users.noreply.github.com>
2020-04-24 10:39:51 -07:00
kchau@microsoft.com fba88a47fa applying package updates 2020-04-24 16:46:48 +00:00
ByungJoon Lee 4ef6cbc097
change target in enableTypeScript (#363)
* exnext -> es2017
    * support nullish coalescing operator
2020-04-24 09:44:03 -07:00
kchau@microsoft.com 85874d7d37 applying package updates 2020-04-13 15:57:30 +00:00
Elizabeth Craig ced1172601
API extractor task updates and other fixes (#336)
* Fix executeCopyInstructions chaining

* add execSync helper

* Update custom reporter to match the one from fabric, and add shared version

* API extractor task updates

* Change files
2020-04-13 08:53:50 -07:00
kchau@microsoft.com 5bf815a8de applying package updates 2020-04-10 20:34:02 +00:00
Kenneth Chau df664ff35c
Switching to yargs-parser rather than yargs (#356)
* totally changing how args are parsed with yargs-parser

* fix up initCommand with new yargs types

* Change files

* fixing up resolve

* making the watch script to be consistent

* fixing the mocks with yargs init
2020-04-10 13:31:08 -07:00
kchau@microsoft.com b57d6acd84 applying package updates 2020-04-07 17:35:38 +00:00
Kenneth Chau 709364fc49
use tar-fs instead of node-tar to make tarTask more robust (#351)
* another take on tar task using tar-fs instead because it can actually handle large amounts of data

* Change files
2020-04-07 17:32:49 +00:00
kchau@microsoft.com ce4b606d86 applying package updates 2020-04-06 21:43:56 +00:00
Kenneth Chau 75b14a7d48
Added a tar task (#348)
* adding a tartask

* update tar version

* Change files
2020-04-06 14:41:28 -07:00
kchau@microsoft.com bd99a8c9f8 applying package updates 2020-03-06 19:44:20 +00:00
Jason Morse 7b2254a3f9
Add more general findRepoRoot helper (#331)
* add more general findRepoRoot utility

* Change files

Co-authored-by: Kenneth Chau <kenotron@users.noreply.github.com>
2020-03-06 11:27:18 -08:00
Jason Morse af337993f5
add just-repo-utils package (#324)
* add repo utils project

* fix cache creation when directory doesn't exist

* fix git utils adding an extra empty array entry

* Change files

* (greatly) improve cache key generation perf

* add flexible findGitRoot implementation

* update packageInfo API and add tests

* add repoInfo unit tests

* Update packages/just-repo-utils/src/repoInfo.ts

Updating the comment for findGitRoot

Co-Authored-By: Kenneth Chau <kenotron@users.noreply.github.com>

* update API names for consistency

* allow filtering of dependency results

Co-authored-by: Kenneth Chau <kenotron@users.noreply.github.com>
2020-03-06 09:40:31 -08:00
Jason Gore 2e8305d9fb
Unit Tests: Fix test failures on Windows clients (#315)
* Use Node's path so that tests don't fail in Windows clients.

* Change files
2020-01-31 14:57:56 -08:00
kchau@microsoft.com 950ea9cedb applying package updates 2019-11-13 19:42:46 +00:00
Kenneth Chau 501e4b6098
Get rid of all the forced options to the jestTask (#281)
* adding options to turn off colors

* Change files

* add all jest options so there are not forced options
2019-11-13 11:39:08 -08:00
kchau@microsoft.com 9b25f96ff5 applying package updates 2019-11-11 21:09:42 +00:00
Elizabeth Craig 961f055936
api-extractor task updates (#278)
* api-extractor task: add callback to access ExtractorResult, add typings, improve logic

* Show full stack on config file errors

* Change files
2019-11-11 13:06:04 -08:00
kchau@microsoft.com 51817b11ca applying package updates 2019-11-07 04:07:08 +00:00
Kenneth Chau 6a680840bf
Adds environment variable support for various just-scripts (#273)
* adding environment variable support for jestTask

* Change files

* fix the default options
2019-11-06 20:03:14 -08:00
kchau@microsoft.com ab6568a48a applying package updates 2019-11-04 20:25:32 +00:00
Kenneth Chau d8f3ab2f85
Jest task - reverts the use of force exit as it really just masks a deeper issue (#268)
* adds a plain old webpack-cli task

* get rid of force exit for jest task as it masks the real test problems

* Change files

* get rid of comment about forcexit
2019-11-04 12:21:59 -08:00
kchau@microsoft.com 7b8691aa43 applying package updates 2019-10-31 21:15:50 +00:00
Kenneth Chau 5db3d28e0c
adds a plain old webpack-cli task (#266)
* adds a plain old webpack-cli task

* Change files
2019-10-31 14:12:22 -07:00
kchau@microsoft.com c6b1439e29 applying package updates 2019-10-23 15:48:00 +00:00
Matthias Klass 28b958c986 Add a "project" option to the tslint task (#264)
* Add a "project" option to the tslint task

* Change files
2019-10-23 08:41:18 -07:00
kchau@microsoft.com 946bf5ab15 applying package updates 2019-10-18 22:08:36 +00:00
kchau@microsoft.com fe79818e3f applying package updates 2019-10-18 21:58:37 +00:00
Ken Chau 2d7c9283dc Merge branch 'master' of github.com:microsoft/just 2019-10-18 14:54:59 -07:00
Ken Chau bb1a7467dd esModuleInterop is important to have as true 2019-10-18 14:54:41 -07:00
kchau@microsoft.com c1d33e0d33 applying package updates 2019-10-18 21:33:45 +00:00
Ken Chau 120168c01c Merge branch 'master' of github.com:microsoft/just 2019-10-18 14:30:13 -07:00
Ken Chau 9171350465 use full resolve logic for ts-node 2019-10-18 14:29:57 -07:00
kchau@microsoft.com 93fd120714 applying package updates 2019-10-18 20:08:37 +00:00
Ken Chau 177f3aa238 sync'ing with version on registry 2019-10-18 13:04:53 -07:00
Andrew Coates c1c1ed5326 Write custom .npmrc when using create-just against a custom registry (#262)
* If a custom registry is specified, add an .npmrc file, that forces auth

* Change files
2019-10-18 12:58:21 -07:00
kchau@microsoft.com 4ef262043b applying package updates 2019-10-18 19:52:03 +00:00
Kenneth Chau bf55dc290d
Adds Native TS Support to just-task (#263)
* adds support for typescript just.config.ts

* Change files

* Only transpile from just.config.ts
2019-10-18 12:48:32 -07:00
kchau@microsoft.com a67a55f3c9 applying package updates 2019-10-16 22:14:13 +00:00
Andrew Coates 6e1a85dcad Allow stacks to have dependencies required during creation (#261)
* run yarn install on stack before plop

* Change files

* Should use stack package as location for PostInit.md, not the final repo.

* Build fix

* code review feedback
2019-10-16 15:10:56 -07:00
kchau@microsoft.com 149817a96d applying package updates 2019-10-16 20:54:23 +00:00
Kenneth Chau 28af16d423
Change files (#258) 2019-10-16 13:50:21 -07:00
kchau@microsoft.com b6c6dae18f applying package updates 2019-09-27 23:36:14 +00:00
Kenneth Chau 3da616b522
Tsoverlay fix for checkeroptions (#252)
* fixes tsoverlay checkeroption to be empty

* Change files
2019-09-27 16:32:59 -07:00
kchau@microsoft.com 70ea1a1919 applying package updates 2019-09-27 17:06:38 +00:00
Kenneth Chau 9b93f584f3
Adds loader options support to tsoverlay (#251)
* adding loaderoptions for tsoverlay

* Change files

* adding support for the LoaderOptions for tsoverlay

* gotta love typescript
2019-09-27 10:03:17 -07:00
kchau@microsoft.com 6193364e35 applying package updates 2019-09-27 16:10:48 +00:00
Elizabeth Craig d416659a32 Add option to fix API report file newlines (#248)
* Add option to fix API report file newlines

* Change files

* more options
2019-09-27 09:07:23 -07:00
Alfonso Austin 1f88724c52 Fix responsive img (sample.png) on landing page (#246) 2019-09-26 09:35:32 -07:00
kchau@microsoft.com 1f8c04e37b applying package updates 2019-09-17 19:23:34 +00:00
Ken 00433d8445 casing 2019-09-17 12:20:01 -07:00
Ken 2285c2e9d6 adding a webpack CLI init task 2019-09-17 12:15:00 -07:00
Ken b7be70942e Merge branch 'feature/webpack-cli-task' of git://github.com/anikethsaha/just into anikethsaha-feature/webpack-cli-task 2019-09-16 16:43:18 -07:00
kchau@microsoft.com d7982d10be applying package updates 2019-09-16 23:39:13 +00:00
Kenneth Chau e469e884e3
Merge branch 'master' into feature/webpack-cli-task 2019-09-16 16:36:28 -07:00
Kenneth Chau e0f7ceefa4
Styleoverlay fix to allow localIdentName to be used (#243)
* fixes styleoverlay

* Change files
2019-09-16 16:35:51 -07:00
Kenneth Chau 65789eec35
Merge branch 'master' into feature/webpack-cli-task 2019-09-16 16:30:34 -07:00
kchau@microsoft.com 43fd18bd7b applying package updates 2019-09-16 19:57:52 +00:00
Elizabeth Craig 0e7e0e9f8d Remove void from task() return type (#240)
* Remove void from task() return type

* Change files
2019-09-16 12:54:28 -07:00
Kenneth Chau c51987359d
Merge branch 'master' into feature/webpack-cli-task 2019-09-04 10:38:53 -07:00
Kenneth Chau c11ae2c2f4
making some changes in the markdown for the getting started 2019-09-04 10:31:24 -07:00
Ken 40ffde3af3 fixing the site config 2019-09-04 10:13:13 -07:00
kchau@microsoft.com cfb83d1fbf applying package updates 2019-08-27 03:39:24 +00:00
Kenneth Chau 681b5b8352
bumps beachball (#213)
* bump beachball

* Change files

* update lockfile
2019-08-26 20:35:46 -07:00
kchau@microsoft.com fe78e71d05 applying package updates 2019-08-26 22:53:18 +00:00
Kenneth Chau 40181dd3a8
Cache.js should only call getPackageDeps on a package folder. (#212)
* caching algo changed so it is faster

* Change files
2019-08-26 15:49:45 -07:00
kchau@microsoft.com c32091bb8d applying package updates 2019-08-26 17:08:08 +00:00
Kenneth Chau 21bddeac51
Jest forceExit (#211)
* adds a forceexit flag to make sure timeouts don't hang the runner

* Change files
2019-08-26 10:04:33 -07:00
Ken 131a99fe36 updating stacks docs 2019-08-21 23:08:53 -07:00
kchau@microsoft.com 018735b9cf applying package updates 2019-08-14 18:36:20 +00:00
Anix 2fb06e9e70
Merge branch 'master' into feature/webpack-cli-task 2019-08-14 10:17:10 +05:30
kchau@microsoft.com 16325c68f8 applying package updates 2019-08-14 04:37:37 +00:00
Kenneth Chau 9759f793bf
Making generators and subgenerators work for monorepo (#205)
* Making generators work for monorepo

* Change files
2019-08-14 06:34:14 +02:00
kchau@microsoft.com 8633c9ea8b applying package updates 2019-08-13 21:00:51 +00:00
Altinok Darici 28b3359a6b Upgraded marked and marked-terminal packages due to a security vulnerability (#203)
* Upgraded marked and marked-terminal

* Change files

* Updating yarn.lock
2019-08-13 22:57:22 +02:00
kchau@microsoft.com 47a6d4cc6b applying package updates 2019-08-07 22:11:38 +00:00
Andy Himberger d4c98a4dee add Eslint option for --resolve-plugins-relative-to, fix maxWarnings 0 (#200)
* add resolvePluginsPath option, make it possible to set maxWarnings to 0

* Change files
2019-08-07 15:08:11 -07:00
kchau@microsoft.com 2a79bc80c1 applying package updates 2019-08-06 19:55:07 +00:00
Kenneth Chau efa67d847a
Npm init uifabric fix (when there is no yarn) (#201)
* fixes npm init uifabric

* Change files

* Change files

* fix change file comment
2019-08-06 12:51:22 -07:00
kchau@microsoft.com 1bfe348900 applying package updates 2019-08-06 05:21:55 +00:00
kchau@microsoft.com 56d1abcbd8 applying package updates 2019-08-06 05:13:55 +00:00
Ken 7b60548eae adding a just-plop-helper load for the parent as well 2019-08-05 22:10:00 -07:00
kchau@microsoft.com d1888c03b3 applying package updates 2019-08-06 04:54:48 +00:00
Ken 74dd4d68d3 make plop load of helpers work 2019-08-05 21:48:48 -07:00
kchau@microsoft.com 8e95c79b16 applying package updates 2019-08-06 04:07:39 +00:00
Ken 5fbaa41230 simplify uifabric dependency 2019-08-05 21:02:27 -07:00
Ken 16305f61c9 Speeds up the codegen process to only yarn once 2019-08-05 21:00:43 -07:00
Ken 6583ba4de8 Making one less yarn install for generating repos 2019-08-05 20:51:22 -07:00
kchau@microsoft.com bb8419a899 applying package updates 2019-08-05 18:46:25 +00:00
Ken 8298f396ac Merge branch 'master' of github.com:microsoft/just 2019-08-05 11:45:24 -07:00
Ken 2d24920a1f fixing the plopfile to copy all files including gitignore 2019-08-05 11:45:08 -07:00
kchau@microsoft.com 1da61a1137 applying package updates 2019-08-05 18:42:59 +00:00
kchau@microsoft.com 8b3cf4a53e applying package updates 2019-08-05 18:39:21 +00:00
Ken bd9712ef15 adding a defaultinclude option to make sure actiontypes are shared 2019-08-05 11:35:28 -07:00
kchau@microsoft.com 5b919ab49a applying package updates 2019-08-05 18:07:34 +00:00
Ken 55e3a663c6 Revert the installdev only thing 2019-08-05 11:01:15 -07:00
kchau@microsoft.com ea4634deac applying package updates 2019-08-05 17:34:19 +00:00
Kenneth Chau 3bc41881c4
fixing gitignore, and bumping stacks to major so semver ranges are fully working (#199)
* fixing gitignore issues by actually renaming things

* making init only install devdeps for the stack - should make this faster

* upgrading to major 1.0.0

* Change files

* fixing some versioning for plop-helper
2019-08-05 10:30:21 -07:00
kchau@microsoft.com 09fe65a0af applying package updates 2019-08-05 07:34:29 +00:00
Ken 5e03a33a51 don't ignore gitignore and bump create-just in create-uifabric 2019-08-05 00:30:32 -07:00
kchau@microsoft.com 24c461c5b2 applying package updates 2019-08-05 07:19:36 +00:00
Ken 40e638f736 run yarn before plop and update just-scripts to stacks 2019-08-05 00:15:34 -07:00
kchau@microsoft.com 1cbb2fe704 applying package updates 2019-08-05 07:02:51 +00:00
Ken 3f1b770fb3 adds node-plop as dep 2019-08-04 23:59:08 -07:00
kchau@microsoft.com 413a0f2849 applying package updates 2019-08-05 06:49:27 +00:00
Ken 5896abd344 convert devdeps to deps for create-just 2019-08-04 23:46:02 -07:00
kchau@microsoft.com f085cc1339 applying package updates 2019-08-05 06:38:54 +00:00
Kenneth Chau 37ddcafd3f
Fixes create-just and create-uifabric by getting rid of webpack for cli stuff (requires didn't behave right) (#195)
* get rid of webpack for create-just

* Change files

* no webpack file needed

* have create-uifabric point at the right module

* yarn lock file
2019-08-04 23:35:20 -07:00
kchau@microsoft.com 5af3ecafc1 applying package updates 2019-08-05 06:10:22 +00:00
Kenneth Chau 3f32788be4
Plop - just-stack switched to using plop for codegen (#194)
* moving to plop

* plopped it good

* continue on the journey to plop

* WIP: getting monorepo plopped up

* monorepo test

* uifabric works!

* code gen subsequent packages

* Change files

* yarn.lock

* changed behavior of the downloadPackage function
2019-08-04 23:06:02 -07:00
anikethsaha 8c06822181 chore: removed the promise as the op is sync !! 2019-07-26 21:55:43 +05:30
anikethsaha c00f0fc951 Merge remote-tracking branch 'upstream/master' into feature/webpack-cli-task 2019-07-26 21:49:36 +05:30
kchau@microsoft.com 185663bd7a applying package updates 2019-07-22 20:51:44 +00:00
Kenneth Chau 03a32220a7
Fail the build if it detects invalid config! (#187)
* fail the build if it has invalid config

* Change files
2019-07-22 13:48:44 -07:00
kchau@microsoft.com 781e94a5d2 applying package updates 2019-07-19 22:44:26 +00:00
Scott Hysom 264a891864 tscTask supports string array values for `build` option (#184)
* Support string array options.

More unit tests.

* Change files
2019-07-19 15:41:36 -07:00
kchau@microsoft.com 599d32ecf7 applying package updates 2019-07-18 18:05:47 +00:00
Scott Hysom d16f405df8
Add unit tests for tscTask (#183)
* WIP: add initial unit tests for tscTask

* Use async-done. More tests.

* Factor out shared test functions.

* Tests for project, build and boolean switches

* test combination of switches

* Use describe.each

* Add tscWatchTask to tests

* Flatten out test cases

* Fix copy paste error

* Change files

* Normalize Node.js exe path
2019-07-18 11:02:11 -07:00
kchau@microsoft.com adbad089b0 applying package updates 2019-07-18 17:09:22 +00:00
Anix acf2267a33 Fix/options (#180)
* fix: added default arguments

* Change files
2019-07-18 10:06:27 -07:00
kchau@microsoft.com 84f04e5e01 applying package updates 2019-07-12 23:29:37 +00:00
Micah Godbolt 9f363ec293
Added sass, scss, css typings (#179)
* added sass and css typings for css modules

* Change files

* remove package-lock

* removed dup typing
2019-07-12 16:26:46 -07:00
Anix 1e1ba38e63
Update packages/just-scripts/src/tasks/webpackCLITask.ts
Co-Authored-By: Kenneth Chau <kenotron@users.noreply.github.com>
2019-07-12 12:13:07 +05:30
kchau@microsoft.com 06aafa5cb2 applying package updates 2019-07-11 19:35:28 +00:00
Kenneth Chau 28f878cf5a
Wraps the task('foo', 'bar') with a wrapped, cacheable task (#178)
* returns a wrapped task even when doing a task('foo', 'bar') form

* Change files

* change file
2019-07-11 12:32:21 -07:00
kchau@microsoft.com cbd3c0ee37 applying package updates 2019-07-11 17:08:47 +00:00
Kenneth Chau a06b72d50e
Buildcache perf (#177)
* adding perf logging

* speeding up build cache

* Change files

* should just be patch level, no behavior changes except logging
2019-07-11 10:05:26 -07:00
Anix 54dfecd515
Merge branch 'master' into feature/webpack-cli-task 2019-07-11 09:30:39 +05:30
kchau@microsoft.com 26400dcc55 applying package updates 2019-07-10 19:56:39 +00:00
Christian Gonzalez b2f7185062 Only pass valid webpack config options to webpack (#174)
* Fix bug

* Change files
2019-07-10 12:53:40 -07:00
kchau@microsoft.com 1efd8f71b9 applying package updates 2019-07-10 16:41:03 +00:00
Christian Gonzalez a27dcc8695
Enable passing node args to spawn for Webpack dev server (#173)
* Rename cmd in webpack task

* Undo changes to images

* Add nodeargs

* Change files
2019-07-10 12:26:52 -04:00
anikethsaha 912936dffc feat: added webpack-cli tasks init, more to come 2019-07-07 19:20:46 +05:30
kchau@microsoft.com 5797f01cc7 applying package updates 2019-07-05 16:59:55 +00:00
Kenneth Chau 10945774f0
Webpack promise support in webpackTask (#169)
* allow webpacktask to take in promises inside the module exports

* Change files
2019-07-05 09:54:06 -07:00
Orta ebd416f787 Uppercases the S in TypeScript (#160)
* Uppercase the S in TypeScript

* Change files
2019-07-05 09:11:41 -07:00
kchau@microsoft.com 2e9b0fc12c applying package updates 2019-07-04 02:04:13 +00:00
Kenneth Chau 4acba5dd6b
Adding a no-op detection for deps that don't have scripts - assume they're always ... built (#167)
* added a no-op detection for packages that aren't build and have no scripts

* Change files

* get rid of bad change file

* just-task-scripts are private

* bring beachball up to date

* bring beachball up-to-date
2019-07-03 19:01:13 -07:00
kchau@microsoft.com 3a73aaf2e3 applying package updates 2019-07-02 20:19:42 +00:00
Kenneth Chau 14d487e430
making build cache more accurately determine dep builds that aren't using just (#166)
* making build cache more accurately determine deps that aren't using just

* Change files

* making sure the deps that it finds are under the same repo
2019-07-02 13:16:53 -07:00
kchau@microsoft.com 90d9c58aef applying package updates 2019-07-01 20:15:20 +00:00
James Garbutt 7639e5d947 introduce eslint to the repo (#150)
* add eslint

* fix lint errors

* unify tsconfig and enable compiler checks

* strongly type configs

* turn off indent rule

* inherit webpack config

* Change files

* ignore website build artifacts
2019-07-01 13:11:52 -07:00
kchau@microsoft.com 75e150c91b applying package updates 2019-07-01 18:55:04 +00:00
Kenneth Chau 4d81de90e8
fixes build cache so packages can have different path name than package name (#164)
* fixes build cache so packages can have different path name than package name

* Change files
2019-07-01 11:36:52 -07:00
Ken de36ded2bb Merge branch 'stanlemon/issue-140' of git://github.com/stanlemon/just into stanlemon-stanlemon/issue-140 2019-06-26 15:52:37 -07:00
kchau@microsoft.com 14234402b0 applying package updates 2019-06-26 22:14:30 +00:00
Ken 3fd6b6bd72 update readme and main.css 2019-06-26 15:07:17 -07:00
Stan Lemon d771055418
ISSUE-140 Redo sample images 2019-06-26 17:03:42 -04:00
James George 63981a59fe feat(chore): validate user input (#134)
* Validate input

warn the user if none was provided

* Minor refactor

* Change files
2019-06-26 13:02:55 -07:00
Kenneth Chau c1c321f32f
Merge branch 'master' into master 2019-06-26 10:42:37 -07:00
jugglingjsons 7b98eb05c9
Missing closing parenthesis added 2019-06-26 10:53:35 +02:00
kchau@microsoft.com 6ad6fc58f8 applying package updates 2019-06-26 02:35:13 +00:00
Kenneth Chau 2fa922be81
Merge branch 'master' into master 2019-06-25 19:33:19 -07:00
Mathis Møller e281e5c5f4 Corrections and changes to ESLint task (#135)
* Add extensions option
Move no-eslintrc as seperate option
Code cleanup

* Change files
2019-06-25 19:32:59 -07:00
Kenneth Chau e66b550ef1
fixing a typo 2019-06-25 19:27:47 -07:00
Kenneth Chau cd060353fc
Merge branch 'master' into feature/an/update-docs 2019-06-24 22:04:19 -07:00
Kenneth Chau 4aa13806f8
Replace headerlink with a link to this github repo (#143)
* replace help with github link

* replace header-link with github
2019-06-24 22:03:05 -07:00
Anthony Ng 679f48c938 Update docs 2019-06-21 17:38:08 -04:00
kchau@microsoft.com 51055a3a2c applying package updates 2019-06-20 23:00:24 +00:00
Kenneth Chau 1b8066ea1f
Upgrades just-stack-uifabric to use Fabric 7 (#137)
* Upgrade UI Fabric in just-stack-uifabric to 7

* Change files
2019-06-20 15:58:05 -07:00
kchau@microsoft.com 8a185636d7 applying package updates 2019-06-18 06:34:34 +00:00
Ken bae7b20df8 sorting lines - creating a patch release 2019-06-17 22:30:24 -07:00
kchau@microsoft.com 59e21f98e1 applying package updates 2019-06-18 05:17:16 +00:00
mmoe 0ba878bafd New task: ESLint 2019-06-17 09:41:46 +02:00
kchau@microsoft.com 9a0a2718ba applying package updates 2019-06-14 17:24:38 +00:00
Kenneth Chau ef65c074c1
Fixing up Sean's PR to not ignore webpack extensions (#131)
* Don't override default webpack extensions

* jsx not in default list provided by webpack

* Change files
2019-06-14 10:22:29 -07:00
kchau@microsoft.com 774be9e23d applying package updates 2019-06-13 21:35:38 +00:00
Kenneth Chau f1057d5352
Make Clean task also clear the build hash file (#130)
* makes clean also clean out the cache

* Change files

* adding "standard" rebuild tasks
2019-06-13 14:33:24 -07:00
kchau@microsoft.com d9581b7864 applying package updates 2019-06-13 21:16:34 +00:00
Kenneth Chau 1bc229a513
Invalidate cache when a dependent or dep of dep package had changed (#129)
* adds a bit more rigor to support build deps invalidation of cache

* fixes the running message

* Change files
2019-06-13 14:14:27 -07:00
kchau@microsoft.com 1c0cc2a4c5 applying package updates 2019-06-12 22:24:44 +00:00
Kenneth Chau 6610b4d18c
Adds the ability to do tsc --build (#128)
* supports tsc build project ref mode

* Change files
2019-06-12 15:22:41 -07:00
kchau@microsoft.com ce50375fb6 applying package updates 2019-06-12 02:03:29 +00:00
Kenneth Chau 5f43ad4cd3
fixes publish by bumping beachball (#125)
* applying package updates

* fixes publish

* Change files
2019-06-11 19:01:23 -07:00
Kenneth Chau 581921027c
switching to Lerna and beachball for monorepo management (#124)
* moving to beachball and lerna

* Change files

* swap to yarn

* pick the right node version

* get rid of just's use of rush further

* fail on check

* fixing the build for example-lib

* Change files

* use just-scripts only

* fix up the config to use just-scripts imports

* stream instead of parallel
2019-06-11 15:50:30 -07:00
kchau@microsoft.com 1118521f77 Applying package updates. [skip ci] 2019-06-04 15:55:03 +00:00
Kenneth Chau 02629c88c7
Adds the ability to add cache to a task (#121)
* WIP: basics of a cached build working

* fixes cache to only work on commands, not task names

* change file

* make sure the getdeps path is from .git root

* uses the basename of the files for comparison with known lock file
2019-06-04 08:50:57 -07:00
kchau@microsoft.com c41d3ce6be Applying package updates. [skip ci] 2019-06-01 04:59:34 +00:00
Kenneth Chau 16cd134b44
API Extractor Task Update (#120)
* changes for api-extractor 7.1

* update shrinkwrap

* made apiextractor task work with updated api-extractor

* better recovery instructions

* change file

* adding sample config for getting started with api-extractor

* change files

* making a change thing

* fixes tests and update shrinkwrap

* changefile
2019-05-31 21:56:33 -07:00
kchau@microsoft.com 0d8d87ebf9 Merge branch 'publish-1559337302323' 2019-05-31 21:15:47 +00:00
kchau@microsoft.com 8ea3d69262 Applying package updates. [skip ci] 2019-05-31 21:15:02 +00:00
Hongbo Miao ccf2782874 fix link (#112) 2019-05-31 14:12:46 -07:00
Kenneth Chau 9d67b0dce7
Fix npm init uifabric app to actually consume the stylesOverlay so folks can use CSS directly (#119)
* making tasks more tolerant and defer requiring tools

* making fabric app pick up some of the latest changes for just-scripts

* change file

* fix package.json template

* allowing create-just to use a different registry for the installs

* change file

* adding a buddy publish

* apply registry arg correctly and fixes up buddy command

* buddy script

* buddy

* install latest version of ui-fabric-stack

* update the deps structure - just-scripts separated from dependencies

* download from a specific registry as well

* typing fix for downloadpackage from registry

* fixing up autoprefixer plugin for postcss-loader

* change file:

* fixing the build order
2019-05-31 14:12:01 -07:00
Kenneth Chau b62081decd
making tasks more tolerant and defer requiring tools (#118)
* making tasks more tolerant and defer requiring tools

* stylesoverlay work
2019-05-31 10:23:57 -07:00
kchau@microsoft.com e8155dede6 Applying package updates. [skip ci] 2019-05-24 17:59:43 +00:00
Brian Zhao 6e6e3e447a Add a `fix` option to tslintTask (#115)
* Add a `fix` option to tslintTask

* rush change

* Update packages/just-scripts/src/tasks/tslintTask.ts

Co-Authored-By: Kenneth Chau <kenotron@users.noreply.github.com>
2019-05-24 10:56:28 -07:00
kchau@microsoft.com 9f467f4b80 Applying package updates. [skip ci] 2019-05-21 22:37:14 +00:00
Ken 50d667b5bc merge again 2019-05-21 15:31:09 -07:00
Ken bd6e05562e merge from a failed publish 2019-05-21 15:31:02 -07:00
Kenneth Chau fb4a306492
Feature to add stats output along with the display bailout reasons (#109)
* add flag to write output stats

* change file

* displaybailoutoverlay
2019-05-21 15:11:03 -07:00
Elizabeth Craig 511ec1a450 Switch clean, copy, and sass tasks to use options objects (#105) 2019-05-21 15:10:50 -07:00
Kenneth Chau e43a574a99
`jestTask()` now has a nodeArgs to pass to its child process (#106)
* adding a nodeArgs to the jestTask() param

* adds a param to jestTask to allow for nodeArgs
2019-05-17 11:22:25 -07:00
kchau@microsoft.com 920da553e8 Merge branch 'publish-1557945848647' 2019-05-15 18:44:19 +00:00
kchau@microsoft.com 4cab24a49d Applying package updates. [skip ci] 2019-05-15 18:44:08 +00:00
kchau@microsoft.com 1444da60a5 Applying package updates. [skip ci] 2019-05-15 18:44:04 +00:00
Elizabeth Craig 598801d790 Switch microsoft in repo URL to lowercase (#103) 2019-05-15 11:41:07 -07:00
Elizabeth Craig ec080a109d Update task presets to clean all the output dirs they create (#102) 2019-05-15 11:40:56 -07:00
kchau@microsoft.com aeb9b3d7de Applying package updates. [skip ci] 2019-05-15 18:33:15 +00:00
Elizabeth Craig 35865bf028
Stack fixes and enhancements (#101)
* Fix just-stack-single-lib bin linking, add npmignores

* Stricter compiler options
2019-05-15 11:30:08 -07:00
kchau@microsoft.com a6ce65d933 Applying package updates. [skip ci] 2019-05-14 23:58:34 +00:00
Kenneth Chau aa232480de
export copy instruction types from index of just-scripts (#100)
* export copy instructions types as well

* change files
2019-05-14 16:55:25 -07:00
kchau@microsoft.com 88f1fafaa3 Applying package updates. [skip ci] 2019-05-14 17:59:21 +00:00
Kenneth Chau 41746c7b46
Just scripts - added just-scripts script so just-task isn't needed in the devdeps for consumers (#99)
* just-scripts bin added

* change files
2019-05-14 10:56:27 -07:00
kchau@microsoft.com 1d59baac3c Applying package updates. [skip ci] 2019-05-10 17:53:27 +00:00
Kenneth Chau 0e2bee89b2
Validate command and friendlier error message (#98)
* added a validation of commands

* friendlier error messages

* change file

* fixing tests duplication of yargs and yargs/yargs
2019-05-10 10:50:32 -07:00
kchau@microsoft.com 50964a78cc Applying package updates. [skip ci] 2019-05-10 00:04:16 +00:00
Kenneth Chau a934c24580
New task: prettier (#97)
* WIP: adding a prettierTask

* adding prettier task, moved array utils to their own dir

* add export to prettier; made just-stack-single-lib deps non-dev to be installed by consumers

* adding some types for consumers to use

* change files
2019-05-09 16:57:17 -07:00
Kenneth Chau 938dd9a53a
Deletes a loc interface from copy instructions (#96)
* adding a new copy-instructions task

* change file

* adding some instructions

* adding exports so consumers can use this task

* get rid of some unused API for localization

* since the last version wasn't published in public yet, this removal of api is okay in patch
2019-05-09 13:46:41 -07:00
Kenneth Chau f4283da114
Copy instructions task: advanced mode copy task (#95)
* adding a new copy-instructions task

* change file

* adding some instructions

* adding exports so consumers can use this task
2019-05-09 12:47:20 -07:00
Kenneth Chau c267e7995c
tscTask() no longer requires an empty object for the option (#94)
* fix tscTask requiring an empty object for option

* change file
2019-05-09 09:00:52 -07:00
kchau@microsoft.com fe7d5706b9 Applying package updates. [skip ci] 2019-05-06 15:58:55 +00:00
Kenneth Chau d3863bb126
create-just: fixing the git requirement, also bumps versions of create-just deps (#92)
* removes the requirement of git, but gives hint if git was not successful

* change file
2019-05-06 08:55:19 -07:00
kchau@microsoft.com 536bac4bf8 Applying package updates. [skip ci] 2019-05-03 19:49:20 +00:00
Elizabeth Craig 72a69ec6f8 Show error message if it's a string (#91) 2019-05-03 12:37:11 -07:00
kchau@microsoft.com 3f8da838dc Applying package updates. [skip ci] 2019-05-01 16:12:57 +00:00
Kenneth Chau b771d31ff5
Chain: it wasn't exported from root before (#89)
* exports chain

* change file
2019-05-01 09:09:37 -07:00
kchau@microsoft.com 4a427e29cb Applying package updates. [skip ci] 2019-04-29 21:46:55 +00:00
Kenneth Chau efd2113bce
More explicit error messages (#88)
* more explicit error logs

* change file
2019-04-29 14:43:07 -07:00
Kenneth Chau 8e1ca1da52
Docs (#87)
* adding documentation source

* adding more documentation
2019-04-29 11:09:49 -07:00
kchau@microsoft.com 95559ef04c Applying package updates. [skip ci] 2019-04-25 22:19:05 +00:00
Kenneth Chau 5c9af4528f
Take 2 in getting rid of deprecation warnigns (#85)
* try #2 on getting rid of deprecation warning

* change file
2019-04-25 15:15:25 -07:00
kchau@microsoft.com dafe632060 Applying package updates. [skip ci] 2019-04-25 21:21:59 +00:00
Kenneth Chau 1a6d0b59d5
Aesthetics: just-task logging and where typings go in a template (#84)
* aesthetics

* change files
2019-04-25 14:17:01 -07:00
kchau@microsoft.com 4193a653cd Applying package updates. [skip ci] 2019-04-25 18:40:13 +00:00
Kenneth Chau 88c6d48e8a
Fix typo in the package.json for the create-uifabric script (#83)
* fix the bin script

* change file
2019-04-25 11:37:00 -07:00
kchau@microsoft.com 166376b651 Applying package updates. [skip ci] 2019-04-25 18:29:49 +00:00
Kenneth Chau ee77c6b799
Create uifabric app package! (#82)
* creates a create-uifabric

* change file

* define a blank build script in create-uifabric

* don't need typescript in create-uifabric
2019-04-25 11:19:47 -07:00
Kenneth Chau 1329c9aa95
get rid of dep0097 warnings (#81)
* get rid of dep0097 warnings

* change file
2019-04-25 11:10:47 -07:00
Belleve Invis 0639ef5081 Fix #78 by using Spawn instead of Exec (#79)
* Fix #78 by using Spawn instead of Exec

* Add changefile
2019-04-25 10:49:44 -07:00
kchau@microsoft.com f4f52821d3 Applying package updates. [skip ci] 2019-04-25 02:25:55 +00:00
Kenneth Chau ca64c31517
Fabric stack - fixed to include fluent theme package (#77)
* fixed init command to do the local paths correctly with absolute paths and fixed fluent theme

* changefile

* temporarily disable the building of the scenario tests for now

* shrinkwarp
2019-04-24 19:21:32 -07:00
kchau@microsoft.com 042306a101 Applying package updates. 2019-04-24 23:38:23 +00:00
Kenneth Chau da7f98040b
Adds ability to scaffold with a template from a relative path (#75)
* adding overlays for webpack and update uifabric stack with appropriate changes

* change files

* fix build order

* use the word "overlay" instead of plugin config

* adding a fabric logo

* ups the dep versions

* change files

* changefile

* yo

* fixing the apply template test - the processed and warnings slightly changed because we skip empty dirs
2019-04-24 16:32:39 -07:00
Kenneth Chau addc2a2c10
Fabric starter template and some updates to the webpack overlays (#73)
* adding overlays for webpack and update uifabric stack with appropriate changes

* change files

* fix build order

* use the word "overlay" instead of plugin config
2019-04-24 09:09:11 -07:00
kchau@microsoft.com 3f38589111 Applying package updates. 2019-04-23 16:47:58 +00:00
Kenneth Chau e09ff6a9eb
Typing move for templates (#72)
* moved typing to its own thing

* change files

* typing
2019-04-23 09:41:43 -07:00
kchau@microsoft.com 8d67f305f3 Applying package updates. 2019-04-23 16:19:37 +00:00
Ken a734c6886e Merge branch 'master' of github.com:Microsoft/just 2019-04-23 09:04:20 -07:00
Ken 151abaca25 fixing version names 2019-04-23 09:02:54 -07:00
Kenneth Chau 1cc9b8e219
Stack: moving all the devdeps into the just-stack templates for easy maintenance of repos (#71)
* moved devdeps into the stack itself

* improving onboard experience with npm install and upgrade stack calls built-in

* update shrinkwrap as well

* jest setup changes for jest 24

* change files

* get rid of accidental logging

* change file

* beta script

* moved devdeps as hard deps in the stack

* change file

* rename a bunch of scripts to be consistent (and namespaced)

* typescript unification

* get rid of ts-jest warning

* Rush is a mystery. We have to add typescript in a weird file called common-versions

* forcing not to have stack

* change files
2019-04-22 14:13:00 -07:00
kchau@microsoft.com 4ed8ce0ead Applying package updates. 2019-04-19 01:51:22 +00:00
Kenneth Chau 7d70b1cac6
Stack upgrades with devdeps (#70)
* update the package.json to be upgrade-stack compatible

* touching up stack to make it use latest scripts and task

* change file

* unused import

* automerge with owner's approval

* trying another time
2019-04-18 18:46:30 -07:00
kchau@microsoft.com 9f5790273e Applying package updates. 2019-04-17 23:43:45 +00:00
Kenneth Chau 87519d3483
Adding upgrade-stack task back to the mix (#69)
* WIP: refactoring upgrade-repo to support the same thing for upgrade-stack

* fixing tasks to work with both upgrade repo and stack

* get rid console

* change file
2019-04-17 16:39:01 -07:00
kchau@microsoft.com c53d78761a Applying package updates. 2019-04-17 00:09:58 +00:00
Kenneth Chau ffc18ff2a5
Extensible task: adding a way to inject a task after another task even after having been registered (#68)
* WIP: expose wrapped tasks rather than undertaker tasks

* adding a way to inject a task after it has been defined perhaps in a rpeset

* change file

* export interfaces

* fixing typing with taskfunction

* revert the awful detyping and now use a different tact for tasks

* restoring the wrap task

* restoring some changes back to before rfactor
2019-04-16 17:04:28 -07:00
kchau@microsoft.com 7019bf09de Applying package updates. 2019-04-16 19:33:20 +00:00
Kenneth Chau 45102ecf78
Added add-package scenario test; also added ability to pass params to add-package script (#67)
* fixing a require statement now that we are not webpacking the webpack task

* change file

* just made the scenario test pass for add package!

* removing change file

* change file
2019-04-16 12:28:14 -07:00