Skip to content

Commit cbc53cf

Browse files
authored
chore: Adds dist folder for the very first time. (#27)
1 parent a272b5f commit cbc53cf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+1661
-2
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
**/test-results/
44
samples/.env
55

6-
# (temporary) Ignore dist files generated by build
7-
#**/dist/
6+
# Ignore dist files generated by build. These get copied to root-level dist folder.
7+
#samples/*/dist/
88

99
# Ignore playwright outputs
1010
/test-results/

dist/samples/add-map/app/.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GOOGLE_MAPS_API_KEY="AIzaSyB41DRUbKWJHPxaFjMAwdrzWzbVKartNGg"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": [
3+
"plugin:@typescript-eslint/recommended"
4+
],
5+
"parser": "@typescript-eslint/parser",
6+
"rules": {
7+
"@typescript-eslint/ban-ts-comment": 0,
8+
"@typescript-eslint/no-this-alias": 1,
9+
"@typescript-eslint/no-empty-function": 1,
10+
"@typescript-eslint/explicit-module-boundary-types": 1,
11+
"@typescript-eslint/no-unused-vars": 1
12+
}
13+
}

dist/samples/add-map/app/README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
TODO: Update this file with relevant instructions for building the sample
2+
in the new regime.
3+
4+
5+
# Google Maps JavaScript Sample
6+
7+
This sample is generated from @googlemaps/js-samples located at
8+
https://github.com/googlemaps-samples/js-api-samples.
9+
10+
## Setup
11+
12+
### Before starting run:
13+
14+
`$npm i`
15+
16+
### Run an example on a local web server
17+
18+
First `cd` to the folder for the sample to run, then:
19+
20+
`$npm start`
21+
22+
### Build an individual example
23+
24+
From `samples/`:
25+
26+
`$npm run build --workspace=sample-name/`
27+
28+
### Build all of the examples.
29+
30+
From `samples/`:
31+
`$npm run build-all`
32+
33+
## Feedback
34+
35+
For feedback related to this sample, please open a new issue on
36+
[GitHub](https://github.com/googlemaps-samples/js-api-samples/issues).
37+

dist/samples/add-map/app/dist/assets/index-CwTUNlMA.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* @license
3+
* Copyright 2019 Google LLC. All Rights Reserved.
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/#map{height:100%}html,body{height:100%;margin:0;padding:0}

dist/samples/add-map/app/dist/dist/assets/index-B6jK_Glj.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/samples/add-map/app/dist/dist/assets/index-CwTUNlMA.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* @license
3+
* Copyright 2019 Google LLC. All Rights Reserved.
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/#map{height:100%}html,body{height:100%;margin:0;padding:0}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#map{height:100%}html,body{height:100%;margin:0;padding:0}

0 commit comments

Comments
 (0)