@papit/create 0.0.6 → 0.0.8
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/asset/component-templates/browser/tests/snapshot.test.ts +6 -6
- package/asset/component-templates/game/tests/snapshot.test.ts +6 -6
- package/asset/component-templates/theme/src/theme.css +2 -0
- package/asset/component-templates/theme/tests/snapshot.test.ts +6 -6
- package/asset/component-templates/web-component/tests/snapshot.test.ts +6 -6
- package/asset/project-template/bin/test.mjs +1 -1
- package/asset/project-template/package.json +2 -1
- package/asset/project-template/packages/README.md +3 -0
- package/lib/bundle.js +3 -3
- package/package.json +71 -71
- package/asset/project-template/packages/atoms/.gitkeep +0 -0
- package/asset/project-template/packages/molecules/.gitkeep +0 -0
- package/asset/project-template/packages/organisms/.gitkeep +0 -0
- package/asset/project-template/packages/pages/.gitkeep +0 -0
- package/asset/project-template/packages/templates/.gitkeep +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { test, expect } from '@playwright/test';
|
|
2
2
|
|
|
3
3
|
test.beforeEach(async ({ page }) => {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
// Navigate to your test page
|
|
5
|
+
await page.goto('tests/VARIABLE_NAME/');
|
|
6
6
|
});
|
|
7
7
|
|
|
8
|
-
test.describe("VARIABLE_FULL_NAME visual regression", () => {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
test.describe.skip("VARIABLE_FULL_NAME visual regression", () => {
|
|
9
|
+
test.skip('default snapshot', async ({ page }) => {
|
|
10
|
+
await expect(page).toHaveScreenshot();
|
|
11
|
+
});
|
|
12
12
|
})
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { test, expect } from '@playwright/test';
|
|
2
2
|
|
|
3
3
|
test.beforeEach(async ({ page }) => {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
// Navigate to your test page
|
|
5
|
+
await page.goto('tests/VARIABLE_NAME/');
|
|
6
6
|
});
|
|
7
7
|
|
|
8
|
-
test.describe("VARIABLE_FULL_NAME visual regression", () => {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
test.describe.skip("VARIABLE_FULL_NAME visual regression", () => {
|
|
9
|
+
test.skip('default snapshot', async ({ page }) => {
|
|
10
|
+
await expect(page).toHaveScreenshot();
|
|
11
|
+
});
|
|
12
12
|
})
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { test, expect } from '@playwright/test';
|
|
2
2
|
|
|
3
3
|
test.beforeEach(async ({ page }) => {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
// Navigate to your test page
|
|
5
|
+
await page.goto('tests/VARIABLE_NAME/');
|
|
6
6
|
});
|
|
7
7
|
|
|
8
|
-
test.describe("VARIABLE_FULL_NAME visual regression", () => {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
test.describe.skip("VARIABLE_FULL_NAME visual regression", () => {
|
|
9
|
+
test.skip('default snapshot', async ({ page }) => {
|
|
10
|
+
await expect(page).toHaveScreenshot();
|
|
11
|
+
});
|
|
12
12
|
})
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { test, expect } from '@playwright/test';
|
|
2
2
|
|
|
3
3
|
test.beforeEach(async ({ page }) => {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
// Navigate to your test page
|
|
5
|
+
await page.goto('tests/VARIABLE_NAME/');
|
|
6
6
|
});
|
|
7
7
|
|
|
8
|
-
test.describe("VARIABLE_FULL_NAME visual regression", () => {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
test.describe.skip("VARIABLE_FULL_NAME visual regression", () => {
|
|
9
|
+
test.skip('default snapshot', async ({ page }) => {
|
|
10
|
+
await expect(page).toHaveScreenshot();
|
|
11
|
+
});
|
|
12
12
|
})
|
|
@@ -100,7 +100,7 @@ function runner(node, extraEnv = {}, extraArgs = []) {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
const playwright = isPlaywright(node);
|
|
103
|
-
const skipSnapshots = !force && playwright && !hasSnapshots(node);
|
|
103
|
+
const skipSnapshots = Arguments.has("ci") || (!force && playwright && !hasSnapshots(node));
|
|
104
104
|
const extraEnv = skipSnapshots ? { SKIP_SNAPSHOTS: "true" } : {};
|
|
105
105
|
|
|
106
106
|
if (skipSnapshots)
|
package/lib/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
`)}import
|
|
4
|
-
`),
|
|
2
|
+
import B from"node:path";import ne from"node:fs";import{Arguments as U}from"@papit/arguments";import{Information as le,PackageGraph as pe}from"@papit/information";import{Terminal as A}from"@papit/terminal";import k from"node:path";import C from"node:fs";import{Terminal as t}from"@papit/terminal";import{Information as F,PackageGraph as Z}from"@papit/information";import{Arguments as S}from"@papit/arguments";import I from"node:path";import $ from"node:fs";import{Information as R}from"@papit/information";import{Terminal as u}from"@papit/terminal";import{Arguments as b}from"@papit/arguments";import{Arguments as ie}from"@papit/arguments";import{Information as z,PackageGraph as oe}from"@papit/information";import{Terminal as j}from"@papit/terminal";import E from"node:fs";import L from"node:path";function N(e){return E.readdirSync(e).filter(o=>E.statSync(L.join(e,o)).isDirectory())}function re(e){return E.readdirSync(e).filter(o=>{let s=L.join(e,o);return!(!E.statSync(s).isDirectory()||oe.search(s))})}async function Y(){return j.sessionBlock(async()=>{let e=L.join(z.root.location,"packages"),o=e;for(;e;){let s=j.createSession(),a=re(e);j.write("Current: ",e.replace(z.root.location,z.scope)),j.write();let p=await j.option([["Choose Folder","Create Folder"],e===o?a:["..",...a]]);if(p.index===0)break;if(p.index===1){let c=await j.prompt("folder name",!1,e),l=L.join(e,c.input);await ae(l)&&(e=L.join(e,c.input))}else p.index===2&&e!==o?e=L.resolve(e,".."):e=L.join(e,a[p.index-(e===o?2:3)]);j.clearSession(s)}return e})}async function ae(e){return j.createSession(),j.write(`[${e}]`),ie.has("agree")||await j.confirm("confirm folder creation",!0)?(E.mkdirSync(e,{recursive:!0}),j.clearSession(),!0):!1}async function _(e,o,s){E.mkdirSync(o,{recursive:!0});let a=E.readdirSync(e,{withFileTypes:!0});for(let p of a){let c=L.join(e,p.name),l=L.join(o,p.name);if(p.isDirectory()){await _(c,l,s);continue}if(typeof s!="function"){E.copyFileSync(c,l);continue}let m=E.readFileSync(c,"utf-8"),n=await s(m,c,l);n!==!1&&(E.copyFileSync(c,l),E.writeFileSync(l,n,"utf-8"))}}function M(e){if(!e)return;let o=e.split(/[ |-]/),s=o.join("-");return{className:Q(o.map(Q).join("")),name:s.toLowerCase()}}function Q(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}function se(e){try{return $.readdirSync(e).length>0}catch{return!1}}function ce(e){$.existsSync(e)&&$.statSync(e).isDirectory()||$.mkdirSync(e)}async function J(e,o,s){let a=I.join(o?.destination??R.package.location,"package.json"),p=o?JSON.parse($.readFileSync(a,{encoding:"utf-8"})):R.package.packageJSON;p==null&&(u.error("could not find package's package.json file"),process.exit(1)),p.name===R.root.name&&(u.error("cannot create a component to root"),process.exit(1));let c=p,l=N(I.join(e,"asset/component-templates")),m=new Set;try{N(I.join(R.root.location,"bin/runners/component")).forEach(f=>{l.push(f),m.add(f)})}catch{}let n={index:l.findIndex(f=>f===c.papit?.type),text:""};if(n.text=l[n.index],n.index<0){let f=b.string("package")??b.string("type");n.index=l.findIndex(g=>g===f),n.index<0&&(u.createSession(),u.write("type of component"),n=await u.option(l),u.clearSession())}let y=b.string("html-prefix")??o?.htmlprefix??R.package.packageJSON.papit.htmlprefix??R.root.packageJSON.papit.htmlprefix;if(y?.trim()===""&&(y=void 0),y===void 0&&/web-components?/i.test(n.text)){let f=u.createSession();for(;;){let g;if(y!==void 0?(g=(await u.prompt(`use default "${y}" or override?`)).input,g||(g=y)):g=(await u.prompt("html prefix",!0)).input,g){y=g;break}else u.clearSession(),u.write("you must use a html-prefix for web-components")}u.clearSession(f)}let w=o?.nameInfo;for(;!w;){u.clearSession();let f=b.string("name");if(f||(f=(await u.prompt("(component) name",!0)).input),w=M(f),!w){u.write("name missing, try again");continue}if(c.papit.components[w.name]){u.write("name already exist, try again");continue}break}u.createSession();let P=o?.shouldCommit??b.true("agree")??b.true("commit")??await u.confirm("git commit",!0);u.clearSession();let O=m.has(n.text)?I.join(R.root.location,"bin","runners","component",n.text):I.join(e,"asset","component-templates",n.text),x=N(O);c.papit.components[w.name]={className:w.className,htmlprefix:y},$.writeFileSync(a,JSON.stringify(c,null,2),{encoding:"utf-8"}),P&&await u.execute(`git add ${a}`,R.root.location);for(let f of x){let g=I.join(o?.destination??R.package.location,f),d=g,D=I.join(O,f);if(f==="src"?se(g)&&(g=I.join(g,"components"),d=I.join(g,w.name)):d=I.join(g,w.name),ce(g),s&&(d=s(d,f)),await _(D,d,G=>G.replace(/VARIABLE_NAME/g,w.name).replace(/VARIABLE_FULL_NAME/g,c.name).replace(/VARIABLE_HTML_NAME/g,`${y}-${w.name}`).replace(/VARIABLE_CLASS_NAME/g,w.className)),P)try{await u.execute(`git add ${d}`,R.root.location)}catch{u.warn(`"git add ${d}" failed`)}}!o?.shouldCommit&&P&&await u.execute(`git commit -m "add: ${w.name} component"`,R.root.location)}async function ee(e){let o=t.createSession(),s=F.root.packageJSON;s===null&&(t.error("root package.json not found"),process.exit(1));let a=await Y(),p=N(k.join(e,"asset","package-templates")),c=new Set;try{N(k.join(F.root.location,"bin","runners","package")).forEach(i=>{C.existsSync(k.join(F.root.location,"bin","runners","package",i,"package.json"))&&(p.push(i),c.add(i))})}catch{}let l=S.string("package")??S.string("type"),m={index:p.findIndex(i=>i===l),text:""};m.text=p[m.index],m.index<0&&(t.write("type of package"),m=await t.option(p)),t.clearSession();let n=S.string("html-prefix");if(n?.trim()===""&&(n=void 0),!n&&/web-components?/i.test(m.text)){for(n||(n=s.papit?.htmlprefix),S.info||t.createSession();;){let i;if(n?(i=(await t.prompt(`use default "${n}" or override?`)).input,i||(i=n)):(i=(await t.prompt("html prefix",!0)).input,s.papit?.htmlprefix||await t.confirm(`you wish to set "${i}" as the default html-prefix?`)&&(s.papit.htmlprefix=i,C.writeFileSync(k.join(F.root.location,"package.json"),JSON.stringify(s,null,2),{encoding:"utf-8"}))),i){n=i;break}else S.info||t.clearSession(),t.warn("you must use a html-prefix for web-components")}S.info||t.clearSession()}let y=k.relative(F.root.location,a),w=k.basename(a);s.repository?.url||t.warn("root package.json does not have 'repository.url'");let P=(s.repository?.url??"").replace(/\.git$/,""),O=k.join(F.root.location,"package-lock.json");t.clearSession(o);let x,f;for(;f===void 0||x===void 0;){t.clearSession();let i=S.string("name");if(i||(i=(await t.prompt("(package) name",!0)).input),x=M(i),!x){t.write("name missing, try again");continue}let h=`${F.scope}/${x.name}`;Z.get(h)?t.write("package already exists, try again"):f=h}let g=S.string("description");g||(g=(await t.prompt("description",!0)).input),t.write(),t.createSession();let d=k.join(a,x.name),D=i=>i.replace(/\\/g,"/"),G=c.has(m.text)?k.join(F.root.location,"bin","runners","package",m.text):k.join(e,"asset","package-templates",m.text);await _(G,d,async(i,h)=>h.endsWith(".gitkeep")?!1:i.replace(/VARIABLE_NAME/g,x.name).replace(/VARIABLE_FULL_NAME/g,f).replace(/VARIABLE_DESCRIPTION/g,g).replace(/VARIABLE_LAYER_FOLDER/g,w).replace(/VARIABLE_PROJECTLICENSE/g,s.license||"MIT").replace(/VARIABLE_GITHUB_REPO/g,P).replace(/VARIABLE_LOCAL_DESTINATION/g,D(k.join(y,x.name))).replace(/VARIABLE_CLASS_NAME/g,x.className).replace(/VARIABLE_HTML_PREFIX/g,n??"").replace(/VARIABLE_HTML_NAME/g,`${n}-${x.name}`).replace(/VARIABLE_USER/g,process.env.USER??"anonymous"));let H=JSON.parse(C.readFileSync(k.join(d,"package.json"),{encoding:"utf-8"}));H||(t.error(`package.json not found at "${d}"`),process.exit(1)),H.papit||(H.papit={main:x.name,components:{},publish:!0,type:m.text}),Z.add(d),t.createSession();let T=!1;S.has("no")?T=!1:S.has("yes")?T=!0:T=S.true("agree")||S.true("commit")||await t.confirm("git commit",!0),t.clearSession(),await J(e,{destination:d,nameInfo:x,htmlprefix:n,shouldCommit:T},(i,h)=>(h==="src"&&(i=i.replace(/[/\\]components[/\\].*/,"")),h==="lib"&&(i=i.replace(new RegExp(x.name+"$"),"")),h==="views"&&(i=i.replace(new RegExp(x.name+"$"),"experiment")),S.debug&&t.info(JSON.stringify({dest:i,folder:h})),i));let K=k.join(d,"src","components");C.existsSync(K)&&C.rmdirSync(K),t.createSession();let V=!1;if(S.has("no")?V=!1:S.has("yes")?V=!0:V=S.true("agree")||S.true("install")||await t.confirm("install package",!0),V){let{close:i}=t.loading("installing");try{await t.execute("npm install",g)}catch(h){t.warn("error during install"),console.log(h),t.createSession()}finally{i(),t.clearSession()}}else t.clearSession();if(T)try{await t.execute(`git add ${O}`,d),await t.execute(`git add ${d}`,d),await t.execute(`git commit -m "add: ${f} package"`,d)}catch{t.warn("error during commit")}t.write(`${f} created
|
|
3
|
+
`)}import te from"node:path";import W from"node:fs";import{Arguments as v}from"@papit/arguments";import{Terminal as r}from"@papit/terminal";async function q(e){r.write(`Project Creation
|
|
4
|
+
`),r.createSession();let o=v.string("name");o===void 0&&(o=(await r.prompt("name",!0)).input);let s=v.string("description");s===void 0&&(s=(await r.prompt("description",!0)).input);let a=v.string("location");if(a===void 0){let n=await r.prompt(process.cwd(),!0,process.cwd());a=te.join(n.path,o)}r.write(),r.createSession(),await r.sessionBlock(async()=>{if(!W.existsSync(a))return;await r.confirm(`confirm to remove it [${a}]`)?W.rmSync(a,{recursive:!0,force:!0}):(r.error("must choose a empty location"),process.exit(1))}),await r.confirm(`confirm location [${r.yellow(a)}]`,!0)||(r.warn("abort"),process.exit(0)),W.mkdirSync(a,{recursive:!0}),r.clearSession(),r.write();let c=v.string("license")??"MIT";c===void 0&&(c=(await r.prompt("license (default MIT)")).input),r.clearSession();let l=!v.has("skip-git");if(l){let{close:n,update:y}=r.loading("git init",3e3,w=>{w>400?y("runnign slow"):w>800?y("something seems wrong"):w>1500&&y("yeah somethign is very wrong")});await r.execute("git init",{cwd:a}),r.clearSession(),n()}await _(te.join(e,"asset/project-template"),a,async(n,y)=>y.endsWith(".gitkeep")?!1:n.replace(/VARIABLE_NAME/g,`@${o}/root`).replace(/VARIABLE_DESCRIPTION/g,s).replace(/VARIABLE_PROJECTLICENSE/g,c||"MIT").replace(/VARIABLE_USER/g,process.env.USER??"anonymous")),l&&(await r.execute("git add .",{cwd:a}),await r.execute(`git commit -m "init: ${o} initialized"`,{cwd:a}));let{close:m}=r.loading("installing",2e4);await r.execute("npm install",{cwd:a}),m(),r.clearSession(),r.write(),r.write("project initialized"),r.write("try it:"),r.write(" (1)",r.yellow(`cd ${a}`)),r.write(" (2)",r.yellow("npm start")),process.exit(0)}(async function(){U.init(process.argv,["install","commit","agree"]),U.verbose&&(process.env.verbose="true");let e=B.dirname(import.meta.dirname),o=JSON.parse(ne.readFileSync(B.join(e,"package.json"),{encoding:"utf-8"}));if(o||(A.error("could not find @papit/create package.json"),process.exit(1)),!process.env.USER){A.createSession();let l=await A.prompt("your name",!0);process.env.USER=l.input,A.clearSession()}A.write(),A.write("@papit/create",A.yellow(o.version),"- running"),A.write();let s=new Set;if(pe.ERROR){await q(e);return}let a=B.join(le.root.location,"bin/runners"),p=["package","component","project","showcase"];try{N(a).forEach(m=>{if(p.includes(m))return;let n=B.join(a,m,"runner.js");ne.existsSync(n)&&(s.add(m),p.push(m))})}catch{}let c=null;for(let l=0;l<p.length;l++)if(U.has(p[l])){c={index:l,text:p[l]};break}switch(c===null&&(A.createSession(),c=await A.option(p),A.clearSession()),c.index){case 0:await ee(e);break;case 1:await J(e);break;case 2:await q(e);break;default:{s.has(c.text)||(A.error("requested a runner that doesnt exist"),process.exit(1));let l=B.join(a,c.text,"runner.js");U.verbose&&A.write(`running local runner "${c.text}"`);let{default:m}=await import(l);await m();break}}process.exit()})();
|
package/package.json
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
"main": "./lib/bundle.js",
|
|
15
|
-
"types": "./lib/bundle.d.ts",
|
|
16
|
-
"type": "module",
|
|
17
|
-
"files": [
|
|
18
|
-
"lib/",
|
|
19
|
-
"asset/"
|
|
20
|
-
],
|
|
21
|
-
"exports": {
|
|
22
|
-
".": {
|
|
23
|
-
"import": "./lib/bundle.js",
|
|
24
|
-
"types": "./lib/bundle.d.ts"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"homepage": "https://github.com/onkelhoy/papit/tree/main/packages/runtime/cli/create",
|
|
28
|
-
"bugs": {
|
|
29
|
-
"url": "https://github.com/onkelhoy/papit/issues"
|
|
30
|
-
},
|
|
31
|
-
"author": "Henry",
|
|
32
|
-
"private": false,
|
|
33
|
-
"publishConfig": {
|
|
34
|
-
"access": "public",
|
|
35
|
-
"registry": "https://registry.npmjs.org/"
|
|
36
|
-
},
|
|
37
|
-
"license": "Papit-1.0",
|
|
38
|
-
"repository": {
|
|
39
|
-
"type": "git",
|
|
40
|
-
"url": "https://github.com/onkelhoy/papit.git",
|
|
41
|
-
"directory": "packages/runtime/cli/create"
|
|
42
|
-
},
|
|
43
|
-
"sideEffects": true,
|
|
44
|
-
"engines": {
|
|
45
|
-
"node": ">=18"
|
|
46
|
-
},
|
|
47
|
-
"bin": {
|
|
48
|
-
"papit-create": "./lib/bundle.js"
|
|
49
|
-
},
|
|
50
|
-
"dependencies": {
|
|
51
|
-
"@papit/arguments": "0.0.1",
|
|
52
|
-
"@papit/information": "0.0.4",
|
|
53
|
-
"@papit/terminal": "0.0.2"
|
|
54
|
-
},
|
|
55
|
-
"devDependencies": {
|
|
56
|
-
"@types/node": "22.10.2",
|
|
57
|
-
"typescript": "5.9.3"
|
|
58
|
-
},
|
|
59
|
-
"keywords": [
|
|
60
|
-
"node",
|
|
61
|
-
"typescript"
|
|
62
|
-
],
|
|
63
|
-
"papit": {
|
|
64
|
-
"publish": true,
|
|
65
|
-
"type": "node",
|
|
66
|
-
"main": {
|
|
67
|
-
"name": "create",
|
|
68
|
-
"className": "Create"
|
|
2
|
+
"name": "@papit/create",
|
|
3
|
+
"description": "",
|
|
4
|
+
"version": "0.0.8",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "npx @papit/build -- --error --ancestors",
|
|
7
|
+
"watch": "tsc -w",
|
|
8
|
+
"start": "npm run build -- --dev && node ./lib/bundle.js",
|
|
9
|
+
"test": "node --test tests/**/*.test.js",
|
|
10
|
+
"preversion": "papit-version",
|
|
11
|
+
"postversion": "papit-version",
|
|
12
|
+
"component": "npm create @papit -- --component"
|
|
69
13
|
},
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
14
|
+
"main": "./lib/bundle.js",
|
|
15
|
+
"types": "./lib/bundle.d.ts",
|
|
16
|
+
"type": "module",
|
|
17
|
+
"files": [
|
|
18
|
+
"lib/",
|
|
19
|
+
"asset/"
|
|
20
|
+
],
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"import": "./lib/bundle.js",
|
|
24
|
+
"types": "./lib/bundle.d.ts"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"homepage": "https://github.com/onkelhoy/papit/tree/main/packages/runtime/cli/create",
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/onkelhoy/papit/issues"
|
|
30
|
+
},
|
|
31
|
+
"author": "Henry",
|
|
32
|
+
"private": false,
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public",
|
|
35
|
+
"registry": "https://registry.npmjs.org/"
|
|
36
|
+
},
|
|
37
|
+
"license": "Papit-1.0",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "git+https://github.com/onkelhoy/papit.git",
|
|
41
|
+
"directory": "packages/runtime/cli/create"
|
|
42
|
+
},
|
|
43
|
+
"sideEffects": true,
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">=18"
|
|
46
|
+
},
|
|
47
|
+
"bin": {
|
|
48
|
+
"papit-create": "lib/bundle.js"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@papit/arguments": "0.0.1",
|
|
52
|
+
"@papit/information": "0.0.5",
|
|
53
|
+
"@papit/terminal": "0.0.2"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@types/node": "22.10.2",
|
|
57
|
+
"typescript": "5.9.3"
|
|
58
|
+
},
|
|
59
|
+
"keywords": [
|
|
60
|
+
"node",
|
|
61
|
+
"typescript"
|
|
62
|
+
],
|
|
63
|
+
"papit": {
|
|
64
|
+
"publish": true,
|
|
65
|
+
"type": "node",
|
|
66
|
+
"main": {
|
|
67
|
+
"name": "create",
|
|
68
|
+
"className": "Create"
|
|
69
|
+
},
|
|
70
|
+
"components": {}
|
|
71
|
+
},
|
|
72
|
+
"remoteVersion": "0.0.7"
|
|
73
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|