@shwfed/nuxt 0.7.5 → 0.7.7
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/module.json +1 -1
- package/dist/module.mjs +6 -5
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { execSync } from 'node:child_process';
|
|
2
|
-
import { createHmac } from 'node:crypto';
|
|
3
2
|
import { defineNuxtModule, createResolver, addVitePlugin, addPlugin, addImportsDir, addComponentsDir, addRouteMiddleware } from '@nuxt/kit';
|
|
4
3
|
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite';
|
|
5
4
|
import TailwindCSS from '@tailwindcss/vite';
|
|
@@ -14,6 +13,10 @@ const module$1 = defineNuxtModule({
|
|
|
14
13
|
"@nuxt/fonts": {
|
|
15
14
|
version: "^0.14.0",
|
|
16
15
|
defaults: {
|
|
16
|
+
providers: {
|
|
17
|
+
google: false,
|
|
18
|
+
googleicons: false
|
|
19
|
+
},
|
|
17
20
|
families: [
|
|
18
21
|
{ name: "Noto Sans", provider: "bunny" },
|
|
19
22
|
{ name: "Noto Sans SC", provider: "bunny" },
|
|
@@ -80,8 +83,7 @@ const module$1 = defineNuxtModule({
|
|
|
80
83
|
const secret = "SEC9d85269f2b09e9eb652d32af42ff7e84193f0ca5d5669ba16378a388881aed9c";
|
|
81
84
|
const timestamp = String(Date.now());
|
|
82
85
|
const sign = encodeURIComponent(
|
|
83
|
-
|
|
84
|
-
${secret}`).digest("base64")
|
|
86
|
+
execSync(`printf '%s\\n%s' '${timestamp}' '${secret}' | openssl dgst -sha256 -hmac '${secret}' -binary | base64`).toString().trim()
|
|
85
87
|
);
|
|
86
88
|
const jobName = process.env.JOB_NAME ?? "";
|
|
87
89
|
const buildNumber = process.env.BUILD_NUMBER ?? "";
|
|
@@ -130,8 +132,7 @@ ${secret}`).digest("base64")
|
|
|
130
132
|
}
|
|
131
133
|
const timestamp = String(Date.now());
|
|
132
134
|
const sign = encodeURIComponent(
|
|
133
|
-
|
|
134
|
-
${secret}`).digest("base64")
|
|
135
|
+
execSync(`printf '%s\\n%s' '${timestamp}' '${secret}' | openssl dgst -sha256 -hmac '${secret}' -binary | base64`).toString().trim()
|
|
135
136
|
);
|
|
136
137
|
const jobName = process.env.JOB_NAME ?? "";
|
|
137
138
|
const buildNumber = process.env.BUILD_NUMBER ?? "";
|