@shwfed/nuxt 0.7.6 → 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 +4 -6
- 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';
|
|
@@ -15,7 +14,8 @@ const module$1 = defineNuxtModule({
|
|
|
15
14
|
version: "^0.14.0",
|
|
16
15
|
defaults: {
|
|
17
16
|
providers: {
|
|
18
|
-
google: false
|
|
17
|
+
google: false,
|
|
18
|
+
googleicons: false
|
|
19
19
|
},
|
|
20
20
|
families: [
|
|
21
21
|
{ name: "Noto Sans", provider: "bunny" },
|
|
@@ -83,8 +83,7 @@ const module$1 = defineNuxtModule({
|
|
|
83
83
|
const secret = "SEC9d85269f2b09e9eb652d32af42ff7e84193f0ca5d5669ba16378a388881aed9c";
|
|
84
84
|
const timestamp = String(Date.now());
|
|
85
85
|
const sign = encodeURIComponent(
|
|
86
|
-
|
|
87
|
-
${secret}`).digest("base64")
|
|
86
|
+
execSync(`printf '%s\\n%s' '${timestamp}' '${secret}' | openssl dgst -sha256 -hmac '${secret}' -binary | base64`).toString().trim()
|
|
88
87
|
);
|
|
89
88
|
const jobName = process.env.JOB_NAME ?? "";
|
|
90
89
|
const buildNumber = process.env.BUILD_NUMBER ?? "";
|
|
@@ -133,8 +132,7 @@ ${secret}`).digest("base64")
|
|
|
133
132
|
}
|
|
134
133
|
const timestamp = String(Date.now());
|
|
135
134
|
const sign = encodeURIComponent(
|
|
136
|
-
|
|
137
|
-
${secret}`).digest("base64")
|
|
135
|
+
execSync(`printf '%s\\n%s' '${timestamp}' '${secret}' | openssl dgst -sha256 -hmac '${secret}' -binary | base64`).toString().trim()
|
|
138
136
|
);
|
|
139
137
|
const jobName = process.env.JOB_NAME ?? "";
|
|
140
138
|
const buildNumber = process.env.BUILD_NUMBER ?? "";
|