From fb11b738f469102d8f4d2e3d7179ee87415b1144 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Sat, 25 Mar 2023 20:02:36 +0100 Subject: [PATCH] feat: initialize create-astro-reactive package (#281) --- .changeset/hot-buses-repeat.md | 13 ++++++++ LICENSE | 2 +- apps/demo/package.json | 4 +-- apps/docs/package.json | 4 +-- apps/landing-page/package.json | 4 +-- package.json | 8 ++--- packages/common/package.json | 4 +-- packages/create-astro-reactive/README.md | 37 +++++++++++++++++++++ packages/create-astro-reactive/index.js | 1 + packages/create-astro-reactive/package.json | 18 ++++++++++ packages/form/package.json | 8 ++--- packages/validator/package.json | 8 ++--- 12 files changed, 84 insertions(+), 27 deletions(-) create mode 100644 .changeset/hot-buses-repeat.md create mode 100644 packages/create-astro-reactive/README.md create mode 100644 packages/create-astro-reactive/index.js create mode 100644 packages/create-astro-reactive/package.json diff --git a/.changeset/hot-buses-repeat.md b/.changeset/hot-buses-repeat.md new file mode 100644 index 0000000..3350604 --- /dev/null +++ b/.changeset/hot-buses-repeat.md @@ -0,0 +1,13 @@ +--- +"create-astro-reactive": patch +"@astro-reactive/validator": patch +"@astro-reactive/landing-page": patch +"@astro-reactive/common": patch +"@astro-reactive/form": patch +"@astro-reactive/demo": patch +"@astro-reactive/docs": patch +--- + +Initial `create-astro-reactive` package +Update packages' meta information (author, homepage) +Upadte LICENSE owner info to `astro-reactive` organization diff --git a/LICENSE b/LICENSE index 592a301..aea2e57 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Ayo Ayco +Copyright (c) 2022 Astro Reactive Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/apps/demo/package.json b/apps/demo/package.json index 9904ae7..65bac19 100644 --- a/apps/demo/package.json +++ b/apps/demo/package.json @@ -3,7 +3,7 @@ "description": "Demo App for Astro Reactive Library", "type": "module", "version": "0.0.1", - "author": "Ayo Ayco (https://ayco.io)", + "author": "astro-reactive", "private": true, "scripts": { "dev": "astro dev", @@ -31,7 +31,7 @@ "bugs": { "url": "https://github.com/astro-reactive/astro-reactive/issues" }, - "homepage": "https://github.com/astro-reactive/astro-reactive#readme", + "homepage": "https://astro-reactive.dev", "devDependencies": { "@astro-reactive/eslint-config-custom": "*", "@astro-reactive/tsconfig": "*", diff --git a/apps/docs/package.json b/apps/docs/package.json index b419dab..53e502a 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -36,12 +36,12 @@ "type": "git", "url": "git+https://github.com/astro-reactive/astro-reactive.git" }, - "author": "", + "author": "astro-reactive", "license": "ISC", "bugs": { "url": "https://github.com/astro-reactive/astro-reactive/issues" }, - "homepage": "https://github.com/astro-reactive/astro-reactive#readme", + "homepage": "https://astro-reactive.dev", "devDependencies": { "@astro-reactive/eslint-config-custom": "*", "@astro-reactive/tsconfig": "*", diff --git a/apps/landing-page/package.json b/apps/landing-page/package.json index 840f429..c839003 100644 --- a/apps/landing-page/package.json +++ b/apps/landing-page/package.json @@ -40,10 +40,10 @@ "type": "git", "url": "git+https://github.com/astro-reactive/astro-reactive.git" }, - "author": "Ayo Ayco", + "author": "astro-reactive", "license": "MIT", "bugs": { "url": "https://github.com/astro-reactive/astro-reactive/issues" }, - "homepage": "https://github.com/astro-reactive/astro-reactive#readme" + "homepage": "https://astro-reactive.dev" } diff --git a/package.json b/package.json index 80d5770..106992b 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,8 @@ "description": "Astro components for building reactive user interfaces 🚀", "version": "0.0.0", "repository": "https://github.com/astro-reactive/astro-reactive", - "homepage": "https://github.com/astro-reactive/astro-reactive#readme", - "author": { - "name": "Ayo Ayco", - "email": "ayo@ayco.io", - "url": "https://ayco.io" - }, + "homepage": "https://astro-reactive.dev", + "author": "astro-reactive", "type": "module", "exports": { ".": "./index.ts" diff --git a/packages/common/package.json b/packages/common/package.json index dfe2c21..40c3740 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -23,12 +23,12 @@ "type": "git", "url": "git+https://github.com/astro-reactive/astro-reactive.git" }, - "author": "Ayo Ayco", + "author": "astro-reactive", "license": "MIT", "bugs": { "url": "https://github.com/astro-reactive/astro-reactive/issues" }, - "homepage": "https://github.com/astro-reactive/astro-reactive#readme", + "homepage": "https://astro-reactive.dev", "publishConfig": { "access": "public" } diff --git a/packages/create-astro-reactive/README.md b/packages/create-astro-reactive/README.md new file mode 100644 index 0000000..fe37efa --- /dev/null +++ b/packages/create-astro-reactive/README.md @@ -0,0 +1,37 @@ +

+ Astro Reactive Library Logo +
+ Create Astro Reactive + ⚠️ WORK IN PROGRESS. This does not do anything yet. +
+ Create a new astro-reactive app +
+
+ + Package information: NPM version + + + Package information: NPM license + + + Package information: NPM downloads + + + Package information: NPM dependencies status + +
+
+

+ +# Create a new Astro Reactive project + +``` +npm create astro-reactive@latest +``` + +# We are opensource! + + _All [contributions](https://github.com/astro-reactive/astro-reactive/blob/main/CONTRIBUTING.md) are welcome. Let's make the fastest web forms powered by Astro._ + +👉 _This package is a work in progress. See the [change log](https://github.com/astro-reactive/astro-reactive/blob/main/packages/create-astro-reactive/RELEASE.md)._ + diff --git a/packages/create-astro-reactive/index.js b/packages/create-astro-reactive/index.js new file mode 100644 index 0000000..0f9124f --- /dev/null +++ b/packages/create-astro-reactive/index.js @@ -0,0 +1 @@ +console.log("Create a new astro-reactive project"); diff --git a/packages/create-astro-reactive/package.json b/packages/create-astro-reactive/package.json new file mode 100644 index 0000000..5efbc8b --- /dev/null +++ b/packages/create-astro-reactive/package.json @@ -0,0 +1,18 @@ +{ + "name": "create-astro-reactive", + "version": "0.0.1", + "description": "Create a new astro-reactive app", + "main": "index.js", + "devDependencies": {}, + "scripts": {}, + "repository": { + "type": "git", + "url": "git+https://github.com/astro-reactive/astro-reactive.git" + }, + "author": "astro-reactive", + "license": "MIT", + "bugs": { + "url": "https://github.com/astro-reactive/astro-reactive/issues" + }, + "homepage": "https://astro-reactive.dev" +} diff --git a/packages/form/package.json b/packages/form/package.json index e645cbc..2759f0e 100644 --- a/packages/form/package.json +++ b/packages/form/package.json @@ -3,12 +3,8 @@ "description": "The Reactive Form component for Astro 🔥", "version": "0.7.2", "repository": "https://github.com/astro-reactive/astro-reactive", - "homepage": "https://docs.astro-reactive.dev/en/api/form/form-component/", - "author": { - "name": "Ayo Ayco", - "email": "ayo@ayco.io", - "url": "https://ayco.io" - }, + "homepage": "https://astro-reactive.dev", + "author": "astro-reactive", "type": "module", "exports": { ".": "./index.ts" diff --git a/packages/validator/package.json b/packages/validator/package.json index 5f9f861..a3cf8e1 100644 --- a/packages/validator/package.json +++ b/packages/validator/package.json @@ -3,12 +3,8 @@ "description": "Form validation library for Astro 🔥", "version": "0.3.2", "repository": "https://github.com/astro-reactive/astro-reactive", - "homepage": "https://github.com/astro-reactive/astro-reactive/blob/main/packages/validator/README.md", - "author": { - "name": "Ayo Ayco", - "email": "ayo@ayco.io", - "url": "https://ayco.io" - }, + "homepage": "https://astro-reactive.dev", + "author": "astro-reactive", "type": "module", "exports": { ".": "./index.ts"