Norbert de Langen
341fc2d90d
FIX linting
2020-03-27 20:04:50 +01:00
Gaëtan Maisse
3dd714d353
refactor: transpile @storybook/cli
to CJS with Babel
...
- move all source code in `src` as it's, by convention in SB monorepo, the source folder for Babel
- update `.babelrc.json` to ignore all templates files
- add `prepare` NPM script as in all other libs
- update `cleanup` stage of `prepare` script to avoid removing anything from `@storybook/cli/dist/generators/**/template*` folder because there are the template files that will be copied to initialize SB on users' projects
2020-02-11 19:41:47 +01:00
Michael Shilman
2224af5c26
Ignore testfixtures directory in storybook publish
2019-12-25 12:38:58 +08:00
Filipp Riabchun
4be79b6c87
Remove .ts files from dist
2019-11-26 22:00:09 +01:00
Norbert de Langen
997ce2773d
Merge branch 'next' into ts-migration/app-angular
...
# Conflicts:
# app/angular/src/client/preview/index.js
# scripts/compile-babel.js
# yarn.lock
2019-07-09 23:53:45 +02:00
Norbert de Langen
ea897c9b05
Merge branch 'next' into ts-migration/app-react
2019-07-09 17:51:35 +02:00
Norbert de Langen
25a6a9dc35
CHANGE ignore list for cleanup script so it allows stories
2019-07-09 17:09:07 +02:00
Norbert de Langen
b132b1ade8
FIX prepare script so it deletes the files copied by babel --copy-files arg, but should have been copied at all
2019-07-09 13:25:20 +02:00
Norbert de Langen
35bb6c2105
FIX prepare script so it deletes the files copied by babel --copy-files arg, but should have been copied at all
2019-07-09 13:23:30 +02:00
Kai Röder
dc521ca08f
Add changes based on https://github.com/storybooks/storybook/pull/6415
2019-04-04 13:30:35 +02:00
Kai Röder
6bccd3d6bd
Make babel only transpile js in app/angular
2019-03-24 00:13:41 +01:00
Kai Röder
2162772fb0
fix app/angular build
2019-03-23 16:33:55 +01:00
Kai Roeder
65b8c31a95
Rename dev:js to dev:babel and dev:ts to dev:tsc since babel does ts-compiling as well
...
- dev:tsc is still a thing because of angular that won't compile with babel
2019-03-03 19:36:15 +01:00
Kai Röder
8c8775c8f5
Angular now gets compiled by tsc, everything else is compiled by babel-typescript
...
TODO: need to migrate app/angular/server to TS in order to work with tsc
2019-01-04 14:13:23 +01:00
Kai Röder
1a5fa4b177
Using babel-typescript instead of tsc
2018-12-28 01:39:01 +01:00
Kai Röder
a903991281
try to fix ci
2018-12-27 01:48:57 +01:00
Kai Röder
13123b7b6f
Improved error output
2018-12-27 01:38:56 +01:00
Kai Röder
3343b93584
Enhanced error output on CI build errors
2018-12-27 01:32:28 +01:00
Kai Röder
0d88e53380
Check existence of types
2018-12-24 00:48:55 +01:00
Kai Röder
05b1f5a999
Workaround proposal for splitting up pure ts projects from mixed ones
2018-12-24 00:46:56 +01:00
Pavan Kumar Sunkara
34e35a32d9
Don't copy license anymore since lerna 3 does it
2018-09-25 01:11:42 +02:00
igor
b0557b3cd4
Remove silent: false
2018-01-29 21:03:35 +02:00
igor
f7cfe74995
Again remove silent mode from ts compilation =(
2018-01-29 18:56:52 +02:00
igor
29367c5f26
Add typescript to the root package.json to satisfy ts compilation for Netlify (though I don't know if it's the best way =/ )
2018-01-29 18:45:05 +02:00
igor
c37e06870b
Remove silent mode on tsc to see why Netlify cries
2018-01-29 18:23:40 +02:00
igor
6b432e1e48
Delete ts files that were copied with babel to dist
2018-01-28 20:11:01 +02:00
igor
4b258d9e0d
Extract error callback
2018-01-28 19:09:40 +02:00
igor
73c27b0f1d
Reuse babel between prepare.js and watch-js
2018-01-28 18:54:00 +02:00
igor
e15af8de2a
Reuse ts compilation in watch and prepare.js
2018-01-28 18:35:39 +02:00
igor
a33c659ef4
Add ts compilation to prepare.js
2018-01-27 15:42:33 +02:00
Tom Coleman
e4be9f56aa
Ignore __snapshots__ when building
2017-12-22 08:57:10 +11:00
Rob Halff
d35e69607b
ignore __mocks__/ folders
2017-12-14 11:16:17 +00:00
Norbert de Langen
2d17ece429
WIP
2017-11-17 10:49:24 +01:00
hypnos
735497714c
Upgrade eslint-config-airbnb and make it pass
2017-11-02 04:40:48 +03:00
hypnos
2e8240d176
Fix/suppress current eslint warnings.
...
Raise `import/no-unresolved` and `import/extensions` to error level
everywhere except `docs`
2017-10-02 01:40:46 +03:00
hypnos
2f53feb64a
Use yarn workspaces on master
2017-09-29 23:00:47 +03:00