Skip to content

Commit

Permalink
updated master
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlescure committed May 11, 2020
1 parent e1bf1ca commit 6e9e37c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/classes/shortuniqueid.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="description" content="Documentation for short-unique-id - v3.0.0-rc2">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script src="https://cdn.jsdelivr.net/npm/short-unique-id@2.0.7/dist/short-unique-id.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/short-unique-id@latest/dist/short-unique-id.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.slim.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/cookie.js"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion docs/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="description" content="Documentation for short-unique-id - v3.0.0-rc2">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/css/main.css">
<script src="https://cdn.jsdelivr.net/npm/short-unique-id@2.0.7/dist/short-unique-id.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/short-unique-id@latest/dist/short-unique-id.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.slim.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/cookie.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="description" content="Documentation for short-unique-id - v3.0.0-rc2">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/css/main.css">
<script src="https://cdn.jsdelivr.net/npm/short-unique-id@2.0.7/dist/short-unique-id.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/short-unique-id@latest/dist/short-unique-id.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.slim.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/cookie.js"></script>
</head>
Expand Down Expand Up @@ -133,7 +133,7 @@ <h2>Random Color generator</h2>
</p>
<script>
// Just so website doesn't fail if @latest tag points to version < 3
if (window['short-unique-id'].default) {
if ((window['short-unique-id'] || {}).default) {
var ShortUniqueId = window['short-unique-id'].default;
}

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"runkitExampleFilename": "./test/runkit.js",
"scripts": {
"gen:version": "echo \"export default '`jq -r .version package.json`';\" > short_uuid/version.ts",
"gen:docs": "cd short_uuid && typedoc --readme ../README.md --theme ../../typedoc-default-themes-0.10.1/bin/default --out ../docs . && cd .. && cp -r ./assets ./docs && mv ./docs/assets/favicon.ico ./docs/ && echo shortunique.id > ./docs/CNAME",
"gen:docs": "cd short_uuid && typedoc --readme ../README.md --theme ../node_modules/short_uuid_typedoc_template/bin/default --out ../docs . && cd .. && cp -r ./assets ./docs && mv ./docs/assets/favicon.ico ./docs/ && echo shortunique.id > ./docs/CNAME",
"lib:build": "yarn gen:version && rm ./lib/* ; mkdir -p tmp && cd short_uuid && deno bundle mod.ts ../tmp/mod.js && deno bundle version.ts ../tmp/version.js && cd .. && sucrase ./tmp -d ./lib -t imports && mv ./lib/mod.js ./lib/short-unique-id.js && rm -rf ./tmp",
"dist:build": "yarn lib:build && rm ./dist/* ; echo 'var __suid_module = ' > ./dist/short-unique-id.js && browserify ./lib/short-unique-id.js >> ./dist/short-unique-id.js && echo 'var ShortUniqueId = __suid_module(1)[\"default\"];' >> ./dist/short-unique-id.js && minify ./dist/short-unique-id.js > ./dist/short-unique-id.min.js",
"test": "yarn gen:version && cd short_uuid && deno test && cd .. && yarn link && yarn link short-unique-id && node ./runkit.js",
Expand All @@ -31,7 +31,7 @@
"devDependencies": {
"browserify": "^16.5.1",
"minify": "^5.1.1",
"short_uuid_typedoc_template": "^1.0.6",
"short_uuid_typedoc_template": "^1.0.8",
"sucrase": "^3.13.0",
"tslint": "^6.1.1",
"tslint-config-airbnb-base": "^0.3.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1236,10 +1236,10 @@ shelljs@^0.8.4:
interpret "^1.0.0"
rechoir "^0.6.2"

short_uuid_typedoc_template@^1.0.6:
version "1.0.6"
resolved "https://registry.yarnpkg.com/short_uuid_typedoc_template/-/short_uuid_typedoc_template-1.0.6.tgz#463e49441b10441f5dd5a35cd85ccdecaacfc6be"
integrity sha512-1cNnfsoWjhvwYGVNuYvwpMUbi4lTuK+zVVQRJd7hmwDGxYPR10TUc3yL3Yap0vfzPZw67I9v5N8RLdPYdnMiqQ==
short_uuid_typedoc_template@^1.0.8:
version "1.0.8"
resolved "https://registry.yarnpkg.com/short_uuid_typedoc_template/-/short_uuid_typedoc_template-1.0.8.tgz#98d2aa7eebbf87c3d1d897a6345194c4724e1f65"
integrity sha512-L+afDbjiHdL9nF/nQHxZUWTKgm+DsUZJLewYdLUt9bbOip7d00QvBNoCMJhzc/yUt7gAEbtZfj7dY/NUp+CwvA==
dependencies:
lunr "^2.3.8"

Expand Down

0 comments on commit 6e9e37c

Please sign in to comment.