create-rawstyle 0.0.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +23 -5
- package/README.md +0 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
console.log(
|
|
1
|
+
import{cancel as e,intro as t,isCancel as n,select as r,spinner as i,text as a}from"@clack/prompts";import{downloadTemplate as o}from"giget";const s=t=>{n(t)&&(e(`Operation cancelled`),process.exit(0))};(async()=>{console.log(),t(`Create a Rawstyle project`);let e=await r({message:`Pick a platform:`,options:[{label:`Next.js`,value:`next`},{label:`Vite`,value:`vite`}]});s(e);let n=await a({message:`Project name:`,defaultValue:`rawstyle-${e}`,placeholder:`rawstyle-${e}`});s(n);let c=i();c.start(`Scaffolding project...`),await o(`gh:kh4f/rawstyle/examples/${e}`,{dir:n}),c.stop(`Done!`)})();export{};
|
package/package.json
CHANGED
|
@@ -1,17 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rawstyle",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "🪶 Ultra‑light Compile‑time CSS‑in‑JS",
|
|
5
5
|
"author": "kh4f <kh4f.dev@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"repository": "https://github.com/
|
|
8
|
-
"bugs": "https://github.com/
|
|
9
|
-
"homepage": "https://github.com/
|
|
7
|
+
"repository": "https://github.com/rawstylecss/rawstyle",
|
|
8
|
+
"bugs": "https://github.com/rawstylecss/rawstyle/issues",
|
|
9
|
+
"homepage": "https://github.com/rawstylecss/rawstyle#readme",
|
|
10
10
|
"keywords": [
|
|
11
11
|
"rawstyle",
|
|
12
12
|
"create-rawstyle",
|
|
13
13
|
"css-in-js"
|
|
14
14
|
],
|
|
15
|
+
"relion": {
|
|
16
|
+
"tagPrefix": "create-rawstyle@"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
15
21
|
"main": "dist/index.js",
|
|
16
|
-
"type": "module"
|
|
22
|
+
"type": "module",
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@clack/prompts": "^0.11.0",
|
|
25
|
+
"giget": "^3.1.1"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "tsdown",
|
|
29
|
+
"build:watch": "tsdown --watch",
|
|
30
|
+
"build:prod": "tsdown --prod",
|
|
31
|
+
"release:context": "relion -f",
|
|
32
|
+
"release": "relion -bct",
|
|
33
|
+
"lint": "eslint"
|
|
34
|
+
}
|
|
17
35
|
}
|
package/README.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# Rawstyle
|