@automattic/launchpad 1.2.2 → 1.2.3
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/CHANGELOG.md +4 -1
- package/dist/cjs/setup-actions.js +1 -4
- package/dist/cjs/setup-actions.js.map +1 -1
- package/dist/esm/setup-actions.js +1 -4
- package/dist/esm/setup-actions.js.map +1 -1
- package/dist/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/setup-actions.d.ts.map +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +20 -20
- package/src/setup-actions.ts +1 -4
- package/src/style-imports.d.ts +3 -0
- package/src/types.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-actions.d.ts","sourceRoot":"","sources":["../../src/setup-actions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"setup-actions.d.ts","sourceRoot":"","sources":["../../src/setup-actions.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,yBAAyB,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAe/D,eAAO,MAAM,oBAAoB,GAAK,0EAOnC,yBAAyB,KAAI,IAAI,EAoJnC,CAAC"}
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,aAAa;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,IAAI;IACpB,EAAE,EAAE,MAAM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AE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IACjC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,sBAAsB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,gBAAgB;IAChC,uBAAuB,CAAC,EAAE,CAAE,MAAM,EAAE,OAAO,KAAM,IAAI,CAAC;CACtD;AAED,MAAM,MAAM,aAAa,GAAG;IAC3B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,IAAI,GAAG,OAAO,CAAC;CAC/C,CAAC;AAEF,MAAM,WAAW,yBAAyB;IACzC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,UAAU,EAAE,mBAAmB,CAAC;IAChC,YAAY,EAAE,gBAAgB,CAAC;IAC/B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;CAC9B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/launchpad",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Launchpad components.",
|
|
5
5
|
"homepage": "https://github.com/Automattic/wp-calypso",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@automattic/calypso-analytics": "^1.1.5",
|
|
42
42
|
"@automattic/calypso-config": "^1.0.0-alpha.0",
|
|
43
|
-
"@automattic/components": "^3.0.
|
|
44
|
-
"@automattic/data-stores": "^3.2.
|
|
45
|
-
"@automattic/i18n-utils": "^1.2.
|
|
43
|
+
"@automattic/components": "^3.0.4",
|
|
44
|
+
"@automattic/data-stores": "^3.2.1",
|
|
45
|
+
"@automattic/i18n-utils": "^1.2.4",
|
|
46
46
|
"@automattic/typography": "^1.0.0",
|
|
47
|
-
"@automattic/viewport": "^1.1.
|
|
47
|
+
"@automattic/viewport": "^1.1.1",
|
|
48
48
|
"@tanstack/react-query": "^5.83.0",
|
|
49
|
-
"@wordpress/base-styles": "^
|
|
50
|
-
"@wordpress/components": "^
|
|
51
|
-
"@wordpress/icons": "^
|
|
52
|
-
"@wordpress/url": "^4.
|
|
49
|
+
"@wordpress/base-styles": "^9.1.0",
|
|
50
|
+
"@wordpress/components": "^35.0.0",
|
|
51
|
+
"@wordpress/icons": "^13.3.0",
|
|
52
|
+
"@wordpress/url": "^4.48.0",
|
|
53
53
|
"clsx": "^2.1.1",
|
|
54
54
|
"social-logos": "^3.1.18",
|
|
55
55
|
"tslib": "^2.8.1",
|
|
@@ -57,25 +57,25 @@
|
|
|
57
57
|
"wpcom-proxy-request": "^7.0.7"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@automattic/calypso-build": "^
|
|
61
|
-
"@automattic/calypso-storybook": "^1.0.
|
|
60
|
+
"@automattic/calypso-build": "^11.0.0",
|
|
61
|
+
"@automattic/calypso-storybook": "^1.0.1",
|
|
62
62
|
"@automattic/calypso-typescript-config": "^1.0.0",
|
|
63
|
-
"@storybook/addon-a11y": "^
|
|
63
|
+
"@storybook/addon-a11y": "^9.1.20",
|
|
64
64
|
"msw": "^2.1.7",
|
|
65
|
-
"msw-storybook-addon": "2.0.
|
|
65
|
+
"msw-storybook-addon": "2.0.7",
|
|
66
66
|
"postcss": "^8.5.3",
|
|
67
67
|
"react": "^18.3.1",
|
|
68
68
|
"react-dom": "^18.3.1",
|
|
69
|
-
"storybook": "^
|
|
70
|
-
"typescript": "^
|
|
69
|
+
"storybook": "^9.1.20",
|
|
70
|
+
"typescript": "^6.0.3",
|
|
71
71
|
"webpack": "^5.99.8"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@wordpress/data": "^10.
|
|
75
|
-
"@wordpress/element": "^
|
|
76
|
-
"@wordpress/i18n": "^
|
|
74
|
+
"@wordpress/data": "^10.48.0",
|
|
75
|
+
"@wordpress/element": "^8.0.0",
|
|
76
|
+
"@wordpress/i18n": "^6.21.0",
|
|
77
77
|
"debug": "^4.4.1",
|
|
78
|
-
"react": "^18.3.1",
|
|
79
|
-
"react-dom": "^18.3.1"
|
|
78
|
+
"react": "^18.3.1 || ^19.0.0",
|
|
79
|
+
"react-dom": "^18.3.1 || ^19.0.0"
|
|
80
80
|
}
|
|
81
81
|
}
|
package/src/setup-actions.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import config from '@automattic/calypso-config';
|
|
2
1
|
import { updateLaunchpadSettings } from '@automattic/data-stores';
|
|
3
2
|
import { localizeUrl } from '@automattic/i18n-utils';
|
|
4
3
|
import { isMobile } from '@automattic/viewport';
|
|
@@ -100,9 +99,7 @@ export const setUpActionsForTasks = ( {
|
|
|
100
99
|
|
|
101
100
|
case 'customize_welcome_message':
|
|
102
101
|
logMissingCalypsoPath = true;
|
|
103
|
-
task.calypso_path =
|
|
104
|
-
? `/settings/newsletter/${ siteSlug }#messages`
|
|
105
|
-
: `/settings/reading/${ siteSlug }#newsletter-settings`;
|
|
102
|
+
task.calypso_path = `https://${ siteSlug }/wp-admin/admin.php?page=jetpack-newsletter`;
|
|
106
103
|
break;
|
|
107
104
|
|
|
108
105
|
case 'manage_subscribers':
|
package/src/types.ts
CHANGED