Moved everything

This commit is contained in:
LFades 2022-01-07 11:48:45 -05:00
parent 3098827760
commit f7897ef90c
324 changed files with 32234 additions and 8253 deletions

10
.gitignore vendored
View File

@ -2,18 +2,18 @@
# dependencies # dependencies
node_modules node_modules
/.pnp .pnp
.pnp.js .pnp.js
# testing # testing
/coverage coverage
# next.js # next.js
.next/ .next
out/ out
# production # production
/build build
# misc # misc
.DS_Store .DS_Store

12773
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,128 +1,39 @@
{ {
"name": "nextjs-commerce", "name": "commerce",
"version": "1.0.0",
"scripts": {
"dev": "NODE_OPTIONS='--inspect' next dev",
"build": "next build",
"start": "next start",
"analyze": "BUNDLE_ANALYZE=both next build",
"lint": "next lint",
"prettier-fix": "prettier --write .",
"find:unused": "npx next-unused",
"generate": "graphql-codegen",
"generate:shopify": "DOTENV_CONFIG_PATH=./.env.local graphql-codegen -r dotenv/config --config framework/shopify/codegen.json",
"generate:vendure": "graphql-codegen --config framework/vendure/codegen.json",
"generate:definitions": "node framework/bigcommerce/scripts/generate-definitions.js",
"generate:kibocommerce": "graphql-codegen --config framework/kibocommerce/codegen.json"
},
"sideEffects": false,
"license": "MIT", "license": "MIT",
"engines": { "workspaces": [
"node": ">=14.x" "site",
}, "packages/*"
"dependencies": { ],
"@chec/commerce.js": "^2.8.0", "turbo": {
"@react-spring/web": "^9.2.1", "baseBranch": "origin/main",
"@spree/storefront-api-v2-sdk": "^5.0.1", "pipeline": {
"@vercel/fetch": "^6.1.1", "build": {
"autoprefixer": "^10.2.6", "dependsOn": [
"body-scroll-lock": "^3.1.5", "^build"
"classnames": "^2.3.1", ],
"cookie": "^0.4.1", "outputs": [
"email-validator": "^2.0.4", ".next/**"
"immutability-helper": "^3.1.1", ]
"js-cookie": "^2.2.1", },
"keen-slider": "^6.3.2", "test": {
"lodash.debounce": "^4.0.8", "dependsOn": [
"lodash.random": "^3.2.0", "^build"
"lodash.throttle": "^4.1.1", ],
"next": "^12.0.3", "outputs": []
"next-seo": "^4.26.0", },
"next-themes": "^0.0.14", "lint": {
"postcss": "^8.3.5", "outputs": []
"postcss-nesting": "^8.0.1", },
"react": "^17.0.2", "dev": {
"react-dom": "^17.0.2", "cache": false
"react-fast-marquee": "^1.1.4", },
"react-merge-refs": "^1.1.0", "start": {
"react-use-measure": "^2.0.4", "cache": false
"stripe": "^8.176.0", }
"swell-js": "^4.0.0-next.0",
"swr": "^0.5.6",
"tabbable": "^5.2.0",
"tailwindcss": "^2.2.2",
"uuidv4": "^6.2.10"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.21.5",
"@graphql-codegen/schema-ast": "^1.18.3",
"@graphql-codegen/typescript": "^1.22.2",
"@graphql-codegen/typescript-operations": "^1.18.1",
"@next/bundle-analyzer": "^10.2.3",
"@types/body-scroll-lock": "^2.6.1",
"@types/chec__commerce.js": "^2.8.4",
"@types/cookie": "^0.4.0",
"@types/js-cookie": "^2.2.6",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.random": "^3.2.6",
"@types/lodash.throttle": "^4.1.6",
"@types/node": "^15.12.4",
"@types/react": "^17.0.8",
"deepmerge": "^4.2.2",
"eslint": "^7.31.0",
"eslint-config-next": "^11.0.1",
"eslint-config-prettier": "^8.3.0",
"graphql": "^15.5.1",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.3.0",
"typescript": "4.3.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
} }
}, },
"lint-staged": { "devDependencies": {
"**/*.{js,jsx,ts,tsx}": [ "turbo": "^1.0.12"
"eslint",
"prettier --write",
"git add"
],
"**/*.{md,mdx,json}": [
"prettier --write",
"git add"
]
},
"next-unused": {
"alias": {
"@lib/*": [
"lib/*"
],
"@assets/*": [
"assets/*"
],
"@config/*": [
"config/*"
],
"@components/*": [
"components/*"
],
"@utils/*": [
"utils/*"
]
},
"debug": true,
"include": [
"components",
"lib",
"pages"
],
"exclude": [],
"entrypoints": [
"pages"
]
} }
} }

36
site/.gitignore vendored Normal file
View File

@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
node_modules
/.pnp
.pnp.js
# testing
/coverage
# next.js
.next/
out/
# production
/build
# misc
.DS_Store
*.pem
.idea
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# vercel
.vercel

Some files were not shown because too many files have changed in this diff Show More