@linktr.ee/create-link-app 0.2.1 → 0.2.2

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
@@ -24,7 +24,7 @@ yarn create @linktr.ee/create-link-app my-link-app
24
24
  * [`create-link-app deploy`](#create-link-app-deploy)
25
25
  * [`create-link-app dev`](#create-link-app-dev)
26
26
  * [`create-link-app grant-access LINK_APP_ID USERNAME`](#create-link-app-grant-access-link_app_id-username)
27
- * [`create-link-app help [COMMANDS]`](#create-link-app-help-commands)
27
+ * [`create-link-app help [COMMAND]`](#create-link-app-help-command)
28
28
  * [`create-link-app login`](#create-link-app-login)
29
29
  * [`create-link-app logout`](#create-link-app-logout)
30
30
 
@@ -125,16 +125,16 @@ EXAMPLES
125
125
  $ create-link-app grant-access my-link-app friend
126
126
  ```
127
127
 
128
- ## `create-link-app help [COMMANDS]`
128
+ ## `create-link-app help [COMMAND]`
129
129
 
130
130
  Display help for create-link-app.
131
131
 
132
132
  ```
133
133
  USAGE
134
- $ create-link-app help [COMMANDS] [-n]
134
+ $ create-link-app help [COMMAND] [-n]
135
135
 
136
136
  ARGUMENTS
137
- COMMANDS Command to show help for.
137
+ COMMAND Command to show help for.
138
138
 
139
139
  FLAGS
140
140
  -n, --nested-commands Include all nested commands in the output.
@@ -143,7 +143,7 @@ DESCRIPTION
143
143
  Display help for create-link-app.
144
144
  ```
145
145
 
146
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.9/src/commands/help.ts)_
146
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.23/src/commands/help.ts)_
147
147
 
148
148
  ## `create-link-app login`
149
149
 
@@ -12,11 +12,6 @@ const RequiredAssets = [
12
12
  fileName: 'manifest.json',
13
13
  contentType: 'application/json',
14
14
  },
15
- {
16
- key: 'settings',
17
- fileName: 'settings.json',
18
- contentType: 'application/json',
19
- },
20
15
  {
21
16
  key: 'package',
22
17
  fileName: 'package.tgz',
@@ -29,6 +24,11 @@ const OptionalAssets = [
29
24
  fileName: 'icon.svg',
30
25
  contentType: 'image/svg+xml',
31
26
  },
27
+ {
28
+ key: 'settings',
29
+ fileName: 'settings.json',
30
+ contentType: 'application/json',
31
+ },
32
32
  {
33
33
  key: 'url_match_rules',
34
34
  fileName: 'url_match_rules.json',
@@ -31,9 +31,9 @@ async function packProject() {
31
31
  });
32
32
  archive.on('warning', (err) => {
33
33
  if (err.code === 'ENOENT') {
34
- // lock files and tsconfig may or may not exist
34
+ // package, lock files and tsconfig may or may not exist
35
35
  const fileName = path_1.default.basename(err.path);
36
- if (fileName === 'package-lock.json' || fileName === 'yarn.lock' || fileName === 'tsconfig.json') {
36
+ if (fileName === 'package.json' || fileName === 'package-lock.json' || fileName === 'yarn.lock' || fileName === 'tsconfig.json') {
37
37
  return;
38
38
  }
39
39
  }
@@ -22,9 +22,7 @@ function default_1(env, options) {
22
22
  output: {
23
23
  publicPath: '',
24
24
  path: path_1.default.resolve(appDir, 'dist'),
25
- assetModuleFilename: 'images/[hash].[contenthash][ext][query]',
26
- chunkFilename: '[id].[contenthash].js',
27
- filename: '[name].[contenthash].js',
25
+ assetModuleFilename: 'images/[hash][ext][query]',
28
26
  },
29
27
  module: {
30
28
  rules: [
@@ -43,7 +41,7 @@ function default_1(env, options) {
43
41
  },
44
42
  {
45
43
  test: /\.(png|jpe?g|gif|svg)$/i,
46
- type: 'asset/inline', // <-- this builds all images into data URLs, is that what you want?
44
+ type: 'asset/inline',
47
45
  },
48
46
  ],
49
47
  },
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.1",
2
+ "version": "0.2.2",
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.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Create a Link App on Linktr.ee.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Linktree",