initx 0.0.2 → 0.0.4

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 imba97 <https://github.com/imba97>
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 imba97 <https://github.com/imba97>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,23 +1,23 @@
1
- <h1 align="center">init 🛠</h1>
2
-
3
- <p align="center"><code>initx</code> More convenient initialization tool</p>
4
-
5
- <pre align="center">npx <b>initx &lt;something&gt;</b></pre>
6
-
7
- ## Git
8
-
9
- ### Git Repository
10
-
11
- Create a new repository or modify the remote repository address in the current directory
12
-
13
- ```
14
- npx initx git@github.com:user/repository.git
15
- ```
16
-
17
- ### Git Branch
18
-
19
- Specify a branch name
20
-
21
- ```
22
- npx initx git@github.com:user/repository.git main
23
- ```
1
+ <h1 align="center">init 🛠</h1>
2
+
3
+ <p align="center"><code>initx</code> More convenient initialization tool</p>
4
+
5
+ <pre align="center">npx <b>initx &lt;something&gt;</b></pre>
6
+
7
+ ## Git
8
+
9
+ ### Git Repository
10
+
11
+ Create a new repository or modify the remote repository address in the current directory
12
+
13
+ ```
14
+ npx initx git@github.com:user/repository.git
15
+ ```
16
+
17
+ ### Git Branch
18
+
19
+ Specify a branch name
20
+
21
+ ```
22
+ npx initx git@github.com:user/repository.git main
23
+ ```
package/bin/initx.mjs CHANGED
File without changes
package/dist/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import cac from 'cac';
2
2
  import { GitHandler } from '@initx-plugin/git';
3
3
 
4
- const pkgJson = {name:"initx",type:"module",version:"0.0.0",packageManager:"pnpm@9.12.2",description:"More convenient initialization",author:"imba97",license:"MIT",homepage:"https://github.com/imba97/initx#readme",repository:{type:"git",url:"git+ssh://git@github.com/imba97/initx"},bugs:{url:"https://github.com/imba97/initx/issues"},keywords:["initx"],main:"dist/index.mjs",module:"dist/index.mjs",types:"dist/index.d.ts",bin:"bin/initx.mjs",files:["dist"],scripts:{stub:"unbuild --stub",build:"unbuild",test:"vitest"},dependencies:{"@initx-plugin/git":"workspace:*",cac:"^6.7.14",execa:"^9.4.1"},devDependencies:{"@initx-plugin/types":"workspace:*"}};
4
+ const pkgJson = {name:"initx",type:"module",version:"0.0.4",packageManager:"pnpm@9.12.2",description:"More convenient initialization tool",author:"imba97",license:"MIT",homepage:"https://github.com/imba97/initx#readme",repository:{type:"git",url:"git+ssh://git@github.com/imba97/initx"},bugs:{url:"https://github.com/imba97/initx/issues"},keywords:["initx"],main:"dist/index.mjs",module:"dist/index.mjs",types:"dist/index.d.ts",bin:"bin/initx.mjs",files:["dist"],scripts:{stub:"unbuild --stub",build:"unbuild"},dependencies:{"@initx-plugin/git":"workspace:*",cac:"^6.7.14",execa:"^9.4.1"},devDependencies:{"@initx-plugin/types":"workspace:*"}};
5
5
 
6
6
  function getDefaultExportFromCjs (x) {
7
7
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "initx",
3
3
  "type": "module",
4
- "version": "0.0.2",
5
- "packageManager": "pnpm@9.12.2",
4
+ "version": "0.0.4",
6
5
  "description": "More convenient initialization tool",
7
6
  "author": "imba97",
8
7
  "license": "MIT",
@@ -24,16 +23,16 @@
24
23
  "files": [
25
24
  "dist"
26
25
  ],
27
- "scripts": {
28
- "stub": "unbuild --stub",
29
- "build": "unbuild"
30
- },
31
26
  "dependencies": {
32
- "@initx-plugin/git": "workspace:*",
33
27
  "cac": "^6.7.14",
34
- "execa": "^9.4.1"
28
+ "execa": "^9.4.1",
29
+ "@initx-plugin/git": "0.0.4"
35
30
  },
36
31
  "devDependencies": {
37
- "@initx-plugin/types": "workspace:*"
32
+ "@initx-plugin/types": "0.0.4"
33
+ },
34
+ "scripts": {
35
+ "stub": "unbuild --stub",
36
+ "build": "unbuild"
38
37
  }
39
- }
38
+ }