@linktr.ee/create-link-app 1.3.0 → 1.4.0
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/README.md
CHANGED
|
@@ -2,18 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
CLI tool to create [Link Apps](https://linktr.ee/marketplace) on [Linktr.ee](https://linktr.ee).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[Public document](https://docs.linktr.ee/sdk-documentation)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Getting Started
|
|
8
8
|
|
|
9
|
+
(Optional) Install create-link-app globally
|
|
9
10
|
```sh
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
yarn global add @linktr.ee/create-link-app
|
|
12
|
+
# or
|
|
13
|
+
npm install -g @linktr.ee/create-link-app
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
which create-link-app
|
|
16
|
+
|
|
17
|
+
create-link-app --help
|
|
18
|
+
```
|
|
14
19
|
|
|
20
|
+
Or run with npx
|
|
15
21
|
```sh
|
|
16
|
-
|
|
22
|
+
npx @linktr.ee/create-link-app --help
|
|
17
23
|
```
|
|
18
24
|
|
|
19
25
|
## Commands
|
package/dist/commands/create.js
CHANGED
|
@@ -22,8 +22,8 @@ class Create extends base_1.default {
|
|
|
22
22
|
const relativeProjectPath = path_1.default.relative(process.cwd(), targetDir);
|
|
23
23
|
this.log('✅ Project created, to get started:\n');
|
|
24
24
|
this.log(` cd ${relativeProjectPath}`);
|
|
25
|
-
this.log(`
|
|
26
|
-
this.log(`
|
|
25
|
+
this.log(` yarn install | npm install`);
|
|
26
|
+
this.log(` yarn dev | npm run dev\n`);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
exports.default = Create;
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
"private": true,
|
|
3
3
|
"scripts": {
|
|
4
4
|
"build": "create-link-app build",
|
|
5
|
-
"
|
|
5
|
+
"login": "create-link-app login",
|
|
6
|
+
"logout": "create-link-app logout",
|
|
7
|
+
"upload": "create-link-app deploy",
|
|
8
|
+
"update": "create-link-app deploy --update",
|
|
6
9
|
"storybook": "create-link-app storybook",
|
|
7
10
|
"dev": "create-link-app dev",
|
|
8
|
-
"
|
|
11
|
+
"prepack": "create-link-app build --native"
|
|
9
12
|
},
|
|
10
13
|
"devDependencies": {
|
|
11
|
-
"@linktr.ee/create-link-app": "
|
|
14
|
+
"@linktr.ee/create-link-app": "latest",
|
|
12
15
|
"@linktr.ee/ui-link-kit": "latest"
|
|
13
16
|
}
|
|
14
17
|
}
|
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
"private": true,
|
|
3
3
|
"scripts": {
|
|
4
4
|
"build": "create-link-app build",
|
|
5
|
-
"
|
|
5
|
+
"login": "create-link-app login",
|
|
6
|
+
"logout": "create-link-app logout",
|
|
7
|
+
"upload": "create-link-app deploy",
|
|
8
|
+
"update": "create-link-app deploy --update",
|
|
6
9
|
"storybook": "create-link-app storybook",
|
|
7
10
|
"dev": "create-link-app dev",
|
|
8
11
|
"prepack": "create-link-app build --native"
|