]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/log
thirdparty/vuejs/create-vue.git
3 years agobuild: work around esbuild bundling issue on `import.meta.url`
Haoqun Jiang [Fri, 17 Sep 2021 14:47:49 +0000 (22:47 +0800)] 
build: work around esbuild bundling issue on `import.meta.url`

3 years agochore: bump dependencies
Haoqun Jiang [Fri, 17 Sep 2021 14:29:54 +0000 (22:29 +0800)] 
chore: bump dependencies

3 years agobuild: bundle the project with esbuild
Haoqun Jiang [Fri, 17 Sep 2021 09:16:32 +0000 (17:16 +0800)] 
build: bundle the project with esbuild

3 years agofix: don't use template files for readme, to simplify the logic
Haoqun Jiang [Fri, 17 Sep 2021 08:08:26 +0000 (16:08 +0800)] 
fix: don't use template files for readme, to simplify the logic

3 years agochore: adjust the function name and comment a little bit
Haoqun Jiang [Thu, 9 Sep 2021 12:46:28 +0000 (20:46 +0800)] 
chore: adjust the function name and comment a little bit

3 years ago3.0.0-beta.1 v3.0.0-beta.1
Haoqun Jiang [Wed, 8 Sep 2021 09:16:21 +0000 (17:16 +0800)] 
3.0.0-beta.1

3 years agochore: regenerate the playground projects
Haoqun Jiang [Tue, 7 Sep 2021 08:39:12 +0000 (16:39 +0800)] 
chore: regenerate the playground projects

3 years agostyle: format code
Haoqun Jiang [Tue, 7 Sep 2021 08:38:00 +0000 (16:38 +0800)] 
style: format code

3 years agotest: fix getCombination function
Haoqun Jiang [Tue, 7 Sep 2021 08:36:09 +0000 (16:36 +0800)] 
test: fix getCombination function

3 years agochore: mention official @vuejs twitter account in the community section
Haoqun Jiang [Tue, 7 Sep 2021 08:04:24 +0000 (16:04 +0800)] 
chore: mention official @vuejs twitter account in the community section

3 years agochore: make the wording the for the Documentation item more succint
Haoqun Jiang [Tue, 7 Sep 2021 07:58:48 +0000 (15:58 +0800)] 
chore: make the wording the for the Documentation item more succint

3 years agochore: update router template with simplified folder structure
Haoqun Jiang [Tue, 7 Sep 2021 07:34:05 +0000 (15:34 +0800)] 
chore: update router template with simplified folder structure

3 years agofix: update reference to env.d.ts
Haoqun Jiang [Tue, 7 Sep 2021 07:30:06 +0000 (15:30 +0800)] 
fix: update reference to env.d.ts

3 years agochore: simplify ts-router folder structure
Haoqun Jiang [Tue, 7 Sep 2021 07:29:18 +0000 (15:29 +0800)] 
chore: simplify ts-router folder structure

3 years agochore: simplify the folder structure of default templates
Haoqun Jiang [Tue, 7 Sep 2021 07:02:07 +0000 (15:02 +0800)] 
chore: simplify the folder structure of default templates

3 years agochore: rename vite-env.d.ts to env.d.ts
Haoqun Jiang [Mon, 6 Sep 2021 08:02:20 +0000 (16:02 +0800)] 
chore: rename vite-env.d.ts to env.d.ts

Most of its content is tool-agnostic

3 years agochore: only add .d.ts and tsconfig for ts projects
Haoqun Jiang [Mon, 6 Sep 2021 08:00:57 +0000 (16:00 +0800)] 
chore: only add .d.ts and tsconfig for ts projects

3 years agoci: fix typo
Haoqun Jiang [Mon, 23 Aug 2021 12:55:15 +0000 (20:55 +0800)] 
ci: fix typo

3 years agoci: fix typo
Haoqun Jiang [Mon, 23 Aug 2021 12:08:01 +0000 (20:08 +0800)] 
ci: fix typo

3 years agoworkflow: run snapshot before tests
Haoqun Jiang [Mon, 23 Aug 2021 11:57:58 +0000 (19:57 +0800)] 
workflow: run snapshot before tests

3 years agochore: note that the current combination algorithm is incorrect
Haoqun Jiang [Mon, 23 Aug 2021 11:57:17 +0000 (19:57 +0800)] 
chore: note that the current combination algorithm is incorrect

3 years agochore: no need to test `dev` & `build` separately
Haoqun Jiang [Mon, 23 Aug 2021 11:55:08 +0000 (19:55 +0800)] 
chore: no need to test `dev` & `build` separately

They're covered by the unit & e2e tests

3 years agotest: enable `shell` option, fixing pnpm ENOENT errors
Haoqun Jiang [Mon, 23 Aug 2021 11:54:24 +0000 (19:54 +0800)] 
test: enable `shell` option, fixing pnpm ENOENT errors

3 years agoci: shrink test matrix
Haoqun Jiang [Mon, 23 Aug 2021 08:27:45 +0000 (16:27 +0800)] 
ci: shrink test matrix

3 years agotest: fix windows path compatibility
Haoqun Jiang [Mon, 23 Aug 2021 08:25:13 +0000 (16:25 +0800)] 
test: fix windows path compatibility

3 years agoworkflow: add github actions config
Haoqun Jiang [Mon, 23 Aug 2021 08:16:56 +0000 (16:16 +0800)] 
workflow: add github actions config

3 years agorefactor: add `Icon` prefix to icon components
Haoqun Jiang [Mon, 23 Aug 2021 07:53:07 +0000 (15:53 +0800)] 
refactor: add `Icon` prefix to icon components

Following the naming convention from <https://vuejs.org/v2/cookbook/editable-svg-icons.html>

3 years agoworkflow: replace `pnpx` with `pnpm exec`
Haoqun Jiang [Mon, 23 Aug 2021 07:52:30 +0000 (15:52 +0800)] 
workflow: replace `pnpx` with `pnpm exec`

As `pnpx` is deprecated

3 years ago3.0.0-beta.0 v3.0.0-beta.0
Haoqun Jiang [Thu, 19 Aug 2021 13:22:42 +0000 (21:22 +0800)] 
3.0.0-beta.0

3 years agochore: snapshot
Haoqun Jiang [Thu, 19 Aug 2021 13:21:26 +0000 (21:21 +0800)] 
chore: snapshot

3 years agofeat: router templates
Haoqun Jiang [Thu, 19 Aug 2021 13:20:53 +0000 (21:20 +0800)] 
feat: router templates

3 years agochore: some cleanup in the styles
Haoqun Jiang [Thu, 19 Aug 2021 12:40:57 +0000 (20:40 +0800)] 
chore: some cleanup in the styles

3 years agochore: text color can be a little dimmer in dark mode
Haoqun Jiang [Thu, 19 Aug 2021 12:24:39 +0000 (20:24 +0800)] 
chore: text color can be a little dimmer in dark mode

3 years agochore: use a slightly smaller font for `h3`
Haoqun Jiang [Thu, 19 Aug 2021 11:24:30 +0000 (19:24 +0800)] 
chore: use a slightly smaller font for `h3`

3 years agochore: refine text styles
Haoqun Jiang [Thu, 19 Aug 2021 11:15:15 +0000 (19:15 +0800)] 
chore: refine text styles

3 years agochore: remove unused styles
Haoqun Jiang [Thu, 19 Aug 2021 10:38:13 +0000 (18:38 +0800)] 
chore: remove unused styles

3 years ago3.0.0-alpha.3 v3.0.0-alpha.3
Haoqun Jiang [Thu, 19 Aug 2021 08:40:03 +0000 (16:40 +0800)] 
3.0.0-alpha.3

3 years agofix: don't exclude spec files from ts check
Haoqun Jiang [Thu, 19 Aug 2021 08:37:09 +0000 (16:37 +0800)] 
fix: don't exclude spec files from ts check

As https://github.com/cypress-io/cypress/issues/17480 is resolved

3 years agofeat: new landing page design for default & typescript-default template
Haoqun Jiang [Thu, 19 Aug 2021 08:35:37 +0000 (16:35 +0800)] 
feat: new landing page design for default & typescript-default template

3 years agostyle: printWidth 100 looks better to me
Haoqun Jiang [Thu, 19 Aug 2021 08:26:11 +0000 (16:26 +0800)] 
style: printWidth 100 looks better to me

3 years agochore: dependency maintenance
Haoqun Jiang [Mon, 16 Aug 2021 08:26:19 +0000 (16:26 +0800)] 
chore: dependency maintenance

3 years agochore: add a note that `pnpm init` cannot be distinguished at the moment
Haoqun Jiang [Wed, 11 Aug 2021 15:08:54 +0000 (23:08 +0800)] 
chore: add a note that `pnpm init` cannot be distinguished at the moment

3 years agochore: project maintenance
Haoqun Jiang [Wed, 11 Aug 2021 15:03:15 +0000 (23:03 +0800)] 
chore: project maintenance

3 years agostyle: format code
Haoqun Jiang [Wed, 11 Aug 2021 13:29:18 +0000 (21:29 +0800)] 
style: format code

3 years ago3.0.0-alpha.2 v3.0.0-alpha.2
Haoqun Jiang [Wed, 11 Aug 2021 09:30:42 +0000 (17:30 +0800)] 
3.0.0-alpha.2

3 years agochore: regenerate all template snapshots with the new readme
Haoqun Jiang [Wed, 11 Aug 2021 09:26:15 +0000 (17:26 +0800)] 
chore: regenerate all template snapshots with the new readme

3 years agofeat: implement readme generation
Haoqun Jiang [Wed, 11 Aug 2021 09:25:54 +0000 (17:25 +0800)] 
feat: implement readme generation

3 years agotest: implement basic testing for generated templates
Haoqun Jiang [Wed, 11 Aug 2021 08:22:24 +0000 (16:22 +0800)] 
test: implement basic testing for generated templates

3 years agochore: ignore dist directories
Haoqun Jiang [Wed, 11 Aug 2021 08:21:52 +0000 (16:21 +0800)] 
chore: ignore dist directories

3 years agofix: fix js HelloWorld template
Haoqun Jiang [Wed, 11 Aug 2021 08:20:47 +0000 (16:20 +0800)] 
fix: fix js HelloWorld template

3 years agofix: fix entry path in js projects
Haoqun Jiang [Wed, 11 Aug 2021 07:55:38 +0000 (15:55 +0800)] 
fix: fix entry path in js projects

3 years agofeat: add force overwrite option
Haoqun Jiang [Wed, 11 Aug 2021 07:53:22 +0000 (15:53 +0800)] 
feat: add force overwrite option

3 years agostyle: format code
Haoqun Jiang [Wed, 11 Aug 2021 07:35:57 +0000 (15:35 +0800)] 
style: format code

3 years agochore: regenerate all templates with new feature flags
Haoqun Jiang [Wed, 11 Aug 2021 07:27:57 +0000 (15:27 +0800)] 
chore: regenerate all templates with new feature flags

3 years agorefactor: move base template out of `config` category
Haoqun Jiang [Tue, 10 Aug 2021 13:19:56 +0000 (21:19 +0800)] 
refactor: move base template out of `config` category

3 years agofeat: add vuex option
Haoqun Jiang [Tue, 10 Aug 2021 13:12:08 +0000 (21:12 +0800)] 
feat: add vuex option

`main.js/ts` template is extracted to a standalone `entry` category,
as it will, and only will be affected by the `router`/`vuex` option,
which is different than the other code/config templates.

`vuex` & `vue-router` dependencies are moved into the `config` template.

`store/index.js` is also moved into `config` because it doesn't affect
other code (only the entry).

3 years agofeat!: rename `--spa` option to `--router`
Haoqun Jiang [Tue, 10 Aug 2021 09:07:28 +0000 (17:07 +0800)] 
feat!: rename `--spa` option to `--router`

3 years agorefactor!: support command line flags such as `--ts`
Haoqun Jiang [Tue, 10 Aug 2021 08:46:11 +0000 (16:46 +0800)] 
refactor!: support command line flags such as `--ts`

3 years agochore: add `NPM-SCRIPTS-PLACEHOLDER` in README
Haoqun Jiang [Tue, 10 Aug 2021 08:21:39 +0000 (16:21 +0800)] 
chore: add `NPM-SCRIPTS-PLACEHOLDER` in README

3 years agorefactor: merge type definitions into 1 file and move them out of `src`
Haoqun Jiang [Wed, 28 Jul 2021 13:19:13 +0000 (21:19 +0800)] 
refactor: merge type definitions into 1 file and move them out of `src`

3 years agofeat: make jsx support optional
Haoqun Jiang [Wed, 28 Jul 2021 09:38:56 +0000 (17:38 +0800)] 
feat: make jsx support optional

3 years agochore: 3.0.0-alpha.1
Haoqun Jiang [Tue, 27 Jul 2021 14:42:16 +0000 (22:42 +0800)] 
chore: 3.0.0-alpha.1

3 years agofix: correctly name the folder in `files` field
Haoqun Jiang [Tue, 27 Jul 2021 14:41:36 +0000 (22:41 +0800)] 
fix: correctly name the folder in `files` field

3 years agochore: 3.0.0-alpha.0
Haoqun Jiang [Tue, 27 Jul 2021 14:39:29 +0000 (22:39 +0800)] 
chore: 3.0.0-alpha.0

3 years agodocs: a simple README, subject to further refinement
Haoqun Jiang [Tue, 27 Jul 2021 14:34:14 +0000 (22:34 +0800)] 
docs: a simple README, subject to further refinement

3 years agochore: add open in vscode badge
Haoqun Jiang [Tue, 27 Jul 2021 14:31:09 +0000 (22:31 +0800)] 
chore: add open in vscode badge

3 years agochore: add final newline to output package.json file
Haoqun Jiang [Tue, 27 Jul 2021 05:42:05 +0000 (13:42 +0800)] 
chore: add final newline to output package.json file

3 years agostyle: format files
Haoqun Jiang [Tue, 27 Jul 2021 05:41:23 +0000 (13:41 +0800)] 
style: format files

3 years agoworkflow: generate a snapshot of each template before each release
Haoqun Jiang [Tue, 27 Jul 2021 05:06:24 +0000 (13:06 +0800)] 
workflow: generate a snapshot of each template before each release

3 years agorefactor: move utility functions to the `utils` folder
Haoqun Jiang [Tue, 27 Jul 2021 04:57:10 +0000 (12:57 +0800)] 
refactor: move utility functions to the `utils` folder

To keep the `files` field concise.

3 years agofeat: support `-t/--template` command-line option
Haoqun Jiang [Tue, 27 Jul 2021 04:10:04 +0000 (12:10 +0800)] 
feat: support `-t/--template` command-line option

3 years agorefactor: extract deepMerge function
Haoqun Jiang [Mon, 26 Jul 2021 15:35:08 +0000 (23:35 +0800)] 
refactor: extract deepMerge function

3 years agorefactor: extract common logic for directory traversal
Haoqun Jiang [Mon, 26 Jul 2021 15:34:40 +0000 (23:34 +0800)] 
refactor: extract common logic for directory traversal

3 years agofix: revert to the `serve` script name for previewing
Haoqun Jiang [Mon, 26 Jul 2021 11:28:45 +0000 (19:28 +0800)] 
fix: revert to the `serve` script name for previewing

1. it's the default in vite templates, users might be used to it already
2. `preview` starts with a `pre` string, making npm failing to recognize
and auto-run the `prepreview` script before it

3 years agofeat: add a `typecheck` command for typescript projects
Haoqun Jiang [Mon, 26 Jul 2021 11:22:57 +0000 (19:22 +0800)] 
feat: add a `typecheck` command for typescript projects

3 years agofix: should exclude unit tests from type checking
Haoqun Jiang [Mon, 26 Jul 2021 11:20:15 +0000 (19:20 +0800)] 
fix: should exclude unit tests from type checking

1. there's a bug in `@cypress/vue` at the moment https://github.com/cypress-io/cypress/issues/17480
2. no need to fail the whole build process only because of a type error
in a spec file.

We may add a specific command to typechecking the spec files later

3 years agofeat: add tests in default templates
Haoqun Jiang [Mon, 26 Jul 2021 11:19:59 +0000 (19:19 +0800)] 
feat: add tests in default templates

3 years agofix: enable `skipLibCheck` option
Haoqun Jiang [Mon, 26 Jul 2021 09:00:11 +0000 (17:00 +0800)] 
fix: enable `skipLibCheck` option

3 years agofeat: add jsconfig.json for javascript template
Haoqun Jiang [Mon, 26 Jul 2021 08:59:22 +0000 (16:59 +0800)] 
feat: add jsconfig.json for javascript template

3 years agofeat: implement the `create-vue` command (no readme or cli argument support yet)
Haoqun Jiang [Sun, 25 Jul 2021 15:19:47 +0000 (23:19 +0800)] 
feat: implement the `create-vue` command (no readme or cli argument support yet)

3 years agorefactor: rename `source` folder to `code`
Haoqun Jiang [Fri, 23 Jul 2021 07:12:07 +0000 (15:12 +0800)] 
refactor: rename `source` folder to `code`

3 years agofeat: add source code to all templates
Haoqun Jiang [Fri, 23 Jul 2021 07:11:02 +0000 (15:11 +0800)] 
feat: add source code to all templates

3 years agowip: basic structure
Haoqun Jiang [Fri, 23 Jul 2021 06:03:21 +0000 (14:03 +0800)] 
wip: basic structure

4 years agoInitial commit
Haoqun Jiang [Wed, 14 Jul 2021 07:58:56 +0000 (15:58 +0800)] 
Initial commit