Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
chore: updated commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowko committed Dec 12, 2023
1 parent 655fba1 commit 7796680
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 42 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ jobs:
- name: Lint
run: nr lint

- name: Prepare
run: nr dev:prepare

- name: Build
run: nr build

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ jobs:
- name: Lint
run: nr lint

- name: Prepare
run: nr dev:prepare

- name: Build
run: nr build

Expand Down
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,19 @@
"dist"
],
"scripts": {
"build": "nuxt-module-build build",
"stub": "nuxt-build-module build --stub",
"build": "pnpm dev:prepare && pnpm build:module && pnpm build:client",
"build:module": "nuxt-module-build build",
"build:client": "nuxi generate client",
"prepack": "pnpm build",
"dev": "nuxi dev playground",
"dev:client": "nuxi dev client",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && nuxi prepare client",
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
"dev:prepare": "pnpm stub && nuxt-module-build prepare && nuxi prepare playground && nuxi prepare client",
"lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest watch"
"test:watch": "vitest watch",
"release": "bumpp"
},
"dependencies": {
"@nuxt/kit": "^3.8.2",
Expand All @@ -57,8 +60,8 @@
"@nuxt/schema": "^3.8.2",
"@nuxt/test-utils": "^3.8.1",
"@types/node": "^20.10.3",
"changelogen": "^0.5.5",
"eslint": "^8.55.0",
"bumpp": "^9.2.1",
"jiti": "^1.21.0",
"nuxt": "^3.8.2",
"vitest": "^1.0.4"
Expand Down
67 changes: 37 additions & 30 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export default defineNuxtModule<ModuleOptions>({

nuxt.options.runtimeConfig.public.vueEmail = defu(nuxt.options.runtimeConfig.public.vueEmail, options)


// if (!nuxt.options.build.transpile) nuxt.options.build.transpile = []
// const transpileList = ['vue-email']
// transpileList.forEach((pkgName) => {
Expand Down

0 comments on commit 7796680

Please sign in to comment.