Commit Graph

42 Commits

Author SHA1 Message Date
Kevin Marrec
ab0b035d8d examples(typescript): add missing ts-node dependency (#5742) 2019-05-15 14:11:25 +04:30
Kevin Marrec
9a3fc8a44e refactor(ts): only generate tsconfig.json if missing (#5356) (#5367)
Co-authored-by: SAWADA Takayoshi <sawadasuiren@gmail.com>
2019-03-29 18:30:49 +04:30
Romain Lanz
7100a2c6bc examples: upgrade and fix typescript configuration files (#5310) 2019-03-21 23:21:56 +03:30
Kevin Marrec
920f444b6e refactor(ts): better DX for typescript support (#5079)
Breaking change : `build.useForkTsChecker` renamed to `build.typescript.typeCheck`
2019-03-14 13:37:47 +03:30
Kevin Marrec
92f81e01e7 feat(ts): nuxt configuration typedefs (#4854) 2019-03-04 10:18:40 +03:30
Sergey Vikulov
1fb44d944c fix: trailing comma in tsconfig (#5061) 2019-02-19 09:11:11 +00:00
HG
c0311bc22f doc: create/update README.mds for examples (#4980)
* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update Readme.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update examples/with-vuikit/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/auth-routes/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/middleware/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/vuex-store-modules/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/with-feathers/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/with-element-ui/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/with-cookies/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/vuex-store/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/vuex-persistedstate/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/with-firebase/README.md

Co-Authored-By: husayt <husayt@gmail.com>
2019-02-08 15:48:30 +01:00
Alexander Lichter
47898fbdac chore(examples): rebase on latest stable nuxt version (#4874) 2019-02-01 16:36:06 +03:30
Kevin Marrec
55dc7f4475 fix(ts): keep baseUrl property in generated tsconfig.json (#4843) 2019-01-24 14:14:02 +03:30
Kevin Marrec
c39cf841a3 fix(ts): fix default tsconfig.json (#4842)
[release]
2019-01-24 01:11:00 +03:30
Kevin Marrec
2a1ee96a4b feat(ts): auto generate tsconfig.json (#4776)
* Bundle `@types/node` into `nuxt-ts` distribution

* feat(ts): Autogenerated tsconfig.json

* fix(examples): Update typescript examples

* fix(ts): Add `dist` & `tsconfig.json` to `pakage.json` files

* fix: add missing new line at the end of generated `tsconfig.json`

* add suffix if needed to `tsconfig.json` types during package build

* use `readJSON` over `readJSONSync`

* fix indentation in `nuxt-ts/tsconfig.json`

* use writeJson instead of writeFile

* split `nuxt-ts/src` in 2 functions + rootDir parametr + add tests

* add `fs-extra` to dependencies to prevent build warning

* JSON everywhere instead of JSON/Json

* fix: missing call to generateTsConfigIfMissing

* ask confirmation for tsconfig.json generation

* improvement: let compilerOptions.module as default

* improvements

* move from github link to friendly linkable local path

* add resolveJsonModule in default config

Co-Authored-By: kevinmarrec <kevin@marrec.io>

* Move `nuxt-ts` logic to `@nuxt/typescript`

* Upgrade to `ts-node@8.0.1`
2019-01-23 10:53:52 +01:00
Dmitry Molotkov
ee7ad7741e fix(examples): fix deps on codesandbox (#4828)
[skip ci]
2019-01-22 11:04:19 +03:30
Kevin Marrec
73507b80b0 fix(examples): Ugrade vue-property-decorator in typescript examples (#4767) 2019-01-16 14:46:59 +03:30
Sébastien Chopin
1b84fa84e1
Update README.md 2019-01-14 15:55:45 +01:00
Kevin Marrec
dfaffc0183 feat(nuxt-ts): typescript support improvements (#4750) 2019-01-12 23:51:21 +03:30
Kevin Marrec
b38e0aac43 feat(ts): typescript examples + improve vue-app typings (#4695) 2019-01-06 12:37:17 +03:30
Clark Du
7cf9f80c14 fix(exmaple): typescript example
[skip release]
2018-11-27 11:29:00 +00:00
Clark Du
52a92fbc48 refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
Lajos Veres
74eb5a6302 * Typofixes - https://github.com/vlajos/misspell-fixer (#4013) 2018-09-29 22:05:20 +02:00
Sébastien Chopin
65432e6aa2
examples: Upgrade to nuxt-edge (#3911) 2018-09-18 18:26:25 +02:00
Clark Du
b11e9c0e51
feat: upgrade eslint to 5.x (#3494)
- [ ] babel-eslint https://github.com/babel/babel-eslint/issues/664
- [x] eslint-config-standard-jsx https://github.com/standard/eslint-config-standard-jsx/issues/32
- [x] eslint-config-standard to be stable release https://github.com/standard/eslint-config-standard/issues/123
- [x] eslint-plugin-html
- [x] eslint-plugin-import
- [x] eslint-plugin-jest
- [x] eslint-plugin-node
- [x] eslint-plugin-promise
- [x] eslint-plugin-standard https://github.com/standard/eslint-plugin-standard/issues/29
- [x] eslint-plugin-vue https://github.com/vuejs/eslint-plugin-vue/pull/504
- [x] eslint-plugin-react https://github.com/yannickcr/eslint-plugin-react/releases/tag/v7.10.0
2018-08-31 21:34:12 +01:00
Clark Du
9b060f3be1
feat: upgrade to Babel 7 (#3667) 2018-08-10 14:45:58 +01:00
Jonas Galvez
3f1d634fb7 Consistent parens in arrow functions (#3630)
* Minor consistency enhancements

* Arrow parenthesis consistency

* Change linting rule

* Fix typo

* Update .eslintrc.js to only require parens for blocks

* Update style according to brace-only suggestion

* Remove --fix from lint

* Tweak no-loading time (failing test)

* Tweak no-loading time (failing test) (2)

* Tweak no-loading time (failing test) (3)

* Tweak no-loading time (failing test) (4)

* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
Clark Du
2b5c367efa refactor: use eslint-plugin-vue instead of eslint-plugin-html (#3517) 2018-07-12 14:03:50 +02:00
Quique Fdez Guerra
53a007c27c
Exclude some folders
Fix #3164 thanks to @bigskyrider
2018-04-02 17:56:00 +02:00
Clark Du
919e3e7f80 refactor: remove duplicate loader 2018-03-22 20:30:23 +04:30
Pooya Parsa
53e98a958c feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
Pooya Parsa
b8f8f18384 optimize webpack 2018-03-12 00:58:56 +03:30
Sébastien Chopin
36ee372b0b misc: Remove options argument 2018-01-05 09:43:56 +01:00
Sébastien Chopin
dd83c87f64 example: Lint & fix TS example 2018-01-04 18:08:53 +01:00
Quique Fdez Guerra
44c0ab78a2 Add more realistic TypeScript example 2018-01-02 10:55:22 +01:00
Clark Du
7fcbd5aa3b
fix: add v-bind:key in all v-for 2017-11-26 21:40:57 +08:00
Clark Du
3e637c5d83
refactor: add examples to lint 2017-10-31 21:43:55 +08:00
Clark Du
05d0b7a3cd fix: adjust ts config to fix startup error 2017-10-22 12:49:15 +08:00
Clark Du
c0a6ed9ea3 fix: error alias in typescript example 2017-10-22 12:49:15 +08:00
Clark Du
386096a21e feat: update nuxt to latest in typescript example 2017-10-22 12:49:15 +08:00
Clark Du
36a553236a fix global declaration in test
Signed-off-by: Clark Du <clark.duxin@gmail.com>
2017-09-08 12:07:08 +08:00
Pooya Parsa
6bcfaf8a3a consitent ~/static and ~/assets aliases
closes #1257 #1241
2017-08-04 13:29:42 +04:30
Sébastien Chopin
b6d82a7c5b No need to use next 2017-06-19 20:31:50 +02:00
Sébastien Chopin
4f9684e117 Remove ~store & ~router 2017-06-19 20:20:51 +02:00
Sebastien Chopin
d9d5d1a5d8 Update TS example 2017-05-29 17:24:40 +02:00
Sébastien Chopin
cf58f299d8 Add typescript example 2017-05-20 11:35:50 +02:00