-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Brightspace/polymer-3-conversion
Polymer 3 Conversion [increment major]
- Loading branch information
Showing
20 changed files
with
7,962 additions
and
8,841 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
|
||
# Ignore built files except build/index.js | ||
**/dist/* | ||
test/acceptance/* | ||
reports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"extends": "brightspace/node-config" | ||
"extends": "brightspace/node-config", | ||
"parserOptions": { | ||
"sourceType": "module" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# Created by https://www.gitignore.io | ||
|
||
### Node ### | ||
# Logs | ||
logs | ||
*.log | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directory | ||
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git- | ||
node_modules/ | ||
test/dist/ | ||
test/coverage/ | ||
coverage/ | ||
|
||
|
||
### Windows ### | ||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msm | ||
*.msp | ||
|
||
# Windows shortcuts | ||
*.lnk | ||
|
||
.vagrant | ||
|
||
### Linux ### | ||
*~ | ||
|
||
# KDE directory preferences | ||
.directory | ||
|
||
# Linux trash folder which might appear on any partition or disk | ||
.Trash-* | ||
|
||
|
||
### OSX ### | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear on external disk | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
# Webstorm | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,14 @@ env: | |
- secure: YdrAgVuS00fN2vydsIrCZHvao7tq6IzxMVY7q7DA1sYIAbv8UgghDSjJJheF+bm9KZ9wpMQ9O64nDTfHZApxvAj2ahjAmFbsPujBtOk7ojRcdKoOgCCrowehZrwiRQ8ZJJGjF9om2ZZKUceHXhMw/PCpJQDvm+safAs66dAsqfAExduGbq+a668iyBsxJER1AppO3erYSYrxVLLQgKtVbq86WLR5ckOmySfTTXa5wBixxYsEs5lZRJfK2fnq5iKLxyFfOu767IeRK9uia2WW8Rz6qj/R1XX0lsS+XXixMqgM8fF1yzuUggm7k1Luo2xnOPyjyjZjM6saxqFoMwBg0y9UAvdToh4yIVt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: | ||
provider: npm | ||
email: [email protected] | ||
skip_cleanup: true | ||
api_key: | ||
# d2l-travis-deploy: 35af......01dc | ||
secure: fKmTaUfIywh56C5tjCiF7zLNVhGlbW7bAIl6g2zgYkHwfPOd7Z7PshS9LBKLlvAo0ZhA5VVLnxZGZPUSoApI6bIGgd5294tQeBJOtaojt/bV0mYD95TkzrK2H2qHfPx92N/DicN8m52jXnyvrgbt0QDelMu6Ektoq06PmaeYD6lfz4drvcMn80O1RcDzH6NjIYwx2Gd1j7XVU2W1Arj2jbNQ+KSOcPN1QwCbtYzpVX8MC6kvwrUt9KavYLxeE22Y4BeZsd0UqGxOf0o34uW3FDOB8XY/cOscDIvnlbZHxhURIJKmmBVrs9EKy1I5Hc2c09T22fdlyk7ePFNV5ZvMj5aBF0rdR5vaGaRPuMcsjr/+WhdPt9IBC77uadSZQGf4I0jRTCNsypPMRKEWVQ81noFIdx8jLJBK7p2vFy3Z/oM25NIRz8RPjlaN3+z7UszYFfEeqGqOzDQ1ogBYGqHQ7NrE6IyXpkqee8b9JYCet6YT55a5OMxd41FV+zkebpr9vx1MF4vUm4dUn/vat9VeYSDMtA+dIKCzT5YrBx0mVQuHNMj0Qj7/ivH8KMoNC6RDpXq2DqShTd1bPeZOHwHAAQT2tJ/qnHWaE8OIuJOUmyqlCFiCVvmVDVLOGY2dRN2igS83J3lb8EM/twTOftdrgmNTGyVj837Q/2HTIhroY2w= | ||
on: | ||
branch: master | ||
repo: Brightspace/d2l-fetch-simple-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import simpleCache from './src/index.js'; | ||
|
||
window.d2lfetch = window.d2lfetch || {}; | ||
window.d2lfetch.simpleCache = simpleCache; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import fetchSimpleCache from './es6/d2lfetch-simple-cache.js'; | ||
|
||
export { fetchSimpleCache }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const fetchSimpleCache = require('./dist/d2lfetch-simple-cache.js'); | ||
|
||
module.exports = { fetchSimpleCache }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import commonjs from 'rollup-plugin-commonjs'; | ||
import json from 'rollup-plugin-json'; | ||
import resolve from 'rollup-plugin-node-resolve'; | ||
|
||
export const config = (name, input, output, cjsOutput) => ([{ | ||
input, | ||
plugins: [ | ||
resolve({ | ||
browser: true | ||
}), | ||
commonjs(), | ||
json() | ||
], | ||
output: { | ||
file: output, | ||
format: 'esm', | ||
name, | ||
sourcemap: true | ||
} | ||
}].concat(cjsOutput ? { | ||
input, | ||
plugins: [ | ||
resolve({ | ||
browser: true | ||
}), | ||
commonjs(), | ||
json() | ||
], | ||
output: { | ||
file: cjsOutput, | ||
format: 'cjs', | ||
name, | ||
sourcemap: true | ||
} | ||
} : [])); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,4 @@ | ||
import commonjs from 'rollup-plugin-commonjs'; | ||
import json from 'rollup-plugin-json'; | ||
import resolve from 'rollup-plugin-node-resolve'; | ||
import { terser } from 'rollup-plugin-terser'; | ||
import babel from 'rollup-plugin-babel'; | ||
import { config } from './rollup.common.config.js'; | ||
|
||
const config = (name, input, output) => ({ | ||
input, | ||
plugins: [ | ||
resolve({ | ||
browser: true | ||
}), | ||
commonjs(), | ||
json(), | ||
babel({ | ||
presets: ['@babel/preset-env'] | ||
}), | ||
terser() | ||
], | ||
output: { | ||
file: `${output}`, | ||
format: 'umd', | ||
name, | ||
sourcemap: false | ||
} | ||
}); | ||
|
||
export default [ | ||
config('d2lfetch.simpleCache', './src/index.js', './dist/d2lfetch-simple-cache.js') | ||
]; | ||
export default | ||
config('d2lfetch.simpleCache', './src/index.js', './es6/d2lfetch-simple-cache.js', './dist/d2lfetch-simple-cache.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"extends": "brightspace/wct-config" | ||
"extends": "brightspace/wct-config", | ||
"parserOptions": { | ||
"sourceType": "module" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.