Skip to content

Commit

Permalink
Merge branch 'main' into versioned
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 16, 2022
2 parents 2824a54 + a7e0357 commit bae1a9b
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
16 changes: 16 additions & 0 deletions ts/next.js/BUILD
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down
14 changes: 14 additions & 0 deletions ts/next.js/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import Head from 'next/head';

export * as config from 'monorepo/ts/next.js/next.config';

export function HeaderTags() {
return (
<Head>
<meta
content="default-src 'self'"
httpEquiv="Content-Security-Policy"
/>
</Head>
);
}
1 change: 1 addition & 0 deletions ts/pulumi/dog/pleaseintroducemetoyour/public/static/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
13 changes: 13 additions & 0 deletions ts/pulumi/dog/pleaseintroducemetoyour/public/static/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { HeaderTags } from 'monorepo/ts/next.js';
import type { AppProps } from 'next/app';

export function App({ Component, pageProps }: AppProps) {
return (
<>
<HeaderTags />
<Component {...pageProps} />
</>
);
}

export default App;
29 changes: 19 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6118,7 +6118,7 @@ [email protected]:
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==
Expand All @@ -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"
Expand Down Expand Up @@ -6984,10 +6993,10 @@ [email protected], 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"

Expand All @@ -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"
Expand All @@ -7030,7 +7039,7 @@ [email protected]:
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"
Expand Down

0 comments on commit bae1a9b

Please sign in to comment.