Skip to content

Commit

Permalink
refactor(ui-icons): s2 migration of assets
Browse files Browse the repository at this point in the history
  • Loading branch information
castastrophe committed Apr 26, 2024
1 parent d7671a6 commit 7c18aad
Show file tree
Hide file tree
Showing 150 changed files with 520 additions and 340 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
dist
dist-site

!tokens/dist
!ui-icons/dist

# Recommended update re:https://docs.netlify.com/integrations/frameworks/eleventy/
**/node_modules/**

temp
.npmrc*
.nx
.env
.tmp
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@a4u:registry=https://artifactory.corp.adobe.com/artifactory/api/npm/npm-a4u-release/
16 changes: 16 additions & 0 deletions tasks/auth.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash -e

if [ "$0" = "$BASH_SOURCE" ]; then
echo >&2 "Usage: source $0";
exit 1
fi

ARTIFACTORY_API_TOKEN=${ARTIFACTORY_API_TOKEN:-$ARTIFACTORY_API_KEY}
if [ -z "$ARTIFACTORY_API_TOKEN" ]; then
echo >&2 "🔍 no ARTIFACTORY_API_TOKEN detected.";
else
auth=$(curl -s -H "X-Api-Key: ${ARTIFACTORY_API_TOKEN}" https://artifactory.corp.adobe.com/artifactory/api/npm/auth)
export NPM_AUTH=$(echo "$auth" | grep "_auth" | awk -F " " '{print $3}')
export NPM_EMAIL=$(echo "$auth" | grep "email" | awk -F " " '{print $3}')
echo >&2 "🪩 exported NPM_EMAIL and NPM_AUTH.";
fi
44 changes: 44 additions & 0 deletions ui-icons/dist/icons.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[
"Add50.svg",
"Add75.svg",
"Add100.svg",
"Add200.svg",
"Add300.svg",
"Arrow100.svg",
"Arrow400.svg",
"Asterisk100.svg",
"Asterisk200.svg",
"Asterisk300.svg",
"Checkmark50.svg",
"Checkmark75.svg",
"Checkmark100.svg",
"Checkmark200.svg",
"Checkmark300.svg",
"Checkmark400.svg",
"Chevron50.svg",
"Chevron75.svg",
"Chevron100.svg",
"Chevron200.svg",
"Chevron300.svg",
"Chevron400.svg",
"CornerTriangle75.svg",
"CornerTriangle100.svg",
"CornerTriangle200.svg",
"CornerTriangle300.svg",
"Cross75.svg",
"Cross100.svg",
"Cross200.svg",
"Cross300.svg",
"Cross400.svg",
"Cross500.svg",
"Cross600.svg",
"Dash50.svg",
"Dash75.svg",
"Dash100.svg",
"Dash200.svg",
"Dash300.svg",
"LinkOut100.svg",
"LinkOut200.svg",
"LinkOut300.svg",
"LinkOut400.svg"
]
128 changes: 128 additions & 0 deletions ui-icons/dist/spectrum-css-icons.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui-icons/dist/svg/Add100.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui-icons/dist/svg/Add200.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui-icons/dist/svg/Add300.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui-icons/dist/svg/Add50.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui-icons/dist/svg/Add75.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui-icons/dist/svg/Arrow100.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui-icons/dist/svg/Arrow400.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui-icons/dist/svg/Asterisk100.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui-icons/dist/svg/Asterisk200.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui-icons/dist/svg/Asterisk300.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui-icons/dist/svg/Checkmark100.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui-icons/dist/svg/Checkmark200.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui-icons/dist/svg/Checkmark300.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7c18aad

Please sign in to comment.