create-bdpa-react-scaffold 2.0.7 → 2.1.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/BDPA_edited.avif +0 -0
- package/create-ui-lib.js +8 -1
- package/package.json +2 -2
- package/BDPA_edited.png +0 -0
package/BDPA_edited.avif
ADDED
|
Binary file
|
package/create-ui-lib.js
CHANGED
|
@@ -253,6 +253,8 @@ write(".vscode/settings.json", `
|
|
|
253
253
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
254
254
|
"editor.formatOnSave": true,
|
|
255
255
|
"editor.quickSuggestions": {
|
|
256
|
+
"other": "on",
|
|
257
|
+
"comments": "off",
|
|
256
258
|
"strings": "on"
|
|
257
259
|
},
|
|
258
260
|
"editor.inlineSuggest.enabled": true,
|
|
@@ -1716,7 +1718,12 @@ export class ApiClient {
|
|
|
1716
1718
|
}
|
|
1717
1719
|
}
|
|
1718
1720
|
|
|
1719
|
-
|
|
1721
|
+
const apiClient = new ApiClient(import.meta.env.VITE_API_BASE_URL || "");
|
|
1722
|
+
apiClient.instance.interceptors.request.use((config) => {
|
|
1723
|
+
config.params = { ...config.params, api_key: import.meta.env.VITE_API_MOVIEDB_TOKEN };
|
|
1724
|
+
return config;
|
|
1725
|
+
});
|
|
1726
|
+
export default apiClient;
|
|
1720
1727
|
`);
|
|
1721
1728
|
|
|
1722
1729
|
// -------------------------------
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-bdpa-react-scaffold",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Scaffold a React + Tailwind + shadcn/ui component demo via Vite.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-bdpa-react-scaffold": "create-ui-lib.js"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"files": [
|
|
9
9
|
"create-ui-lib.js",
|
|
10
10
|
"README.md",
|
|
11
|
-
"BDPA_edited.
|
|
11
|
+
"BDPA_edited.avif"
|
|
12
12
|
],
|
|
13
13
|
"keywords": [
|
|
14
14
|
"create",
|
package/BDPA_edited.png
DELETED
|
Binary file
|