Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0573360

Browse filesBrowse files
committed
Auto-generated commit
1 parent 0da8fda commit 0573360
Copy full SHA for 0573360

File tree

4 files changed

+46
-12
lines changed
Filter options

4 files changed

+46
-12
lines changed

‎.editorconfig

Copy file name to clipboardExpand all lines: .editorconfig
+32Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,23 @@ insert_final_newline = true
3232
[*.js]
3333
indent_style = tab
3434

35+
[*.js.txt]
36+
indent_style = tab
37+
38+
# Set properties for JavaScript ES module files:
39+
[*.mjs]
40+
indent_style = tab
41+
42+
[*.mjs.txt]
43+
indent_style = tab
44+
45+
# Set properties for JavaScript CommonJS files:
46+
[*.cjs]
47+
indent_style = tab
48+
49+
[*.cjs.txt]
50+
indent_style = tab
51+
3552
# Set properties for TypeScript files:
3653
[*.ts]
3754
indent_style = tab
@@ -84,6 +101,11 @@ indent_style = tab
84101
indent_style = tab
85102
tab_width = 2
86103

104+
# Set properties for XML files:
105+
[*.xml]
106+
indent_style = tab
107+
tab_width = 2
108+
87109
# Set properties for CSS files:
88110
[*.css]
89111
indent_style = tab
@@ -101,6 +123,11 @@ indent_style = space
101123
indent_size = 4
102124
trim_trailing_whitespace = false
103125

126+
[*.md.txt]
127+
indent_style = space
128+
indent_size = 4
129+
trim_trailing_whitespace = false
130+
104131
# Set properties for `usage.txt` files:
105132
[usage.txt]
106133
indent_style = space
@@ -121,6 +148,11 @@ indent_size = 2
121148
indent_style = space
122149
indent_size = 2
123150

151+
# Set properties for `manifest.json` files:
152+
[manifest.json]
153+
indent_style = space
154+
indent_size = 2
155+
124156
# Set properties for `tslint.json` files:
125157
[tslint.json]
126158
indent_style = space

‎.github/workflows/publish.yml

Copy file name to clipboardExpand all lines: .github/workflows/publish.yml
+10-8Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
name: Publish Package
2121

2222
# Workflow triggers:
23-
on: push
23+
on:
24+
push:
25+
tags: v[0-9]+.[0-9]+.[0-9]+
2426

2527
# Workflow jobs:
2628
jobs:
@@ -33,20 +35,20 @@ jobs:
3335
- uses: actions/setup-node@v1
3436
with:
3537
node-version: 15
36-
- name: Increment version
38+
- name: Replace all GitHub links to individual packages with npm links
3739
run: |
38-
git config --local user.email "noreply@stdlib.io"
39-
git config --local user.name "stdlib-bot"
40-
npm version patch
40+
find . -type f -name '*.md' -print0 | xargs -0 sed -Ei 's/@stdlib\/([^:]*)\]: https:\/\/github.com\/stdlib-js/@stdlib\/\1\]: https:\/\/www.npmjs.com\/package\/@stdlib/g'
41+
- name: Replace all stdlib GitHub dependencies with the respective npm packages
42+
run: |
43+
find package.json -type f -print0 | xargs -0 sed -Ei 's/"github:stdlib-js[^"]*"/"^0.0.x"/g'
4144
- name: Publish package to npm
4245
uses: JS-DevTools/npm-publish@v1
4346
with:
4447
token: ${{ secrets.NPM_TOKEN }}
4548
access: public
46-
- name: Push changes
49+
- name: Discard any uncommitted changes
4750
run: |
48-
git push origin main
49-
git push --tags
51+
git reset --hard
5052
- uses: act10ns/slack@v1
5153
with:
5254
status: ${{ job.status }}

‎.gitignore

Copy file name to clipboardExpand all lines: .gitignore
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
# Files #
2020
#########
21-
.postinstall.json
21+
2222

2323
# Directories #
2424
###############
@@ -70,9 +70,6 @@ tmp/
7070
*.tar
7171
*.zip
7272

73-
# Make an exception for compressed distributable files:
74-
!dist/*.gz
75-
7673
# Logs and databases #
7774
######################
7875
*.log

‎package.json

Copy file name to clipboardExpand all lines: package.json
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
],
1616
"main": "./lib",
1717
"directories": {
18+
"benchmark": "./benchmark",
19+
"doc": "./docs",
20+
"example": "./examples",
1821
"lib": "./lib",
1922
"test": "./test"
2023
},

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.