Skip to content

Commit ae152b4

Browse files
committed
Upgrade packages and correct social shares
1 parent ccf5408 commit ae152b4

File tree

4 files changed

+2210
-1534
lines changed

4 files changed

+2210
-1534
lines changed

content/1.posts/63.any-terraform-provider-with-pulumi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ By default, this command uses the latest version of the Terraform Provider speci
7373
If the Terraform provider you want to use to generate a Pulumi SDK is on your local file system, you can simply specify the path to the provider.
7474
::
7575

76-
![A terminal window displaying the process of adding the Netlify Terraform provider using the Pulumi package. The command `pulumi package add terraform-provider netlify/netlify` is used, followed by the generation of a Node.js SDK for the Netlify package. Instructions for adding the SDK to a Node.js project with the command `pnpm add netlify@file:sdk\netlify` and importing it in TypeScript code are also provided.](/posts/images/63.any-terraform-provider-with-pulumi_cli_1.png){.rounded-lg .mx-auto}
76+
![A terminal window displaying the process of adding the Netlify Terraform provider using the Pulumi package. The command `pulumi package add terraform-provider netlify/netlify` is used, followed by the generation of a Node.js SDK for the Netlify package. Instructions for adding the SDK to a Node.js project with the command `pnpm add netlify@file:sdk\netlify` and importing it in TypeScript code are also provided.](/posts/images/63.any-terraform-provider-with-pulumi_cli_1.png){.rounded-lg .mx-auto width=1000}
7777

7878
You can see that a `./sdks/netlify` folder has been created that contains the Pulumi TypeScript SDK for the Netlify provider.
7979

80-
![File directory structure displayed in a code editor. The root directory is named "AnyTerraformProvider," containing folders. Inside "sdks/netlify" there are various TypeScript files such as "deployKey.ts," "dnsRecord.ts," "dnsZone.ts," and others.](/posts/images/63.any-terraform-provider-with-pulumi_explorer.png){.rounded-lg .mx-auto}
80+
![File directory structure displayed in a code editor. The root directory is named "AnyTerraformProvider," containing folders. Inside "sdks/netlify" there are various TypeScript files such as "deployKey.ts," "dnsRecord.ts," "dnsZone.ts," and others.](/posts/images/63.any-terraform-provider-with-pulumi_explorer.png){.rounded-lg .mx-auto width=400}
8181

8282
We can then reference the dependency to this local package using the following command:
8383

@@ -162,7 +162,7 @@ new netlify.EnvironmentVariable("nuxtUIKeyEnvVar", {
162162
Because I used the requireSecret method on the config, Pulumi will treat the nuxtUIKey as a secret and encrypt it automatically in the state.
163163

164164
::callout{icon="i-heroicons-light-bulb"}
165-
There is also an option to manually indicate a property of a resource is a secret: I could have added additionalSecretOutputs option set to [“values”] (when declaring the environment variable) to ensure Pulumi encrypts this property on the resource. I don’t need to do it here because Pulumi automatically detect that nuxtUIKey is a secret.
165+
There is also an option to manually indicate a property of a resource is a secret: I could have added the `additionalSecretOutputs` option set to `[“values”]` (when declaring the environment variable) to ensure Pulumi encrypts this property on the resource. I don’t need to do it here because Pulumi automatically detect that `nuxtUIKey` is a secret.
166166
::
167167

168168
![Pulumi stack update summary showing the creation of a Netlify environment variable for the "AnyTerraformProvider-dev" stack. The status indicates that one resource was created and one remained unchanged, with a total duration of 8 seconds.](/posts/images/63.any-terraform-provider-with-pulumi_output_2.png){.rounded-lg .mx-auto}

nuxt.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ export default defineNuxtConfig({
2525
url: 'https://techwatching.dev',
2626
name: 'Alexandre Nédélec\'s personal website'
2727
},
28+
socialShare: {
29+
baseUrl: 'https://techwatching.dev'
30+
},
2831
sitemap: {
2932
sources: [
3033
'/api/__sitemap__/urls'

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,29 @@
1616
"@iconify-json/fluent-emoji-flat": "^1.2.1",
1717
"@iconify-json/heroicons": "^1.2.1",
1818
"@iconify-json/ph": "^1.2.1",
19-
"@iconify-json/simple-icons": "^1.2.9",
19+
"@iconify-json/simple-icons": "^1.2.13",
2020
"@nuxt/content": "^2.13.4",
21-
"@nuxt/fonts": "^0.10.1",
21+
"@nuxt/fonts": "^0.10.2",
2222
"@nuxt/image": "^1.8.1",
2323
"@nuxt/ui-pro": "^1.4.4",
24-
"@nuxtjs/mdc": "^0.9.2",
25-
"@vueuse/nuxt": "^11.1.0",
24+
"@nuxtjs/mdc": "^0.9.5",
25+
"@vueuse/nuxt": "^11.3.0",
2626
"feed": "^4.2.2",
2727
"just-kebab-case": "^4.2.0",
2828
"nuxt-og-image": "^3.0.6",
29-
"posthog-js": "^1.174.3",
30-
"submitjson": "^0.9.0",
29+
"posthog-js": "^1.188.1",
30+
"submitjson": "^0.10.0",
3131
"ufo": "^1.5.4",
3232
"zod": "^3.23.8"
3333
},
3434
"devDependencies": {
3535
"@iconify-json/vscode-icons": "^1.2.2",
3636
"@nuxt/eslint-config": "^0.6.0",
37-
"@nuxthq/studio": "^2.1.1",
38-
"@nuxtjs/seo": "2.0.0-rc.23",
39-
"@stefanobartoletti/nuxt-social-share": "^1.1.5",
37+
"@nuxthq/studio": "^2.2.1",
38+
"@nuxtjs/seo": "2.0.2",
39+
"@stefanobartoletti/nuxt-social-share": "^1.2.0",
4040
"eslint": "^8.57.1",
41-
"nuxt": "^3.13.1",
42-
"vue-tsc": "^2.1.6"
41+
"nuxt": "^3.14.1592",
42+
"vue-tsc": "^2.1.10"
4343
}
4444
}

0 commit comments

Comments
 (0)