Skip to content
This repository was archived by the owner on May 22, 2020. It is now read-only.

Commit c36baa5

Browse files
author
Maël Nison
committed
Adds build-pnm
1 parent 8adec64 commit c36baa5

File tree

5 files changed

+445
-448
lines changed

5 files changed

+445
-448
lines changed

Diff for: .yarnrc

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
yarn-path "./yarn.js"
2-
--ignore-scripts true

Diff for: package-name-maps.json

+346
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,346 @@
1+
{
2+
"path_prefix": "/",
3+
"packages": {
4+
"babel-runtime": {
5+
"path": "../Library/Caches/Yarn/v3/npm-babel-runtime-6.26.0-965c7058668e82b55d7bfe04ff2337bc8b5647fe/node_modules/babel-runtime"
6+
},
7+
"core-decorators": {
8+
"path": "../Library/Caches/Yarn/v3/npm-core-decorators-0.20.0-605896624053af8c28efbe735c25a301a61c65c5/node_modules/core-decorators",
9+
"main": "lib/core-decorators.js"
10+
},
11+
"lodash": {
12+
"path": "../Library/Caches/Yarn/v3/npm-lodash-4.17.5-99a92d65c0272debe8c96b6057bc8fbfa3bed511/node_modules/lodash",
13+
"main": "lodash.js"
14+
},
15+
"react": {
16+
"path": "../Library/Caches/Yarn/v3/npm-react-16.3.2-fdc8420398533a1e58872f59091b272ce2f91ea9/node_modules/react",
17+
"main": "index.js"
18+
},
19+
"react-dom": {
20+
"path": "../Library/Caches/Yarn/v3/npm-react-dom-16.3.2-cb90f107e09536d683d84ed5d4888e9640e0e4df/node_modules/react-dom",
21+
"main": {
22+
"./server.js": "./server.browser.js"
23+
}
24+
}
25+
},
26+
"scopes": {
27+
"../Library/Caches/Yarn/v3/npm-babel-runtime-6.26.0-965c7058668e82b55d7bfe04ff2337bc8b5647fe/node_modules/babel-runtime": {
28+
"packages": {
29+
"core-js": {
30+
"path": "../../../npm-core-js-2.5.5-b14dde936c640c0579a6b50cabcc132dd6127e3b/node_modules/core-js",
31+
"main": "index.js"
32+
},
33+
"regenerator-runtime": {
34+
"path": "../../../npm-regenerator-runtime-0.11.1-be05ad7f9bf7d22e056f9726cee5017fbf19e2e9/node_modules/regenerator-runtime",
35+
"main": "runtime-module.js"
36+
},
37+
"babel-runtime": {
38+
"path": "./"
39+
}
40+
}
41+
},
42+
"../Library/Caches/Yarn/v3/npm-core-js-2.5.5-b14dde936c640c0579a6b50cabcc132dd6127e3b/node_modules/core-js": {
43+
"packages": {
44+
"core-js": {
45+
"path": "./",
46+
"main": "index.js"
47+
}
48+
}
49+
},
50+
"../Library/Caches/Yarn/v3/npm-regenerator-runtime-0.11.1-be05ad7f9bf7d22e056f9726cee5017fbf19e2e9/node_modules/regenerator-runtime": {
51+
"packages": {
52+
"regenerator-runtime": {
53+
"path": "./",
54+
"main": "runtime-module.js"
55+
}
56+
}
57+
},
58+
"../Library/Caches/Yarn/v3/npm-core-decorators-0.20.0-605896624053af8c28efbe735c25a301a61c65c5/node_modules/core-decorators": {
59+
"packages": {
60+
"core-decorators": {
61+
"path": "./",
62+
"main": "lib/core-decorators.js"
63+
}
64+
}
65+
},
66+
"../Library/Caches/Yarn/v3/npm-lodash-4.17.5-99a92d65c0272debe8c96b6057bc8fbfa3bed511/node_modules/lodash": {
67+
"packages": {
68+
"lodash": {
69+
"path": "./",
70+
"main": "lodash.js"
71+
}
72+
}
73+
},
74+
"../Library/Caches/Yarn/v3/npm-react-16.3.2-fdc8420398533a1e58872f59091b272ce2f91ea9/node_modules/react": {
75+
"packages": {
76+
"fbjs": {
77+
"path": "../../../npm-fbjs-0.8.16-5e67432f550dc41b572bf55847b8aca64e5337db/node_modules/fbjs",
78+
"main": "index.js"
79+
},
80+
"loose-envify": {
81+
"path": "../../../npm-loose-envify-1.3.1-d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848/node_modules/loose-envify",
82+
"main": "index.js"
83+
},
84+
"object-assign": {
85+
"path": "../../../npm-object-assign-4.1.1-2109adc7965887cfc05cbbd442cac8bfbb360863/node_modules/object-assign"
86+
},
87+
"prop-types": {
88+
"path": "../../../npm-prop-types-15.6.1-36644453564255ddda391191fb3a125cbdf654ca/node_modules/prop-types",
89+
"main": "index.js"
90+
},
91+
"react": {
92+
"path": "./",
93+
"main": "index.js"
94+
}
95+
}
96+
},
97+
"../Library/Caches/Yarn/v3/npm-fbjs-0.8.16-5e67432f550dc41b572bf55847b8aca64e5337db/node_modules/fbjs": {
98+
"packages": {
99+
"core-js": {
100+
"path": "../../../npm-core-js-1.2.7-652294c14651db28fa93bd2d5ff2983a4f08c636/node_modules/core-js",
101+
"main": "index.js"
102+
},
103+
"isomorphic-fetch": {
104+
"path": "../../../npm-isomorphic-fetch-2.2.1-611ae1acf14f5e81f729507472819fe9733558a9/node_modules/isomorphic-fetch",
105+
"main": "fetch-npm-browserify.js"
106+
},
107+
"loose-envify": {
108+
"path": "../../../npm-loose-envify-1.3.1-d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848/node_modules/loose-envify",
109+
"main": "index.js"
110+
},
111+
"object-assign": {
112+
"path": "../../../npm-object-assign-4.1.1-2109adc7965887cfc05cbbd442cac8bfbb360863/node_modules/object-assign"
113+
},
114+
"promise": {
115+
"path": "../../../npm-promise-7.3.1-064b72602b18f90f29192b8b1bc418ffd1ebd3bf/node_modules/promise",
116+
"main": "index.js"
117+
},
118+
"setimmediate": {
119+
"path": "../../../npm-setimmediate-1.0.5-290cbb232e306942d7d7ea9b83732ab7856f8285/node_modules/setimmediate",
120+
"main": "setImmediate.js"
121+
},
122+
"ua-parser-js": {
123+
"path": "../../../npm-ua-parser-js-0.7.17-e9ec5f9498b9ec910e7ae3ac626a805c4d09ecac/node_modules/ua-parser-js",
124+
"main": "src/ua-parser.js"
125+
},
126+
"fbjs": {
127+
"path": "./",
128+
"main": "index.js"
129+
}
130+
}
131+
},
132+
"../Library/Caches/Yarn/v3/npm-core-js-1.2.7-652294c14651db28fa93bd2d5ff2983a4f08c636/node_modules/core-js": {
133+
"packages": {
134+
"core-js": {
135+
"path": "./",
136+
"main": "index.js"
137+
}
138+
}
139+
},
140+
"../Library/Caches/Yarn/v3/npm-isomorphic-fetch-2.2.1-611ae1acf14f5e81f729507472819fe9733558a9/node_modules/isomorphic-fetch": {
141+
"packages": {
142+
"node-fetch": {
143+
"path": "../../../npm-node-fetch-1.7.3-980f6f72d85211a5347c6b2bc18c5b84c3eb47ef/node_modules/node-fetch",
144+
"main": "index.js"
145+
},
146+
"whatwg-fetch": {
147+
"path": "../../../npm-whatwg-fetch-2.0.4-dde6a5df315f9d39991aa17621853d720b85566f/node_modules/whatwg-fetch",
148+
"main": "fetch.js"
149+
},
150+
"isomorphic-fetch": {
151+
"path": "./",
152+
"main": "fetch-npm-browserify.js"
153+
}
154+
}
155+
},
156+
"../Library/Caches/Yarn/v3/npm-node-fetch-1.7.3-980f6f72d85211a5347c6b2bc18c5b84c3eb47ef/node_modules/node-fetch": {
157+
"packages": {
158+
"encoding": {
159+
"path": "../../../npm-encoding-0.1.12-538b66f3ee62cd1ab51ec323829d1f9480c74beb/node_modules/encoding",
160+
"main": "lib/encoding.js"
161+
},
162+
"is-stream": {
163+
"path": "../../../npm-is-stream-1.1.0-12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44/node_modules/is-stream"
164+
},
165+
"node-fetch": {
166+
"path": "./",
167+
"main": "index.js"
168+
}
169+
}
170+
},
171+
"../Library/Caches/Yarn/v3/npm-encoding-0.1.12-538b66f3ee62cd1ab51ec323829d1f9480c74beb/node_modules/encoding": {
172+
"packages": {
173+
"iconv-lite": {
174+
"path": "../../../npm-iconv-lite-0.4.21-c47f8733d02171189ebc4a400f3218d348094798/node_modules/iconv-lite",
175+
"main": {
176+
"./lib/extend-node": false,
177+
"./lib/streams": false
178+
}
179+
},
180+
"encoding": {
181+
"path": "./",
182+
"main": "lib/encoding.js"
183+
}
184+
}
185+
},
186+
"../Library/Caches/Yarn/v3/npm-iconv-lite-0.4.21-c47f8733d02171189ebc4a400f3218d348094798/node_modules/iconv-lite": {
187+
"packages": {
188+
"safer-buffer": {
189+
"path": "../../../npm-safer-buffer-2.1.2-44fa161b0187b9549dd84bb91802f9bd8385cd6a/node_modules/safer-buffer",
190+
"main": "safer.js"
191+
},
192+
"iconv-lite": {
193+
"path": "./",
194+
"main": {
195+
"./lib/extend-node": false,
196+
"./lib/streams": false
197+
}
198+
}
199+
}
200+
},
201+
"../Library/Caches/Yarn/v3/npm-safer-buffer-2.1.2-44fa161b0187b9549dd84bb91802f9bd8385cd6a/node_modules/safer-buffer": {
202+
"packages": {
203+
"safer-buffer": {
204+
"path": "./",
205+
"main": "safer.js"
206+
}
207+
}
208+
},
209+
"../Library/Caches/Yarn/v3/npm-is-stream-1.1.0-12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44/node_modules/is-stream": {
210+
"packages": {
211+
"is-stream": {
212+
"path": "./"
213+
}
214+
}
215+
},
216+
"../Library/Caches/Yarn/v3/npm-whatwg-fetch-2.0.4-dde6a5df315f9d39991aa17621853d720b85566f/node_modules/whatwg-fetch": {
217+
"packages": {
218+
"whatwg-fetch": {
219+
"path": "./",
220+
"main": "fetch.js"
221+
}
222+
}
223+
},
224+
"../Library/Caches/Yarn/v3/npm-loose-envify-1.3.1-d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848/node_modules/loose-envify": {
225+
"packages": {
226+
"js-tokens": {
227+
"path": "../../../npm-js-tokens-3.0.2-9866df395102130e38f7f996bceb65443209c25b/node_modules/js-tokens"
228+
},
229+
"loose-envify": {
230+
"path": "./",
231+
"main": "index.js"
232+
}
233+
}
234+
},
235+
"../Library/Caches/Yarn/v3/npm-js-tokens-3.0.2-9866df395102130e38f7f996bceb65443209c25b/node_modules/js-tokens": {
236+
"packages": {
237+
"js-tokens": {
238+
"path": "./"
239+
}
240+
}
241+
},
242+
"../Library/Caches/Yarn/v3/npm-object-assign-4.1.1-2109adc7965887cfc05cbbd442cac8bfbb360863/node_modules/object-assign": {
243+
"packages": {
244+
"object-assign": {
245+
"path": "./"
246+
}
247+
}
248+
},
249+
"../Library/Caches/Yarn/v3/npm-promise-7.3.1-064b72602b18f90f29192b8b1bc418ffd1ebd3bf/node_modules/promise": {
250+
"packages": {
251+
"asap": {
252+
"path": "../../../npm-asap-2.0.6-e50347611d7e690943208bbdafebcbc2fb866d46/node_modules/asap",
253+
"main": {
254+
"./asap": "./browser-asap.js",
255+
"./asap.js": "./browser-asap.js",
256+
"./raw": "./browser-raw.js",
257+
"./raw.js": "./browser-raw.js",
258+
"./test/domain.js": "./test/browser-domain.js"
259+
}
260+
},
261+
"promise": {
262+
"path": "./",
263+
"main": "index.js"
264+
}
265+
}
266+
},
267+
"../Library/Caches/Yarn/v3/npm-asap-2.0.6-e50347611d7e690943208bbdafebcbc2fb866d46/node_modules/asap": {
268+
"packages": {
269+
"asap": {
270+
"path": "./",
271+
"main": {
272+
"./asap": "./browser-asap.js",
273+
"./asap.js": "./browser-asap.js",
274+
"./raw": "./browser-raw.js",
275+
"./raw.js": "./browser-raw.js",
276+
"./test/domain.js": "./test/browser-domain.js"
277+
}
278+
}
279+
}
280+
},
281+
"../Library/Caches/Yarn/v3/npm-setimmediate-1.0.5-290cbb232e306942d7d7ea9b83732ab7856f8285/node_modules/setimmediate": {
282+
"packages": {
283+
"setimmediate": {
284+
"path": "./",
285+
"main": "setImmediate.js"
286+
}
287+
}
288+
},
289+
"../Library/Caches/Yarn/v3/npm-ua-parser-js-0.7.17-e9ec5f9498b9ec910e7ae3ac626a805c4d09ecac/node_modules/ua-parser-js": {
290+
"packages": {
291+
"ua-parser-js": {
292+
"path": "./",
293+
"main": "src/ua-parser.js"
294+
}
295+
}
296+
},
297+
"../Library/Caches/Yarn/v3/npm-prop-types-15.6.1-36644453564255ddda391191fb3a125cbdf654ca/node_modules/prop-types": {
298+
"packages": {
299+
"fbjs": {
300+
"path": "../../../npm-fbjs-0.8.16-5e67432f550dc41b572bf55847b8aca64e5337db/node_modules/fbjs",
301+
"main": "index.js"
302+
},
303+
"loose-envify": {
304+
"path": "../../../npm-loose-envify-1.3.1-d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848/node_modules/loose-envify",
305+
"main": "index.js"
306+
},
307+
"object-assign": {
308+
"path": "../../../npm-object-assign-4.1.1-2109adc7965887cfc05cbbd442cac8bfbb360863/node_modules/object-assign"
309+
},
310+
"prop-types": {
311+
"path": "./",
312+
"main": "index.js"
313+
}
314+
}
315+
},
316+
"../Library/Caches/Yarn/v3/npm-react-dom-16.3.2-cb90f107e09536d683d84ed5d4888e9640e0e4df/node_modules/react-dom": {
317+
"packages": {
318+
"fbjs": {
319+
"path": "../../../npm-fbjs-0.8.16-5e67432f550dc41b572bf55847b8aca64e5337db/node_modules/fbjs",
320+
"main": "index.js"
321+
},
322+
"loose-envify": {
323+
"path": "../../../npm-loose-envify-1.3.1-d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848/node_modules/loose-envify",
324+
"main": "index.js"
325+
},
326+
"object-assign": {
327+
"path": "../../../npm-object-assign-4.1.1-2109adc7965887cfc05cbbd442cac8bfbb360863/node_modules/object-assign"
328+
},
329+
"prop-types": {
330+
"path": "../../../npm-prop-types-15.6.1-36644453564255ddda391191fb3a125cbdf654ca/node_modules/prop-types",
331+
"main": "index.js"
332+
},
333+
"react": {
334+
"path": "../../../npm-react-16.3.2-fdc8420398533a1e58872f59091b272ce2f91ea9/node_modules/react",
335+
"main": "index.js"
336+
},
337+
"react-dom": {
338+
"path": "./",
339+
"main": {
340+
"./server.js": "./server.browser.js"
341+
}
342+
}
343+
}
344+
}
345+
}
346+
}

Diff for: package.json

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"babel-plugin-transform-runtime": "^6.23.0",
1717
"babel-preset-env": "^1.6.1",
1818
"babel-preset-react": "^6.24.1",
19+
"build-pnm": "^0.1.0",
1920
"eslint": "^5.5.0",
2021
"eslint-config-prettier": "^3.0.1",
2122
"eslint-plugin-import": "^2.14.0",
@@ -48,11 +49,15 @@
4849
"bench:size": "./scripts/bench-size.sh",
4950
"eslint": "eslint sources scripts",
5051
"gulp": "gulp",
52+
"postinstall": "build-pnm",
5153
"prettier": "prettier --write sources/**/*.js scripts/**/*.js",
5254
"rollup": "rollup -c",
5355
"serve": "http-server -c-1 dist",
5456
"webpack": "webpack"
5557
},
58+
"resolutions": {
59+
"fsevents": "npm:[email protected]"
60+
},
5661
"installConfig": {
5762
"pnp": true
5863
}

0 commit comments

Comments
 (0)