From 44e885a09c18209b152d3ff82749d1cf5dfd9204 Mon Sep 17 00:00:00 2001 From: Satwik Date: Fri, 20 Dec 2019 01:19:31 +0530 Subject: [PATCH 1/4] Ignore unnecessary stuff in npm package --- .npmignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.npmignore b/.npmignore index 9b7aaab..42ef728 100644 --- a/.npmignore +++ b/.npmignore @@ -1 +1,9 @@ irrelevant/ +wtfpython-pypi/build/ +wtfpython-pypi/dist/ +wtfpython-pypi/wtfpython.egg-info + +# Python-specific byte-compiled files should be ignored +__pycache__/ +*.py[cod] +*$py.class From 176bcc8a253de967c62d33c0604d4d154ca79794 Mon Sep 17 00:00:00 2001 From: Satwik Date: Fri, 20 Dec 2019 01:19:49 +0530 Subject: [PATCH 2/4] Bump npm version --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f617091..68472df 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "wtfpython", - "version": "2.1.0", - "description": "A collection of surprising Python snippets and lesser known features.", + "version": "2.2.0", + "description": "A collection of surprising Python snippets and lesser known features. [ARCHIVED]", "bin": "wtfpython", "scripts": { "postpublish": "git push origin master", From 8e798af4fcf5e1c20cb18ce75267496e7f7fb5b6 Mon Sep 17 00:00:00 2001 From: Satwik Date: Fri, 20 Dec 2019 01:20:48 +0530 Subject: [PATCH 3/4] Ignore IDE files and Bump npm version --- .npmignore | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.npmignore b/.npmignore index 42ef728..5b48b06 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,5 @@ +.idea/ + irrelevant/ wtfpython-pypi/build/ wtfpython-pypi/dist/ diff --git a/package.json b/package.json index 68472df..bdfa76f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wtfpython", - "version": "2.2.0", + "version": "2.2.1", "description": "A collection of surprising Python snippets and lesser known features. [ARCHIVED]", "bin": "wtfpython", "scripts": { From 6e5278e30a59b6cfcf2ea1484c73cce49523e9a5 Mon Sep 17 00:00:00 2001 From: Satwik Date: Fri, 20 Dec 2019 01:23:20 +0530 Subject: [PATCH 4/4] More cleanup and another version bump --- .npmignore | 5 ++--- package.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.npmignore b/.npmignore index 5b48b06..57de941 100644 --- a/.npmignore +++ b/.npmignore @@ -1,9 +1,8 @@ +.DS_Store .idea/ irrelevant/ -wtfpython-pypi/build/ -wtfpython-pypi/dist/ -wtfpython-pypi/wtfpython.egg-info +wtfpython-pypi/** # Python-specific byte-compiled files should be ignored __pycache__/ diff --git a/package.json b/package.json index bdfa76f..eae9e95 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wtfpython", - "version": "2.2.1", + "version": "2.2.2", "description": "A collection of surprising Python snippets and lesser known features. [ARCHIVED]", "bin": "wtfpython", "scripts": {