Skip to content

Commit bf8233a

Browse files
committed
address security concerns
1 parent 9a82c5e commit bf8233a

File tree

7 files changed

+28
-331
lines changed

7 files changed

+28
-331
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ lib/
44
examples/bundle.js
55
package-lock.json
66
examples/iife
7+
.envrc

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@alpacahq:registry=https://npm.pkg.github.com/alpacahq
2+
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}

Makefile

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
SRC_DEPS = src/index.tsx src/third-party/qrcodegen/index.ts
2-
CFG_DEPS = yarn.lock package.json tsup.config.ts
2+
CFG_DEPS = package.json tsup.config.ts
33

4-
all: lib/index.js lib/index.d.ts lib/index.js examples/iife/demo.js
4+
all: lib/index.js lib/index.d.ts lib/index.js
55

66
lib:
77
mkdir -p lib
88

99
lib/index.d.ts: lib $(SRC_DEPS) $(CFG_DEPS)
10-
yarn run build:code
10+
npm run build:code
1111

1212
lib/esm/index.js: lib $(SRC_DEPS) $(CFG_DEPS)
13-
yarn run build:code
13+
npm run build:code
1414

1515
lib/index.js: lib $(SRC_DEPS) $(CFG_DEPS)
16-
yarn run build:code
17-
18-
examples/iife/demo.js: lib/esm/index.js examples/demo.tsx
19-
yarn run build:examples
16+
npm run build:code
2017

2118
clean:
22-
rm -rf lib examples/iife/demo.js
19+
rm -rf lib

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# qrcode.react
22

3+
This is a copy of qrcode.react
34
A React component to generate [QR codes](http://en.wikipedia.org/wiki/QR_code) for rendering to the DOM.
45

56
## Installation

examples/demo.tsx

Lines changed: 0 additions & 292 deletions
This file was deleted.

examples/index.html

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)