48 Commits

Author SHA1 Message Date
Martin Raifer
d39f61fffb update contribution regarding new translatable strings
(Reverts commit ffc369df3d: "don't gitignore en.min.json file")
2025-01-31 12:32:36 +01:00
Martin Raifer
ffc369df3d don't gitignore en.min.json file 2025-01-30 10:54:06 +01:00
Kyℓe Hensel
c6e6b4240a configure vscode i18n extension (#10409)
and add recommended vscode extensions
2024-08-16 19:28:34 +02:00
Martin Raifer
0428976f04 fix changed references to panellum code in /dist 2023-08-16 18:02:46 +02:00
Martin Raifer
4783d61a10 bundle package-lock
see https://github.com/openstreetmap/id-tagging-schema/pull/800#discussion_r1133820018
2023-03-13 13:49:00 +01:00
Kyℓe Hensel
cfca929ded don't symlink land.html (#9523)
for easier first-time installation on Windows
2023-03-06 14:01:28 +01:00
Martin Raifer
243c7fdba3 allow to specify presets cdn via env variable or dotenv file 2023-02-25 12:09:19 +01:00
Milos Brzakovic (E-Search)
4ed2d502c6 Merge branch 'develop' into devbuild_on_esbuild 2022-01-17 14:43:17 +01:00
Bryan Housel
5040be45e9 Sync up RapiD and iD esbuild config (#8776)
* Sync up RapiD and iD esbuild config scripts

* Remove uglify too

* Remove babel/preset-react

* Just have `npm run start` start a modern build, remove `quickstart`

* Better setup for modern/legacy build
- much simpler babel config
- separate entry points for modern and legacy (ie11/phantom)
- explicitly import 'core-js' and 'regenerator-runtime' instead of using deprecated 'babel/polyfill' plugin
- still need 'core-js-bundle' for the test/index.html, so Mocha/PhantomJS combo will work.

* Revert "Better setup for modern/legacy build"

This reverts commit 4ce17defa8a3c6f4b3a9168bcd672235bfc651be.

Co-authored-by: Milos Brzakovic (E-Search) <mbrzakovic@microsoft.com>
2022-01-17 14:18:27 +01:00
Milos Brzakovic (E-Search)
b15897cca7 switched to esbuild for build:dev
added watch mode
slightly changed the start command
2021-10-26 17:16:46 +02:00
Wouter van der Plas
83ff3c4f5e first setup 2021-10-23 17:50:18 +02:00
teymour-aldridge
90d3f59aa6 Remove some unneeded variables.
These should theoretically actually slow down the JIT (if very marginally) so performance-wise it's better not to have them.
2020-10-14 19:00:10 +01:00
Quincy Morgan
f9fcc03e20 Update to temaki v4.2.0
Drop the noun project (close #8030)
Drop request (close #7959)
2020-09-28 13:58:27 -04:00
Bryan Housel
567eeac587 Make several data external instead of bundled:
Also dist/data/* contains minified files now

These are now external and will fetch as needed:
-export { dataAddressFormats } from './address-formats.json';
-export { dataDeprecated } from './deprecated.json';
-export { dataDiscarded } from './discarded.json';
-export { dataLanguages } from './languages.json';
-export { dataPhoneFormats } from './phone-formats.json';
-export { dataShortcuts } from './shortcuts.json';
-export { dataTerritoryLanguages } from './territory-languages.json';
2020-01-28 22:21:31 -05:00
Bryan Housel
55d407e1fb check in dist/data
(move data over to dist folder and load dynamcally instead of bundling)
2020-01-23 15:08:47 -05:00
Bryan Housel
77160d7dbe remove data.js 2020-01-23 14:57:42 -05:00
Quincy Morgan
2967d2d020 Add support for icons from the noun project (close #5691) 2019-04-16 18:06:05 -07:00
Bryan Housel
4e2f2fad8d Remove pannellum streetside files from dist/
We can bundle them just like mapillary-js, which we install from npm
2018-07-27 23:03:50 +02:00
Bryan Housel
9517635d4d Merge branch 'master' into notes 2018-06-29 21:54:24 -04:00
Bryan Housel
9bb30221dd Remove duplicate entry from .gitignore 2018-06-26 21:18:17 -04:00
Bryan Housel
3943364852 Merge pull request #5106 from openstreetmap/remove_test_user_mocks
removed: user mocks from image service test specs
2018-06-26 21:11:23 -04:00
Thomas Hervey
db1c896ef2 removed: user mocks from image service test specs 2018-06-22 14:00:52 -04:00
Bryan Housel
5f1c79c91d pacify linter, gitignore vscode settings 2018-06-22 01:20:15 -04:00
Thomas Hervey
47ef49d99b added: .vscode to .gitignore 2018-06-21 10:20:09 -04:00
Wojciech Dzikowski
1c831b2b7f Lodash dependencies removed from build scripts
1. @std/esm added to handle ES6 imports in older node version
2. Swapped lodash dependencies for lodash-es in build scripts
2017-10-17 16:58:08 +02:00
Bryan Housel
885517989e Create .tx/tmp/ temp translation download location
(not actually used, as talking direct to API seems faster)
2017-06-15 14:42:24 -04:00
Bryan Housel
5710bcc481 Include node 8 in the build matrix, gitignore package-lock.json 2017-06-11 01:25:11 -04:00
Bryan Housel
9a62015b37 Better folder specification for gitignore, npmignore 2017-02-23 09:25:08 -05:00
Petar Petrov
5e653b2a09 fixed gitignore
Line 14 (img) caused the entire /dist/img directory to be ignored even though it is already in git, so new images were ignored. Prefixing it with / prevents this very general rule from applying to the subdirs. The same logic applies to the other rules for top level dirs.
2017-02-23 10:20:45 +02:00
Bryan Housel
2453c5c8b7 Eliminate symlinks in repository - shelljs/shx can make them
(closes #3545)
2016-11-30 17:06:33 -05:00
Bryan Housel
f287c79c90 Include mapillary-js in dist 2016-10-28 10:54:31 -04:00
Bryan Housel
7d0b82bcd4 npmignore .travis.yml 2016-10-25 23:56:36 -04:00
Bryan Housel
9fa9330f7b gitignore sourcemap, add dependencies for gazer and ecstatic 2016-08-30 16:44:16 -04:00
Tom MacWright
b97652c759 Cleanup: removing unnecessary independent libs (#3342) 2016-08-11 14:55:33 -04:00
Kushan Joshi
3ec8c50137 git ingore js/lib/id/*.js 2016-07-06 12:23:26 +05:30
Bryan Housel
84c98dacb7 Restore generated files in git and 4 space json
90cd412bbe (commitcomment-15780969)
2016-02-01 12:27:29 -05:00
Bryan Housel
90cd412bbe Don't check in as many data/ generated files, less agressive minification
(partial revert of c2833ba to help prevent merge conflicts)
2016-01-29 23:28:37 -05:00
Bryan Housel
3f8e99658c No need to check in generated dist/img/*.svg 2015-11-05 12:20:15 -05:00
Bryan Housel
d2cd3a2f38 Ignore npm-debug.log 2015-10-30 14:00:57 -04:00
John Firebaugh
dd0e08b244 Write presets and imagery to standalone files 2014-10-23 15:52:29 -07:00
Bryan Housel
d973580203 Add to .gitignore: .DS_Store, node_modules 2014-05-22 13:44:45 -04:00
John Firebaugh
aedd5ee46e Create a dist directory
This directory will contain the built sources (iD.js, iD.css)
and images. On a release branch, we will check in the generated
files. For the osm.us/master deploy, it should run make and use
dist/ as the root.

Paths in css are relative, e.g. url(img/foo.png).
2013-04-22 10:50:36 -07:00
John Firebaugh
24c0115190 Generate a concatenated iD.css file 2013-04-16 14:14:55 -07:00
John Firebaugh
b840b7e118 Update translations 2013-03-14 17:58:32 -07:00
John Firebaugh
b2627dcac2 Switch back to dev index.html, add a make install target 2013-03-11 11:24:57 -07:00
Tom MacWright
e0ba011752 Remove gitignore entries that should not be here. 2013-03-06 11:36:27 -05:00
Ansis Brammanis
513eeac280 add node_modules to gitignore 2013-03-01 15:39:41 -05:00
booo
46fa66bf83 Add build results to .gitignore file as well as tempory vim files. 2012-11-17 13:35:29 +01:00