From 7512f9a28fb2998a663f95998d33dd8d626989f3 Mon Sep 17 00:00:00 2001 From: ASHISH SONAVANE <90111868+Ashishsonavane@users.noreply.github.com> Date: Thu, 24 Oct 2024 17:55:44 +0530 Subject: [PATCH 1/4] Update automerge.yml --- .github/workflows/automerge.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 396d82c8b1..a4708f2cff 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -21,3 +21,17 @@ jobs: env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + From 0d986edec0401739ff71fdb2647b580e4daa72d6 Mon Sep 17 00:00:00 2001 From: ASHISH SONAVANE <90111868+Ashishsonavane@users.noreply.github.com> Date: Thu, 24 Oct 2024 18:10:22 +0530 Subject: [PATCH 2/4] Update vercel.json --- vercel.json | 375 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 375 insertions(+) diff --git a/vercel.json b/vercel.json index 57c4c29d85..015dc14063 100644 --- a/vercel.json +++ b/vercel.json @@ -27,3 +27,378 @@ } ] } + + + + +import { createApp, ref } from 'vue' + +createApp({ + setup() { + return { + count: ref(0) + } + } +}).mount('#app') +
+ +
+ + + + + + + + + + + +cd +npm install +npm run dev + + + +
{{ message }}
+ + +
{{ message }}
+ + +import { createApp } from 'vue' + + +
{{ message }}
+ + + +
+ + +// my-component.js +import { ref } from 'vue' +export default { + setup() { + const count = ref(0) + return { count } + }, + template: `
Count is: {{ count }}
` +} +import { createApp } from 'vue' + +const app = createApp({ + /* root component options */ +}) +import { createApp } from 'vue' +// import the root component App from a single-file component. +import App from './App.vue' + +const app = createApp(App) +App (root component) +├─ TodoList +│ └─ TodoItem +│ ├─ TodoDeleteButton +│ └─ TodoEditButton +└─ TodoFooter + ├─ TodoClearButton + └─ TodoStatistics +
+app.mount('#app') +
+ +
+import { createApp } from 'vue' + +const app = createApp({ + data() { + return { + count: 0 + } + } +}) + +app.mount('#app') +const app1 = createApp({ + /* ... */ +}) +app1.mount('#container-1') + +const app2 = createApp({ + /* ... */ +}) +app2.mount('#container-2') + + + + + + + From 93e56bdbc1c429cca6404a891d9e30fea22c3705 Mon Sep 17 00:00:00 2001 From: ASHISH SONAVANE <90111868+Ashishsonavane@users.noreply.github.com> Date: Thu, 24 Oct 2024 18:11:54 +0530 Subject: [PATCH 3/4] Create SECURITY.md --- SECURITY.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000000..034e848032 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. From 18f78211d301ca67a063c03f2162c4da6d589820 Mon Sep 17 00:00:00 2001 From: ASHISH SONAVANE <90111868+Ashishsonavane@users.noreply.github.com> Date: Fri, 25 Oct 2024 21:34:39 +0530 Subject: [PATCH 4/4] Update package.json --- package.json | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/package.json b/package.json index a18c8a074e..fc0e89a7eb 100644 --- a/package.json +++ b/package.json @@ -27,3 +27,101 @@ }, "packageManager": "pnpm@9.12.1" } +{ + "name": "magic-regexp", + "version": "0.8.0", + "packageManager": "pnpm@9.12.1", + "description": "A compiled-away, type-safe, readable RegExp alternative", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/unjs/magic-regexp.git" + }, + "sideEffects": false, + "exports": { + ".": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "./converter": { + "import": "./dist/converter.mjs", + "require": "./dist/converter.cjs" + }, + "./transform": { + "import": "./dist/transform.mjs", + "require": "./dist/transform.cjs" + }, + "./further-magic": { + "import": "./dist/further-magic.mjs", + "require": "./dist/further-magic.cjs" + }, + "./nuxt": "./nuxt.mjs" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.mjs", + "types": "./dist/index.d.ts", + "files": [ + "dist", + "further-magic.d.ts", + "nuxt.mjs", + "transform.d.ts" + ], + "scripts": { + "build": "unbuild", + "dev": "vitest dev", + "docs:generate": "nuxi generate docs", + "lint": "eslint --fix .", + "prepare": "npx simple-git-hooks && pnpm build", + "prepublishOnly": "pnpm lint && pnpm test", + "release": "bumpp && npm publish", + "test": "vitest run", + "test:types": "tsc --noEmit" + }, + "dependencies": { + "estree-walker": "^3.0.3", + "magic-string": "^0.30.12", + "mlly": "^1.7.2", + "regexp-tree": "^0.1.27", + "type-level-regexp": "~0.1.17", + "ufo": "^1.5.4", + "unplugin": "^1.14.1" + }, + "devDependencies": { + "@antfu/eslint-config": "3.7.3", + "@codspeed/vitest-plugin": "3.1.1", + "@nuxt/kit": "3.13.2", + "@types/estree": "1.0.6", + "@types/node": "22.7.5", + "@vitest/coverage-v8": "2.1.2", + "acorn": "8.13.0", + "bumpp": "9.7.1", + "eslint": "9.12.0", + "expect-type": "1.1.0", + "lint-staged": "latest", + "rollup": "4.24.0", + "simple-git-hooks": "2.11.1", + "typescript": "5.6.3", + "unbuild": "2.0.0", + "vite": "5.4.9", + "vitest": "2.1.2" + }, + "pnpm": { + "patchedDependencies": { + "undocs": "patches/undocs.patch" + } + }, + "resolutions": { + "magic-regexp": "link:.", + "nuxt": "3.13.2", + "vite": "5.4.9", + "vue": "3.5.12" + }, + "simple-git-hooks": { + "pre-commit": "npx lint-staged" + }, + "lint-staged": { + "*": [ + "npx eslint --fix" + ] + } +}