forked from nuxt/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
12,028 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
indent_size = 2 | ||
indent_style = space | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dist | ||
node_modules | ||
_templates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"globals": { | ||
"NodeJS": true | ||
}, | ||
"extends": [ | ||
"@nuxtjs/eslint-config-typescript" | ||
], | ||
"rules": { | ||
"no-console": "off", | ||
"vue/one-component-per-file": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: ci | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
ci: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [14] | ||
|
||
steps: | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: checkout | ||
uses: actions/checkout@master | ||
|
||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
||
- uses: actions/cache@v2 | ||
id: yarn-cache | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: yarn --frozen-lockfile --non-interactive | ||
|
||
- name: Lint | ||
run: yarn lint | ||
|
||
- name: Build | ||
run: yarn build | ||
|
||
# - name: Test | ||
# run: yarn jest | ||
|
||
# - name: Coverage | ||
# uses: codecov/codecov-action@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Dependencies | ||
node_modules | ||
jspm_packages | ||
|
||
# Only keep yarn.lock in the root | ||
package-lock.json | ||
*/**/yarn.lock | ||
|
||
# Logs | ||
*.log | ||
|
||
# Temp directories | ||
.temp | ||
.tmp | ||
.cache | ||
|
||
# Generated dirs | ||
dist | ||
.nuxt* | ||
.output | ||
|
||
# Junit reports | ||
reports | ||
|
||
# Coverage reports | ||
coverage | ||
*.lcov | ||
.nyc_output | ||
|
||
# VSCode | ||
.vscode | ||
|
||
# Intellij idea | ||
*.iml | ||
.idea | ||
|
||
# OSX | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Files that might appear in the root of a volume | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
.com.apple.timemachine.donotpresent | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
CHANGELOG.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Nuxt Monorepo | ||
|
||
## Development | ||
|
||
- Clone repository | ||
- Install dependencies with `yarn install` | ||
- Open playground with `yarn play` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"version": "independent", | ||
"npmClient": "yarn", | ||
"useWorkspaces": true, | ||
"conventionalCommits": true, | ||
"packages": [ | ||
"packages/*" | ||
], | ||
"command": { | ||
"publish": { | ||
"npmClient": "npm" | ||
} | ||
}, | ||
"changelog": { | ||
"labels": { | ||
"feat": "New Feature", | ||
"fix": "Bug Fix", | ||
"docs": "Documentation", | ||
"types": "Types", | ||
"perf": "Performance", | ||
"refactor": "Refactor" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"name": "nuxt-framework", | ||
"private": "true", | ||
"license": "MIT", | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"scripts": { | ||
"link": "lerna link", | ||
"nuxt": "jiti ./scripts/nuxt", | ||
"build": "yarn workspaces run build", | ||
"stub": "yarn workspaces run stub", | ||
"play": "yarn nuxt dev playground", | ||
"lint": "eslint --ext .vue,.ts,.js .", | ||
"test": "yarn lint", | ||
"postinstall": "yarn stub" | ||
}, | ||
"devDependencies": { | ||
"@nuxtjs/eslint-config": "^6.0.0", | ||
"@nuxtjs/eslint-config-typescript": "^6.0.0", | ||
"@rollup/plugin-alias": "^3.1.2", | ||
"@rollup/plugin-commonjs": "^17.1.0", | ||
"@rollup/plugin-node-resolve": "^11.2.0", | ||
"@types/jest": "^26.0.20", | ||
"@types/node": "^14.14.35", | ||
"chalk": "^4.1.0", | ||
"defu": "^3.2.2", | ||
"esbuild": "^0.9.3", | ||
"eslint": "^7.22.0", | ||
"jest": "^26.6.3", | ||
"jiti": "^1.6.4", | ||
"lerna": "^4.0.0", | ||
"mkdist": "^0.1.2", | ||
"pretty-bytes": "^5.6.0", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.41.5", | ||
"rollup-plugin-dts": "^3.0.1", | ||
"rollup-plugin-esbuild": "^3.0.2", | ||
"standard-version": "^9.1.1", | ||
"ts-jest": "^26.5.3", | ||
"typescript": "^4.2.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"name": "@nuxt/nitro", | ||
"version": "0.1.11", | ||
"license": "MIT", | ||
"main": "dist/index.js", | ||
"files": [ | ||
"dist", | ||
"compat.js" | ||
], | ||
"scripts": { | ||
"build": "jiti ../../scripts/build .", | ||
"stub": "yarn build --stub", | ||
"prepublishOnly": "yarn build" | ||
}, | ||
"build": { | ||
"entries": { | ||
"index": {}, | ||
"compat": { "format": "cjs" }, | ||
"runtime/": {} | ||
}, | ||
"dependencies": [ | ||
"@cloudflare/kv-asset-handler", | ||
"@nuxt/devalue", | ||
"connect", | ||
"destr", | ||
"ohmyfetch", | ||
"ora", | ||
"vue-bundle-renderer", | ||
"vue-server-renderer", | ||
"@vue/server-renderer" | ||
] | ||
}, | ||
"dependencies": { | ||
"@cloudflare/kv-asset-handler": "^0.1.0", | ||
"@nuxt/devalue": "^1.2.5", | ||
"@nuxt/un": "^0.1.1", | ||
"@rollup/plugin-alias": "^3.1.2", | ||
"@rollup/plugin-commonjs": "^17.1.0", | ||
"@rollup/plugin-inject": "^4.0.2", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^11.2.0", | ||
"@rollup/plugin-replace": "^2.4.1", | ||
"@rollup/plugin-virtual": "^2.0.3", | ||
"@rollup/pluginutils": "^4.1.0", | ||
"@vercel/nft": "^0.9.5", | ||
"@vue/server-renderer": "^3.0.7", | ||
"archiver": "^5.2.0", | ||
"chalk": "^4.1.0", | ||
"chokidar": "^3.5.1", | ||
"connect": "^3.7.0", | ||
"consola": "^2.15.3", | ||
"debounce": "^1.2.0", | ||
"defu": "^3.2.2", | ||
"destr": "^1.1.0", | ||
"dot-prop": "^6.0.1", | ||
"esbuild": "^0.9.3", | ||
"etag": "^1.8.1", | ||
"fs-extra": "^9.1.0", | ||
"globby": "^11.0.2", | ||
"gzip-size": "^6.0.0", | ||
"h3": "^0.2.5", | ||
"hasha": "^5.2.2", | ||
"hookable": "^4.4.1", | ||
"http-proxy": "^1.18.1", | ||
"is-primitive": "^3.0.1", | ||
"jiti": "^1.6.0", | ||
"listhen": "^0.1.4", | ||
"mime": "^2.5.2", | ||
"node-fetch": "^2.6.1", | ||
"ohmyfetch": "^0.1.8", | ||
"ora": "^5.3.0", | ||
"pretty-bytes": "^5.6.0", | ||
"rollup": "^2.40.0", | ||
"rollup-plugin-analyzer": "^4.0.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"serve-placeholder": "^1.2.3", | ||
"serve-static": "^1.14.1", | ||
"std-env": "^2.3.0", | ||
"table": "^6.0.7", | ||
"upath": "^2.0.1", | ||
"vue-bundle-renderer": "^0.2.3", | ||
"vue-server-renderer": "^2.6.12" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.