@sbc-connect/nuxt-pay 0.1.0 → 0.1.2

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,19 @@
1
+ # @sbc-connect/nuxt-pay
2
+
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#5](https://github.com/bcgov/connect-nuxt/pull/5) [`2999779`](https://github.com/bcgov/connect-nuxt/commit/29997796bd3908b2c5ba04319b26cbb00bffe0fc) Thanks [@kialj876](https://github.com/kialj876)! - Updated fonts propagation in base, cleaned up dependencies in layers
8
+
9
+ - Updated dependencies [[`2999779`](https://github.com/bcgov/connect-nuxt/commit/29997796bd3908b2c5ba04319b26cbb00bffe0fc)]:
10
+ - @sbc-connect/nuxt-auth@0.1.2
11
+
12
+ ## 0.1.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [#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
17
+
18
+ - Updated dependencies [[`401b62a`](https://github.com/bcgov/connect-nuxt/commit/401b62a465c338cb745c14db645797ffaac1ddab)]:
19
+ - @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,36 +1,37 @@
1
1
  {
2
2
  "name": "@sbc-connect/nuxt-pay",
3
3
  "type": "module",
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "repository": "github:bcgov/connect-nuxt",
6
6
  "main": "./nuxt.config.ts",
7
7
  "devDependencies": {
8
+ "@axe-core/playwright": "^4.10.2",
9
+ "@nuxtjs/i18n": "^9.5.5",
10
+ "@vitest/coverage-v8": "^3.2.3",
11
+ "dotenv": "^17.2.0",
8
12
  "nuxt": "4.0.0",
9
13
  "typescript": "^5.8.3",
10
14
  "vue": "latest",
11
- "@nuxtjs/i18n": "^9.5.5",
12
- "@playwright/test": "^1.52.0",
13
- "@axe-core/playwright": "^4.10.2",
14
- "@faker-js/faker": "^9.8.0",
15
- "@nuxt/test-utils": "^3.19.1",
16
- "vitest": "^3.2.3",
17
- "@vitest/coverage-v8": "^3.2.3",
18
- "happy-dom": "^17.6.3",
19
- "otpauth": "^9.4.0",
20
- "@testing-library/vue": "^8.1.0",
21
- "@vue/test-utils": "^2.4.6"
15
+ "vue-tsc": "^3.0.2",
16
+ "@sbc-connect/eslint-config": "0.0.3",
17
+ "@sbc-connect/playwright-config": "0.0.3",
18
+ "@sbc-connect/vitest-config": "0.0.3"
22
19
  },
23
20
  "dependencies": {
24
- "@sbc-connect/nuxt-auth": "0.1.0"
21
+ "@sbc-connect/nuxt-auth": "0.1.2"
25
22
  },
26
23
  "scripts": {
27
24
  "preinstall": "npx only-allow pnpm",
28
25
  "dev": "nuxi dev .playground",
29
- "dev:prepare": "nuxt prepare .playground",
30
26
  "build": "nuxt build .playground",
27
+ "build:test": "pnpm generate && npx serve .playground/.output/public",
31
28
  "generate": "nuxt generate .playground",
32
- "preview": "nuxt preview .playground",
29
+ "preview": "npx serve .playground/.output/public",
33
30
  "lint": "eslint .",
34
- "lint:fix": "eslint --fix ."
31
+ "lint:fix": "eslint --fix .",
32
+ "test": "pnpm run test:unit; pnpm run test:e2e",
33
+ "test:unit": "vitest run",
34
+ "test:e2e": "npx playwright test",
35
+ "typecheck": "npx nuxt typecheck"
35
36
  }
36
37
  }
@@ -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
- }