Skip to content

Commit

Permalink
fix: mark files as side-effect free
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Feb 13, 2022
1 parent c359f22 commit 05df34e
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 128 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
with:
node-version: 'lts/*'
cache: yarn
- run: yarn && yarn build
- run: |
yarn
yarn build
- uses: actions/upload-artifact@2244c8200304ec9588bf9399eac622d9fadc28c4
with:
name: animated-tailwindcss
Expand Down Expand Up @@ -50,15 +52,14 @@ jobs:
- run: |
set -e
yarn
git add .
yarn lint --all --no-stash
yarn lint:all
[ -z "$(git status --porcelain -- ':!.yarn')" ]
yarn package-check --cwd dist
analyze:
permissions:
actions: read # for github/codeql-action/init to get workflow details
security-events: write # for github/codeql-action/analyze to upload SARIF results
actions: read
security-events: write
runs-on: ubuntu-latest
needs: lint

Expand Down
59 changes: 0 additions & 59 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 1 addition & 3 deletions package-dist.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"description": "A configuration to use Animate.css with Tailwind CSS",
"license": "MIT",
"author": "Divyansh Singh <divyansh.singh@ikcb.org> (https://github.com/brc-dd)",
"contributors": [
"Akash Tureha <2020kucp1138@iiitkota.ac.in> (https://github.com/MrMischievousX)"
],
"homepage": "https://ikcb.org/animated-tailwindcss",
"repository": "github:ikcb/animated-tailwindcss",
"bugs": {
Expand All @@ -20,6 +17,7 @@
"files": [
"index.d.ts"
],
"sideEffects": false,
"types": "index.d.ts",
"dependencies": {
"csstype": "^3"
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"private": true,
"scripts": {
"build": "run-s clean 'build:*'",
"build": "yarn clean && yarn build:base && yarn build:docs",
"build:base": "ttsc && ts-node --skip-project build.ts",
"build:docs": "vitepress build docs && shx mv docs/.vitepress/dist docs/dist/animated-tailwindcss",
"clean": "shx rm -rf dist docs/dist && shx mkdir docs/dist",
"dev:docs": "vitepress dev docs",
"postinstall": "is-ci || (husky install && sdks vscode && yarn build)",
"lint": "lint-staged --allow-empty -p false",
"release": "yarn build && release-it",
"lint:all": "git add . && yarn lint --all --no-stash",
"release": "yarn lint:all && yarn build && release-it",
"serve:docs": "serve docs/dist"
},
"resolutions": {
Expand Down Expand Up @@ -48,7 +49,6 @@
"lint-staged": "12.3.1",
"markdown-it-container": "latest",
"markdown-it-deflist": "latest",
"npm-run-all": "latest",
"postcss": "latest",
"postcss-flexbugs-fixes": "latest",
"postcss-preset-env": "latest",
Expand Down
60 changes: 2 additions & 58 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2113,7 +2113,7 @@ __metadata:
languageName: node
linkType: hard

"chalk@npm:2.4.2, chalk@npm:^2.0.0, chalk@npm:^2.3.0, chalk@npm:^2.4.1":
"chalk@npm:2.4.2, chalk@npm:^2.0.0, chalk@npm:^2.3.0":
version: 2.4.2
resolution: "chalk@npm:2.4.2"
dependencies:
Expand Down Expand Up @@ -2770,7 +2770,7 @@ __metadata:
languageName: node
linkType: hard

"cross-spawn@npm:^6.0.0, cross-spawn@npm:^6.0.5":
"cross-spawn@npm:^6.0.0":
version: 6.0.5
resolution: "cross-spawn@npm:6.0.5"
dependencies:
Expand Down Expand Up @@ -5619,13 +5619,6 @@ __metadata:
languageName: node
linkType: hard

"memorystream@npm:^0.3.1":
version: 0.3.1
resolution: "memorystream@npm:0.3.1"
checksum: f18b42440d24d09516d01466c06adf797df7873f0d40aa7db02e5fb9ed83074e5e65412d0720901d7069363465f82dc4f8bcb44f0cde271567a61426ce6ca2e9
languageName: node
linkType: hard

"meow@npm:^8.0.0":
version: 8.1.2
resolution: "meow@npm:8.1.2"
Expand Down Expand Up @@ -6050,27 +6043,6 @@ __metadata:
languageName: node
linkType: hard

"npm-run-all@npm:latest":
version: 4.1.5
resolution: "npm-run-all@npm:4.1.5"
dependencies:
ansi-styles: ^3.2.1
chalk: ^2.4.1
cross-spawn: ^6.0.5
memorystream: ^0.3.1
minimatch: ^3.0.4
pidtree: ^0.3.0
read-pkg: ^3.0.0
shell-quote: ^1.6.1
string.prototype.padend: ^3.0.0
bin:
npm-run-all: bin/npm-run-all/index.js
run-p: bin/run-p/index.js
run-s: bin/run-s/index.js
checksum: 373b72c6a36564da13c1642c1fd9bb4dcc756bce7a3648f883772f02661095319820834ff813762d2fee403e9b40c1cd27c8685807c107440f10eb19c006d4a0
languageName: node
linkType: hard

"npm-run-path@npm:^2.0.0":
version: 2.0.2
resolution: "npm-run-path@npm:2.0.2"
Expand Down Expand Up @@ -6531,15 +6503,6 @@ __metadata:
languageName: node
linkType: hard

"pidtree@npm:^0.3.0":
version: 0.3.1
resolution: "pidtree@npm:0.3.1"
bin:
pidtree: bin/pidtree.js
checksum: eb49025099f1af89a4696f7673351421f13420f3397b963c901fe23a1c9c2ff50f4750321970d4472c0ffbb065e4a6c3c27f75e226cc62284b19e21d32ce7012
languageName: node
linkType: hard

"pify@npm:^2.3.0":
version: 2.3.0
resolution: "pify@npm:2.3.0"
Expand Down Expand Up @@ -7697,7 +7660,6 @@ __metadata:
lint-staged: 12.3.1
markdown-it-container: latest
markdown-it-deflist: latest
npm-run-all: latest
postcss: latest
postcss-flexbugs-fixes: latest
postcss-preset-env: latest
Expand Down Expand Up @@ -7905,13 +7867,6 @@ __metadata:
languageName: node
linkType: hard

"shell-quote@npm:^1.6.1":
version: 1.7.3
resolution: "shell-quote@npm:1.7.3"
checksum: aca58e73a3a5d933d02e0bdddedc53ee14f7c2ec264f97ac915b9d4482d077a38e422aa664631d60a672cd3cdb4054eb2e6c0303f54882453dacb6483e482d34
languageName: node
linkType: hard

"shelljs@npm:0.8.5, shelljs@npm:^0.8.5":
version: 0.8.5
resolution: "shelljs@npm:0.8.5"
Expand Down Expand Up @@ -8195,17 +8150,6 @@ __metadata:
languageName: node
linkType: hard

"string.prototype.padend@npm:^3.0.0":
version: 3.1.3
resolution: "string.prototype.padend@npm:3.1.3"
dependencies:
call-bind: ^1.0.2
define-properties: ^1.1.3
es-abstract: ^1.19.1
checksum: ef9ee0542c17975629bc6d21497e8faaa142d873e9f07fb65de2a955df402a1eac45cbed375045a759501e9d4ef80e589e11f0e12103c20df0770e47f6b59bc7
languageName: node
linkType: hard

"string.prototype.trimend@npm:^1.0.4":
version: 1.0.4
resolution: "string.prototype.trimend@npm:1.0.4"
Expand Down

0 comments on commit 05df34e

Please sign in to comment.