diff --git a/package.json b/package.json index 38f0991124..cff583b70a 100644 --- a/package.json +++ b/package.json @@ -78,10 +78,10 @@ "react-spring": "9.5.5", "regenerator-runtime": "0.13.10", "sharp": "0.31.1", - "stylelint": "14.13.0", + "stylelint": "14.14.0", "stylelint-config-css-modules": "4.1.0", "stylelint-config-recommended": "9.0.0", - "stylelint-config-standard": "28.0.0", + "stylelint-config-standard": "29.0.0", "svgo": "2.8.0", "tmp": "0.2.1", "ts-node": "10.9.1", diff --git a/ts/next.js/BUILD b/ts/next.js/BUILD index 408aa72b50..d258af2e49 100644 --- a/ts/next.js/BUILD +++ b/ts/next.js/BUILD @@ -1,3 +1,19 @@ +load("//ts:rules.bzl", "ts_project") + +package(default_visibility = ["//:__subpackages__"]) + +ts_project( + name = "next.js", + deps = [ + "@npm//@types/node", + "@npm//@types/react", + "@npm//@types/react-dom", + "@npm//next", + "@npm//react", + "@npm//react-dom", + ], +) + exports_files( ["next.config.ts"], visibility = ["//visibility:public"], diff --git a/ts/next.js/index.tsx b/ts/next.js/index.tsx new file mode 100644 index 0000000000..f41604e81c --- /dev/null +++ b/ts/next.js/index.tsx @@ -0,0 +1,14 @@ +import Head from 'next/head'; + +export * as config from 'monorepo/ts/next.js/next.config'; + +export function HeaderTags() { + return ( + + + + ); +} diff --git a/ts/pulumi/dog/pleaseintroducemetoyour/public/static/BUILD b/ts/pulumi/dog/pleaseintroducemetoyour/public/static/BUILD index 5ff3529841..92fcfd2e4a 100644 --- a/ts/pulumi/dog/pleaseintroducemetoyour/public/static/BUILD +++ b/ts/pulumi/dog/pleaseintroducemetoyour/public/static/BUILD @@ -6,6 +6,7 @@ package(default_visibility = ["//ts/pulumi/dog/pleaseintroducemetoyour/public:__ ts_project( name = "ts", deps = [ + "//ts/next.js", "@npm//@bazel/runfiles", "@npm//@types/react", "@npm//next", diff --git a/ts/pulumi/dog/pleaseintroducemetoyour/public/static/pages/_app.tsx b/ts/pulumi/dog/pleaseintroducemetoyour/public/static/pages/_app.tsx new file mode 100644 index 0000000000..faa235c76e --- /dev/null +++ b/ts/pulumi/dog/pleaseintroducemetoyour/public/static/pages/_app.tsx @@ -0,0 +1,13 @@ +import { HeaderTags } from 'monorepo/ts/next.js'; +import type { AppProps } from 'next/app'; + +export function App({ Component, pageProps }: AppProps) { + return ( + <> + + + + ); +} + +export default App; diff --git a/yarn.lock b/yarn.lock index 32f88e010a..0462eb58ae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6118,7 +6118,7 @@ postcss@8.4.14: picocolors "^1.0.0" source-map-js "^1.0.2" -postcss@^8.4.12, postcss@^8.4.16: +postcss@^8.4.12: version "8.4.16" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.16.tgz#33a1d675fac39941f5f445db0de4db2b6e01d43c" integrity sha512-ipHE1XBvKzm5xI7hiHCZJCSugxvsdq2mPnsq5+UF+VHCjiBvtDrlxJfMBToWaP9D5XlgNmcFGqoHmUn0EYEaRQ== @@ -6127,6 +6127,15 @@ postcss@^8.4.12, postcss@^8.4.16: picocolors "^1.0.0" source-map-js "^1.0.2" +postcss@^8.4.17: + version "8.4.18" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.18.tgz#6d50046ea7d3d66a85e0e782074e7203bc7fbca2" + integrity sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + prebuild-install@^7.1.1: version "7.1.1" resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-7.1.1.tgz#de97d5b34a70a0c81334fd24641f2a1702352e45" @@ -6984,10 +6993,10 @@ stylelint-config-recommended@9.0.0, stylelint-config-recommended@^9.0.0: resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-9.0.0.tgz#1c9e07536a8cd875405f8ecef7314916d94e7e40" integrity sha512-9YQSrJq4NvvRuTbzDsWX3rrFOzOlYBmZP+o513BJN/yfEmGSr0AxdvrWs0P/ilSpVV/wisamAHu5XSk8Rcf4CQ== -stylelint-config-standard@28.0.0: - version "28.0.0" - resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-28.0.0.tgz#7e1926c232631a8445eafee7b186d276d42d7b15" - integrity sha512-q/StuowDdDmFCravzGHAwgS9pjX0bdOQUEBBDIkIWsQuYGgYz/xsO8CM6eepmIQ1fc5bKdDVimlJZ6MoOUcJ5Q== +stylelint-config-standard@29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-29.0.0.tgz#4cc0e0f05512a39bb8b8e97853247d3a95d66fa2" + integrity sha512-uy8tZLbfq6ZrXy4JKu3W+7lYLgRQBxYTUUB88vPgQ+ZzAxdrvcaSUW9hOMNLYBnwH+9Kkj19M2DHdZ4gKwI7tg== dependencies: stylelint-config-recommended "^9.0.0" @@ -7002,10 +7011,10 @@ stylelint-scss@^4.2.0: postcss-selector-parser "^6.0.6" postcss-value-parser "^4.1.0" -stylelint@14.13.0: - version "14.13.0" - resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-14.13.0.tgz#0c0b8ba8c5cf39522a50c9928f5e44897c678538" - integrity sha512-NJSAdloiAB/jgVJKxMR90mWlctvmeBFGFVUvyKngi9+j/qPSJ5ZB+u8jOmGbLTnS7OHrII9NFGehPRyar8U5vg== +stylelint@14.14.0: + version "14.14.0" + resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-14.14.0.tgz#1acb52497c9a921f23f9c4014d4e0ee6eba768d0" + integrity sha512-yUI+4xXfPHVnueYddSQ/e1GuEA/2wVhWQbGj16AmWLtQJtn28lVxfS4b0CsWyVRPgd3Auzi0NXOthIEUhtQmmA== dependencies: "@csstools/selector-specificity" "^2.0.2" balanced-match "^2.0.0" @@ -7030,7 +7039,7 @@ stylelint@14.13.0: micromatch "^4.0.5" normalize-path "^3.0.0" picocolors "^1.0.0" - postcss "^8.4.16" + postcss "^8.4.17" postcss-media-query-parser "^0.2.3" postcss-resolve-nested-selector "^0.1.1" postcss-safe-parser "^6.0.0"