Skip to content

Commit

Permalink
feat: shared lens package (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasicodes committed Nov 19, 2022
1 parent f4b0640 commit 3164266
Show file tree
Hide file tree
Showing 166 changed files with 737 additions and 3,492 deletions.
2 changes: 1 addition & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exclude_patterns = [
".github",
".husky",
".vscode",
"apps/web/src/types/lens.ts",
"packages/lens/generated.ts",
"yarn.lock"
]

Expand Down
3 changes: 1 addition & 2 deletions apps/embed/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
root: true,
extends: ['weblint'],
ignorePatterns: ['/src/types/lens.ts']
extends: ['weblint']
}
5 changes: 3 additions & 2 deletions apps/embed/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/** @type {import('next').NextConfig} */
const withTM = require('next-transpile-modules')(['lens'])

const nextConfig = {
const nextConfig = withTM({
reactStrictMode: true,
swcMinify: true,
async rewrites() {
Expand All @@ -11,6 +12,6 @@ const nextConfig = {
}
]
}
}
})

module.exports = nextConfig
6 changes: 4 additions & 2 deletions apps/embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,24 @@
"mixpanel-browser": "^2.45.0",
"next": "13.0.4",
"next-axiom": "^0.15.1",
"next-transpile-modules": "^10.0.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hot-toast": "^2.4.0",
"react-icons": "^4.6.0"
},
"devDependencies": {
"tsconfig": "*",
"eslint-config-weblint": "*",
"@types/mixpanel-browser": "^2.38.0",
"@types/node": "18.11.9",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.9",
"autoprefixer": "^10.4.13",
"eslint-config-weblint": "*",
"lens": "*",
"postcss": "^8.4.19",
"prettier": "^2.7.1",
"tailwindcss": "^3.2.4",
"tsconfig": "*",
"typescript": "4.9.3"
}
}
Loading

3 comments on commit 3164266

@vercel
Copy link

@vercel vercel bot commented on 3164266 Nov 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

assets – ./apps/assets

assets-git-main-lenstube.vercel.app
assets-lenstube.vercel.app
assets.lenstube.xyz

@vercel
Copy link

@vercel vercel bot commented on 3164266 Nov 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

embed – ./apps/embed

embed-git-main-lenstube.vercel.app
embed-lenstube.vercel.app
embed.lenstube.xyz

@vercel
Copy link

@vercel vercel bot commented on 3164266 Nov 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web – ./apps/web

web-lenstube.vercel.app
web-git-main-lenstube.vercel.app
lenstube.xyz

Please sign in to comment.