@linktr.ee/create-link-app 1.7.17 → 1.8.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/dist/commands/test-url-match-rules.js +2 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
- package/templates/react-ts/postcss.config.js +6 -0
- package/templates/react-ts/src/App.tsx +1 -1
- package/templates/react-ts/src/tailwind.css +1 -1
- package/templates/react-ts/tailwind.config.js +8 -0
|
@@ -37,7 +37,8 @@ class TestUrlMatchRules extends base_1.default {
|
|
|
37
37
|
}
|
|
38
38
|
try {
|
|
39
39
|
const result = await (0, test_url_match_rules_1.default)(linkTypeServiceUrl, url, urlMatchRules, accessToken);
|
|
40
|
-
|
|
40
|
+
const success = result.success;
|
|
41
|
+
this.log(`${success ? '🎉' : '❌'} Test URL Match Rules Result:`);
|
|
41
42
|
this.log(JSON.stringify(result, null, 2));
|
|
42
43
|
}
|
|
43
44
|
catch (error) {
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ import './tailwind.css'
|
|
|
5
5
|
function App(props: AppProps) {
|
|
6
6
|
return (
|
|
7
7
|
<div className="px-6 pt-12 pb-11 h-full">
|
|
8
|
-
<h1>My first link app!</h1>
|
|
8
|
+
<h1 className="text-2xl font-bold">My first link app!</h1>
|
|
9
9
|
<p>Congratulations, you now have a Linktree link!</p>
|
|
10
10
|
<button className="bg-black text-white py-2 px-4 rounded-full my-2" onClick={() => window.open(props.url, '_blank')}>
|
|
11
11
|
Visit your URL
|