@sbc-connect/nuxt-pay 0.1.0 → 0.1.1

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/.env.example ADDED
@@ -0,0 +1 @@
1
+ NUXT_BASE_URL="http://localhost:3000/"
package/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ # @sbc-connect/nuxt-pay
2
+
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3](https://github.com/bcgov/connect-nuxt/pull/3) [`401b62a`](https://github.com/bcgov/connect-nuxt/commit/401b62a465c338cb745c14db645797ffaac1ddab) Thanks [@kialj876](https://github.com/kialj876)! - Layer updates
8
+
9
+ - Updated dependencies [[`401b62a`](https://github.com/bcgov/connect-nuxt/commit/401b62a465c338cb745c14db645797ffaac1ddab)]:
10
+ - @sbc-connect/nuxt-auth@0.1.1
@@ -0,0 +1,2 @@
1
+ @import "#auth/app/assets/css/tw-auth.css";
2
+ @source "../../../app/";
@@ -0,0 +1,9 @@
1
+ <template>
2
+ <div class="bg-midnightBlue-300 p-5 mt-5">
3
+ Pay - should have bg-midnightBlue-300
4
+ <HelloWorldAuth />
5
+ <p class="text-bcGovColor-activeBlue">
6
+ Pay - Should be bcGovColor-activeBlue
7
+ </p>
8
+ </div>
9
+ </template>
@@ -0,0 +1,3 @@
1
+ import eslintConfig from '@sbc-connect/eslint-config'
2
+
3
+ export default eslintConfig
package/nuxt.config.ts CHANGED
@@ -1,4 +1,8 @@
1
1
  // https://nuxt.com/docs/api/configuration/nuxt-config
2
+ import { createResolver } from 'nuxt/kit'
3
+
4
+ const { resolve } = createResolver(import.meta.url)
5
+
2
6
  export default defineNuxtConfig({
3
7
  ssr: false,
4
8
 
@@ -6,5 +10,11 @@ export default defineNuxtConfig({
6
10
 
7
11
  compatibilityDate: '2025-06-10',
8
12
 
9
- extends: ['@sbc-connect/nuxt-auth']
13
+ extends: ['@sbc-connect/nuxt-auth'],
14
+
15
+ alias: {
16
+ '#pay': resolve('./')
17
+ },
18
+
19
+ css: [resolve('./app/assets/css/tw-pay.css')]
10
20
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sbc-connect/nuxt-pay",
3
3
  "type": "module",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "repository": "github:bcgov/connect-nuxt",
6
6
  "main": "./nuxt.config.ts",
7
7
  "devDependencies": {
@@ -18,19 +18,30 @@
18
18
  "happy-dom": "^17.6.3",
19
19
  "otpauth": "^9.4.0",
20
20
  "@testing-library/vue": "^8.1.0",
21
- "@vue/test-utils": "^2.4.6"
21
+ "@vue/test-utils": "^2.4.6",
22
+ "dotenv": "^17.2.0",
23
+ "vue-tsc": "^3.0.2",
24
+ "@nuxt/eslint-config": "^1.6.0",
25
+ "eslint": "^9.31.0",
26
+ "@sbc-connect/eslint-config": "0.0.2",
27
+ "@sbc-connect/playwright-config": "0.0.2",
28
+ "@sbc-connect/vitest-config": "0.0.2"
22
29
  },
23
30
  "dependencies": {
24
- "@sbc-connect/nuxt-auth": "0.1.0"
31
+ "@sbc-connect/nuxt-auth": "0.1.1"
25
32
  },
26
33
  "scripts": {
27
34
  "preinstall": "npx only-allow pnpm",
28
35
  "dev": "nuxi dev .playground",
29
- "dev:prepare": "nuxt prepare .playground",
30
36
  "build": "nuxt build .playground",
37
+ "build:test": "pnpm generate && npx serve .playground/.output/public",
31
38
  "generate": "nuxt generate .playground",
32
- "preview": "nuxt preview .playground",
39
+ "preview": "npx serve .playground/.output/public",
33
40
  "lint": "eslint .",
34
- "lint:fix": "eslint --fix ."
41
+ "lint:fix": "eslint --fix .",
42
+ "test": "pnpm run test:unit; pnpm run test:e2e",
43
+ "test:unit": "vitest run",
44
+ "test:e2e": "npx playwright test",
45
+ "typecheck": "npx nuxt typecheck"
35
46
  }
36
47
  }
@@ -0,0 +1,3 @@
1
+ import playwrightConfig from '@sbc-connect/playwright-config'
2
+
3
+ export default playwrightConfig
package/app/app.config.ts DELETED
@@ -1,10 +0,0 @@
1
- export default defineAppConfig({})
2
-
3
- declare module '@nuxt/schema' {
4
- interface AppConfigInput {
5
- // myLayer?: {
6
- // /** Project name */
7
- // name?: string
8
- // }
9
- }
10
- }