Skip to content

Commit 19fb054

Browse files
authored
Merge pull request #5 from guocaoyi/feat/v0.6
merge(feat/0.6): merge feat/0.6 to main
2 parents fff1b43 + e5e1582 commit 19fb054

8 files changed

+28
-15
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ Summary
99
5. version timestamp follow the yyyy.MM.dd format
1010
```
1111

12+
## 0.6.0 [2022.07.16]
13+
14+
- feat: add qwik framework templates
15+
- fix: fix lit framework boilerplate, start error
16+
- update: docs preview code image
17+
1218
## 0.5.0 [2022.07.07]
1319

1420
- feat: add alpine framework templates

README.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66
![GitHub Language Count](https://img.shields.io/github/languages/count/guocaoyi/create-chrome-ext)
77
[![npm publish](https://github.com/guocaoyi/create-chrome-ext/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/guocaoyi/create-chrome-ext/actions/workflows/npm-publish.yml)
88

9-
> Generating your chrome extension, multiple boilerplates supported!
9+
> Scaffolding your chrome extension, multiple boilerplates supported!
1010
1111
- 🚀 Lightning Fast HMR(use [Vite2](https://vitejs.dev))
1212
- 🥡 Out of Box
13-
- 🌈 Multiple Frontend Framework Supported(8+)
14-
- 🥢 Multiple Language Supported(TypeScript & JavaScript)
13+
- 🌈 Multiple Frontend Framework Supported (9+)
14+
- 🥢 Multiple Language Supported (TypeScript & JavaScript)
1515
- 🧶 Optimized Builds
16+
- 💅 UI & Design
17+
- 🌗 Light & Dark Mode
1618

1719
## Installing
1820

@@ -26,7 +28,7 @@
2628
λ npx create-chrome-ext
2729

2830
# or use npm-init command
29-
λ npm init create-chrome-ext
31+
λ npm init chrome-ext
3032
```
3133

3234
## Usage
@@ -72,9 +74,10 @@ framework presets include:
7274
- [Alpine](https://alpinejs.dev)
7375
- [Lit](https://lit.dev)
7476
- [Inferno](https://www.infernojs.org)
77+
- [Qwik](https://qwik.builder.io)
7578
- [Vanilla](http://vanilla-js.com)
7679

77-
languages presets include:
80+
languages supported:
7881

7982
- [JavaScript](https://www.javascript.com/)
8083
- [TypeScript](https://www.typescriptlang.org/)

docs/crx-build.png

24.1 KB
Loading

docs/crx-install.png

2.57 KB
Loading

docs/crx-run.png

6.49 KB
Loading

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ async function init() {
299299
// determine template
300300
template = variant || framework || template
301301

302-
console.log(`\nGenerating project in ${root}...`)
302+
console.log(`\nScaffolding project in ${root}...`)
303303

304304
// template boilerplate
305305
const templateDir = path.resolve(fileURLToPath(import.meta.url), '..', `template-${template}`)

index.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ test('successfully scaffolds a project based on vue starter template', () => {
7777
const generatedFiles = readdirSync(genPath).sort()
7878

7979
// Assertions
80-
expect(stdout).toContain(`Generating project in ${genPath}`)
80+
expect(stdout).toContain(`Scaffolding project in ${genPath}`)
8181
expect(templateFiles).toEqual(generatedFiles)
8282
})
8383

@@ -88,6 +88,6 @@ test('works with the -t alias', () => {
8888
const generatedFiles = readdirSync(genPath).sort()
8989

9090
// Assertions
91-
expect(stdout).toContain(`Generating project in ${genPath}`)
91+
expect(stdout).toContain(`Scaffolding project in ${genPath}`)
9292
expect(templateFiles).toEqual(generatedFiles)
9393
})

package.json

+11-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "create-chrome-ext",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"type": "module",
5-
"description": "Generating your chrome extension, multiple boilerplates supported!",
5+
"description": "Scaffolding your chrome extension, multiple boilerplates supported!",
66
"author": "yalda",
77
"license": "MIT",
88
"main": "index.js",
@@ -26,18 +26,22 @@
2626
"url": "git+https://github.com/guocaoyi/create-chrome-ext.git"
2727
},
2828
"keywords": [
29-
"chrome",
3029
"chrome-extension",
31-
"template",
32-
"boilerplate",
33-
"create-chrome-ext",
30+
"crx",
31+
"crx-packages",
32+
"chrome-extension-starter",
33+
"chrome-extension-boilerplate",
3434
"create-chrome-extension",
35+
"create-crx",
36+
"vite-starter",
37+
"vite-template",
3538
"react",
3639
"vue",
3740
"svelte",
3841
"preact",
39-
"solid",
42+
"solidjs",
4043
"alpinejs",
44+
"inferno",
4145
"lit",
4246
"qwik",
4347
"vanilla"

0 commit comments

Comments
 (0)