⚡ Create awesome project by one command

Overview

cap

npm version GitHub Workflow Status Coverage Status GitHub

cap means create awesome project, it has some common engineering configurations built in. You can create a project with one line of command.

Usage

# npm
npm create @tooltik/cap my-cap-app
# yarn
yarn create @tooltik/cap my-cap-app
# pnpm
pnpm create @tooltik/cap my-cap-app

You can also directly specify the template:

# npm
npm create @tooltik/cap my-cap-app --template ts
# yarn
yarn create @tooltik/cap my-cap-app --template ts
# pnpm
pnpm create @tooltik/cap my-cap-app --template ts

supported templates: ts, react-ts,vue-ts

Common configurations

  • TypeScript
  • eslint
  • prettier
  • husky
  • lint-staged
  • vitest
  • github workflow

Templates

We have three templates currently:

ts

Use tsup to build project using only TypeScript

react-ts

Use vite to build project using React18 and TypeScript

vue-ts

Use vite to build project using Vue3 and TypeScript

Dev

Run the following script before your first install

pnpm run init

Then install

pnpm install

Link cli after build

pnpm build
cd packages/create-cap
pnpm link --global

Dev cli watch

pnpm dev

Make changes and run test

pnpm test

License

MIT

Comments
  • chore(deps): update dependency vue-tsc to ^1.0.24

    chore(deps): update dependency vue-tsc to ^1.0.24

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | vue-tsc | ^1.0.22 -> ^1.0.24 | age | adoption | passing | confidence |


    Release Notes

    johnsoncodehk/volar

    v1.0.24

    Compare Source

    • feat: add vueCompilerOptions.macros setting for vue-macros plugins
    • feat(framework): expose FileCapabilities.full, FileRangeCapabilities.full, MirrorBehaviorCapabilities.full
    • feat: renamed normalizeComponentAutoImportName setting to normalizeComponentImportName
    • feat: support normalize component name for import statement completion (#​2286)
    • feat: normalize Index to folder name when normalizeComponentImportName enabled (https://github.com/johnsoncodehk/volar/issues/2071#issuecomment-1373701277)
    • feat: support update imports on multiple files move
    • fix(typescript-plugin): fixed Projects must list all files or use an 'include' pattern error (#​2271)
    • fix: language client sending parseSfc requests when not a vue document changed
    • fix: typescript actions not working for codeActionsOnSave setting (#​2188)
    • fix: fixed c is not iterable error edge case (#​2282)
    • fix: cannot select workspace tsdk on status bar with takeover mode
    • fix(plugin-api): cannot catch errors for getEmbeddedFileNames(), resolveEmbeddedFile()
    • fix(component-meta): cannot detection of slots in script-less SFC (#​2113)
    • perf(component-meta): resolve schema on demand (#​2288)
    Our Gold Sponsors
    Our Silver Sponsors

    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency jsdom to v21

    chore(deps): update dependency jsdom to v21

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | jsdom | ^20.0.3 -> ^21.0.0 | age | adoption | passing | confidence |


    Release Notes

    jsdom/jsdom

    v21.0.0

    Compare Source

    A potentially-breaking bug fix:

    • Fixed the window, document, location, and top properties of Window to be non-configurable. (ExE-Boss)

    Other changes:

    • Added support for <input type=image> submitting forms. (jenseng)
    • Added the location setter to the Window object, which forwards to the location.href setter. Setting the URL is still only implemented for fragment navigations, however. (ExE-Boss)
    • Fixed defer="" <script> elements that are added after DOMContentLoaded to execute, instead of being skipped.
    • Fixed selectElement.selectedOptions being incorrect when optionElement.selected is set. This was a regression introduced in v20.0.1. Unfortunately this also reverts the performance improvement when appending <option> elements that was introduced then. (eps1lon)
    • Fixed the self, locationbar, menubar, personalbar, scrollbars, statusbar, toolbar, frames, parent, external, length, and screen properties of Window to be replaceable: that is, setting them will override their values, instead of having the new value be ignored. (ExE-Boss)
    • Fixed a few issues with JSOM.fromURL() in the browser build of jsdom. (LungZeno)

    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency prettier to ^2.8.2

    chore(deps): update dependency prettier to ^2.8.2

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | prettier (source) | ^2.8.1 -> ^2.8.2 | age | adoption | passing | confidence |


    Release Notes

    prettier/prettier

    v2.8.2

    Compare Source

    diff

    Don't lowercase link references (#​13155 by @​DerekNonGeneric & @​fisker)
    <!-- Input -->
    We now don't strictly follow the release notes format suggested by [Keep a Changelog].
    
    [Keep a Changelog]: https://example.com/
    
    <!-- Prettier 2.8.1 -->
    We now don't strictly follow the release notes format suggested by [Keep a Changelog].
    
    [keep a changelog]: https://example.com/
    <!--
    ^^^^^^^^^^^^^^^^^^ lowercased
    -->
    
    <!-- Prettier 2.8.2 -->
    <Same as input>
    
    Preserve self-closing tags (#​13691 by @​dcyriller)
    {{! Input }}
    <div />
    <div></div>
    <custom-component />
    <custom-component></custom-component>
    <i />
    <i></i>
    <Component />
    <Component></Component>
    
    {{! Prettier 2.8.1 }}
    <div></div>
    <div></div>
    <custom-component></custom-component>
    <custom-component></custom-component>
    <i></i>
    <i></i>
    <Component />
    <Component />
    
    {{! Prettier 2.8.2 }}
    <div />
    <div></div>
    <custom-component />
    <custom-component></custom-component>
    <i />
    <i></i>
    <Component />
    <Component />
    
    Allow custom "else if"-like blocks with block params (#​13930 by @​jamescdavis)

    #​13507 added support for custom block keywords used with else, but failed to allow block params. This updates printer-glimmer to allow block params with custom "else if"-like blocks.

    {{! Input }}
    {#when isAtWork as |work|}}
      Ship that
      {{work}}!
    {{else when isReading as |book|}}
      You can finish
      {{book}}
      eventually...
    {{else}}
      Go to bed!
    {{/when}}
    
    {{! Prettier 2.8.1 }}
    {{#when isAtWork as |work|}}
      Ship that
      {{work}}!
    {{else when isReading}}
      You can finish
      {{book}}
      eventually...
    {{else}}
      Go to bed!
    {{/when}}
    
    {{! Prettier 2.8.2 }}
    {#when isAtWork as |work|}}
      Ship that
      {{work}}!
    {{else when isReading as |book|}}
      You can finish
      {{book}}
      eventually...
    {{else}}
      Go to bed!
    {{/when}}
    
    Preserve empty lines between nested SCSS maps (#​13931 by @​jneander)
    /* Input */
    $map: (
      'one': (
         'key': 'value',
      ),
    
      'two': (
         'key': 'value',
      ),
    )
    
    /* Prettier 2.8.1 */
    $map: (
      'one': (
         'key': 'value',
      ),
      'two': (
         'key': 'value',
      ),
    )
    
    /* Prettier 2.8.2 */
    $map: (
      'one': (
         'key': 'value',
      ),
    
      'two': (
         'key': 'value',
      ),
    )
    
    Fix missing parentheses when an expression statement starts with let[ (#​14000, #​14044 by @​fisker, @​thorn0)
    // Input
    (let[0] = 2);
    
    // Prettier 2.8.1
    let[0] = 2;
    
    // Prettier 2.8.1 (second format)
    SyntaxError: Unexpected token (1:5)
    > 1 | let[0] = 2;
        |     ^
      2 |
    
    // Prettier 2.8.2
    (let)[0] = 2;
    
    Fix semicolon duplicated at the end of LESS file (#​14007 by @​mvorisek)
    // Input
    @&#8203;variable: {
      field: something;
    };
    
    // Prettier 2.8.1
    @&#8203;variable: {
      field: something;
    }; ;
    
    // Prettier 2.8.2
    @&#8203;variable: {
      field: something;
    };
    
    Fix no space after unary minus when followed by opening parenthesis in LESS (#​14008 by @​mvorisek)
    // Input
    .unary_minus_single {
      margin: -(@&#8203;a);
    }
    
    .unary_minus_multi {
      margin: 0 -(@&#8203;a);
    }
    
    .binary_minus {
      margin: 0 - (@&#8203;a);
    }
    
    // Prettier 2.8.1
    .unary_minus_single {
      margin: - (@&#8203;a);
    }
    
    .unary_minus_multi {
      margin: 0 - (@&#8203;a);
    }
    
    .binary_minus {
      margin: 0 - (@&#8203;a);
    }
    
    // Prettier 2.8.2
    .unary_minus_single {
      margin: -(@&#8203;a);
    }
    
    .unary_minus_multi {
      margin: 0 -(@&#8203;a);
    }
    
    .binary_minus {
      margin: 0 - (@&#8203;a);
    }
    
    Do not change case of property name if inside a variable declaration in LESS (#​14034 by @​mvorisek)
    // Input
    @&#8203;var: {
      preserveCase: 0;
    };
    
    // Prettier 2.8.1
    @&#8203;var: {
      preservecase: 0;
    };
    
    // Prettier 2.8.2
    @&#8203;var: {
      preserveCase: 0;
    };
    
    Fix formatting for auto-accessors with comments (#​14038 by @​fisker)
    // Input
    class A {
      @&#8203;dec()
      // comment
      accessor b;
    }
    
    // Prettier 2.8.1
    class A {
      @&#8203;dec()
      accessor // comment
      b;
    }
    
    // Prettier 2.8.1 (second format)
    class A {
      @&#8203;dec()
      accessor; // comment
      b;
    }
    
    // Prettier 2.8.2
    class A {
      @&#8203;dec()
      // comment
      accessor b;
    }
    
    Add parentheses for TSTypeQuery to improve readability (#​14042 by @​onishi-kohei)
    // Input
    a as (typeof node.children)[number]
    a as (typeof node.children)[]
    a as ((typeof node.children)[number])[]
    
    // Prettier 2.8.1
    a as typeof node.children[number];
    a as typeof node.children[];
    a as typeof node.children[number][];
    
    // Prettier 2.8.2
    a as (typeof node.children)[number];
    a as (typeof node.children)[];
    a as (typeof node.children)[number][];
    
    Fix displacing of comments in default switch case (#​14047 by @​thorn0)

    It was a regression in Prettier 2.6.0.

    // Input
    switch (state) {
      default:
        result = state; // no change
        break;
    }
    
    // Prettier 2.8.1
    switch (state) {
      default: // no change
        result = state;
        break;
    }
    
    // Prettier 2.8.2
    switch (state) {
      default:
        result = state; // no change
        break;
    }
    
    Support type annotations on auto accessors via babel-ts (#​14049 by @​sosukesuzuki)

    The bug that @babel/parser cannot parse auto accessors with type annotations has been fixed. So we now support it via babel-ts parser.

    class Foo {
      accessor prop: number;
    }
    
    Fix formatting of empty type parameters (#​14073 by @​fisker)
    // Input
    const foo: bar</* comment */> = () => baz;
    
    // Prettier 2.8.1
    Error: Comment "comment" was not printed. Please report this error!
    
    // Prettier 2.8.2
    const foo: bar</* comment */> = () => baz;
    
    Add parentheses to head of ExpressionStatement instead of the whole statement (#​14077 by @​fisker)
    // Input
    ({}).toString.call(foo) === "[object Array]"
      ? foo.forEach(iterateArray)
      : iterateObject(foo);
    
    // Prettier 2.8.1
    ({}.toString.call(foo) === "[object Array]"
      ? foo.forEach(iterateArray)
      : iterateObject(foo));
    
    // Prettier 2.8.2
    ({}).toString.call(foo.forEach) === "[object Array]"
      ? foo.forEach(iterateArray)
      : iterateObject(foo);
    
    Fix comments after directive (#​14081 by @​fisker)
    // Input
    "use strict" /* comment */;
    
    // Prettier 2.8.1 (with other js parsers except `babel`)
    Error: Comment "comment" was not printed. Please report this error!
    
    // Prettier 2.8.2
    <Same as input>
    
    Fix formatting for comments inside JSX attribute (#​14082 with by @​fisker)
    // Input
    function MyFunctionComponent() {
      <button label=/*old*/"new">button</button>
    }
    
    // Prettier 2.8.1
    Error: Comment "old" was not printed. Please report this error!
    
    // Prettier 2.8.2
    function MyFunctionComponent() {
      <button label=/*old*/ "new">button</button>;
    }
    
    Quote numeric keys for json-stringify parser (#​14083 by @​fisker)
    // Input
    {0: 'value'}
    
    // Prettier 2.8.1
    {
      0: "value"
    }
    
    // Prettier 2.8.2
    {
      "0": "value"
    }
    
    Fix removing commas from function arguments in maps (#​14089 by @​sosukesuzuki)
    /* Input */
    $foo: map-fn(
      (
        "#{prop}": inner-fn($first, $second),
      )
    );
    
    /* Prettier 2.8.1 */
    $foo: map-fn(("#{prop}": inner-fn($first $second)));
    
    /* Prettier 2.8.2 */
    $foo: map-fn(
      (
        "#{prop}": inner-fn($first, $second),
      )
    );
    
    
    Do not insert space in LESS property access (#​14103 by @​fisker)
    // Input
    a {
      color: @&#8203;colors[@&#8203;white];
    }
    
    // Prettier 2.8.1
    a {
      color: @&#8203;colors[ @&#8203;white];
    }
    
    // Prettier 2.8.2
    <Same as input>
    

    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update typescript-eslint monorepo to ^5.48.0

    chore(deps): update typescript-eslint monorepo to ^5.48.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @typescript-eslint/eslint-plugin | ^5.47.1 -> ^5.48.0 | age | adoption | passing | confidence | | @typescript-eslint/parser | ^5.47.1 -> ^5.48.0 | age | adoption | passing | confidence |


    Release Notes

    typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

    v5.48.0

    Compare Source

    Features
    • eslint-plugin: specify which method is unbound and added test case (#​6281) (cf3ffdd)

    5.47.1 (2022-12-26)

    Bug Fixes
    • ast-spec: correct some incorrect ast types (#​6257) (0f3f645)
    • eslint-plugin: [member-ordering] correctly invert optionalityOrder (#​6256) (ccd45d4)
    typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

    v5.48.0

    Compare Source

    Note: Version bump only for package @​typescript-eslint/parser

    5.47.1 (2022-12-26)

    Note: Version bump only for package @​typescript-eslint/parser


    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update pnpm to v7.22.0

    chore(deps): update pnpm to v7.22.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | pnpm (source) | 7.21.0 -> 7.22.0 | age | adoption | passing | confidence |


    Release Notes

    pnpm/pnpm

    v7.22.0

    Compare Source

    Minor Changes

    • The pnpm list and pnpm why commands will now look through transitive dependencies of workspace: packages. A new --only-projects flag is available to only print workspace: packages.
    • pnpm exec and pnpm run command support --resume-from option. When used, the command will executed from given package #​4690.
    • Expose the npm_command environment variable to lifecycle hooks & scripts.

    Patch Changes

    • Fix a situation where pnpm list and pnpm why may not respect the --depth argument.
    • Report to the console when a git-hosted dependency is built #​5847.
    • Throw an accurate error message when trying to install a package that has no versions, or all of its versions are unpublished #​5849.
    • replace dependency is-ci by ci-info (is-ci is just a simple wrapper around ci-info).
    • Only run prepublish scripts of git-hosted dependencies, if the dependency doesn't have a main file. In this case we can assume that the dependencies has to be built.
    • Print more contextual information when a git-hosted package fails to be prepared for installation #​5847.

    Our Gold Sponsors

    Our Silver Sponsors


    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency eslint-config-prettier to ^8.6.0

    chore(deps): update dependency eslint-config-prettier to ^8.6.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | eslint-config-prettier | ^8.5.0 -> ^8.6.0 | age | adoption | passing | confidence |


    Release Notes

    prettier/eslint-config-prettier

    v8.6.0

    Compare Source

    • Added: [vue/multiline-ternary]. Thanks to @​xcatliu!

    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency vue-tsc to ^1.0.22

    chore(deps): update dependency vue-tsc to ^1.0.22

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | vue-tsc | ^1.0.19 -> ^1.0.22 | age | adoption | passing | confidence |


    Release Notes

    johnsoncodehk/volar

    v1.0.22

    Compare Source

    • fix: document folding ranges not working in .ts

    v1.0.21

    Compare Source

    • fix: cannot jump to .vue definition from .ts with takeover mode
    • fix: cannot detect @volar/vue-language-plugin-pug installed (#​2272)
    • fix: ignore incremental update for v-for expression (#​2266)
    • fix: auto insert spaces for {{}} not working
    • fix: completion in template inserts stray leading dot (#​2155)
    • fix: if source document EOL is \r\n, virtual document mapping decorations range incorrect
    Our Gold Sponsors
    Our Silver Sponsors

    v1.0.20

    Compare Source

    • feat: support browser navigation for embedded preview
    • feat: released pug extension (#​2274)
    • feat: add volar.takeOverMode.extension setting for choice extension that takeover *.ts language support
    • fix(typescript-vue-plugin): can't always get latest status of .vue files (#​2271)
    • fix: multi-line template interpolation formatting indentation incorrect
    • refactor(framework): simplify LanguageServerPlugin api and dependency injection connection (#​2273)
    • refactor(framework): combine createLanguageService and createDocumentService

    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency husky to ^8.0.3

    chore(deps): update dependency husky to ^8.0.3

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | husky (source) | ^8.0.2 -> ^8.0.3 | age | adoption | passing | confidence |


    Release Notes

    typicode/husky

    v8.0.3

    Compare Source

    • fix: add git not installed message #​1208

    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update vitest monorepo to ^0.26.3

    chore(deps): update vitest monorepo to ^0.26.3

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @vitest/coverage-c8 | ^0.26.2 -> ^0.26.3 | age | adoption | passing | confidence | | vitest | ^0.26.2 -> ^0.26.3 | age | adoption | passing | confidence |


    Release Notes

    vitest-dev/vitest

    v0.26.3

    Compare Source

       🚀 Features
       🐞 Bug Fixes
        View changes on GitHub

    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency eslint to ^8.31.0

    chore(deps): update dependency eslint to ^8.31.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | eslint (source) | ^8.30.0 -> ^8.31.0 | age | adoption | passing | confidence |


    Release Notes

    eslint/eslint

    v8.31.0

    Compare Source

    Features
    • 52c7c73 feat: check assignment patterns in no-underscore-dangle (#​16693) (Milos Djermanovic)
    • b401cde feat: add options to check destructuring in no-underscore-dangle (#​16006) (Morten Kaltoft)
    • 30d0daf feat: group properties with values in parentheses in key-spacing (#​16677) (Francesco Trotta)
    Bug Fixes
    • 35439f1 fix: correct syntax error in prefer-arrow-callback autofix (#​16722) (Francesco Trotta)
    • 87b2470 fix: new instance of FlatESLint should load latest config file version (#​16608) (Milos Djermanovic)
    Documentation
    Chores

    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency vue-tsc to ^1.0.19

    chore(deps): update dependency vue-tsc to ^1.0.19

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | vue-tsc | ^1.0.18 -> ^1.0.19 | age | adoption | passing | confidence |


    Release Notes

    johnsoncodehk/volar

    v1.0.19

    Compare Source

    • feat: add experimentalAdditionalLanguageModules option for vueCompilerOptions (#​2267)
    • fix: TS typescript/javascript.preferences.autoImportFileExcludePatterns setting not working
    • fix: formatting not working for extra vue file extensions (#​2263)
    • fix(doctor): accidentally report @vue/compiler-dom warning (#​2262)
    • fix(vue-component-meta): required property incorrect (#​2256)
    • fix(preview): cannot start preview if project never start run vite server (#​2223)
    • fix: references codeLens not working
    Out Gold Sponsors
    Out Silver Sponsors

    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency svelte-check to v3

    chore(deps): update dependency svelte-check to v3

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | svelte-check | ^2.10.3 -> ^3.0.1 | age | adoption | passing | confidence |


    Release Notes

    sveltejs/language-tools

    v3.0.1

    Compare Source

    • (fix) correctly check if props implement $$Props interface (#​1797)

    BREAKING CHANGES

    • the old transformation is no longer available. If you're using the svelte.JSX namespace in your projects, you should migrate accordingly
    • minimum required Node version is now 16
    • minimum required TypeScript version is now 4.9
    • minimum required Svelte version is now 3.55
    • removed hint diagnostics to align with tsc
    • searches for nearest tsconfig/jsconfig by default now (you don't need to specify --tsconfig anymore in most cases now; use --no-tsconfig to get back the old behavior of only checking Svelte files without a jsconfig/tsconfig)

    v3.0.0

    Compare Source

    broken release, see 3.0.1 instead


    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency @sveltejs/vite-plugin-svelte to v2

    chore(deps): update dependency @sveltejs/vite-plugin-svelte to v2

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @sveltejs/vite-plugin-svelte | ^1.4.0 -> ^2.0.2 | age | adoption | passing | confidence |


    Release Notes

    sveltejs/vite-plugin-svelte

    v2.0.2

    Compare Source

    Patch Changes
    • improve detection of sveltekit in inspector plugin to be compatible to latest changes (47c54c9)

    v2.0.1

    Compare Source

    Patch Changes
    • update minimum version of vitefu dependency to avoid peer mismatch (#​543)

    v2.0.0

    Compare Source

    Major Changes
    • update svelte peerDependency to ^3.54.0 (#​529)

    • remove commonjs variant of vite-plugin-svelte (#​522)

      Make sure your package.json contains "type": "module"and see FAQ for more information

    • update vite peerDependency to vite-4 (#​521)

    Patch Changes
    • Remove experimental.useVitePreprocess option in favour of vitePreprocess (#​538)

    • Remove pre Vite 3.2 support for vitePreprocess (#​536)


    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency svelte-preprocess to v5

    chore(deps): update dependency svelte-preprocess to v5

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | svelte-preprocess | ^4.10.7 -> ^5.0.0 | age | adoption | passing | confidence |


    Release Notes

    sveltejs/svelte-preprocess

    v5.0.0

    Compare Source

    Bug Fixes
    • 🐛 add sugarss v3 and v4 as supported (3f2687b)
    • 🐛 remove support for 'type' attribute (07bc8aa)
    • 🐛 remove support for custom default languages (3d60856)
    • 🐛 map .sss as .css to support sugarss extension (2c0bd45)
    Performance Improvements
    • ⚡️ remove support for deprecated node-sass (a617fe1)
    BREAKING CHANGES
    • 🧨 Languages must be explicitly defined via the lang attribute.
    • 🧨 Minimum node version was bumped from 9 to 14
    • 🧨 Cannot use "type" attribute to identify the language of a style or script tag anymore. Use lang instead
    • 🧨 node-sass is not supported anymore. Use sass instead
    • minimum node version changed to v14

    4.10.7 (2022-06-04)

    Bug Fixes

    4.10.6 (2022-04-13)

    Bug Fixes

    4.10.5 (2022-04-04)

    Bug Fixes

    4.10.4 (2022-02-23)

    Bug Fixes
    • only try to load external files with relative paths (#​487) (80d87ed)

    4.10.3 (2022-02-09)

    Bug Fixes

    4.10.2 (2022-01-17)

    Bug Fixes

    4.10.1 (2021-12-17)

    Bug Fixes

    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency vite to v4

    chore(deps): update dependency vite to v4

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | vite (source) | ^3.2.5 -> ^4.0.4 | age | adoption | passing | confidence |


    Release Notes

    vitejs/vite

    v4.0.4

    Compare Source

    v4.0.3

    Compare Source

    v4.0.2

    Compare Source

    v4.0.1

    Compare Source

    v4.0.0

    Compare Source

    Vite 4 Announcement Cover Image

    Read the announcement blog post: Announcing Vite 4

    Quick links:

    Docs in other languages:

    Main Changes

    This major is smaller in scope compared to Vite 3, with the main objective of upgrading to Rollup 3. We've worked with the ecosystem to ensure a smooth upgrade path for this new major.

    Rollup 3

    Vite is now using Rollup 3, which allowed us to simplify Vite's internal asset handling and has many improvements. See the Rollup 3 release notes here.

    Framework Plugins out of the Vite core monorepo

    @vitejs/plugin-vue and @vitejs/plugin-react have been part of Vite core monorepo since the first versions of Vite. This helped us to get a close feedback loop when making changes as we were getting both Core and the plugins tested and released together. With vite-ecosystem-ci we can get this feedback with these plugins developed on independent repositories, so from Vite 4, they have been moved out of the Vite core monorepo. This is meaningful for Vite's framework-agnostic story, and will allow us to build independent teams to maintain each of the plugins. If you have bugs to report or features to request, please create issues on the new repositories moving forward: vitejs/vite-plugin-vue and vitejs/vite-plugin-react.

    New React plugin using SWC during development

    SWC is now a mature replacement for Babel, especially in the context of React projects. SWC's React Fast Refresh implementation is a lot faster than Babel, and for some projects, it is now a better alternative. From Vite 4, two plugins are available for React projects with different tradeoffs. We believe that both approaches are worth supporting at this point, and we'll continue to explore improvements to both plugins in the future.

    @​vitejs/plugin-react

    @​vitejs/plugin-react is a plugin that uses esbuild and Babel, achieving fast HMR with a small package footprint and the flexibility of being able to use the babel transform pipeline.

    @​vitejs/plugin-react-swc (new)

    @​vitejs/plugin-react-swc is a new plugin that uses esbuild during build, but replaces Babel with SWC during development. For big projects that don't require non-standard React extensions, cold start and Hot Module Replacement (HMR) can be significantly faster.

    Compatibility

    The modern browser build now targets safari14 by default for wider ES2020 compatibility (https://github.com/vitejs/vite/issues/9063). This means that modern builds can now use BigInt and that the nullish coallessing operator isn't transpiled anymore. If you need to support older browsers, you can add @vitejs/plugin-legacy as usual.

    Importing CSS as a string

    In Vite 3, importing the default export of a .css file could introduce a double loading of CSS.

    import cssString from './global.css';
    

    This double loading could occur since a .css file will be emitted and it's likely that the CSS string will also be used by the application code — for example, injected by the framework runtime. From Vite 4, the .css default export has been deprecated. The ?inline query suffix modifier needs to be used in this case, as that doesn't emit the imported .css styles.

    import stuff from './global.css?inline'
    
    Other features
    • Support for patch-package when pre bundling dependencies (#​10286)
    • Cleaner build logs output (#​10895) and switch to kB to align with browser dev tools (#​10982)
    • Improved error messages during SSR (#​11156)
    Features
    Bug Fixes
    Previous Changelogs
    4.0.0-beta.7 (2022-12-08)

    See 4.0.0-beta.7 changelog

    4.0.0-beta.6 (2022-12-08)

    See 4.0.0-beta.6 changelog

    4.0.0-beta.5 (2022-12-08)

    See 4.0.0-beta.5 changelog

    4.0.0-beta.4 (2022-12-07)

    See 4.0.0-beta.4 changelog

    4.0.0-beta.3 (2022-12-07)

    See 4.0.0-beta.3 changelog

    4.0.0-beta.2 (2022-12-07)

    See 4.0.0-beta.2 changelog

    4.0.0-beta.1 (2022-12-06)

    See 4.0.0-beta.1 changelog

    4.0.0-beta.0 (2022-12-05)

    See 4.0.0-beta.0 changelog

    4.0.0-alpha.6 (2022-11-30)

    See 4.0.0-alpha.6 changelog

    4.0.0-alpha.5 (2022-11-22)

    See 4.0.0-alpha.5 changelog

    4.0.0-alpha.4 (2022-11-17)

    See 4.0.0-alpha.4 changelog

    4.0.0-alpha.3 (2022-11-15)

    See 4.0.0-alpha.3 changelog

    4.0.0-alpha.2 (2022-11-13)

    See 4.0.0-alpha.2 changelog

    4.0.0-alpha.1 (2022-11-12)

    See 4.0.0-alpha.1 changelog

    4.0.0-alpha.0 (2022-11-07)

    See 4.0.0-alpha.0 changelog


    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency @vitejs/plugin-vue-jsx to v3

    chore(deps): update dependency @vitejs/plugin-vue-jsx to v3

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @vitejs/plugin-vue-jsx (source) | ^2.1.1 -> ^3.0.0 | age | adoption | passing | confidence |


    Release Notes

    vitejs/vite-plugin-vue

    v3.0.0

    Compare Source


    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency @vitejs/plugin-vue to v4

    chore(deps): update dependency @vitejs/plugin-vue to v4

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @vitejs/plugin-vue (source) | ^3.2.0 -> ^4.0.0 | age | adoption | passing | confidence |


    Release Notes

    vitejs/vite-plugin-vue

    v4.0.0

    Compare Source


    Configuration

    📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
Owner
chlorine
Sometimes ever, sometimes never
chlorine
BootstrapVue provides one of the most comprehensive implementations of Bootstrap v4 for Vue.js. With extensive and automated WAI-ARIA accessibility markup.

With more than 85 components, over 45 available plugins, several directives, and 1000+ icons, BootstrapVue provides one of the most comprehensive impl

BootstrapVue 14.2k Jan 4, 2023
Prefetch and sync state to client with one line of code, out-of-the-box

vue3-SSR-starter Prefetch and sync state to client with one line of code, out-of-the-box Features vue3 SSR vue-router we don't need vuex anymore one l

周子贤 36 Aug 28, 2022
:necktie: :briefcase: Build fast :rocket: and easy multiple beautiful resumes and create your best CV ever! Made with Vue and LESS.

best-resume-ever ?? ?? Build fast ?? and easy multiple beautiful resumes and create your best CV ever! Made with Vue and LESS. Cool Creative Green Pur

Sara Steiert 15.8k Jan 9, 2023
Mobile app development framework and SDK using HTML5 and JavaScript. Create beautiful and performant cross-platform mobile apps. Based on Web Components, and provides bindings for Angular 1, 2, React and Vue.js.

Onsen UI - Cross-Platform Hybrid App and PWA Framework Onsen UI is an open source framework that makes it easy to create native-feeling Progressive We

null 8.7k Jan 4, 2023
:fire::fire::fire: 强大的动态表单生成器|form-create is a form generation component that can generate dynamic rendering, data collection, verification and submission functions through JSON.

form-create form-create is a form generation component that can generate dynamic rendering, data collection, verification and submission functions thr

xaboy 4.6k Jan 3, 2023
Matteo Bruni 4.7k Jan 4, 2023
Create conversational conditional-logic forms with Vue.js.

Vue Flow Form Create conversational conditional-logic forms with Vue.js. Live Demos Questionnaire example Support page example Quiz example Project Do

DITDOT 633 Jan 4, 2023
A powercord plugin to create pet gifs

petpet A powercord plugin to create pet gifs Inspired by https://benisland.neocities.org/petpet/ Example Input Output Usage [p] is your powercord comm

Vens Powercord Plugins 20 Oct 13, 2022
multiple page application create by vue-cli4.5.15

vue-multiple-cli create mutiple page by vue-cli4.5.15 基于vue-cli4.5.15搭建的多页面应用,主要是将src目录下单文件应用改成多模块的应用,使其一个脚手架可以开发多个互不影响的模块,同时又可以共用一些公共组件和方法。 安装使用 git

LewisLen 1 Dec 25, 2021
Vue2.x plugin to create scoped or global shortcuts. No need to import a vue component into the template.

vue2-shortcut Vue2.x plugin to create scoped or global shortcuts. No need to import a vue component into the template. Install $ npm install --save vu

Graxi 37 Aug 14, 2022
Create coupled parent-child component pairs with composition API.

vue-coupled Background See discussion here. This package serves as a POC that: Allows any level of component encapsulation for child components. Suppo

GU Yiling 10 Jul 1, 2022
⭐️ Auto create alias map for vite config

vite-plugin-tspaths2alias This plugin is create alias map for vite config, default use project root tsconfig.json file compilerOptions.paths value Ins

yankit 2 Mar 26, 2022
Restream is a module that allows you to create a stream of an audio/video file from the Firebase storage, protected from direct download through the client-side.

nuxt-restream Restream is a module that allows you to create a stream of an audio/video file from the Firebase storage, protected from direct download

Restorm 3 Dec 13, 2022
Create Nuxt3 apps with zero effort.

Create Nuxt3 Create Nuxt3 apps with zero effort. Features Select UI frameworks and install it from list Install extra modules like '@nuxt/content' Ins

Mehmet Ali Külahçı 8 Jul 9, 2022
Create a blog with Nuxt v3. Tempalte

Nuxt 3 Minimal Starter Look at the nuxt 3 documentation to learn more. Setup Make sure to install the dependencies: # yarn yarn install # npm npm ins

Adem Can 5 Nov 30, 2022
Integrate Tauri in a Vite project to build cross-platform apps.

vite-plugin-tauri Integrate Tauri in a Vite project to build cross-platform apps Install Make sure to setup your environment for Tauri development. Th

Amr Bashir 95 Dec 15, 2022
Some compile-time magic for your Vite project

?? You can help the author become a full-time open-source maintainer by sponsoring him on GitHub. vite-plugin-compile-time Use this plugin to generate

EGOIST 90 Dec 15, 2022
Add Routify to your Svelte project

?? Add (work in progress) Routify to Svelte This is an adder for svelte-add; you should read its README before continuing here. ➕ Adding (work in prog

Svelte Add 5 Aug 3, 2022
Minimal setup for a WebXR project using Vite, Babylon.js, TypeScript, and Vue

WebXR-Vite-Babylon-Simple Minimal setup for WebXR development using: vite typescript vue 3 babylonjs 5 (ES6) Intentionally made minimal changes from t

Josh Sanderson 6 Nov 13, 2022