Skip to content

Commit

Permalink
make crypto modules shared by base layer
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Nov 30, 2024
1 parent bcca5b5 commit 81c2a93
Show file tree
Hide file tree
Showing 18 changed files with 5 additions and 117 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ import {
defineNuxtModule,
addServerImportsDir,
createResolver
} from '@nuxt/kit'
} from 'nuxt/kit'

export type ModuleOptions = {}

export default defineNuxtModule<ModuleOptions>({
export default defineNuxtModule({
meta: {
name: '@shelve/crypto',
configKey: 'shelveCrypto'
Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions apps/base/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ export default defineNuxtConfig({
modules: [
'@nuxt/image',
'@nuxt/ui',
'nuxt-build-cache',
'@shelve/crypto'
'nuxt-build-cache'
],

compatibilityDate: '2024-11-06',
Expand Down
3 changes: 2 additions & 1 deletion apps/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"devDependencies": {
"nuxt": "3.14.1592",
"typescript": "^5.7.2"
"typescript": "^5.7.2",
"iron-webcrypto": "^1.2.1"
}
}
1 change: 0 additions & 1 deletion apps/lp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"@nuxt/scripts": "0.9.5",
"@nuxt/ui": "3.0.0-alpha.9",
"@nuxtjs/seo": "2.0.0-rc.23",
"@shelve/crypto": "1.2.2",
"nuxt": "3.14.1592",
"nuxt-build-cache": "0.1.1",
"vue": "3.5.13",
Expand Down
1 change: 0 additions & 1 deletion apps/shelve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@nuxt/devtools": "1.6.1",
"@nuxt/image": "1.8.1",
"@nuxt/ui": "3.0.0-alpha.9",
"@shelve/crypto": "1.2.2",
"@shelve/utils": "*",
"drizzle-orm": "0.36.4",
"pg": "8.13.1",
Expand Down
Binary file modified bun.lockb
Binary file not shown.
3 changes: 0 additions & 3 deletions packages/crypto/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion packages/crypto/README.md

This file was deleted.

38 changes: 0 additions & 38 deletions packages/crypto/package.json

This file was deleted.

28 changes: 0 additions & 28 deletions packages/crypto/playground/app.vue

This file was deleted.

5 changes: 0 additions & 5 deletions packages/crypto/playground/nuxt.config.ts

This file was deleted.

13 changes: 0 additions & 13 deletions packages/crypto/playground/package.json

This file was deleted.

11 changes: 0 additions & 11 deletions packages/crypto/playground/server/api/test.post.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/crypto/playground/server/tsconfig.json

This file was deleted.

3 changes: 0 additions & 3 deletions packages/crypto/playground/tsconfig.json

This file was deleted.

3 changes: 0 additions & 3 deletions packages/crypto/tsconfig.json

This file was deleted.

0 comments on commit 81c2a93

Please sign in to comment.