diff --git a/.eslintrc.js b/.eslintrc.js index 588843a..e6c2ccd 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,5 @@ module.exports = { - extends: ['fritx', 'fritx/node', 'fritx/es2017-compat'], + extends: ['fritx/node', 'fritx/es2017'], ignorePatterns: [ 'packages/silent/blog/**' ] diff --git a/blog/.eslintrc.js b/blog/.eslintrc.js index e639fcc..44822ba 100644 --- a/blog/.eslintrc.js +++ b/blog/.eslintrc.js @@ -12,11 +12,11 @@ module.exports = { overrides: [ { files: 'vendor/**/*.js', - extends: ['fritx/browser', 'fritx/es5-compat'] + extends: ['plugin:es/restrict-to-es5'] }, { files: 'vendor/blog.js', - extends: ['fritx', 'fritx/browser', 'fritx/es5-compat'], + extends: ['fritx/browser', 'fritx/es5-loose'], globals: { mermaid: 'readonly', marked: 'readonly', diff --git a/blog/p/projects/vue-at/README.md b/blog/p/projects/vue-at/README.md index dff1307..73dc998 100644 --- a/blog/p/projects/vue-at/README.md +++ b/blog/p/projects/vue-at/README.md @@ -1,26 +1,25 @@ # ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ vue-at  [![](https://img.shields.io/github/stars/fritx/vue-at?style=social)](https://github.com/fritx/vue-at) -      Join the chat at https://gitter.im/fritx/vue-at +        Join the chat at https://gitter.im/fritx/vue-at    -Live Demo & Documentation: https://fritx.github.io/vue-at - -*Docs is powered by [At-UI](https://github.com/AT-UI/at-ui).* - - [x] Chrome / Firefox / Edge / IE9~IE11 - [x] Plain-text based, no jQuery, no extra nodes - [x] Content-Editable / Textarea - [x] Avatars, custom templates -- [x] Vue3 / Vue2 / Vue1 -- [x] Vuetify / Element UI / Element Plus -- [x] Vue-CLI migration -- [ ] Vite migration +- [x] Vite / Vue3 / Vue2 / Vue1 +- [x] Quasar / Vuetify / Element UI / Element Plus +- [x] Vue-CLI build migration +- [ ] Vite build migration - [x] CommonJS / UMD Support +Playground: https://we-demo.github.io/vue-at-vite-app/
+Vue2 Docs: https://github.com/fritx/vue-at/tree/vue2#readme
+Vue3 Docs: See below
See also: [react-at](https://github.com/fritx/react-at) -for Vue2, read [this one](https://github.com/fritx/vue-at/tree/vue2#readme) instead. +**If you're using Vue2, read [branch vue2](https://github.com/fritx/vue-at/tree/vue2#readme) instead.** ```plain npm i vue-at@next # for Vue3 (branch vue3) diff --git a/blog/vendor/blog.js b/blog/vendor/blog.js index 5192019..f6425b8 100644 --- a/blog/vendor/blog.js +++ b/blog/vendor/blog.js @@ -300,7 +300,8 @@ var prefix = matched[0] var success = setFavicon(prefix) if (success && emojiPrefixRegex.test(mainTitle)) { - navTitle = mainTitle.replace(regex, '').trim() // replace only if emoji + // navTitle = mainTitle.replace(regex, '').trim() // replace only if emoji + navTitle = mainTitle.replace(prefix, '').trim() // replace only if emoji } } return navTitle diff --git a/package.json b/package.json index 94174f4..5942484 100644 --- a/package.json +++ b/package.json @@ -15,11 +15,11 @@ }, "devDependencies": { "eslint": "^8.25.0", - "eslint-config-fritx": "^0.0.2", + "eslint-config-fritx": "^0.2.4", "eslint-plugin-es5": "^1.5.0", "gh-pages": "^4.0.0", "jayin": "^0.0.3", - "np": "^7.6.2", + "np": "^8.0.4", "npm-run-all": "^4.1.5" }, "homepage": "https://github.com/fritx/silent", diff --git a/packages/create-silent/package.json b/packages/create-silent/package.json index 3ce99f1..63747ec 100644 --- a/packages/create-silent/package.json +++ b/packages/create-silent/package.json @@ -14,6 +14,9 @@ "repository": "git@github.com:fritx/silent.git", "license": "MIT", "bin": "cli.js", + "engines": { + "node": ">=8.0.0" + }, "dependencies": { "silent": "^0.2.0" } diff --git a/packages/silent/package.json b/packages/silent/package.json index 15ba604..faf4efc 100644 --- a/packages/silent/package.json +++ b/packages/silent/package.json @@ -18,6 +18,9 @@ "scripts": { "test": "test -d blog" }, + "engines": { + "node": ">=8.0.0" + }, "dependencies": { "prompts": "^2.4.2", "shelljs": "^0.8.5"