@linktr.ee/create-link-app 0.3.0-next.44 → 0.3.0-next.47

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
@@ -25,7 +25,7 @@ yarn create @linktr.ee/create-link-app my-link-app
25
25
  * [`create-link-app dev`](#create-link-app-dev)
26
26
  * [`create-link-app generate-types`](#create-link-app-generate-types)
27
27
  * [`create-link-app grant-access LINK_APP_ID USERNAME`](#create-link-app-grant-access-link_app_id-username)
28
- * [`create-link-app help [COMMAND]`](#create-link-app-help-command)
28
+ * [`create-link-app help [COMMANDS]`](#create-link-app-help-commands)
29
29
  * [`create-link-app login`](#create-link-app-login)
30
30
  * [`create-link-app logout`](#create-link-app-logout)
31
31
  * [`create-link-app storybook`](#create-link-app-storybook)
@@ -142,16 +142,16 @@ EXAMPLES
142
142
  $ create-link-app grant-access my-link-app friend
143
143
  ```
144
144
 
145
- ## `create-link-app help [COMMAND]`
145
+ ## `create-link-app help [COMMANDS]`
146
146
 
147
147
  Display help for create-link-app.
148
148
 
149
149
  ```
150
150
  USAGE
151
- $ create-link-app help [COMMAND] [-n]
151
+ $ create-link-app help [COMMANDS] [-n]
152
152
 
153
153
  ARGUMENTS
154
- COMMAND Command to show help for.
154
+ COMMANDS Command to show help for.
155
155
 
156
156
  FLAGS
157
157
  -n, --nested-commands Include all nested commands in the output.
@@ -160,7 +160,7 @@ DESCRIPTION
160
160
  Display help for create-link-app.
161
161
  ```
162
162
 
163
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.23/src/commands/help.ts)_
163
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.13/src/commands/help.ts)_
164
164
 
165
165
  ## `create-link-app login`
166
166
 
@@ -34,6 +34,11 @@ const OptionalAssets = [
34
34
  fileName: 'url_match_rules.json',
35
35
  contentType: 'application/json',
36
36
  },
37
+ {
38
+ key: 'urlRules',
39
+ fileName: 'urlRules.json',
40
+ contentType: 'application/json',
41
+ },
37
42
  ];
38
43
  /**
39
44
  * Create a readable multipart/form-data stream which includes the Link App asset files.
@@ -47,6 +47,15 @@ const config = {
47
47
  __LINK_TYPE_SLUG__: JSON.stringify(linkTypeSlug),
48
48
  }));
49
49
  }
50
+ config.module?.rules?.push({
51
+ test: /\.(ts|tsx)$/,
52
+ use: [
53
+ {
54
+ loader: require.resolve('ts-loader'),
55
+ },
56
+ ],
57
+ });
58
+ config.resolve?.extensions?.push('.ts', '.tsx');
50
59
  return config;
51
60
  },
52
61
  };
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.0-next.44",
2
+ "version": "0.3.0-next.47",
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.44",
3
+ "version": "0.3.0-next.47",
4
4
  "description": "Create a Link App on Linktr.ee.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Linktree",
@@ -79,6 +79,7 @@
79
79
  "style-loader": "^3.3.2",
80
80
  "styled-components": "^5.3.5",
81
81
  "tailwindcss": "^3.3.2",
82
+ "ts-loader": "^9.4.4",
82
83
  "typescript": "^4.7.3",
83
84
  "webpack": "^5.75.0",
84
85
  "webpack-dev-server": "^4.11.1"