@linktr.ee/create-link-app 0.3.0-next.37 → 0.3.0-next.39

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
@@ -157,7 +157,7 @@ DESCRIPTION
157
157
  Display help for create-link-app.
158
158
  ```
159
159
 
160
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.9/src/commands/help.ts)_
160
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.13/src/commands/help.ts)_
161
161
 
162
162
  ## `create-link-app login`
163
163
 
@@ -26,7 +26,6 @@ class Build extends base_1.default {
26
26
  });
27
27
  }
28
28
  }
29
- exports.default = Build;
30
29
  Build.description = 'Build Link App project to static assets used for production';
31
30
  Build.flags = {
32
31
  'allow-any-origin': core_1.Flags.boolean({
@@ -34,3 +33,4 @@ Build.flags = {
34
33
  hidden: true,
35
34
  }),
36
35
  };
36
+ exports.default = Build;
@@ -25,7 +25,6 @@ class Create extends base_1.default {
25
25
  this.log(` ${useYarn ? 'yarn dev' : 'npm run dev'}\n`);
26
26
  }
27
27
  }
28
- exports.default = Create;
29
28
  Create.description = 'Initialize a new Link App project';
30
29
  Create.examples = [
31
30
  '$ create-link-app create my-link-app',
@@ -51,3 +50,4 @@ Create.flags = {
51
50
  description: 'Path to create the project in',
52
51
  }),
53
52
  };
53
+ exports.default = Create;
@@ -35,7 +35,6 @@ class Deploy extends base_1.default {
35
35
  }
36
36
  }
37
37
  }
38
- exports.default = Deploy;
39
38
  Deploy.description = 'Deploy your Link App and test it on Linktr.ee';
40
39
  Deploy.flags = {
41
40
  path: core_1.Flags.string({
@@ -58,3 +57,4 @@ Deploy.flags = {
58
57
  hidden: true,
59
58
  }),
60
59
  };
60
+ exports.default = Deploy;
@@ -23,7 +23,6 @@ class Dev extends base_1.default {
23
23
  await devServer.start();
24
24
  }
25
25
  }
26
- exports.default = Dev;
27
26
  Dev.description = 'Start development server for Link App project';
28
27
  Dev.examples = ['$ create-link-app dev', '$ create-link-app dev --port 8000', '$ create-link-app dev --https'];
29
28
  Dev.flags = {
@@ -36,3 +35,4 @@ Dev.flags = {
36
35
  description: 'Use HTTPS for development server',
37
36
  }),
38
37
  };
38
+ exports.default = Dev;
@@ -107,5 +107,5 @@ class GenerateTypes extends base_1.default {
107
107
  return;
108
108
  }
109
109
  }
110
- exports.default = GenerateTypes;
111
110
  GenerateTypes.description = 'Generate Typescript types from the schema definitions';
111
+ exports.default = GenerateTypes;
@@ -37,7 +37,6 @@ class GrantAccess extends base_1.default {
37
37
  }
38
38
  }
39
39
  }
40
- exports.default = GrantAccess;
41
40
  GrantAccess.description = 'Grant access to other developers to push updates for your Link App';
42
41
  GrantAccess.examples = ['$ create-link-app grant-access my-link-app friend'];
43
42
  GrantAccess.args = [
@@ -62,3 +61,4 @@ GrantAccess.flags = {
62
61
  hidden: true,
63
62
  }),
64
63
  };
64
+ exports.default = GrantAccess;
@@ -30,7 +30,6 @@ class Login extends base_1.default {
30
30
  }
31
31
  }
32
32
  }
33
- exports.default = Login;
34
33
  Login.description = 'Login using your Linktree credentials to deploy Link Apps';
35
34
  Login.flags = {
36
35
  qa: core_1.Flags.boolean({
@@ -38,3 +37,4 @@ Login.flags = {
38
37
  hidden: true,
39
38
  }),
40
39
  };
40
+ exports.default = Login;
@@ -20,7 +20,6 @@ class Logout extends base_1.default {
20
20
  this.log(`If browser did not open automatically, please go to the following link to logout from the browser: ${url}`);
21
21
  }
22
22
  }
23
- exports.default = Logout;
24
23
  Logout.description = 'Logout and clear browser session';
25
24
  Logout.flags = {
26
25
  qa: core_1.Flags.boolean({
@@ -28,3 +27,4 @@ Logout.flags = {
28
27
  hidden: true,
29
28
  }),
30
29
  };
30
+ exports.default = Logout;
@@ -17,7 +17,6 @@ class Storybook extends base_1.default {
17
17
  });
18
18
  }
19
19
  }
20
- exports.default = Storybook;
21
20
  Storybook.description = 'Start the Storybook development server';
22
21
  Storybook.flags = {
23
22
  port: core_1.Flags.integer({
@@ -26,3 +25,4 @@ Storybook.flags = {
26
25
  default: 6006,
27
26
  }),
28
27
  };
28
+ exports.default = Storybook;
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parameters = void 0;
6
+ exports.decorators = exports.parameters = void 0;
7
+ const react_1 = __importDefault(require("react"));
4
8
  require("./global.css");
5
9
  exports.parameters = {
6
10
  actions: { argTypesRegex: '^on[A-Z].*' },
@@ -11,3 +15,7 @@ exports.parameters = {
11
15
  },
12
16
  },
13
17
  };
18
+ const WrapperDecorator = (storyFn) => (react_1.default.createElement("div", { style: {
19
+ display: 'contents',
20
+ }, "data-link-type-id": __LINK_TYPE_SLUG__ }, storyFn()));
21
+ exports.decorators = [WrapperDecorator];
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.0-next.37",
2
+ "version": "0.3.0-next.39",
3
3
  "commands": {
4
4
  "build": {
5
5
  "id": "build",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linktr.ee/create-link-app",
3
- "version": "0.3.0-next.37",
3
+ "version": "0.3.0-next.39",
4
4
  "description": "Create a Link App on Linktr.ee.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Linktree",
@@ -82,6 +82,9 @@
82
82
  "webpack": "^5.75.0",
83
83
  "webpack-dev-server": "^4.11.1"
84
84
  },
85
+ "resolutions": {
86
+ "react-native/react": "^17.0.2"
87
+ },
85
88
  "devDependencies": {
86
89
  "@oclif/test": "^2.1.0",
87
90
  "@types/archiver": "^5.3.1",