mirror of
https://github.com/penpot/penpot.git
synced 2025-01-06 14:50:20 -05:00
Minor reorganization of vendor dependencies.
This commit is contained in:
parent
fa7b0987a1
commit
c4a5d26e8b
16 changed files with 6296 additions and 22 deletions
|
@ -1,9 +0,0 @@
|
|||
{:foreign-libs
|
||||
[{:file "js/snapsvg/snap.svg.js"
|
||||
:file-min "js/snapsvg/snap.svg.min.js"
|
||||
:provides ["vendor.snapsvg"]}
|
||||
{:file "js/jszip/jszip.js"
|
||||
:file-min "js/jszip/jszip.min.js"
|
||||
:provides ["vendor.jszip"]}]
|
||||
:externs ["js/snapsvg/externs.js"
|
||||
"js/jszip/externs.js"]}
|
|
@ -18,7 +18,6 @@
|
|||
:output-to "dist/js/main.js"
|
||||
:source-map "dist/js/main.js.map"
|
||||
:output-dir "dist/js/main"
|
||||
:externs ["externs/main.js"]
|
||||
:closure-defines defines
|
||||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
|
@ -28,10 +27,9 @@
|
|||
:elide-asserts true
|
||||
:pretty-print debug?
|
||||
:verbose true
|
||||
:pseudo-names debug?
|
||||
:compiler-stats true})
|
||||
:pseudo-names debug?})
|
||||
|
||||
(let [start (System/nanoTime)]
|
||||
(println "Building ...")
|
||||
(b/build (b/inputs "src") options)
|
||||
(b/build (b/inputs "src" "vendor") options)
|
||||
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
:all-builds
|
||||
[{:id "main"
|
||||
:figwheel {:on-jsload "uxbox.main.ui/init"}
|
||||
:source-paths ["src"]
|
||||
:source-paths ["src" "vendor"]
|
||||
:compiler
|
||||
{:main 'uxbox.main
|
||||
:cache-analysis false
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
{:id "view"
|
||||
:figwheel {:on-jsload "uxbox.view.ui/init"}
|
||||
:source-paths ["src"]
|
||||
:source-paths ["src" "vendor"]
|
||||
:compiler
|
||||
{:main 'uxbox.view
|
||||
:parallel-build false
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
(require
|
||||
'[cljs.repl]
|
||||
'[cljs.repl.node])
|
||||
(require '[cljs.repl :as repl])
|
||||
(require '[cljs.repl.node :as node])
|
||||
|
||||
(cljs.repl/repl
|
||||
(cljs.repl.node/repl-env)
|
||||
:output-dir "out"
|
||||
:cache-analysis true)
|
||||
(def options {:output-dir "out/repl"})
|
||||
|
||||
(repl/repl* (node/repl-env) options)
|
||||
|
|
6107
frontend/vendor/datefns/datefns.js
vendored
Normal file
6107
frontend/vendor/datefns/datefns.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
2
frontend/vendor/datefns/datefns.min.js
vendored
Normal file
2
frontend/vendor/datefns/datefns.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
155
frontend/vendor/datefns/externs.js
vendored
Normal file
155
frontend/vendor/datefns/externs.js
vendored
Normal file
|
@ -0,0 +1,155 @@
|
|||
var dateFns = {};
|
||||
dateFns.addDays = function() {};
|
||||
dateFns.addHours = function() {};
|
||||
dateFns.addISOYears = function() {};
|
||||
dateFns.addMilliseconds = function() {};
|
||||
dateFns.addMinutes = function() {};
|
||||
dateFns.addMonths = function() {};
|
||||
dateFns.addQuarters = function() {};
|
||||
dateFns.addSeconds = function() {};
|
||||
dateFns.addWeeks = function() {};
|
||||
dateFns.addYears = function() {};
|
||||
dateFns.areRangesOverlapping = function() {};
|
||||
dateFns.closestIndexTo = function() {};
|
||||
dateFns.closestTo = function() {};
|
||||
dateFns.compareAsc = function() {};
|
||||
dateFns.compareDesc = function() {};
|
||||
dateFns.differenceInCalendarDays = function() {};
|
||||
dateFns.differenceInCalendarISOWeeks = function() {};
|
||||
dateFns.differenceInCalendarISOYears = function() {};
|
||||
dateFns.differenceInCalendarMonths = function() {};
|
||||
dateFns.differenceInCalendarQuarters = function() {};
|
||||
dateFns.differenceInCalendarWeeks = function() {};
|
||||
dateFns.differenceInCalendarYears = function() {};
|
||||
dateFns.differenceInDays = function() {};
|
||||
dateFns.differenceInHours = function() {};
|
||||
dateFns.differenceInISOYears = function() {};
|
||||
dateFns.differenceInMilliseconds = function() {};
|
||||
dateFns.differenceInMinutes = function() {};
|
||||
dateFns.differenceInMonths = function() {};
|
||||
dateFns.differenceInQuarters = function() {};
|
||||
dateFns.differenceInSeconds = function() {};
|
||||
dateFns.differenceInWeeks = function() {};
|
||||
dateFns.differenceInYears = function() {};
|
||||
dateFns.distanceInWords = function() {};
|
||||
dateFns.distanceInWordsStrict = function() {};
|
||||
dateFns.distanceInWordsToNow = function() {};
|
||||
dateFns.eachDay = function() {};
|
||||
dateFns.endOfDay = function() {};
|
||||
dateFns.endOfHour = function() {};
|
||||
dateFns.endOfISOWeek = function() {};
|
||||
dateFns.endOfISOYear = function() {};
|
||||
dateFns.endOfMinute = function() {};
|
||||
dateFns.endOfMonth = function() {};
|
||||
dateFns.endOfQuarter = function() {};
|
||||
dateFns.endOfSecond = function() {};
|
||||
dateFns.endOfToday = function() {};
|
||||
dateFns.endOfTomorrow = function() {};
|
||||
dateFns.endOfWeek = function() {};
|
||||
dateFns.endOfYear = function() {};
|
||||
dateFns.endOfYesterday = function() {};
|
||||
dateFns.format = function() {};
|
||||
dateFns.getDate = function() {};
|
||||
dateFns.getDay = function() {};
|
||||
dateFns.getDayOfYear = function() {};
|
||||
dateFns.getDaysInMonth = function() {};
|
||||
dateFns.getDaysInYear = function() {};
|
||||
dateFns.getHours = function() {};
|
||||
dateFns.getISODay = function() {};
|
||||
dateFns.getISOWeek = function() {};
|
||||
dateFns.getISOWeeksInYear = function() {};
|
||||
dateFns.getISOYear = function() {};
|
||||
dateFns.getMilliseconds = function() {};
|
||||
dateFns.getMinutes = function() {};
|
||||
dateFns.getMonth = function() {};
|
||||
dateFns.getOverlappingDaysInRanges = function() {};
|
||||
dateFns.getQuarter = function() {};
|
||||
dateFns.getSeconds = function() {};
|
||||
dateFns.getTime = function() {};
|
||||
dateFns.getYear = function() {};
|
||||
dateFns.isAfter = function() {};
|
||||
dateFns.isBefore = function() {};
|
||||
dateFns.isDate = function() {};
|
||||
dateFns.isEqual = function() {};
|
||||
dateFns.isFirstDayOfMonth = function() {};
|
||||
dateFns.isFriday = function() {};
|
||||
dateFns.isFuture = function() {};
|
||||
dateFns.isLastDayOfMonth = function() {};
|
||||
dateFns.isLeapYear = function() {};
|
||||
dateFns.isMonday = function() {};
|
||||
dateFns.isPast = function() {};
|
||||
dateFns.isSameDay = function() {};
|
||||
dateFns.isSameHour = function() {};
|
||||
dateFns.isSameISOWeek = function() {};
|
||||
dateFns.isSameISOYear = function() {};
|
||||
dateFns.isSameMinute = function() {};
|
||||
dateFns.isSameMonth = function() {};
|
||||
dateFns.isSameQuarter = function() {};
|
||||
dateFns.isSameSecond = function() {};
|
||||
dateFns.isSameWeek = function() {};
|
||||
dateFns.isSameYear = function() {};
|
||||
dateFns.isSaturday = function() {};
|
||||
dateFns.isSunday = function() {};
|
||||
dateFns.isThisHour = function() {};
|
||||
dateFns.isThisISOWeek = function() {};
|
||||
dateFns.isThisISOYear = function() {};
|
||||
dateFns.isThisMinute = function() {};
|
||||
dateFns.isThisMonth = function() {};
|
||||
dateFns.isThisQuarter = function() {};
|
||||
dateFns.isThisSecond = function() {};
|
||||
dateFns.isThisWeek = function() {};
|
||||
dateFns.isThisYear = function() {};
|
||||
dateFns.isThursday = function() {};
|
||||
dateFns.isToday = function() {};
|
||||
dateFns.isTomorrow = function() {};
|
||||
dateFns.isTuesday = function() {};
|
||||
dateFns.isValid = function() {};
|
||||
dateFns.isWednesday = function() {};
|
||||
dateFns.isWeekend = function() {};
|
||||
dateFns.isWithinRange = function() {};
|
||||
dateFns.isYesterday = function() {};
|
||||
dateFns.lastDayOfISOWeek = function() {};
|
||||
dateFns.lastDayOfISOYear = function() {};
|
||||
dateFns.lastDayOfMonth = function() {};
|
||||
dateFns.lastDayOfQuarter = function() {};
|
||||
dateFns.lastDayOfWeek = function() {};
|
||||
dateFns.lastDayOfYear = function() {};
|
||||
dateFns.max = function() {};
|
||||
dateFns.min = function() {};
|
||||
dateFns.parse = function() {};
|
||||
dateFns.setDate = function() {};
|
||||
dateFns.setDay = function() {};
|
||||
dateFns.setDayOfYear = function() {};
|
||||
dateFns.setHours = function() {};
|
||||
dateFns.setISODay = function() {};
|
||||
dateFns.setISOWeek = function() {};
|
||||
dateFns.setISOYear = function() {};
|
||||
dateFns.setMilliseconds = function() {};
|
||||
dateFns.setMinutes = function() {};
|
||||
dateFns.setMonth = function() {};
|
||||
dateFns.setQuarter = function() {};
|
||||
dateFns.setSeconds = function() {};
|
||||
dateFns.setYear = function() {};
|
||||
dateFns.startOfDay = function() {};
|
||||
dateFns.startOfHour = function() {};
|
||||
dateFns.startOfISOWeek = function() {};
|
||||
dateFns.startOfISOYear = function() {};
|
||||
dateFns.startOfMinute = function() {};
|
||||
dateFns.startOfMonth = function() {};
|
||||
dateFns.startOfQuarter = function() {};
|
||||
dateFns.startOfSecond = function() {};
|
||||
dateFns.startOfToday = function() {};
|
||||
dateFns.startOfTomorrow = function() {};
|
||||
dateFns.startOfWeek = function() {};
|
||||
dateFns.startOfYear = function() {};
|
||||
dateFns.startOfYesterday = function() {};
|
||||
dateFns.subDays = function() {};
|
||||
dateFns.subHours = function() {};
|
||||
dateFns.subISOYears = function() {};
|
||||
dateFns.subMilliseconds = function() {};
|
||||
dateFns.subMinutes = function() {};
|
||||
dateFns.subMonths = function() {};
|
||||
dateFns.subQuarters = function() {};
|
||||
dateFns.subSeconds = function() {};
|
||||
dateFns.subWeeks = function() {};
|
||||
dateFns.subYears = function() {};
|
9
frontend/vendor/datefns/notes.md
vendored
Normal file
9
frontend/vendor/datefns/notes.md
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
Current version: 1.28.0
|
||||
|
||||
Build browserified bundle:
|
||||
|
||||
./node_modules/browserify/bin/cmd.js -s dateFns -e src/index.js -o datefns.js
|
||||
|
||||
Minified bundle:
|
||||
|
||||
./node_modules/uglify-js/bin/uglifyjs datefns.js -m -o datefns.min.js
|
14
frontend/vendor/deps.cljs
vendored
Normal file
14
frontend/vendor/deps.cljs
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
{:foreign-libs
|
||||
[{:file "snapsvg/snap.svg.js"
|
||||
:file-min "snapsvg/snap.svg.min.js"
|
||||
:provides ["vendor.snapsvg"]}
|
||||
{:file "jszip/jszip.js"
|
||||
:file-min "jszip/jszip.min.js"
|
||||
:provides ["vendor.jszip"]}
|
||||
{:file "datefns/datefns.js"
|
||||
:file-min "datefns/datefns.min.js"
|
||||
:provides ["vendor.datefns"]}]
|
||||
:externs ["main.externs.js"
|
||||
"snapsvg/externs.js"
|
||||
"jszip/externs.js"
|
||||
"datefns/externs.js"]}
|
Loading…
Reference in a new issue